X-Git-Url: http://git.annexia.org/?p=libguestfs.git;a=blobdiff_plain;f=examples%2FMakefile.am;h=04bbe5e45f5e0e9991a54be100cfd499559ffab4;hp=66a32d7b6a963bd607f604085b044de12b1e65c3;hb=61da709722ec244da1c3c7d4f1a8706f76687cb3;hpb=b6233d1fff5d9a6bbc61e7123a57bdd7d8cbc792 diff --git a/examples/Makefile.am b/examples/Makefile.am index 66a32d7..04bbe5e 100644 --- a/examples/Makefile.am +++ b/examples/Makefile.am @@ -1,7 +1,17 @@ # libguestfs examples -noinst_PROGRAMS = df +include $(top_srcdir)/subdir-rules.mk -df_SOURCES = df.c -df_CFLAGS = -I$(top_builddir)/src -df_LDADD = $(top_builddir)/src/libguestfs.la +noinst_PROGRAMS = hello to-xml + +hello_SOURCES = hello.c +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_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)