X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=df%2FMakefile.am;h=2f0eff0eb344e5f330aeb41582de5afabd1ffb5f;hb=d2636b0984830d950423dadd936114ff242c4a00;hp=f148e6cebcc0313ed2c05fcf05eb4bcaf157165c;hpb=18374b5b7d3154e0b8b8a07e3590f6eee762b58e;p=libguestfs.git diff --git a/df/Makefile.am b/df/Makefile.am index f148e6c..2f0eff0 100644 --- a/df/Makefile.am +++ b/df/Makefile.am @@ -47,11 +47,14 @@ virt_df_CFLAGS = \ -I$(top_srcdir)/fish \ -I$(srcdir)/../gnulib/lib -I../gnulib/lib \ -DLOCALEBASEDIR=\""$(datadir)/locale"\" \ - $(WARN_CFLAGS) $(WERROR_CFLAGS) + $(WARN_CFLAGS) $(WERROR_CFLAGS) \ + $(LIBVIRT_CFLAGS) virt_df_LDADD = \ $(top_builddir)/src/libguestfs.la \ - ../gnulib/lib/libgnu.la -lm + ../gnulib/lib/libgnu.la \ + $(LIBVIRT_LIBS) \ + -lm # Manual pages and HTML files for the website. man_MANS = virt-df.1 @@ -76,9 +79,3 @@ TESTS_ENVIRONMENT = \ LIBGUESTFS_PATH=$(top_builddir)/appliance TESTS = test-virt-df.sh - -# Build a partly-static binary (for the binary distribution). - -virt-df.static$(EXEEXT): $(virt_df_OBJECTS) $(virt_df_DEPENDENCIES) - $(top_srcdir)/relink-static.sh \ - $(virt_df_LINK) $(virt_df_OBJECTS) -static $(virt_df_LDADD) $(virt_df_LIBS) $(LIBVIRT_LIBS) $(LIBXML2_LIBS) -lpcre -lhivex -lmagic -lz -lm