Updated README
[wimlib] / src / Makefile.am
1 lib_LTLIBRARIES = libwim.la
2
3 AM_CFLAGS = -std=gnu99 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE \
4                 -fvisibility=hidden $(LIBXML2_CFLAGS) $(LIBFUSE_CFLAGS) \
5                 $(LIBCRYPTO_CFLAGS)
6 AM_CPPFLAGS = -D_GNU_SOURCE
7
8
9 compression_srcs = \
10         comp.c \
11         comp.h \
12         decomp.c \
13         decomp.h \
14         lz.c \
15         lzx.h  \
16         lzx-common.c \
17         lzx-comp.c \
18         lzx-decomp.c \
19         xpress.h \
20         xpress-comp.c \
21         xpress-decomp.c
22
23 other_srcs = \
24         dentry.c \
25         dentry.h \
26         endianness.h \
27         extract.c \
28         header.c \
29         integrity.c \
30         io.h \
31         join.c \
32         lookup_table.c \
33         lookup_table.h \
34         modify.c \
35         mount.c \
36         resource.c \
37         security.c \
38         sha1.c \
39         sha1.h \
40         split.c \
41         timestamp.h \
42         util.c \
43         util.h \
44         wim.c  \
45         wimlib.h \
46         wimlib_internal.h \
47         write.c \
48         xml.c \
49         xml.h
50
51
52 STRIP_FPIC = sh $(top_srcdir)/strip_fPIC.sh
53
54 sha1-ssse3.lo:sha1-ssse3.asm
55         $(LIBTOOL) --mode=compile --tag=CC $(STRIP_FPIC) $(NASM) -f elf64 \
56         -DINTEL_SHA1_UPDATE_DEFAULT_DISPATCH=ssse3_not_found  $<
57
58 EXTRA_libwim_la_SOURCES = sha1-ssse3.asm
59 EXTRA_libwim_la_DEPENDENCIES = $(SSSE3_SHA1_OBJ)
60
61 libwim_la_SOURCES = $(compression_srcs) $(other_srcs)
62 libwim_la_LIBADD = $(LIBXML2_LDADD) $(LIBFUSE_LDADD) $(LTLIBICONV) \
63                         $(LIBCRYPTO_LDADD) $(SSSE3_SHA1_OBJ)
64
65 EXTRA_DIST = security.c security.h
66
67 include_HEADERS = wimlib.h