[pulseaudio-commits] src/Makefile.am
Tanu Kaskinen
tanuk at kemper.freedesktop.org
Mon Mar 25 08:01:20 PDT 2013
src/Makefile.am | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
New commits:
commit e2cb872120b86507f182d238fe983d5e83d3dfb4
Author: Javier Jardón <jjardon at gnome.org>
Date: Sat Mar 23 18:26:09 2013 +0000
build-sys: Use AM_CPPFLAGS instead of AM_CFLAGS for preprocessor arguments
As the automake documentation says:
AM_CPPFLAGS: The contents of this variable are passed to every compilation
that invokes the C preprocessor; it is a list of arguments to the preprocessor.
For instance, -I and -D options should be listed here
AM_CFLAGS: This is the variable the Makefile.am author can use to pass in
additional C compiler flags.
http://www.gnu.org/software/automake/manual/html_node/Program-Variables.html
diff --git a/src/Makefile.am b/src/Makefile.am
index 079083e..559c43e 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -41,13 +41,14 @@ endif
# Compiler/linker flags #
###################################
-AM_CFLAGS = \
+AM_CPPFLAGS = \
-I$(top_srcdir)/src \
-I$(top_srcdir)/src/modules \
-I$(top_builddir)/src/modules \
- $(PTHREAD_CFLAGS) \
-DPA_ALSA_PATHS_DIR=\"$(alsapathsdir)\" \
-DPA_ALSA_PROFILE_SETS_DIR=\"$(alsaprofilesetsdir)\"
+AM_CFLAGS = \
+ $(PTHREAD_CFLAGS)
AM_CXXFLAGS = $(AM_CFLAGS)
SERVER_CFLAGS = -D__INCLUDED_FROM_PULSE_AUDIO
More information about the pulseaudio-commits
mailing list