X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=fish%2FMakefile.am;h=e1e8833e3cc851bd72d79c36d650fb4ef43f4697;hb=54837f6d7ba83178625e2f0c3c063457d9f3f79c;hp=9bc5b7348a242da5ba4c8c5ad55b34c4e56fb807;hpb=4440e22f4f7ebffe0728a8c019319d1a2b260cf5;p=libguestfs.git diff --git a/fish/Makefile.am b/fish/Makefile.am index 9bc5b73..e1e8833 100644 --- a/fish/Makefile.am +++ b/fish/Makefile.am @@ -49,6 +49,7 @@ guestfish_SOURCES = \ man.c \ more.c \ prep.c \ + progress.c \ rc.c \ reopen.c \ supported.c \ @@ -72,7 +73,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 +93,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) -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.