build: Don't include builddir, but only srcdir.
authorMarc-André Lureau <marcandre.lureau@gmail.com>
Thu, 8 Jan 2009 10:28:20 +0000 (12:28 +0200)
committerMarc-André Lureau <marcandre.lureau@gmail.com>
Thu, 8 Jan 2009 13:11:39 +0000 (15:11 +0200)
I guess it used to be builddir because some of the files under
src/modules are generated. However, they are generated at dist time,
not at compile time.

src/Makefile.am

index 0b5abb2..48f2222 100644 (file)
@@ -47,11 +47,11 @@ endif
 
 AM_CFLAGS = \
        -I$(top_srcdir)/src \
-       -I$(top_builddir)/src/modules \
-       -I$(top_builddir)/src/modules/rtp \
-       -I$(top_builddir)/src/modules/gconf \
-       -I$(top_builddir)/src/modules/bluetooth \
-       -I$(top_builddir)/src/modules/raop \
+       -I$(top_srcdir)/src/modules \
+       -I$(top_srcdir)/src/modules/rtp \
+       -I$(top_srcdir)/src/modules/gconf \
+       -I$(top_srcdir)/src/modules/bluetooth \
+       -I$(top_srcdir)/src/modules/raop \
        $(PTHREAD_CFLAGS) -D_POSIX_PTHREAD_SEMANTICS \
        $(LTDLINCL) \
        $(LIBSAMPLERATE_CFLAGS) \