summaryrefslogtreecommitdiff
path: root/examples/C
diff options
context:
space:
mode:
authorColin Walters <walters@verbum.org>2012-01-08 12:30:02 -0500
committerDan Williams <dcbw@redhat.com>2012-01-09 14:20:36 -0600
commitdab7dfaf35d38876b79a72cb842d728897edde91 (patch)
treeb185e388226a833562181eb708ded953c14260bc /examples/C
parentd4a6868735b88d3c5fdc034dc8f1d6c18273cb83 (diff)
build: fix srcdir != builddir
nm-version.h is in ${top_builddir}/include.
Diffstat (limited to 'examples/C')
-rw-r--r--examples/C/glib/Makefile.am3
-rw-r--r--examples/C/qt/Makefile.am3
2 files changed, 4 insertions, 2 deletions
diff --git a/examples/C/glib/Makefile.am b/examples/C/glib/Makefile.am
index 1063d520..332a3b36 100644
--- a/examples/C/glib/Makefile.am
+++ b/examples/C/glib/Makefile.am
@@ -1,6 +1,7 @@
INCLUDES = -I${top_srcdir}/libnm-util \
-I${top_srcdir}/libnm-glib \
- -I${top_srcdir}/include
+ -I${top_srcdir}/include \
+ -I${top_builddir}/include
AM_CPPFLAGS = \
$(DBUS_CFLAGS) \
diff --git a/examples/C/qt/Makefile.am b/examples/C/qt/Makefile.am
index 5f0c6a1e..cde7371f 100644
--- a/examples/C/qt/Makefile.am
+++ b/examples/C/qt/Makefile.am
@@ -1,4 +1,5 @@
-INCLUDES = -I${top_srcdir}/include
+INCLUDES = -I${top_srcdir}/include \
+ -I${top_builddir}/include
AM_CPPFLAGS = \
$(DBUS_CFLAGS) \