From: Diego E. 'Flameeyes' Pettenò Date: Mon, 19 Jan 2009 16:30:41 +0000 (+0100) Subject: Add proper -I directives for out-of-tree builds. X-Git-Tag: 1.0_branch~2368^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=7104d54bbce8f9bd2553e16f45f3a0f69ac75b8b;p=profile%2Fivi%2Fpulseaudio.git Add proper -I directives for out-of-tree builds. When building out of tree, the generated files are put in builddir rather than srcdir, so handle that properly. --- diff --git a/src/Makefile.am b/src/Makefile.am index e6feddd..9dd4465 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -47,10 +47,15 @@ endif AM_CFLAGS = \ -I$(top_srcdir)/src \ + -I$(top_builddir)/src \ -I$(top_srcdir)/src/modules \ + -I$(top_builddir)/src/modules \ -I$(top_srcdir)/src/modules/rtp \ + -I$(top_builddir)/src/modules/rtp \ -I$(top_srcdir)/src/modules/gconf \ + -I$(top_builddir)/src/modules/gconf \ -I$(top_srcdir)/src/modules/bluetooth \ + -I$(top_builddir)/src/modules/bluetooth \ -I$(top_srcdir)/src/modules/raop \ $(PTHREAD_CFLAGS) -D_POSIX_PTHREAD_SEMANTICS \ $(LTDLINCL) \