X-Git-Url: https://wimlib.net/git/?p=wimlib;a=blobdiff_plain;f=Makefile.am;h=79a91c4c7f257d709c27c484706bf16babfd38f8;hp=39b86f22ed0390c75888465cacfae15adaaf500c;hb=c3648a1bf94a11ee6eff22cb728f0efe3f4500e9;hpb=1bba32f7f1068eaa0e8de77b8afa99af68bcb44d diff --git a/Makefile.am b/Makefile.am index 39b86f22..79a91c4c 100644 --- a/Makefile.am +++ b/Makefile.am @@ -8,7 +8,10 @@ ACLOCAL_AMFLAGS = -I m4 AM_CPPFLAGS = -I$(top_srcdir)/include $(PLATFORM_CPPFLAGS) \ -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -AM_CFLAGS = -std=c99 $(PLATFORM_CFLAGS) -fno-common \ +# Note: -std=gnu99 instead of -std=c99 is needed for unnamed structs and unions, +# which are in C11 but not C99. But we can't yet actually use -std=c11 because +# we want to support older versions of gcc. +AM_CFLAGS = -std=gnu99 $(PLATFORM_CFLAGS) -fno-common \ -Wmissing-prototypes -Wstrict-prototypes \ -Wundef -Wno-pointer-sign @@ -56,20 +59,17 @@ libwim_la_SOURCES = \ src/iterate_dir.c \ src/join.c \ src/lookup_table.c \ - src/lz_binary_trees.c \ - src/lz_hash_chains.c \ src/lz_lcp_interval_tree.c \ src/lz_linked_suffix_array.c \ src/lz_mf.c \ - src/lz_null.c \ src/lz_repsearch.c \ src/lz_suffix_array_utils.c \ - src/lzms-common.c \ - src/lzms-compress.c \ - src/lzms-decompress.c \ - src/lzx-common.c \ - src/lzx-compress.c \ - src/lzx-decompress.c \ + src/lzms_common.c \ + src/lzms_compress.c \ + src/lzms_decompress.c \ + src/lzx_common.c \ + src/lzx_compress.c \ + src/lzx_decompress.c \ src/metadata_resource.c \ src/mount_image.c \ src/pathlist.c \ @@ -92,8 +92,9 @@ libwim_la_SOURCES = \ src/wim.c \ src/write.c \ src/xml.c \ - src/xpress-compress.c \ - src/xpress-decompress.c \ + src/xpress_compress.c \ + src/xpress_decompress.c \ + include/wimlib/alloca.h \ include/wimlib/apply.h \ include/wimlib/assert.h \ include/wimlib/avl_tree.h \ @@ -124,19 +125,17 @@ libwim_la_SOURCES = \ include/wimlib/list.h \ include/wimlib/lookup_table.h \ include/wimlib/lz_extend.h \ - include/wimlib/lz_hash3.h \ + include/wimlib/lz_hash.h \ include/wimlib/lz_mf.h \ include/wimlib/lz_mf_ops.h \ include/wimlib/lz_repsearch.h \ include/wimlib/lz_suffix_array_utils.h \ - include/wimlib/lzms.h \ + include/wimlib/lzms_common.h \ include/wimlib/lzms_constants.h \ - include/wimlib/lzx.h \ + include/wimlib/lzx_common.h \ include/wimlib/lzx_constants.h \ include/wimlib/matchfinder_avx2.h \ include/wimlib/matchfinder_common.h \ - include/wimlib/matchfinder_nonsliding.h \ - include/wimlib/matchfinder_sliding.h \ include/wimlib/matchfinder_sse2.h \ include/wimlib/metadata.h \ include/wimlib/pathlist.h \ @@ -157,7 +156,7 @@ libwim_la_SOURCES = \ include/wimlib/wim.h \ include/wimlib/write.h \ include/wimlib/xml.h \ - include/wimlib/xpress.h + include/wimlib/xpress_constants.h if WITH_NTFS_3G libwim_la_SOURCES += src/ntfs-3g_apply.c \ @@ -188,7 +187,7 @@ libwim_la_CFLAGS = \ $(LIBFUSE_CFLAGS) \ $(LIBCRYPTO_CFLAGS) -libwim_la_LDFLAGS = $(AM_LDFLAGS) -version-info 18:0:3 +libwim_la_LDFLAGS = $(AM_LDFLAGS) -version-info 19:0:4 libwim_la_LIBADD = \ $(PTHREAD_LIBS) \