]> wimlib.net Git - wimlib/blobdiff - Makefile.am
NTFS capture update
[wimlib] / Makefile.am
index 58d2367130704945d42556c53a669dd9e3a49ce4..9c36d5a12ad210039b93f6509427442f007a091f 100644 (file)
@@ -16,10 +16,12 @@ libwim_la_SOURCES =         \
        src/dentry.h            \
        src/endianness.h        \
        src/extract.c           \
+       src/hardlink.c          \
        src/header.c            \
        src/integrity.c         \
        src/io.h                \
        src/join.c              \
+       src/list.h              \
        src/lookup_table.c      \
        src/lookup_table.h      \
        src/lz.c                \
@@ -29,12 +31,15 @@ libwim_la_SOURCES =         \
        src/lzx.h               \
        src/modify.c            \
        src/mount.c             \
+       src/ntfs-apply.c        \
+       src/ntfs-capture.c      \
        src/resource.c          \
        src/security.c          \
        src/security.h          \
        src/sha1.c              \
        src/sha1.h              \
        src/split.c             \
+       src/symlink.c           \
        src/timestamp.h         \
        src/util.c              \
        src/util.h              \
@@ -48,6 +53,13 @@ libwim_la_SOURCES =          \
        src/xpress-decomp.c     \
        src/xpress.h
 
+if WITH_NTFS_3G
+if !WITH_NEW_NTFS_3G
+libwim_la_SOURCES += src/ntfs-3g_security.c
+endif
+endif
+
+
 EXTRA_libwim_la_SOURCES = src/sha1-ssse3.asm
 libwim_la_DEPENDENCIES = $(SSSE3_SHA1_OBJ)
 STRIP_FPIC = sh $(top_srcdir)/build-aux/strip_fPIC.sh
@@ -60,6 +72,7 @@ sha1-ssse3.lo:src/sha1-ssse3.asm
 libwim_la_LIBADD =             \
        $(LIBXML2_LDADD)        \
        $(LIBFUSE_LDADD)        \
+       $(LIBNTFS_3G_LDADD)     \
        $(LTLIBICONV)           \
        $(LIBCRYPTO_LDADD)      \
        $(SSSE3_SHA1_OBJ)
@@ -69,6 +82,7 @@ libwim_la_CFLAGS =            \
        -fvisibility=hidden     \
        $(LIBXML2_CFLAGS)       \
        $(LIBFUSE_CFLAGS)       \
+       $(LIBNTFS_3G_CFLAGS)    \
        $(LIBCRYPTO_CFLAGS)
 
 
@@ -81,12 +95,9 @@ dist_bin_SCRIPTS = programs/mkwinpeimg
 include_HEADERS = src/wimlib.h
 
 EXTRA_DIST =                   \
-       COPYING.LIB             \
        build-aux/strip_fPIC.sh \
        debian                  \
-       programs/install.cmd    \
-       tests/dir               \
-       tests/dir2
+       programs/install.cmd
 
 pkgconfigdir   = @pkgconfigdir@
 pkgconfig_DATA = wimlib.pc
@@ -111,6 +122,8 @@ man1_MANS =                 \
 
 $(man1_MANS): config.status
 
-dist_check_SCRIPTS = tests/test-imagex
+check_PROGRAMS = tests/ntfs-cmp
+tests_ntfs_cmp_SOURCES = tests/ntfs-cmp.c
+dist_check_SCRIPTS = tests/test-imagex tests/test-imagex-ntfs
 TESTS = $(dist_check_SCRIPTS)