X-Git-Url: http://git.annexia.org/?p=libguestfs.git;a=blobdiff_plain;f=src%2FMakefile.am;h=79ec1d036b6b45d926938666052d3f0fa2c1dd7f;hp=4be61a5961be17ad713e97628372b3cdaebb753c;hb=e0afd9a3e4bbd073f36a4287744b4c5fe148413f;hpb=a0b4caa0821b759de01361b7019c9c9c9607027d diff --git a/src/Makefile.am b/src/Makefile.am index 4be61a5..79ec1d0 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -19,8 +19,7 @@ include $(top_srcdir)/subdir-rules.mk generator_built = \ guestfs_protocol.x \ - guestfs-structs.h \ - guestfs-actions.h \ + guestfs.h \ guestfs-internal-actions.h \ actions.c \ bindtests.c \ @@ -47,7 +46,7 @@ EXTRA_DIST = \ api-support/README \ api-support/update-from-tarballs.sh -include_HEADERS = guestfs.h guestfs-actions.h guestfs-structs.h +include_HEADERS = guestfs.h lib_LTLIBRARIES = libguestfs.la @@ -120,9 +119,7 @@ libguestfs_la_LDFLAGS += $(VERSION_SCRIPT_FLAGS)libguestfs.syms libguestfs_la_SOURCES = \ guestfs.c \ guestfs.h \ - guestfs-actions.h \ guestfs-internal.h \ - guestfs-structs.h \ guestfs_protocol.h \ gettext.h \ actions.c \ @@ -133,9 +130,13 @@ libguestfs_la_SOURCES = \ launch.c \ listfs.c \ proto.c \ + virt.c \ libguestfs.syms -libguestfs_la_LIBADD = $(HIVEX_LIBS) $(AUGEAS_LIBS) $(PCRE_LIBS) $(MAGIC_LIBS) $(LTLIBTHREAD) ../gnulib/lib/libgnu.la +libguestfs_la_LIBADD = \ + $(HIVEX_LIBS) $(AUGEAS_LIBS) $(PCRE_LIBS) $(MAGIC_LIBS) \ + $(LIBVIRT_LIBS) $(LIBXML2_LIBS) \ + $(LTLIBTHREAD) ../gnulib/lib/libgnu.la # Make libguestfs include the convenience libraries. noinst_LTLIBRARIES = liberrnostring.la libprotocol.la @@ -144,6 +145,7 @@ libguestfs_la_LIBADD += liberrnostring.la libprotocol.la libguestfs_la_CFLAGS = \ -DGUESTFS_DEFAULT_PATH='"$(libdir)/guestfs"' \ $(HIVEX_CFLAGS) $(AUGEAS_CFLAGS) $(PCRE_CFLAGS) \ + $(LIBVIRT_CFLAGS) $(LIBXML2_CFLAGS) \ $(WARN_CFLAGS) $(WERROR_CFLAGS) libguestfs_la_CPPFLAGS = -I$(top_srcdir)/gnulib/lib @@ -163,7 +165,7 @@ guestfs_protocol.h: guestfs_protocol.x endif # Manual page. -# guestfs-actions.pod, guestfs-availability.pod and guestfs-structs +# guestfs-actions.pod, guestfs-availability.pod and guestfs-structs.pod # are autogenerated. There is no include mechanism for POD, so we # have to do it by hand.