X-Git-Url: https://wimlib.net/git/?p=wimlib;a=blobdiff_plain;f=Makefile.am;h=70f42876d349da42ae6ddf50804693aae751ea19;hp=98a247eaabebd4a1ea050d60e1442bf92d26f7dc;hb=6cc8db9fac4dcfdcd474ee49790a30a54b83c798;hpb=4a4aa00c378959fedcc4dab39d0933d36e2a1c3e diff --git a/Makefile.am b/Makefile.am index 98a247ea..70f42876 100644 --- a/Makefile.am +++ b/Makefile.am @@ -7,7 +7,7 @@ AM_CFLAGS = -std=gnu99 -D_LARGEFILE_SOURCE \ lib_LTLIBRARIES = libwim.la -libwim_la_LDFLAGS = -version-info 2:1:0 +libwim_la_LDFLAGS = -version-info 4:0:2 $(CYGWIN_EXTRA_LDFLAGS) libwim_la_SOURCES = \ src/add_image.c \ @@ -53,6 +53,7 @@ libwim_la_SOURCES = \ src/wim.c \ src/wimlib.h \ src/wimlib_internal.h \ + src/win32.c \ src/write.c \ src/xml.c \ src/xml.h \ @@ -86,7 +87,7 @@ libwim_la_LIBADD = \ libwim_la_CFLAGS = \ $(AM_CFLAGS) \ - -fvisibility=hidden \ + $(VISIBILITY_CFLAGS) \ $(LIBXML2_CFLAGS) \ $(LIBFUSE_CFLAGS) \ $(LIBNTFS_3G_CFLAGS) \ @@ -106,6 +107,7 @@ EXTRA_DIST = \ archlinux \ debian \ rpm \ + README.WINDOWS \ programs/install.cmd \ programs/wimapply.c \ tests/common_tests.sh \ @@ -153,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