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 \
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 \
src/security.c \
src/sha1.c \
src/split.c \
- src/swm.c \
src/reparse.c \
src/timestamp.c \
src/update_image.c \
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 \
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 \
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