lib_LTLIBRARIES = libwim.la
+libwim_la_LDFLAGS = -version-info 1:0:0
+
libwim_la_SOURCES = \
src/comp.c \
src/comp.h \
src/ntfs-apply.c \
src/ntfs-capture.c \
src/resource.c \
+ src/rbtree.c \
+ src/rbtree.h \
+ src/rbtree_augmented.h \
src/security.c \
src/security.h \
src/sha1.c \
$(LIBNTFS_3G_LDADD) \
$(LTLIBICONV) \
$(LIBCRYPTO_LDADD) \
- $(SSSE3_SHA1_OBJ)
+ $(SSSE3_SHA1_OBJ) \
+ $(PTHREAD_LDADD)
libwim_la_CFLAGS = \
$(AM_CFLAGS) \
include_HEADERS = src/wimlib.h
-EXTRA_DIST = \
- build-aux/strip_fPIC.sh \
- debian \
- programs/install.cmd
- tests/common_tests.sh
+EXTRA_DIST = \
+ build-aux/strip_fPIC.sh \
+ archlinux \
+ debian \
+ rpm \
+ programs/install.cmd \
+ tests/common_tests.sh \
+ tests/security_descriptor_1.base64 \
+ tests/security_descriptor_1.bin \
+ tests/security_descriptor_2.base64 \
+ tests/security_descriptor_2.bin
pkgconfigdir = @pkgconfigdir@
pkgconfig_DATA = wimlib.pc
check_PROGRAMS = tests/tree-cmp
tests_tree_cmp_SOURCES = tests/tree-cmp.c
-dist_check_SCRIPTS = tests/test-imagex \
- tests/test-imagex-mount \
- tests/test-imagex-capture_and_apply \
- tests/test-imagex-ntfs
+dist_check_SCRIPTS = tests/test-imagex \
+ tests/test-imagex-capture_and_apply
+
+if WITH_FUSE
+dist_check_SCRIPTS += tests/test-imagex-mount
+endif
+
+if WITH_NTFS_3G
+dist_check_SCRIPTS += tests/test-imagex-ntfs
+endif
TESTS = $(dist_check_SCRIPTS)