X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=daemon%2FMakefile.am;h=9fa8ddab4f9d555a7d7d3226603e123665d7d18d;hb=2d9953097b6d3b71122d444a4550047e97aee009;hp=83ee408c7aa5a6d504f1acc8270139eb2690b267;hpb=53ce488f380e3dd94c26bf507c5639975125a1ee;p=libguestfs.git diff --git a/daemon/Makefile.am b/daemon/Makefile.am index 83ee408..9fa8dda 100644 --- a/daemon/Makefile.am +++ b/daemon/Makefile.am @@ -19,10 +19,31 @@ ACLOCAL_AMFLAGS = -I m4 SUBDIRS = lib tests . +libsrcdir = $(top_builddir)/../src + +generator_built = \ + actions.h \ + stubs.c \ + names.c + +.PHONY: force + +$(generator_built): force + $(MAKE) -C $(libsrcdir) stamp-generator + +BUILT_SOURCES = $(generator_built) + +EXTRA_DIST = $(BUILT_SOURCES) + +$(libsrcdir)/guestfs_protocol.o: force + $(MAKE) -C $(libsrcdir) guestfs_protocol.o + noinst_PROGRAMS = guestfsd guestfsd_SOURCES = \ actions.h \ + available.c \ augeas.c \ + blkid.c \ blockdev.c \ checksum.c \ cmp.c \ @@ -36,9 +57,11 @@ guestfsd_SOURCES = \ dmesg.c \ dropcaches.c \ du.c \ + echo_daemon.c \ ext2.c \ fallocate.c \ file.c \ + fill.c \ find.c \ fsck.c \ glob.c \ @@ -58,6 +81,9 @@ guestfsd_SOURCES = \ mount.c \ names.c \ ntfs.c \ + optgroups.c \ + optgroups.h \ + parted.c \ pingdaemon.c \ proto.c \ readdir.c \ @@ -72,16 +98,15 @@ guestfsd_SOURCES = \ swap.c \ sync.c \ tar.c \ + truncate.c \ umask.c \ upload.c \ + utimens.c \ wc.c \ xattr.c \ zero.c \ - zerofree.c \ - $(top_builddir)/../src/guestfs_protocol.h \ - $(top_builddir)/../src/guestfs_protocol.c + zerofree.c +guestfsd_LDADD = $(libsrcdir)/guestfs_protocol.o lib/libgnu.a AM_CPPFLAGS = -I$(srcdir)/lib -Ilib guestfsd_CFLAGS = $(WARN_CFLAGS) $(WERROR_CFLAGS) - -LDADD = lib/libgnu.a