X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=examples%2FMakefile.am;h=fb3d656cfc8667866fa56feac5d35df43de65b8d;hb=0fc6b7affd28ad77566e832f338650b771145ea1;hp=d2187cbb16b7ff8c240c6375d7f60719e7a2bac3;hpb=197f0ceeac625a20b923b274c6025eb0ccaeaed1;p=libguestfs.git diff --git a/examples/Makefile.am b/examples/Makefile.am index d2187cb..fb3d656 100644 --- a/examples/Makefile.am +++ b/examples/Makefile.am @@ -1,9 +1,13 @@ # libguestfs examples -noinst_PROGRAMS = hello +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 -CLEANFILES = *~ $(noinst_PROGRAMS) +to_xml_SOURCES = to-xml.c +to_xml_CFLAGS = -I$(top_srcdir)/src -I$(top_builddir)/src -Wall +to_xml_LDADD = $(top_builddir)/src/libguestfs.la + +CLEANFILES = $(noinst_PROGRAMS)