mirror of
https://github.com/alsa-project/alsa-utils
synced 2024-11-09 17:45:41 +01:00
Makefiles - use AM_CPPFLAGS instead INCLUDES
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
This commit is contained in:
parent
3f9712b9cd
commit
0a6c9e80f7
14 changed files with 15 additions and 15 deletions
|
@ -1,4 +1,4 @@
|
||||||
INCLUDES=-I$(top_srcdir)/include
|
AM_CPPFLAGS=-I$(top_srcdir)/include
|
||||||
|
|
||||||
SUBDIRS = include alsactl alsaucm utils m4 po
|
SUBDIRS = include alsactl alsaucm utils m4 po
|
||||||
if ALSAMIXER
|
if ALSAMIXER
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
INCLUDES = -I$(top_srcdir)/include
|
AM_CPPFLAGS = -I$(top_srcdir)/include
|
||||||
LDADD = -lm
|
LDADD = -lm
|
||||||
AM_CFLAGS = -D_GNU_SOURCE
|
AM_CFLAGS = -D_GNU_SOURCE
|
||||||
if HAVE_SAMPLERATE
|
if HAVE_SAMPLERATE
|
||||||
|
|
|
@ -19,7 +19,7 @@ alsamixer_SOURCES = card_select.c card_select.h \
|
||||||
widget.c widget.h
|
widget.c widget.h
|
||||||
man_MANS = alsamixer.1
|
man_MANS = alsamixer.1
|
||||||
EXTRA_DIST = alsamixer.1
|
EXTRA_DIST = alsamixer.1
|
||||||
alsamixer_INCLUDES = -I$(top_srcdir)/include
|
alsamixer_CPPFLAGS = -I$(top_srcdir)/include
|
||||||
|
|
||||||
#LDFLAGS = -static
|
#LDFLAGS = -static
|
||||||
#CFLAGS += -g -Wall
|
#CFLAGS += -g -Wall
|
||||||
|
|
|
@ -3,11 +3,11 @@ bin_PROGRAMS = \
|
||||||
|
|
||||||
alsaucm_SOURCES = usecase.c
|
alsaucm_SOURCES = usecase.c
|
||||||
|
|
||||||
INCLUDES = \
|
AM_CPPFLAGS = \
|
||||||
-Wall -I$(top_srcdir)/include
|
-Wall -I$(top_srcdir)/include
|
||||||
|
|
||||||
alsaucm_LDADD = -lasound
|
alsaucm_LDADD = -lasound
|
||||||
|
|
||||||
# local build
|
# local build
|
||||||
INCLUDES += -I$(top_srcdir)/../alsa-lib/include
|
AM_CPPFLAGS += -I$(top_srcdir)/../alsa-lib/include
|
||||||
alsaucm_LDADD += -L$(top_srcdir)/../alsa-lib/src/.libs
|
alsaucm_LDADD += -L$(top_srcdir)/../alsa-lib/src/.libs
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
INCLUDES = -I$(top_srcdir)/include
|
AM_CPPFLAGS = -I$(top_srcdir)/include
|
||||||
EXTRA_DIST = amidi.1
|
EXTRA_DIST = amidi.1
|
||||||
|
|
||||||
bin_PROGRAMS = amidi
|
bin_PROGRAMS = amidi
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
INCLUDES = -I$(top_srcdir)/include
|
AM_CPPFLAGS = -I$(top_srcdir)/include
|
||||||
LDADD = -lm
|
LDADD = -lm
|
||||||
# LDFLAGS = -static
|
# LDFLAGS = -static
|
||||||
# CFLAGS += -g -Wall
|
# CFLAGS += -g -Wall
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
LIBRT = @LIBRT@
|
LIBRT = @LIBRT@
|
||||||
|
|
||||||
INCLUDES = -I$(top_srcdir)/include
|
AM_CPPFLAGS = -I$(top_srcdir)/include
|
||||||
LDADD = $(LIBINTL) $(LIBRT)
|
LDADD = $(LIBINTL) $(LIBRT)
|
||||||
|
|
||||||
# debug flags
|
# debug flags
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
INCLUDES = -I$(top_srcdir)/include
|
AM_CPPFLAGS = -I$(top_srcdir)/include
|
||||||
LDADD = -lm
|
LDADD = -lm
|
||||||
# LDFLAGS = -static
|
# LDFLAGS = -static
|
||||||
# CFLAGS += -g -Wall
|
# CFLAGS += -g -Wall
|
||||||
|
|
|
@ -22,4 +22,4 @@ stamp-vh: $(top_builddir)/configure.in
|
||||||
echo timestamp > stamp-vh)
|
echo timestamp > stamp-vh)
|
||||||
-@rm -f ver.tmp
|
-@rm -f ver.tmp
|
||||||
|
|
||||||
INCLUDES=-I$(top_srcdir)/include
|
AM_CPPFLAGS=-I$(top_srcdir)/include
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
INCLUDES = -I$(top_srcdir)/include
|
AM_CPPFLAGS = -I$(top_srcdir)/include
|
||||||
EXTRA_DIST = README.aconnect aconnect.1
|
EXTRA_DIST = README.aconnect aconnect.1
|
||||||
LDADD = $(LIBINTL)
|
LDADD = $(LIBINTL)
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
INCLUDES = -I$(top_srcdir)/include
|
AM_CPPFLAGS = -I$(top_srcdir)/include
|
||||||
EXTRA_DIST = aplaymidi.1 arecordmidi.1
|
EXTRA_DIST = aplaymidi.1 arecordmidi.1
|
||||||
|
|
||||||
bin_PROGRAMS = aplaymidi arecordmidi
|
bin_PROGRAMS = aplaymidi arecordmidi
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
INCLUDES = -I$(top_srcdir)/include
|
AM_CPPFLAGS = -I$(top_srcdir)/include
|
||||||
EXTRA_DIST = aseqdump.1
|
EXTRA_DIST = aseqdump.1
|
||||||
|
|
||||||
bin_PROGRAMS = aseqdump
|
bin_PROGRAMS = aseqdump
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
INCLUDES = -I$(top_srcdir)/include
|
AM_CPPFLAGS = -I$(top_srcdir)/include
|
||||||
EXTRA_DIST = README.aseqnet aseqnet.1
|
EXTRA_DIST = README.aseqnet aseqnet.1
|
||||||
|
|
||||||
bin_PROGRAMS = aseqnet
|
bin_PROGRAMS = aseqnet
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
INCLUDES = -I$(top_srcdir)/include
|
AM_CPPFLAGS = -I$(top_srcdir)/include
|
||||||
SUBDIRS= samples
|
SUBDIRS= samples
|
||||||
LDADD = $(LIBINTL) -lm
|
LDADD = $(LIBINTL) -lm
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue