Makefiles - use AM_CPPFLAGS instead INCLUDES

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
This commit is contained in:
Jaroslav Kysela 2014-05-07 09:43:45 +02:00
parent 3f9712b9cd
commit 0a6c9e80f7
14 changed files with 15 additions and 15 deletions

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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)

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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