git.annexia.org
/
libguestfs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Version 1.3.16.
[libguestfs.git]
/
examples
/
Makefile.am
diff --git
a/examples/Makefile.am
b/examples/Makefile.am
index
d2187cb
..
04bbe5e
100644
(file)
--- a/
examples/Makefile.am
+++ b/
examples/Makefile.am
@@
-1,9
+1,17
@@
# libguestfs examples
# libguestfs examples
-noinst_PROGRAMS = hello
+include $(top_srcdir)/subdir-rules.mk
+
+noinst_PROGRAMS = hello to-xml
hello_SOURCES = hello.c
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
hello_LDADD = $(top_builddir)/src/libguestfs.la
-CLEANFILES = *~ $(noinst_PROGRAMS)
+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)