1 ACLOCAL_AMFLAGS = -I m4
3 AM_CPPFLAGS = -I$(top_srcdir)/src
5 AM_CFLAGS = -std=gnu99 -D_LARGEFILE_SOURCE \
6 -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE
8 lib_LTLIBRARIES = libwim.la
10 libwim_la_LDFLAGS = -version-info 4:0:2 $(CYGWIN_EXTRA_LDFLAGS)
36 src/lzx-decompress.c \
38 src/metadata_resource.c \
55 src/wimlib_internal.h \
60 src/xpress-compress.c \
61 src/xpress-decompress.c \
65 libwim_la_SOURCES += src/ntfs-apply.c \
70 EXTRA_libwim_la_SOURCES = src/sha1-ssse3.asm
71 libwim_la_DEPENDENCIES = $(SSSE3_SHA1_OBJ)
72 STRIP_FPIC = sh $(top_srcdir)/build-aux/strip_fPIC.sh
74 sha1-ssse3.lo:src/sha1-ssse3.asm
75 $(LIBTOOL) --mode=compile --tag=CC $(STRIP_FPIC) $(NASM) -f elf64 \
76 -DINTEL_SHA1_UPDATE_DEFAULT_DISPATCH=ssse3_not_found \
90 $(VISIBILITY_CFLAGS) \
93 $(LIBNTFS_3G_CFLAGS) \
98 imagex_SOURCES = programs/imagex.c
99 imagex_LDADD = $(top_builddir)/libwim.la
101 dist_bin_SCRIPTS = programs/mkwinpeimg
103 include_HEADERS = src/wimlib.h
106 build-aux/strip_fPIC.sh \
111 programs/install.cmd \
112 programs/wimapply.c \
113 tests/common_tests.sh \
114 tests/tests-common.sh \
115 tests/security_descriptor_1.base64 \
116 tests/security_descriptor_1.bin \
117 tests/security_descriptor_2.base64 \
118 tests/security_descriptor_2.bin
120 pkgconfigdir = @pkgconfigdir@
121 pkgconfig_DATA = wimlib.pc
123 $(pkgconfig_DATA): config.status
127 doc/imagex-append.1 \
129 doc/imagex-capture.1 \
130 doc/imagex-delete.1 \
132 doc/imagex-export.1 \
136 doc/imagex-mountrw.1 \
137 doc/imagex-optimize.1 \
139 doc/imagex-unmount.1 \
142 $(man1_MANS): config.status
144 check_PROGRAMS = tests/tree-cmp
145 tests_tree_cmp_SOURCES = tests/tree-cmp.c
147 dist_check_SCRIPTS = tests/test-imagex \
148 tests/test-imagex-capture_and_apply
151 dist_check_SCRIPTS += tests/test-imagex-mount
155 dist_check_SCRIPTS += tests/test-imagex-ntfs
161 # TODO: The tests need to be re-written for Windows builds. One issue (that
162 # applies to both test-imagex and test-imagex-capture_and_apply.) is that
163 # Cygwin's 'ln -s' will create some sort of regular file with special contents
164 # rather than a reparse point.
165 TESTS = $(dist_check_SCRIPTS)