X-Git-Url: https://wimlib.net/git/?p=wimlib;a=blobdiff_plain;f=Makefile.am;h=0aede5918141e3e181bfcfa733c6f80c9565cbb2;hp=94af43dc9302f7667067b2198567c8d2dd87c7da;hb=be1dad10f323cd02d882ae3950e98260043a0bc9;hpb=2b2a672da8d6860b6677c1987ddb196f5dce313f diff --git a/Makefile.am b/Makefile.am index 94af43dc..0aede591 100644 --- a/Makefile.am +++ b/Makefile.am @@ -6,11 +6,12 @@ AM_CFLAGS = -std=gnu99 -fno-strict-aliasing lib_LTLIBRARIES = libwim.la -libwim_la_LDFLAGS = -version-info 6:0:0 $(WINDOWS_LDFLAGS) +libwim_la_LDFLAGS = -version-info 7:0:0 $(WINDOWS_LDFLAGS) libwim_la_SOURCES = \ src/add_image.c \ src/buffer_io.h \ + src/capture_common.c \ src/compress.c \ src/compress.h \ src/decompress.c \ @@ -46,6 +47,7 @@ libwim_la_SOURCES = \ src/split.c \ src/reparse.c \ src/timestamp.h \ + src/update_image.c \ src/util.c \ src/util.h \ src/verify.c \ @@ -105,7 +107,14 @@ imagex_SOURCES += programs/imagex-win32.c \ programs/wgetopt.c \ programs/wgetopt.h -libwim_la_SOURCES += src/win32.c +libwim_la_SOURCES += src/win32_common.c \ + src/win32_apply.c \ + src/win32_capture.c \ + src/win32.h \ + src/win32_common.h +else +libwim_la_SOURCES += src/unix_apply.c \ + src/unix_capture.c endif install-exec-hook: @@ -158,6 +167,7 @@ wimlib_manpages = \ doc/@IMAGEX_PROGNAME@-optimize.1 \ doc/@IMAGEX_PROGNAME@-split.1 \ doc/@IMAGEX_PROGNAME@-unmount.1 \ + doc/@IMAGEX_PROGNAME@-update.1 \ doc/mkwinpeimg.1 man1_MANS = $(wimlib_manpages) @@ -169,7 +179,8 @@ check_PROGRAMS = tests/tree-cmp tests_tree_cmp_SOURCES = tests/tree-cmp.c dist_check_SCRIPTS = tests/test-imagex \ - tests/test-imagex-capture_and_apply + tests/test-imagex-capture_and_apply \ + tests/test-imagex-update_and_extract if WITH_FUSE dist_check_SCRIPTS += tests/test-imagex-mount @@ -180,7 +191,7 @@ dist_check_SCRIPTS += tests/test-imagex-ntfs endif if WINDOWS_NATIVE_BUILD -# TODO: The tests need to be re-written for Windows builds. +# Tests are run manually for Windows builds. TESTS = else TESTS = $(dist_check_SCRIPTS)