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
if ALSAMIXER

View file

@ -1,4 +1,4 @@
INCLUDES = -I$(top_srcdir)/include
AM_CPPFLAGS = -I$(top_srcdir)/include
LDADD = -lm
AM_CFLAGS = -D_GNU_SOURCE
if HAVE_SAMPLERATE

View file

@ -19,7 +19,7 @@ alsamixer_SOURCES = card_select.c card_select.h \
widget.c widget.h
man_MANS = alsamixer.1
EXTRA_DIST = alsamixer.1
alsamixer_INCLUDES = -I$(top_srcdir)/include
alsamixer_CPPFLAGS = -I$(top_srcdir)/include
#LDFLAGS = -static
#CFLAGS += -g -Wall

View file

@ -3,11 +3,11 @@ bin_PROGRAMS = \
alsaucm_SOURCES = usecase.c
INCLUDES = \
AM_CPPFLAGS = \
-Wall -I$(top_srcdir)/include
alsaucm_LDADD = -lasound
# 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

View file

@ -1,4 +1,4 @@
INCLUDES = -I$(top_srcdir)/include
AM_CPPFLAGS = -I$(top_srcdir)/include
EXTRA_DIST = amidi.1
bin_PROGRAMS = amidi

View file

@ -1,4 +1,4 @@
INCLUDES = -I$(top_srcdir)/include
AM_CPPFLAGS = -I$(top_srcdir)/include
LDADD = -lm
# LDFLAGS = -static
# CFLAGS += -g -Wall

View file

@ -1,6 +1,6 @@
LIBRT = @LIBRT@
INCLUDES = -I$(top_srcdir)/include
AM_CPPFLAGS = -I$(top_srcdir)/include
LDADD = $(LIBINTL) $(LIBRT)
# debug flags

View file

@ -1,4 +1,4 @@
INCLUDES = -I$(top_srcdir)/include
AM_CPPFLAGS = -I$(top_srcdir)/include
LDADD = -lm
# LDFLAGS = -static
# CFLAGS += -g -Wall

View file

@ -22,4 +22,4 @@ stamp-vh: $(top_builddir)/configure.in
echo timestamp > stamp-vh)
-@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
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
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
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
bin_PROGRAMS = aseqnet

View file

@ -1,4 +1,4 @@
INCLUDES = -I$(top_srcdir)/include
AM_CPPFLAGS = -I$(top_srcdir)/include
SUBDIRS= samples
LDADD = $(LIBINTL) -lm