[pulseaudio-commits] r1366 - /trunk/src/Makefile.am

svnmailer-noreply at 0pointer.de svnmailer-noreply at 0pointer.de
Sat Sep 2 07:59:14 PDT 2006


Author: lennart
Date: Sat Sep  2 16:59:12 2006
New Revision: 1366

URL: http://0pointer.de/cgi-bin/viewcvs.cgi?rev=1366&root=pulseaudio&view=rev
Log:
rework handling of srcdir != builddir (patch from Flameeyes)

Modified:
    trunk/src/Makefile.am

Modified: trunk/src/Makefile.am
URL: http://0pointer.de/cgi-bin/viewcvs.cgi/trunk/src/Makefile.am?rev=1366&root=pulseaudio&r1=1365&r2=1366&view=diff
==============================================================================
--- trunk/src/Makefile.am (original)
+++ trunk/src/Makefile.am Sat Sep  2 16:59:12 2006
@@ -42,7 +42,7 @@
 #     Compiler/linker flags       #
 ###################################
 
-AM_CFLAGS = -I$(top_srcdir)/src
+AM_CFLAGS = -I$(top_srcdir)/src -I$(top_builddir)/src/modules -I$(top_builddir)/src/modules/rtp -I$(top_builddir)/src/modules/gconf
 AM_CFLAGS += $(PTHREAD_CFLAGS) -D_POSIX_PTHREAD_SEMANTICS
 AM_CFLAGS += $(LTDLINCL)
 AM_CFLAGS += $(LIBSAMPLERATE_CFLAGS) $(LIBSNDFILE_CFLAGS)
@@ -995,12 +995,8 @@
 EXTRA_DIST += $(SYMDEF_FILES)
 BUILT_SOURCES += $(SYMDEF_FILES)
 
-modulesdirs: 
-	$(mkdir_p) modules
-	$(mkdir_p) modules/gconf
-	$(mkdir_p) modules/rtp
-
-$(SYMDEF_FILES): modules/module-defs.h.m4 modulesdirs
+$(SYMDEF_FILES): modules/module-defs.h.m4
+	$(mkdir_p) modules/gconf modules/rtp
 	$(M4) -Dfname="$@" $< > $@
 
 # Simple protocol




More information about the pulseaudio-commits mailing list