build: Fix srcdir != builddir
authorColin Walters <walters@verbum.org>
Sat, 11 May 2013 00:17:23 +0000 (20:17 -0400)
committerColin Walters <walters@verbum.org>
Sat, 11 May 2013 00:17:23 +0000 (20:17 -0400)
registryd/Makefile.am
test/Makefile.am

index a327658..6263084 100644 (file)
@@ -7,6 +7,8 @@ at_spi2_registryd_CFLAGS =      \
        $(GOBJ_CFLAGS)          \
        $(ATK_CFLAGS)           \
        -I$(top_srcdir)         \
+       -I$(top_builddir)       \
+       -I$(top_builddir)/atspi \
        -DATSPI_INTROSPECTION_PATH=\"$(pkgdatadir)/$(DEFAULT_ATSPI_INTROSPECTION_PATH)\"
 
 at_spi2_registryd_LDADD =      \
index a75df54..a489cfc 100644 (file)
@@ -1,6 +1,6 @@
 LDADD = $(top_builddir)/atspi/libatspi.la
 noinst_PROGRAMS = memory
 memory_SOURCES = memory.c
-memory_CPPFLAGS = -I$(top_srcdir)
+memory_CPPFLAGS = -I$(top_srcdir) -I$(top_builddir) -I$(top_builddir)/atspi
 memory_CFLAGS = $(GLIB_CFLAGS)         $(GOBJ_LIBS) $(DBUS_CFLAGS)
 memory_LDFLAGS =