X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=examples%2FMakefile.am;h=adbb9343f164d0f79928bc821c17313498bb6df9;hb=9299f25cd277d5481cae2ed8dcd8789417df9f53;hp=13302d9b9270416c99dad3a947181b71bcfadefa;hpb=41b959fd9b057354f642d84398b875d02b88b864;p=libguestfs.git diff --git a/examples/Makefile.am b/examples/Makefile.am index 13302d9..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)