X-Git-Url: https://wimlib.net/git/?p=wimlib;a=blobdiff_plain;f=Makefile.am;h=fc7ac6ef04fc30244404ce19f3a724d412dcf787;hp=8f6dc96bb38ed3ad9b211fe4ca686a04740ed84d;hb=7d3c6d1a380bbd9e9074dce19b65bb5ac0ae4675;hpb=9bea8e7fe26def4befd72bd72e0d89995a834e3c diff --git a/Makefile.am b/Makefile.am index 8f6dc96b..fc7ac6ef 100644 --- a/Makefile.am +++ b/Makefile.am @@ -15,42 +15,61 @@ endif lib_LTLIBRARIES = libwim.la -libwim_la_LDFLAGS = -version-info 8:0:1 $(WINDOWS_LDFLAGS) +libwim_la_LDFLAGS = -version-info 13:0:4 $(WINDOWS_LDFLAGS) libwim_la_SOURCES = \ src/add_image.c \ src/capture_common.c \ + src/compat.c \ src/compress.c \ + src/compress_common.c \ + src/compress_parallel.c \ + src/compress_serial.c \ src/decompress.c \ + src/decompress_common.c \ src/delete_image.c \ src/dentry.c \ src/encoding.c \ src/export_image.c \ src/extract.c \ src/file_io.c \ - src/hardlink.c \ src/header.c \ + src/inode.c \ + src/inode_fixup.c \ src/integrity.c \ + src/iterate_dir.c \ src/join.c \ src/lookup_table.c \ - src/lz77.c \ + src/lzms-common.c \ + src/lzms-compress.c \ + src/lzms-decompress.c \ + src/lz_hash.c \ + src/lz_sarray.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 \ src/metadata_resource.c \ src/mount_image.c \ + src/pathlist.c \ src/paths.c \ src/resource.c \ src/rbtree.c \ + src/reference.c \ src/security.c \ src/sha1.c \ src/split.c \ - src/swm.c \ src/reparse.c \ + src/template.c \ src/timestamp.c \ src/update_image.c \ src/util.c \ src/verify.c \ + src/wildcard.c \ src/wim.c \ src/write.c \ src/xml.c \ @@ -60,31 +79,46 @@ libwim_la_SOURCES = \ include/wimlib/assert.h \ include/wimlib/callback.h \ include/wimlib/capture.h \ + include/wimlib/case.h \ include/wimlib/compiler.h \ - include/wimlib/compress.h \ - include/wimlib/decompress.h \ + include/wimlib/compressor_ops.h \ + include/wimlib/compress_common.h \ + include/wimlib/chunk_compressor.h \ + include/wimlib/decompressor_ops.h \ + include/wimlib/decompress_common.h \ include/wimlib/dentry.h \ include/wimlib/encoding.h \ include/wimlib/endianness.h \ include/wimlib/error.h \ include/wimlib/file_io.h \ + include/wimlib/glob.h \ include/wimlib/header.h \ + include/wimlib/inode.h \ + include/wimlib/inode_table.h \ include/wimlib/integrity.h \ include/wimlib/list.h \ include/wimlib/lookup_table.h \ + include/wimlib/lz.h \ + include/wimlib/lz_hash.h \ + include/wimlib/lz_optimal.h \ + include/wimlib/lz_sarray.h \ + include/wimlib/lzms.h \ include/wimlib/lzx.h \ include/wimlib/metadata.h \ + include/wimlib/pathlist.h \ include/wimlib/paths.h \ include/wimlib/rbtree.h \ 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/unix_data.h \ include/wimlib/util.h \ include/wimlib/version.h \ + include/wimlib/wildcard.h \ include/wimlib/wim.h \ include/wimlib/write.h \ include/wimlib/xml.h \ @@ -153,17 +187,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 @@ -176,8 +242,6 @@ EXTRA_DIST = \ rpm \ examples \ README.WINDOWS \ - programs/install.cmd \ - programs/wimapply.c \ tests/common_tests.sh \ tests/tests-common.sh \ tests/security_descriptor_1.base64 \