X-Git-Url: https://wimlib.net/git/?p=wimlib;a=blobdiff_plain;f=Makefile.am;h=684454c4274f408bce9bc44178a7829a485c4f82;hp=b6d4da951ebddbc1a8d9009e1a2fb52478e468cc;hb=c49c1035e4ffe168e8ac6477fb5ed1cf756c733f;hpb=61db93f82eca3fe9f7676355c709c58cc425a6ad diff --git a/Makefile.am b/Makefile.am index b6d4da95..684454c4 100644 --- a/Makefile.am +++ b/Makefile.am @@ -15,7 +15,7 @@ endif lib_LTLIBRARIES = libwim.la -libwim_la_LDFLAGS = -version-info 9:0:0 $(WINDOWS_LDFLAGS) +libwim_la_LDFLAGS = -version-info 11:0:2 $(WINDOWS_LDFLAGS) libwim_la_SOURCES = \ src/add_image.c \ @@ -34,6 +34,11 @@ libwim_la_SOURCES = \ src/join.c \ src/lookup_table.c \ src/lz77.c \ + src/divsufsort/divsufsort.c \ + src/divsufsort/divsufsort.h \ + src/divsufsort/divsufsort_private.h \ + src/divsufsort/sssort.c \ + src/divsufsort/trsort.c \ src/lzx-common.c \ src/lzx-compress.c \ src/lzx-decompress.c \ @@ -45,7 +50,6 @@ libwim_la_SOURCES = \ src/security.c \ src/sha1.c \ src/split.c \ - src/swm.c \ src/reparse.c \ src/timestamp.c \ src/update_image.c \ @@ -68,6 +72,7 @@ libwim_la_SOURCES = \ include/wimlib/endianness.h \ include/wimlib/error.h \ include/wimlib/file_io.h \ + include/wimlib/glob.h \ include/wimlib/header.h \ include/wimlib/integrity.h \ include/wimlib/list.h \ @@ -79,8 +84,8 @@ libwim_la_SOURCES = \ include/wimlib/reparse.h \ include/wimlib/resource.h \ include/wimlib/security.h \ + include/wimlib/security_descriptor.h \ include/wimlib/sha1.h \ - include/wimlib/swm.h \ include/wimlib/timestamp.h \ include/wimlib/types.h \ include/wimlib/util.h \ @@ -153,17 +158,49 @@ imagex_SOURCES += programs/imagex-win32.c \ programs/wgetopt.h endif +imagex_cmds = append \ + apply \ + capture \ + delete \ + dir \ + export \ + extract \ + info \ + join \ + mount \ + mountrw \ + optimize\ + split \ + unmount \ + update + install-exec-hook: - if [ "@IMAGEX_PROGNAME@" != imagex ]; then \ + if [ "@IMAGEX_PROGNAME@" != imagex ]; then \ cd $(DESTDIR)$(bindir) && mv -f imagex "@IMAGEX_PROGNAME@"; \ - cd $(DESTDIR)$(bindir) && ln -s "@IMAGEX_PROGNAME@" imagex; \ fi + for cmd in $(imagex_cmds); do \ + cd $(DESTDIR)$(bindir) && \ + ln -f "@IMAGEX_PROGNAME@" wim$${cmd}; \ + done + +install-data-hook: + for cmd in $(imagex_cmds); do \ + cd $(DESTDIR)$(mandir)/man1 && \ + ln -sf "@IMAGEX_PROGNAME@-$${cmd}.1" wim$${cmd}.1; \ + done uninstall-hook: - if [ "@IMAGEX_PROGNAME@" != imagex ]; then \ - cd $(DESTDIR)$(bindir) && rm -f "@IMAGEX_PROGNAME@"; \ - cd $(DESTDIR)$(bindir) && rm -f imagex; \ + if [ "@IMAGEX_PROGNAME@" != imagex ]; then \ + rm -f $(DESTDIR)$(bindir)/"@IMAGEX_PROGNAME@"; \ + rm -f $(DESTDIR)$(bindir)/imagex; \ fi + for cmd in $(imagex_cmds); do \ + rm -f $(DESTDIR)$(bindir)/wim$${cmd}; \ + done + for cmd in $(imagex_cmds); do \ + rm -f $(DESTDIR)$(mandir)/man1/wim$${cmd}.1; \ + done + dist_bin_SCRIPTS = programs/mkwinpeimg