]>
Commit | Line | Data |
---|---|---|
b3cfa26b TK |
1 | ## Process this file with automake to produce Makefile.in |
2 | ||
3 | AUTOMAKE_OPTIONS= foreign subdir-objects | |
3de7eac9 | 4 | ACLOCAL_AMFLAGS = -I build/autoconf |
b3cfa26b TK |
5 | |
6 | # | |
7 | # What to build and install | |
8 | # | |
9 | lib_LTLIBRARIES= libarchive.la | |
71d1bfe0 | 10 | noinst_LTLIBRARIES= libarchive_fe.la |
c157e4ce AV |
11 | bin_PROGRAMS= $(bsdtar_programs) $(bsdcpio_programs) $(bsdcat_programs) $(bsdunzip_programs) |
12 | man_MANS= $(libarchive_man_MANS) $(bsdtar_man_MANS) $(bsdcpio_man_MANS) $(bsdcat_man_MANS) $(bsdunzip_man_MANS) | |
13 | BUILT_SOURCES= libarchive/test/list.h tar/test/list.h cpio/test/list.h cat/test/list.h unzip/test/list.h | |
b3cfa26b TK |
14 | |
15 | # | |
16 | # What to test: We always test libarchive, test bsdtar and bsdcpio only | |
17 | # if we built them. | |
18 | # | |
c157e4ce AV |
19 | check_PROGRAMS= libarchive_test $(bsdtar_test_programs) $(bsdcpio_test_programs) $(bsdcat_test_programs) $(bsdunzip_test_programs) |
20 | TESTS= libarchive_test $(bsdtar_test_programs) $(bsdcpio_test_programs) $(bsdcat_test_programs) $(bsdunzip_test_programs) | |
21 | TESTS_ENVIRONMENT= $(libarchive_TESTS_ENVIRONMENT) $(bsdtar_TESTS_ENVIRONMENT) $(bsdcpio_TESTS_ENVIRONMENT) $(bsdcat_TESTS_ENVIRONMENT) $(bsdunzip_TESTS_ENVIRONMENT) | |
b3cfa26b TK |
22 | # Always build and test both bsdtar and bsdcpio as part of 'distcheck' |
23 | DISTCHECK_CONFIGURE_FLAGS = --enable-bsdtar --enable-bsdcpio | |
0380c976 TK |
24 | # The next line is commented out by default in shipping libarchive releases. |
25 | # It is uncommented by default in trunk. | |
98a69539 | 26 | # DEV_CFLAGS=-Werror -Wextra -Wunused -Wshadow -Wmissing-prototypes -Wcast-qual -g |
9f6c6d5d | 27 | AM_CFLAGS=$(DEV_CFLAGS) |
c31d1bc4 CW |
28 | PLATFORMCPPFLAGS = @PLATFORMCPPFLAGS@ |
29 | AM_CPPFLAGS=$(PLATFORMCPPFLAGS) | |
b3cfa26b TK |
30 | |
31 | # | |
32 | # What to include in the distribution | |
33 | # | |
952928f5 | 34 | EXTRA_DIST= \ |
154865e1 | 35 | CMakeLists.txt \ |
8f52de24 | 36 | README.md \ |
154865e1 TK |
37 | build/autogen.sh \ |
38 | build/bump-version.sh \ | |
39 | build/clean.sh \ | |
40 | build/cmake \ | |
41 | build/version \ | |
42 | contrib \ | |
43 | doc \ | |
44 | examples \ | |
45 | $(libarchive_EXTRA_DIST) \ | |
46 | $(libarchive_test_EXTRA_DIST) \ | |
47 | $(bsdtar_EXTRA_DIST) \ | |
48 | $(bsdtar_test_EXTRA_DIST) \ | |
49 | $(bsdcpio_EXTRA_DIST) \ | |
cff02ba1 | 50 | $(bsdcpio_test_EXTRA_DIST) \ |
c03898de | 51 | $(bsdcat_EXTRA_DIST) \ |
c157e4ce AV |
52 | $(bsdcat_test_EXTRA_DIST) \ |
53 | $(bsdunzip_EXTRA_DIST) \ | |
54 | $(bsdunzip_test_EXTRA_DIST) | |
b3cfa26b TK |
55 | |
56 | # a) Clean out some unneeded files and directories | |
57 | # b) Collect all documentation and format it for distribution. | |
58 | dist-hook: | |
59 | rm -rf `find $(distdir) -name CVS -type d` | |
60 | rm -rf `find $(distdir) -name .svn -type d` | |
61 | rm -f `find $(distdir) -name '*~'` | |
62 | rm -f `find $(distdir) -name '*.out'` | |
63 | rm -f `find $(distdir) -name '*.core'` | |
64 | -rm -f $(distdir)/*/Makefile $(distdir)/*/*/Makefile | |
09549f49 | 65 | cd $(distdir)/doc && /bin/sh update.sh |
b3cfa26b TK |
66 | |
67 | # | |
68 | # Extra rules for cleanup | |
69 | # | |
154865e1 TK |
70 | DISTCLEANFILES= \ |
71 | libarchive/test/list.h \ | |
72 | tar/test/list.h \ | |
c03898de | 73 | cpio/test/list.h \ |
c157e4ce AV |
74 | cat/test/list.h \ |
75 | unzip/test/list.h | |
b3cfa26b TK |
76 | |
77 | distclean-local: | |
78 | -rm -rf .ref | |
79 | -rm -rf autom4te.cache/ | |
80 | -rm -f *~ | |
81 | -[ -f libarchive/Makefile ] && cd libarchive && make clean | |
82 | -[ -f libarchive/test/Makefile ] && cd libarchive/test && make clean | |
83 | -[ -f tar/Makefile ] && cd tar && make clean | |
84 | -[ -f tar/test/Makefile ] && cd tar/test && make clean | |
85 | -[ -f cpio/Makefile ] && cd cpio && make clean | |
86 | -[ -f cpio/test/Makefile ] && cd cpio/test && make clean | |
5d3f56d2 | 87 | -[ -f cat/Makefile ] && cd cat && make clean |
c157e4ce AV |
88 | -[ -f cat/test/Makefile ] && cd cat/test && make clean |
89 | -[ -f unzip/Makefile ] && cd unzip && make clean | |
90 | -[ -f unzip/test/Makefile ] && cd unzip/test && make clean | |
b3cfa26b TK |
91 | |
92 | # | |
93 | # Libarchive headers, source, etc. | |
94 | # | |
95 | # | |
96 | ||
09549f49 | 97 | include_HEADERS= libarchive/archive.h libarchive/archive_entry.h |
b3cfa26b | 98 | |
154865e1 TK |
99 | libarchive_la_SOURCES= \ |
100 | libarchive/archive_acl.c \ | |
101 | libarchive/archive_acl_private.h \ | |
102 | libarchive/archive_check_magic.c \ | |
103 | libarchive/archive_cmdline.c \ | |
104 | libarchive/archive_cmdline_private.h \ | |
105 | libarchive/archive_crc32.h \ | |
a35a8d3b MN |
106 | libarchive/archive_cryptor.c \ |
107 | libarchive/archive_cryptor_private.h \ | |
04ba9678 MN |
108 | libarchive/archive_digest.c \ |
109 | libarchive/archive_digest_private.h \ | |
154865e1 TK |
110 | libarchive/archive_endian.h \ |
111 | libarchive/archive_entry.c \ | |
112 | libarchive/archive_entry.h \ | |
113 | libarchive/archive_entry_copy_stat.c \ | |
114 | libarchive/archive_entry_link_resolver.c \ | |
115 | libarchive/archive_entry_locale.h \ | |
116 | libarchive/archive_entry_private.h \ | |
117 | libarchive/archive_entry_sparse.c \ | |
118 | libarchive/archive_entry_stat.c \ | |
119 | libarchive/archive_entry_strmode.c \ | |
120 | libarchive/archive_entry_xattr.c \ | |
121 | libarchive/archive_getdate.c \ | |
f1e70066 | 122 | libarchive/archive_getdate.h \ |
c3c366eb | 123 | libarchive/archive_hmac.c \ |
e317cc0e | 124 | libarchive/archive_hmac_private.h \ |
154865e1 | 125 | libarchive/archive_match.c \ |
aa8f7708 BK |
126 | libarchive/archive_openssl_evp_private.h \ |
127 | libarchive/archive_openssl_hmac_private.h \ | |
154865e1 TK |
128 | libarchive/archive_options.c \ |
129 | libarchive/archive_options_private.h \ | |
130 | libarchive/archive_pack_dev.h \ | |
131 | libarchive/archive_pack_dev.c \ | |
132 | libarchive/archive_pathmatch.c \ | |
133 | libarchive/archive_pathmatch.h \ | |
134 | libarchive/archive_platform.h \ | |
f57d129d | 135 | libarchive/archive_platform_acl.h \ |
365a91de | 136 | libarchive/archive_platform_xattr.h \ |
154865e1 TK |
137 | libarchive/archive_ppmd_private.h \ |
138 | libarchive/archive_ppmd7.c \ | |
139 | libarchive/archive_ppmd7_private.h \ | |
68af4189 GA |
140 | libarchive/archive_ppmd8.c \ |
141 | libarchive/archive_ppmd8_private.h \ | |
154865e1 | 142 | libarchive/archive_private.h \ |
de0a204e MN |
143 | libarchive/archive_random.c \ |
144 | libarchive/archive_random_private.h \ | |
154865e1 TK |
145 | libarchive/archive_rb.c \ |
146 | libarchive/archive_rb.h \ | |
147 | libarchive/archive_read.c \ | |
6c222e59 | 148 | libarchive/archive_read_add_passphrase.c \ |
154865e1 TK |
149 | libarchive/archive_read_append_filter.c \ |
150 | libarchive/archive_read_data_into_fd.c \ | |
151 | libarchive/archive_read_disk_entry_from_file.c \ | |
152 | libarchive/archive_read_disk_posix.c \ | |
153 | libarchive/archive_read_disk_private.h \ | |
154 | libarchive/archive_read_disk_set_standard_lookup.c \ | |
155 | libarchive/archive_read_extract.c \ | |
90250478 | 156 | libarchive/archive_read_extract2.c \ |
154865e1 TK |
157 | libarchive/archive_read_open_fd.c \ |
158 | libarchive/archive_read_open_file.c \ | |
159 | libarchive/archive_read_open_filename.c \ | |
160 | libarchive/archive_read_open_memory.c \ | |
161 | libarchive/archive_read_private.h \ | |
162 | libarchive/archive_read_set_format.c \ | |
163 | libarchive/archive_read_set_options.c \ | |
164 | libarchive/archive_read_support_filter_all.c \ | |
165 | libarchive/archive_read_support_filter_bzip2.c \ | |
c400064a | 166 | libarchive/archive_read_support_filter_by_code.c \ |
154865e1 TK |
167 | libarchive/archive_read_support_filter_compress.c \ |
168 | libarchive/archive_read_support_filter_grzip.c \ | |
169 | libarchive/archive_read_support_filter_gzip.c \ | |
170 | libarchive/archive_read_support_filter_lrzip.c \ | |
724f3f91 | 171 | libarchive/archive_read_support_filter_lz4.c \ |
154865e1 TK |
172 | libarchive/archive_read_support_filter_lzop.c \ |
173 | libarchive/archive_read_support_filter_none.c \ | |
174 | libarchive/archive_read_support_filter_program.c \ | |
175 | libarchive/archive_read_support_filter_rpm.c \ | |
176 | libarchive/archive_read_support_filter_uu.c \ | |
177 | libarchive/archive_read_support_filter_xz.c \ | |
cd63bdcd | 178 | libarchive/archive_read_support_filter_zstd.c \ |
154865e1 TK |
179 | libarchive/archive_read_support_format_7zip.c \ |
180 | libarchive/archive_read_support_format_all.c \ | |
181 | libarchive/archive_read_support_format_ar.c \ | |
182 | libarchive/archive_read_support_format_by_code.c \ | |
183 | libarchive/archive_read_support_format_cab.c \ | |
184 | libarchive/archive_read_support_format_cpio.c \ | |
185 | libarchive/archive_read_support_format_empty.c \ | |
186 | libarchive/archive_read_support_format_iso9660.c \ | |
187 | libarchive/archive_read_support_format_lha.c \ | |
188 | libarchive/archive_read_support_format_mtree.c \ | |
189 | libarchive/archive_read_support_format_rar.c \ | |
58167a9a | 190 | libarchive/archive_read_support_format_rar5.c \ |
154865e1 TK |
191 | libarchive/archive_read_support_format_raw.c \ |
192 | libarchive/archive_read_support_format_tar.c \ | |
96938015 | 193 | libarchive/archive_read_support_format_warc.c \ |
154865e1 TK |
194 | libarchive/archive_read_support_format_xar.c \ |
195 | libarchive/archive_read_support_format_zip.c \ | |
196 | libarchive/archive_string.c \ | |
197 | libarchive/archive_string.h \ | |
198 | libarchive/archive_string_composition.h \ | |
199 | libarchive/archive_string_sprintf.c \ | |
200 | libarchive/archive_util.c \ | |
45a0bce1 | 201 | libarchive/archive_version_details.c \ |
154865e1 TK |
202 | libarchive/archive_virtual.c \ |
203 | libarchive/archive_write.c \ | |
154865e1 TK |
204 | libarchive/archive_write_disk_posix.c \ |
205 | libarchive/archive_write_disk_private.h \ | |
206 | libarchive/archive_write_disk_set_standard_lookup.c \ | |
207 | libarchive/archive_write_open_fd.c \ | |
208 | libarchive/archive_write_open_file.c \ | |
209 | libarchive/archive_write_open_filename.c \ | |
210 | libarchive/archive_write_open_memory.c \ | |
211 | libarchive/archive_write_private.h \ | |
212 | libarchive/archive_write_add_filter.c \ | |
213 | libarchive/archive_write_add_filter_b64encode.c \ | |
214 | libarchive/archive_write_add_filter_by_name.c \ | |
215 | libarchive/archive_write_add_filter_bzip2.c \ | |
216 | libarchive/archive_write_add_filter_compress.c \ | |
217 | libarchive/archive_write_add_filter_grzip.c \ | |
218 | libarchive/archive_write_add_filter_gzip.c \ | |
219 | libarchive/archive_write_add_filter_lrzip.c \ | |
8c4be28f | 220 | libarchive/archive_write_add_filter_lz4.c \ |
154865e1 TK |
221 | libarchive/archive_write_add_filter_lzop.c \ |
222 | libarchive/archive_write_add_filter_none.c \ | |
223 | libarchive/archive_write_add_filter_program.c \ | |
224 | libarchive/archive_write_add_filter_uuencode.c \ | |
225 | libarchive/archive_write_add_filter_xz.c \ | |
cd63bdcd | 226 | libarchive/archive_write_add_filter_zstd.c \ |
154865e1 TK |
227 | libarchive/archive_write_set_format.c \ |
228 | libarchive/archive_write_set_format_7zip.c \ | |
229 | libarchive/archive_write_set_format_ar.c \ | |
230 | libarchive/archive_write_set_format_by_name.c \ | |
231 | libarchive/archive_write_set_format_cpio.c \ | |
6c03f55c | 232 | libarchive/archive_write_set_format_cpio_binary.c \ |
154865e1 | 233 | libarchive/archive_write_set_format_cpio_newc.c \ |
af6e8b5b | 234 | libarchive/archive_write_set_format_cpio_odc.c \ |
98b127e5 | 235 | libarchive/archive_write_set_format_filter_by_ext.c \ |
154865e1 TK |
236 | libarchive/archive_write_set_format_iso9660.c \ |
237 | libarchive/archive_write_set_format_mtree.c \ | |
238 | libarchive/archive_write_set_format_pax.c \ | |
bcaa4a4d | 239 | libarchive/archive_write_set_format_private.h \ |
154865e1 TK |
240 | libarchive/archive_write_set_format_raw.c \ |
241 | libarchive/archive_write_set_format_shar.c \ | |
242 | libarchive/archive_write_set_format_ustar.c \ | |
243 | libarchive/archive_write_set_format_v7tar.c \ | |
244 | libarchive/archive_write_set_format_gnutar.c \ | |
667961d7 | 245 | libarchive/archive_write_set_format_warc.c \ |
154865e1 TK |
246 | libarchive/archive_write_set_format_xar.c \ |
247 | libarchive/archive_write_set_format_zip.c \ | |
248 | libarchive/archive_write_set_options.c \ | |
6c222e59 | 249 | libarchive/archive_write_set_passphrase.c \ |
724f3f91 | 250 | libarchive/archive_xxhash.h \ |
154865e1 TK |
251 | libarchive/config_freebsd.h \ |
252 | libarchive/filter_fork_posix.c \ | |
724f3f91 | 253 | libarchive/filter_fork.h \ |
20d54519 | 254 | libarchive/xxhash.c |
b3cfa26b | 255 | |
79cb8e5b | 256 | if INC_WINDOWS_FILES |
154865e1 TK |
257 | libarchive_la_SOURCES+= \ |
258 | libarchive/archive_entry_copy_bhfi.c \ | |
259 | libarchive/archive_read_disk_windows.c \ | |
260 | libarchive/archive_windows.h \ | |
261 | libarchive/archive_windows.c \ | |
262 | libarchive/archive_write_disk_windows.c \ | |
79cb8e5b CW |
263 | libarchive/filter_fork_windows.c |
264 | endif | |
265 | ||
c5013112 MM |
266 | if INC_BLAKE2 |
267 | libarchive_la_SOURCES+= \ | |
99c275b2 PR |
268 | libarchive/archive_blake2.h \ |
269 | libarchive/archive_blake2_impl.h \ | |
c5013112 MM |
270 | libarchive/archive_blake2s_ref.c \ |
271 | libarchive/archive_blake2sp_ref.c | |
272 | endif | |
273 | ||
f57d129d | 274 | if INC_LINUX_ACL |
93b986c3 | 275 | libarchive_la_SOURCES+= libarchive/archive_disk_acl_linux.c |
f57d129d MM |
276 | else |
277 | if INC_SUNOS_ACL | |
93b986c3 | 278 | libarchive_la_SOURCES+= libarchive/archive_disk_acl_sunos.c |
f57d129d MM |
279 | else |
280 | if INC_DARWIN_ACL | |
93b986c3 | 281 | libarchive_la_SOURCES+= libarchive/archive_disk_acl_darwin.c |
f57d129d MM |
282 | else |
283 | if INC_FREEBSD_ACL | |
93b986c3 | 284 | libarchive_la_SOURCES+= libarchive/archive_disk_acl_freebsd.c |
f57d129d MM |
285 | endif |
286 | endif | |
287 | endif | |
288 | endif | |
289 | ||
171f7927 | 290 | # -no-undefined marks that libarchive doesn't rely on symbols |
dc423134 | 291 | # defined in the application. This is mandatory for cygwin. |
fc075823 | 292 | libarchive_la_LDFLAGS= -no-undefined -version-info $(ARCHIVE_LIBTOOL_VERSION) $(GC_SECTIONS) |
17fd872a | 293 | libarchive_la_LIBADD= $(LTLIBICONV) |
b3cfa26b TK |
294 | |
295 | # Manpages to install | |
154865e1 TK |
296 | libarchive_man_MANS= \ |
297 | libarchive/archive_entry.3 \ | |
298 | libarchive/archive_entry_acl.3 \ | |
299 | libarchive/archive_entry_linkify.3 \ | |
b0ed582e | 300 | libarchive/archive_entry_misc.3 \ |
154865e1 TK |
301 | libarchive/archive_entry_paths.3 \ |
302 | libarchive/archive_entry_perms.3 \ | |
303 | libarchive/archive_entry_stat.3 \ | |
304 | libarchive/archive_entry_time.3 \ | |
305 | libarchive/archive_read.3 \ | |
6c222e59 | 306 | libarchive/archive_read_add_passphrase.3 \ |
154865e1 TK |
307 | libarchive/archive_read_data.3 \ |
308 | libarchive/archive_read_disk.3 \ | |
309 | libarchive/archive_read_extract.3 \ | |
310 | libarchive/archive_read_filter.3 \ | |
311 | libarchive/archive_read_format.3 \ | |
312 | libarchive/archive_read_free.3 \ | |
313 | libarchive/archive_read_header.3 \ | |
314 | libarchive/archive_read_new.3 \ | |
315 | libarchive/archive_read_open.3 \ | |
316 | libarchive/archive_read_set_options.3 \ | |
317 | libarchive/archive_util.3 \ | |
318 | libarchive/archive_write.3 \ | |
319 | libarchive/archive_write_blocksize.3 \ | |
320 | libarchive/archive_write_data.3 \ | |
321 | libarchive/archive_write_disk.3 \ | |
322 | libarchive/archive_write_filter.3 \ | |
323 | libarchive/archive_write_finish_entry.3 \ | |
324 | libarchive/archive_write_format.3 \ | |
325 | libarchive/archive_write_free.3 \ | |
326 | libarchive/archive_write_header.3 \ | |
327 | libarchive/archive_write_new.3 \ | |
328 | libarchive/archive_write_open.3 \ | |
329 | libarchive/archive_write_set_options.3 \ | |
6c222e59 | 330 | libarchive/archive_write_set_passphrase.3 \ |
154865e1 TK |
331 | libarchive/cpio.5 \ |
332 | libarchive/libarchive.3 \ | |
333 | libarchive/libarchive_changes.3 \ | |
334 | libarchive/libarchive_internals.3 \ | |
335 | libarchive/libarchive-formats.5 \ | |
336 | libarchive/mtree.5 \ | |
b3cfa26b TK |
337 | libarchive/tar.5 |
338 | ||
339 | # Additional libarchive files to include in the distribution | |
154865e1 TK |
340 | libarchive_EXTRA_DIST= \ |
341 | libarchive/archive_windows.c \ | |
342 | libarchive/archive_windows.h \ | |
343 | libarchive/filter_fork_windows.c \ | |
344 | libarchive/CMakeLists.txt \ | |
b3cfa26b TK |
345 | $(libarchive_man_MANS) |
346 | ||
bafc3c6b TK |
347 | # pkgconfig |
348 | pkgconfigdir = $(libdir)/pkgconfig | |
349 | pkgconfig_DATA = build/pkgconfig/libarchive.pc | |
350 | ||
aa95a749 AM |
351 | # Sources needed by all test programs |
352 | test_utils_SOURCES= \ | |
7cc97c98 | 353 | test_utils/test_utils.c \ |
47ac1b53 | 354 | test_utils/test_utils.h \ |
52d5a14c MM |
355 | test_utils/test_main.c \ |
356 | test_utils/test_common.h | |
aa95a749 | 357 | |
b3cfa26b TK |
358 | # |
359 | # | |
360 | # libarchive_test program | |
361 | # | |
362 | # | |
154865e1 TK |
363 | libarchive_test_SOURCES= \ |
364 | $(libarchive_la_SOURCES) \ | |
365 | $(test_utils_SOURCES) \ | |
154865e1 TK |
366 | libarchive/test/read_open_memory.c \ |
367 | libarchive/test/test.h \ | |
154865e1 TK |
368 | libarchive/test/test_acl_nfs4.c \ |
369 | libarchive/test/test_acl_pax.c \ | |
cb869b40 MM |
370 | libarchive/test/test_acl_platform_nfs4.c \ |
371 | libarchive/test/test_acl_platform_posix1e.c \ | |
154865e1 | 372 | libarchive/test/test_acl_posix1e.c \ |
379867ec | 373 | libarchive/test/test_acl_text.c \ |
154865e1 TK |
374 | libarchive/test/test_archive_api_feature.c \ |
375 | libarchive/test/test_archive_clear_error.c \ | |
376 | libarchive/test/test_archive_cmdline.c \ | |
04ba9678 | 377 | libarchive/test/test_archive_digest.c \ |
154865e1 TK |
378 | libarchive/test/test_archive_getdate.c \ |
379 | libarchive/test/test_archive_match_owner.c \ | |
380 | libarchive/test/test_archive_match_path.c \ | |
381 | libarchive/test/test_archive_match_time.c \ | |
382 | libarchive/test/test_archive_pathmatch.c \ | |
6c222e59 | 383 | libarchive/test/test_archive_read_add_passphrase.c \ |
154865e1 TK |
384 | libarchive/test/test_archive_read_close_twice.c \ |
385 | libarchive/test/test_archive_read_close_twice_open_fd.c \ | |
386 | libarchive/test/test_archive_read_close_twice_open_filename.c \ | |
387 | libarchive/test/test_archive_read_multiple_data_objects.c \ | |
388 | libarchive/test/test_archive_read_next_header_empty.c \ | |
389 | libarchive/test/test_archive_read_next_header_raw.c \ | |
390 | libarchive/test/test_archive_read_open2.c \ | |
391 | libarchive/test/test_archive_read_set_filter_option.c \ | |
392 | libarchive/test/test_archive_read_set_format_option.c \ | |
393 | libarchive/test/test_archive_read_set_option.c \ | |
394 | libarchive/test/test_archive_read_set_options.c \ | |
395 | libarchive/test/test_archive_read_support.c \ | |
396 | libarchive/test/test_archive_set_error.c \ | |
397 | libarchive/test/test_archive_string.c \ | |
398 | libarchive/test/test_archive_string_conversion.c \ | |
399 | libarchive/test/test_archive_write_add_filter_by_name.c \ | |
400 | libarchive/test/test_archive_write_set_filter_option.c \ | |
401 | libarchive/test/test_archive_write_set_format_by_name.c \ | |
8c55eada | 402 | libarchive/test/test_archive_write_set_format_filter_by_ext.c \ |
154865e1 TK |
403 | libarchive/test/test_archive_write_set_format_option.c \ |
404 | libarchive/test/test_archive_write_set_option.c \ | |
405 | libarchive/test/test_archive_write_set_options.c \ | |
6c222e59 | 406 | libarchive/test/test_archive_write_set_passphrase.c \ |
154865e1 TK |
407 | libarchive/test/test_bad_fd.c \ |
408 | libarchive/test/test_compat_bzip2.c \ | |
409 | libarchive/test/test_compat_cpio.c \ | |
410 | libarchive/test/test_compat_gtar.c \ | |
411 | libarchive/test/test_compat_gzip.c \ | |
724f3f91 | 412 | libarchive/test/test_compat_lz4.c \ |
154865e1 TK |
413 | libarchive/test/test_compat_lzip.c \ |
414 | libarchive/test/test_compat_lzma.c \ | |
415 | libarchive/test/test_compat_lzop.c \ | |
416 | libarchive/test/test_compat_mac.c \ | |
2d2b3e92 | 417 | libarchive/test/test_compat_perl_archive_tar.c \ |
9b9cdbec | 418 | libarchive/test/test_compat_plexus_archiver_tar.c \ |
154865e1 TK |
419 | libarchive/test/test_compat_solaris_tar_acl.c \ |
420 | libarchive/test/test_compat_solaris_pax_sparse.c \ | |
379867ec | 421 | libarchive/test/test_compat_star_acl.c \ |
fe83fc33 | 422 | libarchive/test/test_compat_tar_directory.c \ |
154865e1 TK |
423 | libarchive/test/test_compat_tar_hardlink.c \ |
424 | libarchive/test/test_compat_uudecode.c \ | |
2b79319f | 425 | libarchive/test/test_compat_uudecode_large.c \ |
154865e1 TK |
426 | libarchive/test/test_compat_xz.c \ |
427 | libarchive/test/test_compat_zip.c \ | |
cd63bdcd | 428 | libarchive/test/test_compat_zstd.c \ |
154865e1 TK |
429 | libarchive/test/test_empty_write.c \ |
430 | libarchive/test/test_entry.c \ | |
431 | libarchive/test/test_entry_strmode.c \ | |
432 | libarchive/test/test_extattr_freebsd.c \ | |
433 | libarchive/test/test_filter_count.c \ | |
434 | libarchive/test/test_fuzz.c \ | |
435 | libarchive/test/test_gnutar_filename_encoding.c \ | |
436 | libarchive/test/test_link_resolver.c \ | |
437 | libarchive/test/test_open_failure.c \ | |
438 | libarchive/test/test_open_fd.c \ | |
439 | libarchive/test/test_open_file.c \ | |
440 | libarchive/test/test_open_filename.c \ | |
441 | libarchive/test/test_pax_filename_encoding.c \ | |
5aff5acf | 442 | libarchive/test/test_pax_xattr_header.c \ |
154865e1 TK |
443 | libarchive/test/test_read_data_large.c \ |
444 | libarchive/test/test_read_disk.c \ | |
445 | libarchive/test/test_read_disk_directory_traversals.c \ | |
446 | libarchive/test/test_read_disk_entry_from_file.c \ | |
447 | libarchive/test/test_read_extract.c \ | |
448 | libarchive/test/test_read_file_nonexistent.c \ | |
618618c8 | 449 | libarchive/test/test_read_filter_compress.c \ |
154865e1 TK |
450 | libarchive/test/test_read_filter_grzip.c \ |
451 | libarchive/test/test_read_filter_lrzip.c \ | |
452 | libarchive/test/test_read_filter_lzop.c \ | |
453 | libarchive/test/test_read_filter_lzop_multiple_parts.c \ | |
454 | libarchive/test/test_read_filter_program.c \ | |
455 | libarchive/test/test_read_filter_program_signature.c \ | |
456 | libarchive/test/test_read_filter_uudecode.c \ | |
457 | libarchive/test/test_read_format_7zip.c \ | |
458 | libarchive/test/test_read_format_7zip_encryption_data.c \ | |
459 | libarchive/test/test_read_format_7zip_encryption_partially.c \ | |
460 | libarchive/test/test_read_format_7zip_encryption_header.c \ | |
d094dc02 | 461 | libarchive/test/test_read_format_7zip_malformed.c \ |
333d2223 | 462 | libarchive/test/test_read_format_7zip_packinfo_digests.c \ |
154865e1 TK |
463 | libarchive/test/test_read_format_ar.c \ |
464 | libarchive/test/test_read_format_cab.c \ | |
465 | libarchive/test/test_read_format_cab_filename.c \ | |
466 | libarchive/test/test_read_format_cpio_afio.c \ | |
467 | libarchive/test/test_read_format_cpio_bin.c \ | |
468 | libarchive/test/test_read_format_cpio_bin_Z.c \ | |
469 | libarchive/test/test_read_format_cpio_bin_be.c \ | |
470 | libarchive/test/test_read_format_cpio_bin_bz2.c \ | |
471 | libarchive/test/test_read_format_cpio_bin_gz.c \ | |
68321d4c | 472 | libarchive/test/test_read_format_cpio_bin_le.c \ |
154865e1 TK |
473 | libarchive/test/test_read_format_cpio_bin_lzip.c \ |
474 | libarchive/test/test_read_format_cpio_bin_lzma.c \ | |
475 | libarchive/test/test_read_format_cpio_bin_xz.c \ | |
476 | libarchive/test/test_read_format_cpio_filename.c \ | |
477 | libarchive/test/test_read_format_cpio_odc.c \ | |
478 | libarchive/test/test_read_format_cpio_svr4_bzip2_rpm.c \ | |
479 | libarchive/test/test_read_format_cpio_svr4_gzip.c \ | |
480 | libarchive/test/test_read_format_cpio_svr4_gzip_rpm.c \ | |
481 | libarchive/test/test_read_format_cpio_svr4c_Z.c \ | |
482 | libarchive/test/test_read_format_empty.c \ | |
483 | libarchive/test/test_read_format_gtar_filename.c \ | |
484 | libarchive/test/test_read_format_gtar_gz.c \ | |
485 | libarchive/test/test_read_format_gtar_lzma.c \ | |
486 | libarchive/test/test_read_format_gtar_sparse.c \ | |
bf4f6ec6 | 487 | libarchive/test/test_read_format_gtar_sparse_skip_entry.c \ |
154865e1 TK |
488 | libarchive/test/test_read_format_iso_Z.c \ |
489 | libarchive/test/test_read_format_iso_multi_extent.c \ | |
490 | libarchive/test/test_read_format_iso_xorriso.c \ | |
491 | libarchive/test/test_read_format_isojoliet_bz2.c \ | |
492 | libarchive/test/test_read_format_isojoliet_long.c \ | |
493 | libarchive/test/test_read_format_isojoliet_rr.c \ | |
494 | libarchive/test/test_read_format_isojoliet_versioned.c \ | |
495 | libarchive/test/test_read_format_isorr_bz2.c \ | |
496 | libarchive/test/test_read_format_isorr_ce.c \ | |
497 | libarchive/test/test_read_format_isorr_new_bz2.c \ | |
498 | libarchive/test/test_read_format_isorr_rr_moved.c \ | |
499 | libarchive/test/test_read_format_isozisofs_bz2.c \ | |
500 | libarchive/test/test_read_format_lha.c \ | |
3ce11df0 | 501 | libarchive/test/test_read_format_lha_bugfix_0.c \ |
154865e1 | 502 | libarchive/test/test_read_format_lha_filename.c \ |
e1b16d31 | 503 | libarchive/test/test_read_format_lha_filename_utf16.c \ |
154865e1 | 504 | libarchive/test/test_read_format_mtree.c \ |
eec077f5 | 505 | libarchive/test/test_read_format_mtree_crash747.c \ |
154865e1 TK |
506 | libarchive/test/test_read_format_pax_bz2.c \ |
507 | libarchive/test/test_read_format_rar.c \ | |
508 | libarchive/test/test_read_format_rar_encryption_data.c \ | |
509 | libarchive/test/test_read_format_rar_encryption_partially.c \ | |
510 | libarchive/test/test_read_format_rar_encryption_header.c \ | |
2684fcbb | 511 | libarchive/test/test_read_format_rar_filter.c \ |
206615fc | 512 | libarchive/test/test_read_format_rar_invalid1.c \ |
58167a9a | 513 | libarchive/test/test_read_format_rar5.c \ |
154865e1 TK |
514 | libarchive/test/test_read_format_raw.c \ |
515 | libarchive/test/test_read_format_tar.c \ | |
516 | libarchive/test/test_read_format_tar_concatenated.c \ | |
517 | libarchive/test/test_read_format_tar_empty_pax.c \ | |
518 | libarchive/test/test_read_format_tar_empty_filename.c \ | |
2bdae161 | 519 | libarchive/test/test_read_format_tar_empty_with_gnulabel.c \ |
154865e1 | 520 | libarchive/test/test_read_format_tar_filename.c \ |
fc8c6d27 | 521 | libarchive/test/test_read_format_tar_invalid_pax_size.c \ |
154865e1 TK |
522 | libarchive/test/test_read_format_tbz.c \ |
523 | libarchive/test/test_read_format_tgz.c \ | |
524 | libarchive/test/test_read_format_tlz.c \ | |
525 | libarchive/test/test_read_format_txz.c \ | |
526 | libarchive/test/test_read_format_tz.c \ | |
527 | libarchive/test/test_read_format_ustar_filename.c \ | |
c81efb99 | 528 | libarchive/test/test_read_format_warc.c \ |
154865e1 TK |
529 | libarchive/test/test_read_format_xar.c \ |
530 | libarchive/test/test_read_format_zip.c \ | |
6c55c379 | 531 | libarchive/test/test_read_format_zip_7075_utf8_paths.c \ |
154865e1 TK |
532 | libarchive/test/test_read_format_zip_comment_stored.c \ |
533 | libarchive/test/test_read_format_zip_encryption_data.c \ | |
534 | libarchive/test/test_read_format_zip_encryption_partially.c \ | |
535 | libarchive/test/test_read_format_zip_encryption_header.c \ | |
6e2ffe14 | 536 | libarchive/test/test_read_format_zip_extra_padding.c \ |
154865e1 | 537 | libarchive/test/test_read_format_zip_filename.c \ |
44b3ef5d | 538 | libarchive/test/test_read_format_zip_high_compression.c \ |
2ecf8d1c | 539 | libarchive/test/test_read_format_zip_jar.c \ |
154865e1 | 540 | libarchive/test/test_read_format_zip_mac_metadata.c \ |
9e0689cf | 541 | libarchive/test/test_read_format_zip_malformed.c \ |
618618c8 | 542 | libarchive/test/test_read_format_zip_msdos.c \ |
1ad25e99 | 543 | libarchive/test/test_read_format_zip_nested.c \ |
154865e1 TK |
544 | libarchive/test/test_read_format_zip_nofiletype.c \ |
545 | libarchive/test/test_read_format_zip_padded.c \ | |
546 | libarchive/test/test_read_format_zip_sfx.c \ | |
8145520c | 547 | libarchive/test/test_read_format_zip_traditional_encryption_data.c \ |
c3c366eb MN |
548 | libarchive/test/test_read_format_zip_winzip_aes.c \ |
549 | libarchive/test/test_read_format_zip_winzip_aes_large.c \ | |
154865e1 | 550 | libarchive/test/test_read_format_zip_zip64.c \ |
9bdd4b3c | 551 | libarchive/test/test_read_format_zip_with_invalid_traditional_eocd.c \ |
154865e1 | 552 | libarchive/test/test_read_large.c \ |
87488297 MM |
553 | libarchive/test/test_read_pax_xattr_rht_security_selinux.c \ |
554 | libarchive/test/test_read_pax_xattr_schily.c \ | |
154865e1 TK |
555 | libarchive/test/test_read_pax_truncated.c \ |
556 | libarchive/test/test_read_position.c \ | |
557 | libarchive/test/test_read_set_format.c \ | |
6e06b1c8 | 558 | libarchive/test/test_read_too_many_filters.c \ |
154865e1 TK |
559 | libarchive/test/test_read_truncated.c \ |
560 | libarchive/test/test_read_truncated_filter.c \ | |
3bc9bfc0 | 561 | libarchive/test/test_short_writes.c \ |
154865e1 TK |
562 | libarchive/test/test_sparse_basic.c \ |
563 | libarchive/test/test_tar_filenames.c \ | |
564 | libarchive/test/test_tar_large.c \ | |
565 | libarchive/test/test_ustar_filenames.c \ | |
566 | libarchive/test/test_ustar_filename_encoding.c \ | |
05410637 | 567 | libarchive/test/test_warn_missing_hardlink_target.c \ |
154865e1 TK |
568 | libarchive/test/test_write_disk.c \ |
569 | libarchive/test/test_write_disk_appledouble.c \ | |
570 | libarchive/test/test_write_disk_failures.c \ | |
b41daecb | 571 | libarchive/test/test_write_disk_fixup.c \ |
154865e1 TK |
572 | libarchive/test/test_write_disk_hardlink.c \ |
573 | libarchive/test/test_write_disk_hfs_compression.c \ | |
574 | libarchive/test/test_write_disk_lookup.c \ | |
575 | libarchive/test/test_write_disk_mac_metadata.c \ | |
576 | libarchive/test/test_write_disk_no_hfs_compression.c \ | |
577 | libarchive/test/test_write_disk_perms.c \ | |
578 | libarchive/test/test_write_disk_secure.c \ | |
063ea3ea TK |
579 | libarchive/test/test_write_disk_secure744.c \ |
580 | libarchive/test/test_write_disk_secure745.c \ | |
581 | libarchive/test/test_write_disk_secure746.c \ | |
154865e1 TK |
582 | libarchive/test/test_write_disk_sparse.c \ |
583 | libarchive/test/test_write_disk_symlink.c \ | |
584 | libarchive/test/test_write_disk_times.c \ | |
585 | libarchive/test/test_write_filter_b64encode.c \ | |
586 | libarchive/test/test_write_filter_bzip2.c \ | |
587 | libarchive/test/test_write_filter_compress.c \ | |
588 | libarchive/test/test_write_filter_gzip.c \ | |
589 | libarchive/test/test_write_filter_gzip_timestamp.c \ | |
590 | libarchive/test/test_write_filter_lrzip.c \ | |
8c4be28f | 591 | libarchive/test/test_write_filter_lz4.c \ |
154865e1 TK |
592 | libarchive/test/test_write_filter_lzip.c \ |
593 | libarchive/test/test_write_filter_lzma.c \ | |
594 | libarchive/test/test_write_filter_lzop.c \ | |
595 | libarchive/test/test_write_filter_program.c \ | |
596 | libarchive/test/test_write_filter_uuencode.c \ | |
597 | libarchive/test/test_write_filter_xz.c \ | |
cd63bdcd | 598 | libarchive/test/test_write_filter_zstd.c \ |
154865e1 TK |
599 | libarchive/test/test_write_format_7zip.c \ |
600 | libarchive/test/test_write_format_7zip_empty.c \ | |
601 | libarchive/test/test_write_format_7zip_large.c \ | |
602 | libarchive/test/test_write_format_ar.c \ | |
603 | libarchive/test/test_write_format_cpio.c \ | |
604 | libarchive/test/test_write_format_cpio_empty.c \ | |
605 | libarchive/test/test_write_format_cpio_newc.c \ | |
606 | libarchive/test/test_write_format_cpio_odc.c \ | |
607 | libarchive/test/test_write_format_gnutar.c \ | |
b4ce6286 | 608 | libarchive/test/test_write_format_gnutar_filenames.c \ |
154865e1 TK |
609 | libarchive/test/test_write_format_iso9660.c \ |
610 | libarchive/test/test_write_format_iso9660_boot.c \ | |
611 | libarchive/test/test_write_format_iso9660_empty.c \ | |
612 | libarchive/test/test_write_format_iso9660_filename.c \ | |
613 | libarchive/test/test_write_format_iso9660_zisofs.c \ | |
614 | libarchive/test/test_write_format_mtree.c \ | |
615 | libarchive/test/test_write_format_mtree_absolute_path.c \ | |
616 | libarchive/test/test_write_format_mtree_classic.c \ | |
f83da353 | 617 | libarchive/test/test_write_format_mtree_classic_indent.c\ |
154865e1 TK |
618 | libarchive/test/test_write_format_mtree_fflags.c \ |
619 | libarchive/test/test_write_format_mtree_no_separator.c \ | |
2569524b | 620 | libarchive/test/test_write_format_mtree_quoted_filename.c\ |
154865e1 TK |
621 | libarchive/test/test_write_format_pax.c \ |
622 | libarchive/test/test_write_format_raw.c \ | |
623 | libarchive/test/test_write_format_raw_b64.c \ | |
624 | libarchive/test/test_write_format_shar_empty.c \ | |
625 | libarchive/test/test_write_format_tar.c \ | |
626 | libarchive/test/test_write_format_tar_empty.c \ | |
627 | libarchive/test/test_write_format_tar_sparse.c \ | |
628 | libarchive/test/test_write_format_tar_ustar.c \ | |
629 | libarchive/test/test_write_format_tar_v7tar.c \ | |
af784482 SF |
630 | libarchive/test/test_write_format_warc.c \ |
631 | libarchive/test/test_write_format_warc_empty.c \ | |
154865e1 TK |
632 | libarchive/test/test_write_format_xar.c \ |
633 | libarchive/test/test_write_format_xar_empty.c \ | |
634 | libarchive/test/test_write_format_zip.c \ | |
635 | libarchive/test/test_write_format_zip_compression_store.c \ | |
eecf2950 | 636 | libarchive/test/test_write_format_zip_entry_size_unset.c \ |
154865e1 TK |
637 | libarchive/test/test_write_format_zip_empty.c \ |
638 | libarchive/test/test_write_format_zip_empty_zip64.c \ | |
639 | libarchive/test/test_write_format_zip_file.c \ | |
640 | libarchive/test/test_write_format_zip_file_zip64.c \ | |
641 | libarchive/test/test_write_format_zip_large.c \ | |
642 | libarchive/test/test_write_format_zip_zip64.c \ | |
643 | libarchive/test/test_write_open_memory.c \ | |
644 | libarchive/test/test_write_read_format_zip.c \ | |
365a91de | 645 | libarchive/test/test_xattr_platform.c \ |
83c67d6c | 646 | libarchive/test/test_zip_filename_encoding.c |
b3cfa26b | 647 | |
52d5a14c MM |
648 | libarchive_test_CPPFLAGS= \ |
649 | -I$(top_srcdir)/libarchive \ | |
650 | -I$(top_srcdir)/libarchive/test \ | |
651 | -I$(top_srcdir)/test_utils \ | |
652 | -I$(top_builddir)/libarchive/test \ | |
653 | -DLIBARCHIVE_STATIC $(PLATFORMCPPFLAGS) | |
654 | ||
17fd872a | 655 | libarchive_test_LDADD= $(LTLIBICONV) |
79cb8e5b | 656 | |
b3cfa26b TK |
657 | # The "list.h" file just lists all of the tests defined in all of the sources. |
658 | # Building it automatically provides a sanity-check on libarchive_test_SOURCES | |
659 | # above. | |
660 | libarchive/test/list.h: Makefile | |
1c6adda3 | 661 | $(MKDIR_P) libarchive/test |
b06753b6 | 662 | cat $(top_srcdir)/libarchive/test/test_*.c | grep '^DEFINE_TEST' > libarchive/test/list.h |
b3cfa26b | 663 | |
1e5f600e | 664 | libarchive_TESTS_ENVIRONMENT= LIBARCHIVE_TEST_FILES=`cd $(top_srcdir);/bin/pwd`/libarchive/test LRZIP=NOCONFIG |
b3cfa26b TK |
665 | |
666 | libarchive_test_EXTRA_DIST=\ | |
154865e1 | 667 | libarchive/test/list.h \ |
379867ec MM |
668 | libarchive/test/test_acl_pax_posix1e.tar.uu \ |
669 | libarchive/test/test_acl_pax_nfs4.tar.uu \ | |
154865e1 TK |
670 | libarchive/test/test_archive_string_conversion.txt.Z.uu \ |
671 | libarchive/test/test_compat_bzip2_1.tbz.uu \ | |
672 | libarchive/test/test_compat_bzip2_2.tbz.uu \ | |
673 | libarchive/test/test_compat_cpio_1.cpio.uu \ | |
674 | libarchive/test/test_compat_gtar_1.tar.uu \ | |
929722d7 | 675 | libarchive/test/test_compat_gtar_2.tar.uu \ |
154865e1 TK |
676 | libarchive/test/test_compat_gzip_1.tgz.uu \ |
677 | libarchive/test/test_compat_gzip_2.tgz.uu \ | |
724f3f91 MN |
678 | libarchive/test/test_compat_lz4_1.tar.lz4.uu \ |
679 | libarchive/test/test_compat_lz4_2.tar.lz4.uu \ | |
680 | libarchive/test/test_compat_lz4_3.tar.lz4.uu \ | |
681 | libarchive/test/test_compat_lz4_B4.tar.lz4.uu \ | |
682 | libarchive/test/test_compat_lz4_B4BD.tar.lz4.uu \ | |
683 | libarchive/test/test_compat_lz4_B4BDBX.tar.lz4.uu \ | |
684 | libarchive/test/test_compat_lz4_B5.tar.lz4.uu \ | |
685 | libarchive/test/test_compat_lz4_B5BD.tar.lz4.uu \ | |
686 | libarchive/test/test_compat_lz4_B6.tar.lz4.uu \ | |
687 | libarchive/test/test_compat_lz4_B6BD.tar.lz4.uu \ | |
688 | libarchive/test/test_compat_lz4_B7.tar.lz4.uu \ | |
689 | libarchive/test/test_compat_lz4_B7BD.tar.lz4.uu \ | |
154865e1 TK |
690 | libarchive/test/test_compat_lzip_1.tlz.uu \ |
691 | libarchive/test/test_compat_lzip_2.tlz.uu \ | |
692 | libarchive/test/test_compat_lzma_1.tlz.uu \ | |
693 | libarchive/test/test_compat_lzma_2.tlz.uu \ | |
694 | libarchive/test/test_compat_lzma_3.tlz.uu \ | |
695 | libarchive/test/test_compat_lzop_1.tar.lzo.uu \ | |
696 | libarchive/test/test_compat_lzop_2.tar.lzo.uu \ | |
697 | libarchive/test/test_compat_lzop_3.tar.lzo.uu \ | |
698 | libarchive/test/test_compat_mac-1.tar.Z.uu \ | |
699 | libarchive/test/test_compat_mac-2.tar.Z.uu \ | |
2d2b3e92 | 700 | libarchive/test/test_compat_perl_archive_tar.tar.uu \ |
1523af76 | 701 | libarchive/test/test_compat_plexus_archiver_tar.tar.uu \ |
154865e1 TK |
702 | libarchive/test/test_compat_solaris_pax_sparse_1.pax.Z.uu \ |
703 | libarchive/test/test_compat_solaris_pax_sparse_2.pax.Z.uu \ | |
704 | libarchive/test/test_compat_solaris_tar_acl.tar.uu \ | |
379867ec | 705 | libarchive/test/test_compat_star_acl_nfs4.tar.uu \ |
1e3a1ed7 | 706 | libarchive/test/test_compat_star_acl_posix1e.tar.uu \ |
fe83fc33 | 707 | libarchive/test/test_compat_tar_directory_1.tar.uu \ |
154865e1 | 708 | libarchive/test/test_compat_tar_hardlink_1.tar.uu \ |
2b79319f | 709 | libarchive/test/test_compat_uudecode_large.tar.Z.uu \ |
154865e1 TK |
710 | libarchive/test/test_compat_xz_1.txz.uu \ |
711 | libarchive/test/test_compat_zip_1.zip.uu \ | |
712 | libarchive/test/test_compat_zip_2.zip.uu \ | |
713 | libarchive/test/test_compat_zip_3.zip.uu \ | |
714 | libarchive/test/test_compat_zip_4.zip.uu \ | |
715 | libarchive/test/test_compat_zip_5.zip.uu \ | |
716 | libarchive/test/test_compat_zip_6.zip.uu \ | |
717 | libarchive/test/test_compat_zip_7.xps.uu \ | |
e8e0d6c3 | 718 | libarchive/test/test_compat_zip_8.zip.uu \ |
cd63bdcd | 719 | libarchive/test/test_compat_zstd_1.tar.zst.uu \ |
283458a2 | 720 | libarchive/test/test_compat_zstd_2.tar.zst.uu \ |
154865e1 TK |
721 | libarchive/test/test_fuzz.cab.uu \ |
722 | libarchive/test/test_fuzz.lzh.uu \ | |
723 | libarchive/test/test_fuzz_1.iso.Z.uu \ | |
724 | libarchive/test/test_pax_filename_encoding.tar.uu \ | |
5aff5acf MM |
725 | libarchive/test/test_pax_xattr_header_all.tar.uu \ |
726 | libarchive/test/test_pax_xattr_header_libarchive.tar.uu \ | |
727 | libarchive/test/test_pax_xattr_header_schily.tar.uu \ | |
a5b03cc1 AM |
728 | libarchive/test/test_rar_multivolume_multiple_files.part1.rar.uu \ |
729 | libarchive/test/test_rar_multivolume_multiple_files.part2.rar.uu \ | |
730 | libarchive/test/test_rar_multivolume_multiple_files.part3.rar.uu \ | |
731 | libarchive/test/test_rar_multivolume_multiple_files.part4.rar.uu \ | |
732 | libarchive/test/test_rar_multivolume_multiple_files.part5.rar.uu \ | |
733 | libarchive/test/test_rar_multivolume_multiple_files.part6.rar.uu \ | |
154865e1 TK |
734 | libarchive/test/test_rar_multivolume_single_file.part1.rar.uu \ |
735 | libarchive/test/test_rar_multivolume_single_file.part2.rar.uu \ | |
736 | libarchive/test/test_rar_multivolume_single_file.part3.rar.uu \ | |
72d27a8c AM |
737 | libarchive/test/test_rar_multivolume_uncompressed_files.part01.rar.uu \ |
738 | libarchive/test/test_rar_multivolume_uncompressed_files.part02.rar.uu \ | |
739 | libarchive/test/test_rar_multivolume_uncompressed_files.part03.rar.uu \ | |
740 | libarchive/test/test_rar_multivolume_uncompressed_files.part04.rar.uu \ | |
741 | libarchive/test/test_rar_multivolume_uncompressed_files.part05.rar.uu \ | |
742 | libarchive/test/test_rar_multivolume_uncompressed_files.part06.rar.uu \ | |
743 | libarchive/test/test_rar_multivolume_uncompressed_files.part07.rar.uu \ | |
744 | libarchive/test/test_rar_multivolume_uncompressed_files.part08.rar.uu \ | |
745 | libarchive/test/test_rar_multivolume_uncompressed_files.part09.rar.uu \ | |
746 | libarchive/test/test_rar_multivolume_uncompressed_files.part10.rar.uu \ | |
154865e1 TK |
747 | libarchive/test/test_read_filter_grzip.tar.grz.uu \ |
748 | libarchive/test/test_read_filter_lrzip.tar.lrz.uu \ | |
749 | libarchive/test/test_read_filter_lzop.tar.lzo.uu \ | |
750 | libarchive/test/test_read_filter_lzop_multiple_parts.tar.lzo.uu \ | |
471338a9 | 751 | libarchive/test/test_read_format_mtree_crash747.mtree.bz2.uu \ |
a9eec913 | 752 | libarchive/test/test_read_format_mtree_noprint.mtree.uu \ |
154865e1 TK |
753 | libarchive/test/test_read_format_7zip_bcj2_bzip2.7z.uu \ |
754 | libarchive/test/test_read_format_7zip_bcj2_copy_1.7z.uu \ | |
755 | libarchive/test/test_read_format_7zip_bcj2_copy_2.7z.uu \ | |
756 | libarchive/test/test_read_format_7zip_bcj2_copy_lzma.7z.uu \ | |
757 | libarchive/test/test_read_format_7zip_bcj2_deflate.7z.uu \ | |
758 | libarchive/test/test_read_format_7zip_bcj2_lzma1_1.7z.uu \ | |
759 | libarchive/test/test_read_format_7zip_bcj2_lzma1_2.7z.uu \ | |
760 | libarchive/test/test_read_format_7zip_bcj2_lzma2_1.7z.uu \ | |
761 | libarchive/test/test_read_format_7zip_bcj2_lzma2_2.7z.uu \ | |
762 | libarchive/test/test_read_format_7zip_bcj_bzip2.7z.uu \ | |
763 | libarchive/test/test_read_format_7zip_bcj_copy.7z.uu \ | |
764 | libarchive/test/test_read_format_7zip_bcj_deflate.7z.uu \ | |
765 | libarchive/test/test_read_format_7zip_bcj_lzma1.7z.uu \ | |
766 | libarchive/test/test_read_format_7zip_bcj_lzma2.7z.uu \ | |
767 | libarchive/test/test_read_format_7zip_bzip2.7z.uu \ | |
768 | libarchive/test/test_read_format_7zip_copy.7z.uu \ | |
769 | libarchive/test/test_read_format_7zip_copy_2.7z.uu \ | |
770 | libarchive/test/test_read_format_7zip_deflate.7z.uu \ | |
771 | libarchive/test/test_read_format_7zip_delta_lzma1.7z.uu \ | |
250476b9 | 772 | libarchive/test/test_read_format_7zip_delta4_lzma1.7z.uu \ |
154865e1 | 773 | libarchive/test/test_read_format_7zip_delta_lzma2.7z.uu \ |
250476b9 | 774 | libarchive/test/test_read_format_7zip_delta4_lzma2.7z.uu \ |
154865e1 TK |
775 | libarchive/test/test_read_format_7zip_empty_archive.7z.uu \ |
776 | libarchive/test/test_read_format_7zip_empty_file.7z.uu \ | |
777 | libarchive/test/test_read_format_7zip_encryption.7z.uu \ | |
778 | libarchive/test/test_read_format_7zip_encryption_header.7z.uu \ | |
779 | libarchive/test/test_read_format_7zip_encryption_partially.7z.uu \ | |
780 | libarchive/test/test_read_format_7zip_lzma1.7z.uu \ | |
781 | libarchive/test/test_read_format_7zip_lzma1_2.7z.uu \ | |
782 | libarchive/test/test_read_format_7zip_lzma1_lzma2.7z.uu \ | |
a8b28a06 | 783 | libarchive/test/test_read_format_7zip_lzma2_arm.7z.uu \ |
154865e1 | 784 | libarchive/test/test_read_format_7zip_lzma2.7z.uu \ |
d094dc02 TK |
785 | libarchive/test/test_read_format_7zip_malformed.7z.uu \ |
786 | libarchive/test/test_read_format_7zip_malformed2.7z.uu \ | |
333d2223 | 787 | libarchive/test/test_read_format_7zip_packinfo_digests.7z.uu \ |
154865e1 | 788 | libarchive/test/test_read_format_7zip_ppmd.7z.uu \ |
a8b28a06 | 789 | libarchive/test/test_read_format_7zip_solid_zstd.7z.uu \ |
154865e1 | 790 | libarchive/test/test_read_format_7zip_symbolic_name.7z.uu \ |
a8b28a06 MM |
791 | libarchive/test/test_read_format_7zip_zstd_arm.7z.uu \ |
792 | libarchive/test/test_read_format_7zip_zstd_bcj.7z.uu \ | |
793 | libarchive/test/test_read_format_7zip_zstd_nobcj.7z.uu \ | |
794 | libarchive/test/test_read_format_7zip_zstd.7z.uu \ | |
154865e1 TK |
795 | libarchive/test/test_read_format_ar.ar.uu \ |
796 | libarchive/test/test_read_format_cab_1.cab.uu \ | |
797 | libarchive/test/test_read_format_cab_2.cab.uu \ | |
798 | libarchive/test/test_read_format_cab_3.cab.uu \ | |
799 | libarchive/test/test_read_format_cab_filename_cp932.cab.uu \ | |
800 | libarchive/test/test_read_format_cpio_bin_be.cpio.uu \ | |
68321d4c | 801 | libarchive/test/test_read_format_cpio_bin_le.cpio.uu \ |
154865e1 TK |
802 | libarchive/test/test_read_format_cpio_filename_cp866.cpio.uu \ |
803 | libarchive/test/test_read_format_cpio_filename_eucjp.cpio.uu \ | |
804 | libarchive/test/test_read_format_cpio_filename_koi8r.cpio.uu \ | |
805 | libarchive/test/test_read_format_cpio_filename_utf8_jp.cpio.uu \ | |
806 | libarchive/test/test_read_format_cpio_filename_utf8_ru.cpio.uu \ | |
807 | libarchive/test/test_read_format_cpio_svr4_bzip2_rpm.rpm.uu \ | |
808 | libarchive/test/test_read_format_cpio_svr4_gzip_rpm.rpm.uu \ | |
809 | libarchive/test/test_read_format_gtar_filename_cp866.tar.Z.uu \ | |
810 | libarchive/test/test_read_format_gtar_filename_eucjp.tar.Z.uu \ | |
811 | libarchive/test/test_read_format_gtar_filename_koi8r.tar.Z.uu \ | |
812 | libarchive/test/test_read_format_gtar_sparse_1_13.tar.uu \ | |
813 | libarchive/test/test_read_format_gtar_sparse_1_17.tar.uu \ | |
cf6ad4ba TK |
814 | libarchive/test/test_read_format_gtar_sparse_1_17_posix00.tar.uu \ |
815 | libarchive/test/test_read_format_gtar_sparse_1_17_posix01.tar.uu \ | |
816 | libarchive/test/test_read_format_gtar_sparse_1_17_posix10.tar.uu \ | |
b3cfa26b | 817 | libarchive/test/test_read_format_gtar_sparse_1_17_posix10_modified.tar.uu \ |
bf4f6ec6 | 818 | libarchive/test/test_read_format_gtar_sparse_skip_entry.tar.Z.uu \ |
154865e1 TK |
819 | libarchive/test/test_read_format_iso.iso.Z.uu \ |
820 | libarchive/test/test_read_format_iso_2.iso.Z.uu \ | |
821 | libarchive/test/test_read_format_iso_joliet.iso.Z.uu \ | |
822 | libarchive/test/test_read_format_iso_joliet_by_nero.iso.Z.uu \ | |
823 | libarchive/test/test_read_format_iso_joliet_long.iso.Z.uu \ | |
824 | libarchive/test/test_read_format_iso_joliet_rockridge.iso.Z.uu \ | |
825 | libarchive/test/test_read_format_iso_multi_extent.iso.Z.uu \ | |
826 | libarchive/test/test_read_format_iso_rockridge.iso.Z.uu \ | |
827 | libarchive/test/test_read_format_iso_rockridge_ce.iso.Z.uu \ | |
828 | libarchive/test/test_read_format_iso_rockridge_new.iso.Z.uu \ | |
829 | libarchive/test/test_read_format_iso_rockridge_rr_moved.iso.Z.uu \ | |
830 | libarchive/test/test_read_format_iso_xorriso.iso.Z.uu \ | |
831 | libarchive/test/test_read_format_iso_zisofs.iso.Z.uu \ | |
3ce11df0 | 832 | libarchive/test/test_read_format_lha_bugfix_0.lzh.uu \ |
154865e1 | 833 | libarchive/test/test_read_format_lha_filename_cp932.lzh.uu \ |
e59e5c49 | 834 | libarchive/test/test_read_format_lha_filename_utf16.lzh.uu \ |
154865e1 TK |
835 | libarchive/test/test_read_format_lha_header0.lzh.uu \ |
836 | libarchive/test/test_read_format_lha_header1.lzh.uu \ | |
837 | libarchive/test/test_read_format_lha_header2.lzh.uu \ | |
838 | libarchive/test/test_read_format_lha_header3.lzh.uu \ | |
839 | libarchive/test/test_read_format_lha_lh0.lzh.uu \ | |
840 | libarchive/test/test_read_format_lha_lh6.lzh.uu \ | |
841 | libarchive/test/test_read_format_lha_lh7.lzh.uu \ | |
842 | libarchive/test/test_read_format_lha_withjunk.lzh.uu \ | |
843 | libarchive/test/test_read_format_mtree.mtree.uu \ | |
844 | libarchive/test/test_read_format_mtree_nomagic.mtree.uu \ | |
845 | libarchive/test/test_read_format_mtree_nomagic2.mtree.uu \ | |
846 | libarchive/test/test_read_format_mtree_nomagic3.mtree.uu \ | |
847 | libarchive/test/test_read_format_rar.rar.uu \ | |
848 | libarchive/test/test_read_format_rar_binary_data.rar.uu \ | |
849 | libarchive/test/test_read_format_rar_compress_best.rar.uu \ | |
850 | libarchive/test/test_read_format_rar_compress_normal.rar.uu \ | |
851 | libarchive/test/test_read_format_rar_encryption_data.rar.uu \ | |
852 | libarchive/test/test_read_format_rar_encryption_header.rar.uu \ | |
853 | libarchive/test/test_read_format_rar_encryption_partially.rar.uu \ | |
2684fcbb | 854 | libarchive/test/test_read_format_rar_filter.rar.uu \ |
73f0cb16 | 855 | libarchive/test/test_read_format_rar_invalid1.rar.uu \ |
154865e1 TK |
856 | libarchive/test/test_read_format_rar_multi_lzss_blocks.rar.uu \ |
857 | libarchive/test/test_read_format_rar_multivolume.part0001.rar.uu \ | |
858 | libarchive/test/test_read_format_rar_multivolume.part0002.rar.uu \ | |
859 | libarchive/test/test_read_format_rar_multivolume.part0003.rar.uu \ | |
860 | libarchive/test/test_read_format_rar_multivolume.part0004.rar.uu \ | |
861 | libarchive/test/test_read_format_rar_noeof.rar.uu \ | |
862 | libarchive/test/test_read_format_rar_ppmd_lzss_conversion.rar.uu \ | |
b9fca640 | 863 | libarchive/test/test_read_format_rar_ppmd_use_after_free.rar.uu \ |
cb76165a | 864 | libarchive/test/test_read_format_rar_ppmd_use_after_free2.rar.uu \ |
154865e1 TK |
865 | libarchive/test/test_read_format_rar_sfx.exe.uu \ |
866 | libarchive/test/test_read_format_rar_subblock.rar.uu \ | |
867 | libarchive/test/test_read_format_rar_unicode.rar.uu \ | |
868 | libarchive/test/test_read_format_rar_windows.rar.uu \ | |
64e68f20 MM |
869 | libarchive/test/test_read_format_rar5_arm.rar.uu \ |
870 | libarchive/test/test_read_format_rar5_blake2.rar.uu \ | |
871 | libarchive/test/test_read_format_rar5_compressed.rar.uu \ | |
869cf810 | 872 | libarchive/test/test_read_format_rar5_different_window_size.rar.uu \ |
b09d8614 | 873 | libarchive/test/test_read_format_rar5_different_solid_window_size.rar.uu \ |
a9eec913 MM |
874 | libarchive/test/test_read_format_rar5_distance_overflow.rar.uu \ |
875 | libarchive/test/test_read_format_rar5_extra_field_version.rar.uu \ | |
876 | libarchive/test/test_read_format_rar5_fileattr.rar.uu \ | |
64e68f20 | 877 | libarchive/test/test_read_format_rar5_hardlink.rar.uu \ |
a9eec913 MM |
878 | libarchive/test/test_read_format_rar5_invalid_dict_reference.rar.uu \ |
879 | libarchive/test/test_read_format_rar5_leftshift1.rar.uu \ | |
880 | libarchive/test/test_read_format_rar5_leftshift2.rar.uu \ | |
64e68f20 MM |
881 | libarchive/test/test_read_format_rar5_multiarchive.part01.rar.uu \ |
882 | libarchive/test/test_read_format_rar5_multiarchive.part02.rar.uu \ | |
883 | libarchive/test/test_read_format_rar5_multiarchive.part03.rar.uu \ | |
884 | libarchive/test/test_read_format_rar5_multiarchive.part04.rar.uu \ | |
885 | libarchive/test/test_read_format_rar5_multiarchive.part05.rar.uu \ | |
886 | libarchive/test/test_read_format_rar5_multiarchive.part06.rar.uu \ | |
887 | libarchive/test/test_read_format_rar5_multiarchive.part07.rar.uu \ | |
888 | libarchive/test/test_read_format_rar5_multiarchive.part08.rar.uu \ | |
889 | libarchive/test/test_read_format_rar5_multiarchive_solid.part01.rar.uu \ | |
890 | libarchive/test/test_read_format_rar5_multiarchive_solid.part02.rar.uu \ | |
891 | libarchive/test/test_read_format_rar5_multiarchive_solid.part03.rar.uu \ | |
892 | libarchive/test/test_read_format_rar5_multiarchive_solid.part04.rar.uu \ | |
893 | libarchive/test/test_read_format_rar5_multiple_files.rar.uu \ | |
894 | libarchive/test/test_read_format_rar5_multiple_files_solid.rar.uu \ | |
a9eec913 | 895 | libarchive/test/test_read_format_rar5_nonempty_dir_stream.rar.uu \ |
64e68f20 | 896 | libarchive/test/test_read_format_rar5_owner.rar.uu \ |
a9eec913 | 897 | libarchive/test/test_read_format_rar5_readtables_overflow.rar.uu \ |
34462ad6 | 898 | libarchive/test/test_read_format_rar5_sfx.exe.uu \ |
64e68f20 MM |
899 | libarchive/test/test_read_format_rar5_solid.rar.uu \ |
900 | libarchive/test/test_read_format_rar5_stored.rar.uu \ | |
901 | libarchive/test/test_read_format_rar5_stored_manyfiles.rar.uu \ | |
902 | libarchive/test/test_read_format_rar5_symlink.rar.uu \ | |
a9eec913 | 903 | libarchive/test/test_read_format_rar5_truncated_huff.rar.uu \ |
64e68f20 | 904 | libarchive/test/test_read_format_rar5_win32.rar.uu \ |
2331456d | 905 | libarchive/test/test_read_format_rar5_arm_filter_on_window_boundary.rar.uu \ |
c9267d66 | 906 | libarchive/test/test_read_format_rar5_different_winsize_on_merge.rar.uu \ |
94821008 | 907 | libarchive/test/test_read_format_rar5_block_size_is_too_small.rar.uu \ |
05ebb558 | 908 | libarchive/test/test_read_format_rar5_decode_number_out_of_bounds_read.rar.uu \ |
17f4e83c | 909 | libarchive/test/test_read_format_rar5_window_buf_and_size_desync.rar.uu \ |
313bcd7a | 910 | libarchive/test/test_read_format_rar5_bad_window_sz_in_mltarc_file.rar.uu \ |
929722d7 | 911 | libarchive/test/test_read_format_raw.bufr.uu \ |
cba58e87 | 912 | libarchive/test/test_read_format_raw.data.gz.uu \ |
154865e1 TK |
913 | libarchive/test/test_read_format_raw.data.Z.uu \ |
914 | libarchive/test/test_read_format_raw.data.uu \ | |
915 | libarchive/test/test_read_format_tar_concatenated.tar.uu \ | |
916 | libarchive/test/test_read_format_tar_empty_filename.tar.uu \ | |
2bdae161 | 917 | libarchive/test/test_read_format_tar_empty_with_gnulabel.tar.uu \ |
154865e1 TK |
918 | libarchive/test/test_read_format_tar_empty_pax.tar.Z.uu \ |
919 | libarchive/test/test_read_format_tar_filename_koi8r.tar.Z.uu \ | |
fc8c6d27 | 920 | libarchive/test/test_read_format_tar_invalid_pax_size.tar.uu \ |
154865e1 TK |
921 | libarchive/test/test_read_format_ustar_filename_cp866.tar.Z.uu \ |
922 | libarchive/test/test_read_format_ustar_filename_eucjp.tar.Z.uu \ | |
923 | libarchive/test/test_read_format_ustar_filename_koi8r.tar.Z.uu \ | |
d32bbe4f | 924 | libarchive/test/test_read_format_warc.warc.uu \ |
154865e1 | 925 | libarchive/test/test_read_format_zip.zip.uu \ |
6c55c379 | 926 | libarchive/test/test_read_format_zip_7075_utf8_paths.zip.uu \ |
76002eab | 927 | libarchive/test/test_read_format_zip_7z_deflate.zip.uu \ |
4b8d0554 | 928 | libarchive/test/test_read_format_zip_7z_lzma.zip.uu \ |
64e68f20 MM |
929 | libarchive/test/test_read_format_zip_bz2_hang.zip.uu \ |
930 | libarchive/test/test_read_format_zip_bzip2.zipx.uu \ | |
931 | libarchive/test/test_read_format_zip_bzip2_multi.zipx.uu \ | |
154865e1 TK |
932 | libarchive/test/test_read_format_zip_comment_stored_1.zip.uu \ |
933 | libarchive/test/test_read_format_zip_comment_stored_2.zip.uu \ | |
934 | libarchive/test/test_read_format_zip_encryption_data.zip.uu \ | |
935 | libarchive/test/test_read_format_zip_encryption_header.zip.uu \ | |
936 | libarchive/test/test_read_format_zip_encryption_partially.zip.uu \ | |
6e2ffe14 | 937 | libarchive/test/test_read_format_zip_extra_padding.zip.uu \ |
154865e1 TK |
938 | libarchive/test/test_read_format_zip_filename_cp866.zip.uu \ |
939 | libarchive/test/test_read_format_zip_filename_cp932.zip.uu \ | |
940 | libarchive/test/test_read_format_zip_filename_koi8r.zip.uu \ | |
941 | libarchive/test/test_read_format_zip_filename_utf8_jp.zip.uu \ | |
942 | libarchive/test/test_read_format_zip_filename_utf8_ru.zip.uu \ | |
943 | libarchive/test/test_read_format_zip_filename_utf8_ru2.zip.uu \ | |
471338a9 | 944 | libarchive/test/test_read_format_zip_high_compression.zip.uu \ |
154865e1 | 945 | libarchive/test/test_read_format_zip_length_at_end.zip.uu \ |
64e68f20 | 946 | libarchive/test/test_read_format_zip_lzma.zipx.uu \ |
a9eec913 MM |
947 | libarchive/test/test_read_format_zip_lzma_alone_leak.zipx.uu \ |
948 | libarchive/test/test_read_format_zip_lzma_multi.zipx.uu \ | |
f467ac13 | 949 | libarchive/test/test_read_format_zip_lzma_stream_end.zipx.uu \ |
2ecf8d1c | 950 | libarchive/test/test_read_format_zip_jar.jar.uu \ |
154865e1 | 951 | libarchive/test/test_read_format_zip_mac_metadata.zip.uu \ |
9e0689cf | 952 | libarchive/test/test_read_format_zip_malformed1.zip.uu \ |
d32bbe4f | 953 | libarchive/test/test_read_format_zip_msdos.zip.uu \ |
1ad25e99 | 954 | libarchive/test/test_read_format_zip_nested.zip.uu \ |
154865e1 TK |
955 | libarchive/test/test_read_format_zip_nofiletype.zip.uu \ |
956 | libarchive/test/test_read_format_zip_padded1.zip.uu \ | |
957 | libarchive/test/test_read_format_zip_padded2.zip.uu \ | |
958 | libarchive/test/test_read_format_zip_padded3.zip.uu \ | |
64e68f20 MM |
959 | libarchive/test/test_read_format_zip_ppmd8.zipx.uu \ |
960 | libarchive/test/test_read_format_zip_ppmd8_crash_1.zipx.uu \ | |
961 | libarchive/test/test_read_format_zip_ppmd8_crash_2.zipx.uu \ | |
962 | libarchive/test/test_read_format_zip_ppmd8_multi.zipx.uu \ | |
154865e1 TK |
963 | libarchive/test/test_read_format_zip_sfx.uu \ |
964 | libarchive/test/test_read_format_zip_symlink.zip.uu \ | |
8145520c | 965 | libarchive/test/test_read_format_zip_traditional_encryption_data.zip.uu \ |
154865e1 | 966 | libarchive/test/test_read_format_zip_ux.zip.uu \ |
c3c366eb MN |
967 | libarchive/test/test_read_format_zip_winzip_aes128.zip.uu \ |
968 | libarchive/test/test_read_format_zip_winzip_aes256.zip.uu \ | |
969 | libarchive/test/test_read_format_zip_winzip_aes256_large.zip.uu \ | |
970 | libarchive/test/test_read_format_zip_winzip_aes256_stored.zip.uu \ | |
085c1b94 | 971 | libarchive/test/test_read_format_zip_with_invalid_traditional_eocd.zip.uu \ |
64e68f20 | 972 | libarchive/test/test_read_format_zip_xz_multi.zipx.uu \ |
154865e1 TK |
973 | libarchive/test/test_read_format_zip_zip64a.zip.uu \ |
974 | libarchive/test/test_read_format_zip_zip64b.zip.uu \ | |
6aba3523 MM |
975 | libarchive/test/test_read_format_zip_zstd.zipx.uu \ |
976 | libarchive/test/test_read_format_zip_zstd_multi.zipx.uu \ | |
154865e1 TK |
977 | libarchive/test/test_read_large_splitted_rar_aa.uu \ |
978 | libarchive/test/test_read_large_splitted_rar_ab.uu \ | |
979 | libarchive/test/test_read_large_splitted_rar_ac.uu \ | |
980 | libarchive/test/test_read_large_splitted_rar_ad.uu \ | |
981 | libarchive/test/test_read_large_splitted_rar_ae.uu \ | |
87488297 MM |
982 | libarchive/test/test_read_pax_xattr_rht_security_selinux.tar.uu \ |
983 | libarchive/test/test_read_pax_xattr_schily.tar.uu \ | |
154865e1 TK |
984 | libarchive/test/test_read_splitted_rar_aa.uu \ |
985 | libarchive/test/test_read_splitted_rar_ab.uu \ | |
986 | libarchive/test/test_read_splitted_rar_ac.uu \ | |
987 | libarchive/test/test_read_splitted_rar_ad.uu \ | |
6e06b1c8 | 988 | libarchive/test/test_read_too_many_filters.gz.uu \ |
154865e1 TK |
989 | libarchive/test/test_splitted_rar_seek_support_aa.uu \ |
990 | libarchive/test/test_splitted_rar_seek_support_ab.uu \ | |
991 | libarchive/test/test_splitted_rar_seek_support_ac.uu \ | |
992 | libarchive/test/test_write_disk_appledouble.cpio.gz.uu \ | |
993 | libarchive/test/test_write_disk_hfs_compression.tgz.uu \ | |
994 | libarchive/test/test_write_disk_mac_metadata.tar.gz.uu \ | |
995 | libarchive/test/test_write_disk_no_hfs_compression.tgz.uu \ | |
996 | libarchive/test/CMakeLists.txt \ | |
79cb8e5b | 997 | libarchive/test/README |
b3cfa26b | 998 | |
71d1bfe0 JS |
999 | # |
1000 | # Common code for libarchive frontends (cpio, tar) | |
1001 | # | |
154865e1 TK |
1002 | libarchive_fe_la_SOURCES= \ |
1003 | libarchive_fe/err.c \ | |
1004 | libarchive_fe/err.h \ | |
1005 | libarchive_fe/lafe_platform.h \ | |
1006 | libarchive_fe/line_reader.c \ | |
9769e6f7 MN |
1007 | libarchive_fe/line_reader.h \ |
1008 | libarchive_fe/passphrase.c \ | |
1009 | libarchive_fe/passphrase.h | |
b3cfa26b | 1010 | |
e1a574df | 1011 | libarchive_fe_la_CPPFLAGS= -I$(top_srcdir)/libarchive |
b3cfa26b TK |
1012 | # |
1013 | # | |
1014 | # bsdtar source, docs, etc. | |
1015 | # | |
1016 | # | |
1017 | ||
154865e1 TK |
1018 | bsdtar_SOURCES= \ |
1019 | tar/bsdtar.c \ | |
1020 | tar/bsdtar.h \ | |
1021 | tar/bsdtar_platform.h \ | |
1022 | tar/cmdline.c \ | |
1023 | tar/creation_set.c \ | |
1024 | tar/read.c \ | |
1025 | tar/subst.c \ | |
1026 | tar/util.c \ | |
b3cfa26b TK |
1027 | tar/write.c |
1028 | ||
79cb8e5b | 1029 | if INC_WINDOWS_FILES |
154865e1 TK |
1030 | bsdtar_SOURCES+= \ |
1031 | tar/bsdtar_windows.h \ | |
926d6bcb | 1032 | tar/bsdtar_windows.c |
79cb8e5b | 1033 | endif |
79cb8e5b | 1034 | |
71d1bfe0 | 1035 | bsdtar_DEPENDENCIES= libarchive.la libarchive_fe.la |
b3cfa26b TK |
1036 | |
1037 | if STATIC_BSDTAR | |
66c6a7b4 CW |
1038 | bsdtar_ldstatic= -static |
1039 | bsdtar_ccstatic= -DLIBARCHIVE_STATIC | |
b3cfa26b | 1040 | else |
66c6a7b4 CW |
1041 | bsdtar_ldstatic= |
1042 | bsdtar_ccstatic= | |
b3cfa26b TK |
1043 | endif |
1044 | ||
17fd872a | 1045 | bsdtar_LDADD= libarchive.la libarchive_fe.la $(LTLIBICONV) |
c31d1bc4 | 1046 | bsdtar_CPPFLAGS= -I$(top_srcdir)/libarchive -I$(top_srcdir)/libarchive_fe $(bsdtar_ccstatic) $(PLATFORMCPPFLAGS) |
fc075823 | 1047 | bsdtar_LDFLAGS= $(bsdtar_ldstatic) $(GC_SECTIONS) |
71d1bfe0 | 1048 | |
154865e1 TK |
1049 | bsdtar_EXTRA_DIST= \ |
1050 | tar/bsdtar.1 \ | |
1051 | tar/bsdtar_windows.h \ | |
1052 | tar/bsdtar_windows.c \ | |
1053 | tar/CMakeLists.txt \ | |
9d22dfd5 | 1054 | tar/config_freebsd.h |
79cb8e5b | 1055 | |
b3cfa26b TK |
1056 | |
1057 | if BUILD_BSDTAR | |
1058 | bsdtar_man_MANS= tar/bsdtar.1 | |
1059 | bsdtar_programs= bsdtar | |
1060 | else | |
1061 | bsdtar_man_MANS= | |
1062 | bsdtar_programs= | |
1063 | endif | |
1064 | ||
1065 | # | |
1066 | # bsdtar_test | |
1067 | # | |
1068 | ||
154865e1 TK |
1069 | bsdtar_test_SOURCES= \ |
1070 | $(test_utils_SOURCES) \ | |
154865e1 TK |
1071 | tar/test/test.h \ |
1072 | tar/test/test_0.c \ | |
1073 | tar/test/test_basic.c \ | |
1074 | tar/test/test_copy.c \ | |
1075 | tar/test/test_empty_mtree.c \ | |
1076 | tar/test/test_extract_tar_Z.c \ | |
1077 | tar/test/test_extract_tar_bz2.c \ | |
1078 | tar/test/test_extract_tar_grz.c \ | |
1079 | tar/test/test_extract_tar_gz.c \ | |
1080 | tar/test/test_extract_tar_lrz.c \ | |
1081 | tar/test/test_extract_tar_lz.c \ | |
aecd3a2c | 1082 | tar/test/test_extract_tar_lz4.c \ |
154865e1 TK |
1083 | tar/test/test_extract_tar_lzma.c \ |
1084 | tar/test/test_extract_tar_lzo.c \ | |
1085 | tar/test/test_extract_tar_xz.c \ | |
cd63bdcd | 1086 | tar/test/test_extract_tar_zstd.c \ |
154865e1 TK |
1087 | tar/test/test_format_newc.c \ |
1088 | tar/test/test_help.c \ | |
cf8e67ff | 1089 | tar/test/test_leading_slash.c \ |
ba20a8b3 | 1090 | tar/test/test_missing_file.c \ |
adfcc31d | 1091 | tar/test/test_option_C_mtree.c \ |
8076d71f | 1092 | tar/test/test_option_C_upper.c \ |
154865e1 TK |
1093 | tar/test/test_option_H_upper.c \ |
1094 | tar/test/test_option_L_upper.c \ | |
1095 | tar/test/test_option_O_upper.c \ | |
1096 | tar/test/test_option_T_upper.c \ | |
1097 | tar/test/test_option_U_upper.c \ | |
1098 | tar/test/test_option_X_upper.c \ | |
f5d473ed | 1099 | tar/test/test_option_acls.c \ |
154865e1 TK |
1100 | tar/test/test_option_a.c \ |
1101 | tar/test/test_option_b.c \ | |
1102 | tar/test/test_option_b64encode.c \ | |
1103 | tar/test/test_option_exclude.c \ | |
19bd0779 | 1104 | tar/test/test_option_exclude_vcs.c \ |
be3e97ea | 1105 | tar/test/test_option_fflags.c \ |
154865e1 TK |
1106 | tar/test/test_option_gid_gname.c \ |
1107 | tar/test/test_option_grzip.c \ | |
e5095189 | 1108 | tar/test/test_option_ignore_zeros.c \ |
154865e1 TK |
1109 | tar/test/test_option_j.c \ |
1110 | tar/test/test_option_k.c \ | |
1111 | tar/test/test_option_keep_newer_files.c \ | |
1112 | tar/test/test_option_lrzip.c \ | |
8c4be28f | 1113 | tar/test/test_option_lz4.c \ |
154865e1 TK |
1114 | tar/test/test_option_lzma.c \ |
1115 | tar/test/test_option_lzop.c \ | |
1116 | tar/test/test_option_n.c \ | |
1117 | tar/test/test_option_newer_than.c \ | |
1118 | tar/test/test_option_nodump.c \ | |
1119 | tar/test/test_option_older_than.c \ | |
c9dc6b81 | 1120 | tar/test/test_option_passphrase.c \ |
154865e1 TK |
1121 | tar/test/test_option_q.c \ |
1122 | tar/test/test_option_r.c \ | |
1123 | tar/test/test_option_s.c \ | |
305ee38b | 1124 | tar/test/test_option_safe_writes.c \ |
154865e1 TK |
1125 | tar/test/test_option_uid_uname.c \ |
1126 | tar/test/test_option_uuencode.c \ | |
365a91de | 1127 | tar/test/test_option_xattrs.c \ |
154865e1 TK |
1128 | tar/test/test_option_xz.c \ |
1129 | tar/test/test_option_z.c \ | |
cd63bdcd | 1130 | tar/test/test_option_zstd.c \ |
154865e1 TK |
1131 | tar/test/test_patterns.c \ |
1132 | tar/test/test_print_longpath.c \ | |
1133 | tar/test/test_stdio.c \ | |
1134 | tar/test/test_strip_components.c \ | |
1135 | tar/test/test_symlink_dir.c \ | |
1136 | tar/test/test_version.c \ | |
f470386a | 1137 | tar/test/test_windows.c |
b3cfa26b | 1138 | |
c31d1bc4 CW |
1139 | bsdtar_test_CPPFLAGS=\ |
1140 | -I$(top_srcdir)/libarchive -I$(top_srcdir)/libarchive_fe \ | |
aa95a749 | 1141 | -I$(top_srcdir)/test_utils \ |
52d5a14c MM |
1142 | -I$(top_srcdir)/tar -I$(top_srcdir)/tar/test \ |
1143 | -I$(top_builddir)/tar/test \ | |
c31d1bc4 | 1144 | $(PLATFORMCPPFLAGS) |
b3cfa26b TK |
1145 | |
1146 | tar/test/list.h: Makefile | |
1c6adda3 | 1147 | $(MKDIR_P) tar/test |
b06753b6 | 1148 | cat $(top_srcdir)/tar/test/test_*.c | grep '^DEFINE_TEST' > tar/test/list.h |
b3cfa26b TK |
1149 | |
1150 | if BUILD_BSDTAR | |
1151 | bsdtar_test_programs= bsdtar_test | |
125047fc | 1152 | bsdtar_TESTS_ENVIRONMENT= BSDTAR=`cd $(top_builddir);/bin/pwd`/bsdtar$(EXEEXT) BSDTAR_TEST_FILES=`cd $(top_srcdir);/bin/pwd`/tar/test |
b3cfa26b TK |
1153 | else |
1154 | bsdtar_test_programs= | |
1155 | bsdtar_TESTS_ENVIRONMENT= | |
1156 | endif | |
1157 | ||
154865e1 | 1158 | bsdtar_test_EXTRA_DIST= \ |
9d22dfd5 | 1159 | tar/test/list.h \ |
154865e1 | 1160 | tar/test/test_extract.tar.Z.uu \ |
79c57c39 | 1161 | tar/test/test_extract.tar.bz2.uu \ |
630ead78 | 1162 | tar/test/test_extract.tar.grz.uu \ |
154865e1 | 1163 | tar/test/test_extract.tar.gz.uu \ |
79c57c39 | 1164 | tar/test/test_extract.tar.lrz.uu \ |
154865e1 | 1165 | tar/test/test_extract.tar.lz.uu \ |
aecd3a2c | 1166 | tar/test/test_extract.tar.lz4.uu \ |
0f6b9d7a | 1167 | tar/test/test_extract.tar.zst.uu \ |
79c57c39 MN |
1168 | tar/test/test_extract.tar.lzma.uu \ |
1169 | tar/test/test_extract.tar.lzo.uu \ | |
1170 | tar/test/test_extract.tar.xz.uu \ | |
cf8e67ff | 1171 | tar/test/test_leading_slash.tar.uu \ |
113601be | 1172 | tar/test/test_option_keep_newer_files.tar.Z.uu \ |
c9dc6b81 | 1173 | tar/test/test_option_passphrase.zip.uu \ |
9d22dfd5 | 1174 | tar/test/test_option_s.tar.Z.uu \ |
154865e1 TK |
1175 | tar/test/test_patterns_2.tar.uu \ |
1176 | tar/test/test_patterns_3.tar.uu \ | |
1177 | tar/test/test_patterns_4.tar.uu \ | |
b4a4200f | 1178 | tar/test/test_print_longpath.tar.Z.uu \ |
79cb8e5b | 1179 | tar/test/CMakeLists.txt |
d75f8db1 | 1180 | |
b3cfa26b TK |
1181 | |
1182 | # | |
1183 | # | |
1184 | # bsdcpio source, docs, etc. | |
1185 | # | |
1186 | # | |
1187 | ||
154865e1 TK |
1188 | bsdcpio_SOURCES= \ |
1189 | cpio/cmdline.c \ | |
1190 | cpio/cpio.c \ | |
1191 | cpio/cpio.h \ | |
71d1bfe0 | 1192 | cpio/cpio_platform.h |
b3cfa26b | 1193 | |
79cb8e5b | 1194 | if INC_WINDOWS_FILES |
154865e1 TK |
1195 | bsdcpio_SOURCES+= \ |
1196 | cpio/cpio_windows.h \ | |
926d6bcb | 1197 | cpio/cpio_windows.c |
79cb8e5b | 1198 | endif |
79cb8e5b | 1199 | |
71d1bfe0 | 1200 | bsdcpio_DEPENDENCIES = libarchive.la libarchive_fe.la |
b3cfa26b TK |
1201 | |
1202 | ||
1203 | if STATIC_BSDCPIO | |
66c6a7b4 CW |
1204 | bsdcpio_ldstatic= -static |
1205 | bsdcpio_ccstatic= -DLIBARCHIVE_STATIC | |
b3cfa26b | 1206 | else |
66c6a7b4 CW |
1207 | bsdcpio_ldstatic= |
1208 | bsdcpio_ccstatic= | |
b3cfa26b TK |
1209 | endif |
1210 | ||
17fd872a | 1211 | bsdcpio_LDADD= libarchive_fe.la libarchive.la $(LTLIBICONV) |
c31d1bc4 | 1212 | bsdcpio_CPPFLAGS= -I$(top_srcdir)/libarchive -I$(top_srcdir)/libarchive_fe $(bsdcpio_ccstatic) $(PLATFORMCPPFLAGS) |
fc075823 | 1213 | bsdcpio_LDFLAGS= $(bsdcpio_ldstatic) $(GC_SECTIONS) |
66c6a7b4 | 1214 | |
154865e1 TK |
1215 | bsdcpio_EXTRA_DIST= \ |
1216 | cpio/bsdcpio.1 \ | |
1217 | cpio/cpio_windows.h \ | |
1218 | cpio/cpio_windows.c \ | |
1219 | cpio/CMakeLists.txt \ | |
79cb8e5b CW |
1220 | cpio/config_freebsd.h |
1221 | ||
b3cfa26b TK |
1222 | |
1223 | if BUILD_BSDCPIO | |
1224 | # Manpages to install | |
1225 | bsdcpio_man_MANS= cpio/bsdcpio.1 | |
1226 | bsdcpio_programs= bsdcpio | |
1227 | else | |
1228 | bsdcpio_man_MANS= | |
1229 | bsdcpio_programs= | |
1230 | endif | |
1231 | ||
1232 | # | |
1233 | # bsdcpio_test | |
1234 | # | |
1235 | ||
154865e1 TK |
1236 | bsdcpio_test_SOURCES= \ |
1237 | $(test_utils_SOURCES) \ | |
1238 | cpio/cmdline.c \ | |
154865e1 TK |
1239 | cpio/test/test.h \ |
1240 | cpio/test/test_0.c \ | |
1241 | cpio/test/test_basic.c \ | |
1242 | cpio/test/test_cmdline.c \ | |
1243 | cpio/test/test_extract_cpio_Z.c \ | |
1244 | cpio/test/test_extract_cpio_bz2.c \ | |
1245 | cpio/test/test_extract_cpio_grz.c \ | |
1246 | cpio/test/test_extract_cpio_gz.c \ | |
1247 | cpio/test/test_extract_cpio_lrz.c \ | |
1248 | cpio/test/test_extract_cpio_lz.c \ | |
aecd3a2c | 1249 | cpio/test/test_extract_cpio_lz4.c \ |
154865e1 TK |
1250 | cpio/test/test_extract_cpio_lzma.c \ |
1251 | cpio/test/test_extract_cpio_lzo.c \ | |
1252 | cpio/test/test_extract_cpio_xz.c \ | |
cd63bdcd | 1253 | cpio/test/test_extract_cpio_zstd.c \ |
154865e1 TK |
1254 | cpio/test/test_format_newc.c \ |
1255 | cpio/test/test_gcpio_compat.c \ | |
ba20a8b3 | 1256 | cpio/test/test_missing_file.c \ |
154865e1 TK |
1257 | cpio/test/test_option_0.c \ |
1258 | cpio/test/test_option_B_upper.c \ | |
1259 | cpio/test/test_option_C_upper.c \ | |
1260 | cpio/test/test_option_J_upper.c \ | |
1261 | cpio/test/test_option_L_upper.c \ | |
1262 | cpio/test/test_option_Z_upper.c \ | |
1263 | cpio/test/test_option_a.c \ | |
1264 | cpio/test/test_option_b64encode.c \ | |
1265 | cpio/test/test_option_c.c \ | |
1266 | cpio/test/test_option_d.c \ | |
1267 | cpio/test/test_option_f.c \ | |
1268 | cpio/test/test_option_grzip.c \ | |
1269 | cpio/test/test_option_help.c \ | |
1270 | cpio/test/test_option_l.c \ | |
1271 | cpio/test/test_option_lrzip.c \ | |
8c4be28f | 1272 | cpio/test/test_option_lz4.c \ |
154865e1 TK |
1273 | cpio/test/test_option_lzma.c \ |
1274 | cpio/test/test_option_lzop.c \ | |
1275 | cpio/test/test_option_m.c \ | |
c9dc6b81 | 1276 | cpio/test/test_option_passphrase.c \ |
154865e1 TK |
1277 | cpio/test/test_option_t.c \ |
1278 | cpio/test/test_option_u.c \ | |
1279 | cpio/test/test_option_uuencode.c \ | |
1280 | cpio/test/test_option_version.c \ | |
1281 | cpio/test/test_option_xz.c \ | |
1282 | cpio/test/test_option_y.c \ | |
1283 | cpio/test/test_option_z.c \ | |
cd63bdcd | 1284 | cpio/test/test_option_zstd.c \ |
154865e1 TK |
1285 | cpio/test/test_owner_parse.c \ |
1286 | cpio/test/test_passthrough_dotdot.c \ | |
718b5cc7 | 1287 | cpio/test/test_passthrough_reverse.c |
b3cfa26b | 1288 | |
71d1bfe0 JS |
1289 | bsdcpio_test_CPPFLAGS= \ |
1290 | -I$(top_srcdir)/libarchive -I$(top_srcdir)/libarchive_fe \ | |
aa95a749 | 1291 | -I$(top_srcdir)/test_utils \ |
52d5a14c MM |
1292 | -I$(top_srcdir)/cpio -I$(top_srcdir)/cpio/test \ |
1293 | -I$(top_builddir)/cpio/test \ | |
c31d1bc4 | 1294 | $(PLATFORMCPPFLAGS) |
cee6343a | 1295 | bsdcpio_test_LDADD=libarchive_fe.la |
b3cfa26b TK |
1296 | |
1297 | cpio/test/list.h: Makefile | |
1c6adda3 | 1298 | $(MKDIR_P) cpio/test |
b06753b6 | 1299 | cat $(top_srcdir)/cpio/test/test_*.c | grep '^DEFINE_TEST' > cpio/test/list.h |
b3cfa26b TK |
1300 | |
1301 | if BUILD_BSDCPIO | |
1302 | bsdcpio_test_programs= bsdcpio_test | |
125047fc | 1303 | bsdcpio_TESTS_ENVIRONMENT= BSDCPIO=`cd $(top_builddir);/bin/pwd`/bsdcpio$(EXEEXT) BSDCPIO_TEST_FILES=`cd $(top_srcdir);/bin/pwd`/cpio/test |
b3cfa26b TK |
1304 | else |
1305 | bsdcpio_test_programs= | |
1306 | bsdcpio_TESTS_ENVIRONMENT= | |
1307 | endif | |
1308 | ||
154865e1 TK |
1309 | bsdcpio_test_EXTRA_DIST= \ |
1310 | cpio/test/list.h \ | |
1311 | cpio/test/test_extract.cpio.Z.uu \ | |
1312 | cpio/test/test_extract.cpio.bz2.uu \ | |
1313 | cpio/test/test_extract.cpio.grz.uu \ | |
1314 | cpio/test/test_extract.cpio.gz.uu \ | |
1315 | cpio/test/test_extract.cpio.lrz.uu \ | |
1316 | cpio/test/test_extract.cpio.lz.uu \ | |
aecd3a2c | 1317 | cpio/test/test_extract.cpio.lz4.uu \ |
0f6b9d7a | 1318 | cpio/test/test_extract.cpio.zst.uu \ |
154865e1 TK |
1319 | cpio/test/test_extract.cpio.lzma.uu \ |
1320 | cpio/test/test_extract.cpio.lzo.uu \ | |
1321 | cpio/test/test_extract.cpio.xz.uu \ | |
1322 | cpio/test/test_gcpio_compat_ref.bin.uu \ | |
1323 | cpio/test/test_gcpio_compat_ref.crc.uu \ | |
1324 | cpio/test/test_gcpio_compat_ref.newc.uu \ | |
b3cfa26b | 1325 | cpio/test/test_gcpio_compat_ref.ustar.uu \ |
e8b51424 JS |
1326 | cpio/test/test_gcpio_compat_ref_nosym.bin.uu \ |
1327 | cpio/test/test_gcpio_compat_ref_nosym.crc.uu \ | |
1328 | cpio/test/test_gcpio_compat_ref_nosym.newc.uu \ | |
1329 | cpio/test/test_gcpio_compat_ref_nosym.ustar.uu \ | |
154865e1 TK |
1330 | cpio/test/test_option_f.cpio.uu \ |
1331 | cpio/test/test_option_m.cpio.uu \ | |
c9dc6b81 | 1332 | cpio/test/test_option_passphrase.zip.uu \ |
154865e1 TK |
1333 | cpio/test/test_option_t.cpio.uu \ |
1334 | cpio/test/test_option_t.stdout.uu \ | |
1335 | cpio/test/test_option_tv.stdout.uu \ | |
79cb8e5b | 1336 | cpio/test/CMakeLists.txt |
5d3f56d2 MK |
1337 | |
1338 | # | |
1339 | # | |
1340 | # bsdcat source, docs, etc. | |
1341 | # | |
1342 | # | |
1343 | ||
1344 | bsdcat_SOURCES= \ | |
1345 | cat/bsdcat.c \ | |
15bcb678 MN |
1346 | cat/bsdcat.h \ |
1347 | cat/bsdcat_platform.h \ | |
78743ea7 | 1348 | cat/cmdline.c |
5d3f56d2 MK |
1349 | |
1350 | if INC_WINDOWS_FILES | |
1351 | bsdcat_SOURCES+= | |
1352 | endif | |
1353 | ||
1354 | bsdcat_DEPENDENCIES = libarchive.la libarchive_fe.la | |
1355 | ||
1356 | ||
1357 | if STATIC_BSDCAT | |
1358 | bsdcat_ldstatic= -static | |
1359 | bsdcat_ccstatic= -DLIBARCHIVE_STATIC | |
1360 | else | |
1361 | bsdcat_ldstatic= | |
1362 | bsdcat_ccstatic= | |
1363 | endif | |
1364 | ||
1365 | bsdcat_LDADD= libarchive_fe.la libarchive.la $(LTLIBICONV) | |
1366 | bsdcat_CPPFLAGS= -I$(top_srcdir)/libarchive -I$(top_srcdir)/libarchive_fe $(bsdcat_ccstatic) $(PLATFORMCPPFLAGS) | |
fc075823 | 1367 | bsdcat_LDFLAGS= $(bsdcat_ldstatic) $(GC_SECTIONS) |
5d3f56d2 MK |
1368 | |
1369 | bsdcat_EXTRA_DIST= \ | |
1370 | cat/bsdcat.1 \ | |
1371 | cat/CMakeLists.txt | |
1372 | ||
1373 | ||
1374 | if BUILD_BSDCAT | |
1375 | # Manpages to install | |
1376 | bsdcat_man_MANS= cat/bsdcat.1 | |
1377 | bsdcat_programs= bsdcat | |
1378 | else | |
1379 | bsdcat_man_MANS= | |
1380 | bsdcat_programs= | |
1381 | endif | |
c03898de MK |
1382 | |
1383 | # | |
1384 | # bsdcat_test | |
1385 | # | |
1386 | ||
1387 | bsdcat_test_SOURCES= \ | |
1388 | $(test_utils_SOURCES) \ | |
c03898de MK |
1389 | cat/test/test.h \ |
1390 | cat/test/test_0.c \ | |
850c3c8d | 1391 | cat/test/test_empty_gz.c \ |
f6b202b6 | 1392 | cat/test/test_empty_lz4.c \ |
850c3c8d | 1393 | cat/test/test_empty_xz.c \ |
cd63bdcd | 1394 | cat/test/test_empty_zstd.c \ |
c03898de MK |
1395 | cat/test/test_error.c \ |
1396 | cat/test/test_error_mixed.c \ | |
1397 | cat/test/test_expand_Z.c \ | |
1398 | cat/test/test_expand_bz2.c \ | |
1399 | cat/test/test_expand_gz.c \ | |
aecd3a2c | 1400 | cat/test/test_expand_lz4.c \ |
c03898de MK |
1401 | cat/test/test_expand_mixed.c \ |
1402 | cat/test/test_expand_plain.c \ | |
1403 | cat/test/test_expand_xz.c \ | |
cd63bdcd | 1404 | cat/test/test_expand_zstd.c \ |
c03898de | 1405 | cat/test/test_help.c \ |
0bec66ba | 1406 | cat/test/test_stdin.c \ |
c03898de MK |
1407 | cat/test/test_version.c |
1408 | ||
1409 | bsdcat_test_CPPFLAGS= \ | |
1410 | -I$(top_srcdir)/libarchive -I$(top_srcdir)/libarchive_fe \ | |
1411 | -I$(top_srcdir)/test_utils \ | |
52d5a14c MM |
1412 | -I$(top_srcdir)/cat -I$(top_srcdir)/cat/test \ |
1413 | -I$(top_builddir)/cat/test \ | |
c03898de MK |
1414 | $(PLATFORMCPPFLAGS) |
1415 | bsdcat_test_LDADD=libarchive_fe.la | |
1416 | ||
1417 | cat/test/list.h: Makefile | |
b06753b6 | 1418 | cat $(top_srcdir)/cat/test/test_*.c | grep '^DEFINE_TEST' > cat/test/list.h |
c03898de MK |
1419 | |
1420 | if BUILD_BSDCAT | |
1421 | bsdcat_test_programs= bsdcat_test | |
1422 | bsdcat_TESTS_ENVIRONMENT= BSDCAT=`cd $(top_builddir);/bin/pwd`/bsdcat$(EXEEXT) BSDCAT_TEST_FILES=`cd $(top_srcdir);/bin/pwd`/cat/test | |
1423 | else | |
1424 | bsdcat_test_programs= | |
1425 | bsdcat_TESTS_ENVIRONMENT= | |
1426 | endif | |
1427 | ||
1428 | bsdcat_test_EXTRA_DIST= \ | |
1429 | cat/test/list.h \ | |
850c3c8d | 1430 | cat/test/test_empty.gz.uu \ |
f6b202b6 | 1431 | cat/test/test_empty.lz4.uu \ |
0f6b9d7a | 1432 | cat/test/test_empty.zst.uu \ |
850c3c8d | 1433 | cat/test/test_empty.xz.uu \ |
c03898de MK |
1434 | cat/test/test_expand.Z.uu \ |
1435 | cat/test/test_expand.bz2.uu \ | |
1436 | cat/test/test_expand.gz.uu \ | |
aecd3a2c | 1437 | cat/test/test_expand.lz4.uu \ |
0f6b9d7a | 1438 | cat/test/test_expand.zst.uu \ |
c03898de MK |
1439 | cat/test/test_expand.plain.uu \ |
1440 | cat/test/test_expand.xz.uu \ | |
1441 | cat/test/CMakeLists.txt | |
c157e4ce AV |
1442 | |
1443 | # | |
1444 | # | |
1445 | # bsdunzip source, docs, etc. | |
1446 | # | |
1447 | # | |
1448 | ||
1449 | bsdunzip_SOURCES= \ | |
1450 | unzip/bsdunzip.c \ | |
c157e4ce AV |
1451 | unzip/bsdunzip_platform.h |
1452 | ||
1453 | if INC_WINDOWS_FILES | |
1454 | bsdunzip_SOURCES+= | |
1455 | endif | |
1456 | ||
1457 | bsdunzip_DEPENDENCIES = libarchive.la libarchive_fe.la | |
1458 | ||
1459 | ||
1460 | if STATIC_BSDUNZIP | |
1461 | bsdunzip_ldstatic= -static | |
1462 | bsdunzip_ccstatic= -DLIBARCHIVE_STATIC | |
1463 | else | |
1464 | bsdunzip_ldstatic= | |
1465 | bsdunzip_ccstatic= | |
1466 | endif | |
1467 | ||
1468 | bsdunzip_LDADD= libarchive_fe.la libarchive.la $(LTLIBICONV) | |
1469 | bsdunzip_CPPFLAGS= -I$(top_srcdir)/libarchive -I$(top_srcdir)/libarchive_fe $(bsdunzip_ccstatic) $(PLATFORMCPPFLAGS) | |
1470 | bsdunzip_LDFLAGS= $(bsdunzip_ldstatic) $(GC_SECTIONS) | |
1471 | ||
1472 | bsdunzip_EXTRA_DIST= \ | |
1473 | unzip/bsdunzip.1 \ | |
1474 | unzip/CMakeLists.txt | |
1475 | ||
1476 | ||
1477 | if BUILD_BSDUNZIP | |
1478 | # Manpages to install | |
1479 | bsdunzip_man_MANS= unzip/bsdunzip.1 | |
1480 | bsdunzip_programs= bsdunzip | |
1481 | else | |
1482 | bsdunzip_man_MANS= | |
1483 | bsdunzip_programs= | |
1484 | endif | |
1485 | ||
1486 | # | |
1487 | # bsdcat_test | |
1488 | # | |
1489 | ||
1490 | bsdunzip_test_SOURCES= \ | |
1491 | $(test_utils_SOURCES) \ | |
1492 | unzip/test/test.h \ | |
1493 | unzip/test/test_0.c \ | |
1494 | unzip/test/test_basic.c \ | |
1495 | unzip/test/test_glob.c \ | |
1496 | unzip/test/test_not_exist.c \ | |
1497 | unzip/test/test_singlefile.c \ | |
1498 | unzip/test/test_C.c \ | |
1499 | unzip/test/test_p.c \ | |
1500 | unzip/test/test_d.c \ | |
1501 | unzip/test/test_j.c \ | |
1502 | unzip/test/test_L.c \ | |
1503 | unzip/test/test_n.c \ | |
1504 | unzip/test/test_o.c \ | |
1505 | unzip/test/test_q.c \ | |
1506 | unzip/test/test_t.c \ | |
1507 | unzip/test/test_t_bad.c \ | |
1508 | unzip/test/test_x.c \ | |
1509 | unzip/test/test_Z1.c \ | |
1510 | unzip/test/test_P_encryption.c | |
1511 | ||
1512 | bsdunzip_test_CPPFLAGS= \ | |
1513 | -I$(top_srcdir)/libarchive -I$(top_srcdir)/libarchive_fe \ | |
1514 | -I$(top_srcdir)/test_utils \ | |
1515 | -I$(top_srcdir)/unzip -I$(top_srcdir)/unzip/test \ | |
1516 | -I$(top_builddir)/unzip/test \ | |
1517 | $(PLATFORMCPPFLAGS) | |
1518 | bsdunzip_test_LDADD=libarchive_fe.la | |
1519 | ||
1520 | unzip/test/list.h: Makefile | |
1521 | cat $(top_srcdir)/unzip/test/test_*.c | grep '^DEFINE_TEST' > unzip/test/list.h | |
1522 | ||
1523 | if BUILD_BSDUNZIP | |
1524 | bsdunzip_test_programs= bsdunzip_test | |
1525 | bsdunzip_TESTS_ENVIRONMENT= BSDUNZIP=`cd $(top_builddir);/bin/pwd`/bsdunzip$(EXEEXT) BSDUNZIP_TEST_FILES=`cd $(top_srcdir);/bin/pwd`/unzip/test | |
1526 | else | |
1527 | bsdunzip_test_programs= | |
1528 | bsdunzip_TESTS_ENVIRONMENT= | |
1529 | endif | |
1530 | ||
1531 | bsdunzip_test_EXTRA_DIST= \ | |
1532 | unzip/test/list.h \ | |
1533 | unzip/test/test_basic.zip.uu \ | |
1534 | unzip/test/test_encrypted.zip.uu \ | |
a8b28a06 MM |
1535 | unzip/test/test_singlefile.zip.uu \ |
1536 | unzip/test/test_t_bad.zip.uu \ | |
c157e4ce | 1537 | unzip/test/CMakeLists.txt |