X-Git-Url: http://git.annexia.org/?p=libguestfs.git;a=blobdiff_plain;f=examples%2FMakefile.am;h=adbb9343f164d0f79928bc821c17313498bb6df9;hp=31707b8b6289d5d1d3d03b52ff17bd735862cb13;hb=7cd4b6aeee3693463b03608a31cf53f21152c2e8;hpb=7fe2b338e4102a23ecd2f89b447b7618f0e93312 diff --git a/examples/Makefile.am b/examples/Makefile.am index 31707b8..adbb934 100644 --- a/examples/Makefile.am +++ b/examples/Makefile.am @@ -3,11 +3,13 @@ noinst_PROGRAMS = hello to-xml hello_SOURCES = hello.c -hello_CFLAGS = -I$(top_builddir)/src -Wall +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_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) +CLEANFILES = $(noinst_PROGRAMS)