X-Git-Url: https://wimlib.net/git/?p=wimlib;a=blobdiff_plain;f=Makefile.am;h=70f42876d349da42ae6ddf50804693aae751ea19;hp=5bcf8c1fc415843a069d9907883c5999200bafc3;hb=ad37dd86e75416ffc47c97b35f097012be5eeaa2;hpb=9b9a502863318d6208da2818b1d522346e5eee9e diff --git a/Makefile.am b/Makefile.am index 5bcf8c1f..70f42876 100644 --- a/Makefile.am +++ b/Makefile.am @@ -7,36 +7,39 @@ AM_CFLAGS = -std=gnu99 -D_LARGEFILE_SOURCE \ 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/comp.c \ - src/comp.h \ - src/decomp.c \ - src/decomp.h \ + src/add_image.c \ + src/buffer_io.h \ + src/compress.c \ + src/compress.h \ + src/decompress.c \ + src/decompress.h \ + src/delete_image.c \ src/dentry.c \ src/dentry.h \ + src/encoding.c \ src/endianness.h \ - src/extract.c \ + src/export_image.c \ + src/extract_image.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 \ + src/lz77.c \ src/lzx-common.c \ - src/lzx-comp.c \ - src/lzx-decomp.c \ + src/lzx-compress.c \ + src/lzx-decompress.c \ src/lzx.h \ - src/modify.c \ - src/mount.c \ + 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 \ @@ -46,14 +49,16 @@ libwim_la_SOURCES = \ src/timestamp.h \ src/util.c \ src/util.h \ + src/verify.c \ src/wim.c \ src/wimlib.h \ src/wimlib_internal.h \ + src/win32.c \ src/write.c \ src/xml.c \ src/xml.h \ - src/xpress-comp.c \ - src/xpress-decomp.c \ + src/xpress-compress.c \ + src/xpress-decompress.c \ src/xpress.h if WITH_NTFS_3G @@ -82,7 +87,7 @@ libwim_la_LIBADD = \ libwim_la_CFLAGS = \ $(AM_CFLAGS) \ - -fvisibility=hidden \ + $(VISIBILITY_CFLAGS) \ $(LIBXML2_CFLAGS) \ $(LIBFUSE_CFLAGS) \ $(LIBNTFS_3G_CFLAGS) \ @@ -102,8 +107,11 @@ EXTRA_DIST = \ archlinux \ debian \ rpm \ + README.WINDOWS \ programs/install.cmd \ + programs/wimapply.c \ tests/common_tests.sh \ + tests/tests-common.sh \ tests/security_descriptor_1.base64 \ tests/security_descriptor_1.bin \ tests/security_descriptor_2.base64 \ @@ -147,5 +155,13 @@ if WITH_NTFS_3G 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