X-Git-Url: http://git.annexia.org/?p=libguestfs.git;a=blobdiff_plain;f=fish%2FMakefile.am;h=906d362ffa80c6042f78deae2b7a877a23801f0b;hp=9bc5b7348a242da5ba4c8c5ad55b34c4e56fb807;hb=2635a9c70e5f8aab85bbcb6b7a645f720d1e4466;hpb=4440e22f4f7ebffe0728a8c019319d1a2b260cf5 diff --git a/fish/Makefile.am b/fish/Makefile.am index 9bc5b73..906d362 100644 --- a/fish/Makefile.am +++ b/fish/Makefile.am @@ -22,7 +22,9 @@ bin_PROGRAMS = guestfish generator_built = \ cmds.c \ completion.c \ - guestfish-actions.pod + guestfish-actions.pod \ + prepopts.h \ + prepopts.c BUILT_SOURCES = \ $(generator_built) \ @@ -38,6 +40,7 @@ EXTRA_DIST = \ guestfish_SOURCES = \ $(generator_built) \ alloc.c \ + copy.c \ destpaths.c \ echo.c \ edit.c \ @@ -49,8 +52,15 @@ guestfish_SOURCES = \ man.c \ more.c \ prep.c \ + prep_disk.c \ + prep_part.c \ + prep_fs.c \ + prep_lv.c \ + prep_boot.c \ + progress.c \ rc.c \ reopen.c \ + rmsd.h \ supported.c \ tilde.c \ time.c \ @@ -72,7 +82,7 @@ guestfish_CFLAGS = \ guestfish_LDADD = \ $(LIBVIRT_LIBS) $(LIBXML2_LIBS) \ - $(top_builddir)/src/libguestfs.la $(LIBREADLINE) + $(top_builddir)/src/libguestfs.la $(LIBREADLINE) -lm # Make libguestfs use the convenience library. noinst_LTLIBRARIES = librc_protocol.la @@ -92,6 +102,12 @@ rc_protocol.h: rc_protocol.x mv $@-t $@ endif +# Build a partly-static library (for the binary distribution). + +guestfish.static$(EXEEXT): $(guestfish_OBJECTS) $(guestfish_DEPENDENCIES) + $(top_srcdir)/relink-static.sh \ + $(guestfish_LINK) $(guestfish_OBJECTS) -static $(guestfish_LDADD) $(guestfish_LIBS) -ltinfo -lpcre -lhivex -lmagic -lz -lm + # Manual page. # guestfish-actions.pod is autogenerated. There is no include # mechanism for POD, so we have to do it by hand.