X-Git-Url: http://git.annexia.org/?p=libguestfs.git;a=blobdiff_plain;f=src%2FMakefile.am;h=87812741523551bd5f90e14a1555c1457907977f;hp=51bf45c6b397ae59471eebd1a016b9da202d4d30;hb=e44cf42f362d793c47d892a18a6853d88abd6ecb;hpb=7e3d76e41b3c2862ae04744b01e5e23b245393e4 diff --git a/src/Makefile.am b/src/Makefile.am index 51bf45c..8781274 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -19,14 +19,13 @@ 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 \ errnostring_gperf.gperf \ errnostring.c \ - errnostring.h + errnostring.h \ guestfs-actions.pod \ guestfs-availability.pod \ guestfs-structs.pod \ @@ -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,20 +119,24 @@ 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 \ appliance.c \ bindtests.c \ + filearch.c \ inspect.c \ launch.c \ + listfs.c \ proto.c \ + virt.c \ libguestfs.syms -libguestfs_la_LIBADD = $(HIVEX_LIBS) $(AUGEAS_LIBS) $(LIBPCRE) $(LIBMAGIC) $(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 @@ -141,7 +144,8 @@ libguestfs_la_LIBADD += liberrnostring.la libprotocol.la libguestfs_la_CFLAGS = \ -DGUESTFS_DEFAULT_PATH='"$(libdir)/guestfs"' \ - $(HIVEX_CFLAGS) $(AUGEAS_CFLAGS) \ + $(HIVEX_CFLAGS) $(AUGEAS_CFLAGS) $(PCRE_CFLAGS) \ + $(LIBVIRT_CFLAGS) $(LIBXML2_CFLAGS) \ $(WARN_CFLAGS) $(WERROR_CFLAGS) libguestfs_la_CPPFLAGS = -I$(top_srcdir)/gnulib/lib @@ -161,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.