From 7104d54bbce8f9bd2553e16f45f3a0f69ac75b8b Mon Sep 17 00:00:00 2001 From: "Diego E. 'Flameeyes' Pettenò" Date: Mon, 19 Jan 2009 17:30:41 +0100 Subject: 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. --- src/Makefile.am | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/Makefile.am') diff --git a/src/Makefile.am b/src/Makefile.am index e6feddd3..9dd44657 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) \ -- cgit