lib_LTLIBRARIES = libwim.la
-libwim_la_LDFLAGS = -version-info 1:0:0
+libwim_la_LDFLAGS = -version-info 4:0:2 $(CYGWIN_EXTRA_LDFLAGS)
libwim_la_SOURCES = \
src/add_image.c \
src/delete_image.c \
src/dentry.c \
src/dentry.h \
+ src/encoding.c \
src/endianness.h \
src/export_image.c \
src/extract_image.c \
src/lzx-compress.c \
src/lzx-decompress.c \
src/lzx.h \
+ src/metadata_resource.c \
src/mount_image.c \
src/resource.c \
src/rbtree.c \
src/rbtree.h \
- src/rbtree_augmented.h \
src/security.c \
src/security.h \
src/sha1.c \
src/wim.c \
src/wimlib.h \
src/wimlib_internal.h \
+ src/win32.c \
src/write.c \
src/xml.c \
src/xml.h \
libwim_la_CFLAGS = \
$(AM_CFLAGS) \
- -fvisibility=hidden \
+ $(VISIBILITY_CFLAGS) \
$(LIBXML2_CFLAGS) \
$(LIBFUSE_CFLAGS) \
$(LIBNTFS_3G_CFLAGS) \
archlinux \
debian \
rpm \
+ README.WINDOWS \
programs/install.cmd \
programs/wimapply.c \
tests/common_tests.sh \
dist_check_SCRIPTS += tests/test-imagex-ntfs
endif
+if WINDOWS_BUILD
+TESTS =
+else
+# TODO: The tests need to be re-written for Windows builds. One issue (that
+# applies to both test-imagex and test-imagex-capture_and_apply) is that
+# Cygwin's 'ln -s' will create some sort of regular file with special contents
+# rather than a reparse point.
TESTS = $(dist_check_SCRIPTS)
+endif