X-Git-Url: http://git.annexia.org/?p=libguestfs.git;a=blobdiff_plain;f=examples%2FMakefile.am;h=04bbe5e45f5e0e9991a54be100cfd499559ffab4;hp=fb3d656cfc8667866fa56feac5d35df43de65b8d;hb=d600342b7d29c0176ff96a7807ebb38303ecb3a6;hpb=349814e9d912c4f372b8fbdfb10b03749911021f diff --git a/examples/Makefile.am b/examples/Makefile.am index fb3d656..04bbe5e 100644 --- a/examples/Makefile.am +++ b/examples/Makefile.am @@ -1,5 +1,7 @@ # libguestfs examples +include $(top_srcdir)/subdir-rules.mk + noinst_PROGRAMS = hello to-xml hello_SOURCES = hello.c @@ -7,7 +9,9 @@ hello_CFLAGS = -I$(top_srcdir)/src -I$(top_builddir)/src -Wall hello_LDADD = $(top_builddir)/src/libguestfs.la to_xml_SOURCES = to-xml.c -to_xml_CFLAGS = -I$(top_srcdir)/src -I$(top_builddir)/src -Wall +to_xml_CPPFLAGS = \ + -I$(top_srcdir)/gnulib/lib \ + -I$(top_srcdir)/src -I$(top_builddir)/src -Wall to_xml_LDADD = $(top_builddir)/src/libguestfs.la CLEANFILES = $(noinst_PROGRAMS)