Add /wayland so we pick up generated header files
authorKristian Høgsberg <krh@bitplanet.net>
Sun, 31 Oct 2010 18:24:39 +0000 (14:24 -0400)
committerKristian Høgsberg <krh@bitplanet.net>
Sun, 31 Oct 2010 18:24:39 +0000 (14:24 -0400)
Reported by Benjamin Franzke.

clients/Makefile.am
compositor/Makefile.am

index d1e7134..7bdc5c3 100644 (file)
@@ -1,7 +1,10 @@
 noinst_PROGRAMS = gears flower screenshot terminal image view dnd smoke
 noinst_LTLIBRARIES = libtoytoolkit.la
 
-INCLUDES = -I$(top_srcdir)/wayland $(CLIENT_CFLAGS) $(POPPLER_CFLAGS)
+INCLUDES =                                     \
+       -I$(top_srcdir)/wayland                 \
+       -I$(top_builddir)/wayland                       \
+       $(CLIENT_CFLAGS) $(POPPLER_CFLAGS)
 
 LDADD = libtoytoolkit.la                               \
        $(top_builddir)/wayland/libwayland-client.la    \
index a7d121b..cef3965 100644 (file)
@@ -1,6 +1,10 @@
 noinst_PROGRAMS = compositor
 
-INCLUDES = -I$(top_srcdir)/wayland $(COMPOSITOR_CFLAGS)
+INCLUDES =                                     \
+       -I$(top_srcdir)/wayland                 \
+       -I$(top_builddir)/wayland               \
+       $(COMPOSITOR_CFLAGS)
+
 AM_CPPFLAGS = -DDATADIR='"$(datadir)"'
 
 compositor_LDADD =                                     \