1 ## Process this file with automake to produce Makefile.in
3 AUTOMAKE_OPTIONS= foreign subdir-objects
4 ACLOCAL_AMFLAGS = -I build/autoconf
7 # What to build and install
9 lib_LTLIBRARIES= libarchive.la
10 noinst_LTLIBRARIES= libarchive_fe.la
11 bin_PROGRAMS= $(bsdtar_programs) $(bsdcpio_programs) $(bsdcat_programs)
12 man_MANS= $(libarchive_man_MANS) $(bsdtar_man_MANS) $(bsdcpio_man_MANS) $(bsdcat_man_MANS)
13 BUILT_SOURCES= libarchive/test/list.h tar/test/list.h cpio/test/list.h cat/test/list.h
16 # What to test: We always test libarchive, test bsdtar and bsdcpio only
19 check_PROGRAMS= libarchive_test $(bsdtar_test_programs) $(bsdcpio_test_programs) $(bsdcat_test_programs)
20 TESTS= libarchive_test $(bsdtar_test_programs) $(bsdcpio_test_programs) $(bsdcat_test_programs)
21 TESTS_ENVIRONMENT= $(libarchive_TESTS_ENVIRONMENT) $(bsdtar_TESTS_ENVIRONMENT) $(bsdcpio_TESTS_ENVIRONMENT) $(bsdcat_TESTS_ENVIRONMENT)
22 # Always build and test both bsdtar and bsdcpio as part of 'distcheck'
23 DISTCHECK_CONFIGURE_FLAGS = --enable-bsdtar --enable-bsdcpio
24 # The next line is commented out by default in shipping libarchive releases.
25 # It is uncommented by default in trunk.
26 DEV_CFLAGS=-Werror -Wextra -Wunused -Wshadow -Wmissing-prototypes -Wcast-qual -g
27 AM_CFLAGS=$(DEV_CFLAGS)
28 PLATFORMCPPFLAGS = @PLATFORMCPPFLAGS@
29 AM_CPPFLAGS=$(PLATFORMCPPFLAGS)
32 # What to include in the distribution
38 build/bump-version.sh \
45 $(libarchive_EXTRA_DIST) \
46 $(libarchive_test_EXTRA_DIST) \
47 $(bsdtar_EXTRA_DIST) \
48 $(bsdtar_test_EXTRA_DIST) \
49 $(bsdcpio_EXTRA_DIST) \
50 $(bsdcpio_test_EXTRA_DIST) \
51 $(bsdcat_EXTRA_DIST) \
52 $(bsdcat_test_EXTRA_DIST)
54 # a) Clean out some unneeded files and directories
55 # b) Collect all documentation and format it for distribution.
57 rm -rf `find $(distdir) -name CVS -type d`
58 rm -rf `find $(distdir) -name .svn -type d`
59 rm -f `find $(distdir) -name '*~'`
60 rm -f `find $(distdir) -name '*.out'`
61 rm -f `find $(distdir) -name '*.core'`
62 -rm -f $(distdir)/*/Makefile $(distdir)/*/*/Makefile
63 cd $(distdir)/doc && /bin/sh update.sh
66 # Extra rules for cleanup
69 libarchive/test/list.h \
76 -rm -rf autom4te.cache/
78 -[ -f libarchive/Makefile ] && cd libarchive && make clean
79 -[ -f libarchive/test/Makefile ] && cd libarchive/test && make clean
80 -[ -f tar/Makefile ] && cd tar && make clean
81 -[ -f tar/test/Makefile ] && cd tar/test && make clean
82 -[ -f cpio/Makefile ] && cd cpio && make clean
83 -[ -f cpio/test/Makefile ] && cd cpio/test && make clean
84 -[ -f cat/Makefile ] && cd cat && make clean
85 -[ -f cpio/test/Makefile ] && cd cat/test && make clean
88 # Libarchive headers, source, etc.
92 include_HEADERS= libarchive/archive.h libarchive/archive_entry.h
94 libarchive_la_SOURCES= \
95 libarchive/archive_acl.c \
96 libarchive/archive_acl_private.h \
97 libarchive/archive_check_magic.c \
98 libarchive/archive_cmdline.c \
99 libarchive/archive_cmdline_private.h \
100 libarchive/archive_crc32.h \
101 libarchive/archive_cryptor.c \
102 libarchive/archive_cryptor_private.h \
103 libarchive/archive_digest.c \
104 libarchive/archive_digest_private.h \
105 libarchive/archive_endian.h \
106 libarchive/archive_entry.c \
107 libarchive/archive_entry.h \
108 libarchive/archive_entry_copy_stat.c \
109 libarchive/archive_entry_link_resolver.c \
110 libarchive/archive_entry_locale.h \
111 libarchive/archive_entry_private.h \
112 libarchive/archive_entry_sparse.c \
113 libarchive/archive_entry_stat.c \
114 libarchive/archive_entry_strmode.c \
115 libarchive/archive_entry_xattr.c \
116 libarchive/archive_getdate.c \
117 libarchive/archive_getdate.h \
118 libarchive/archive_hmac.c \
119 libarchive/archive_hmac_private.h \
120 libarchive/archive_match.c \
121 libarchive/archive_openssl_evp_private.h \
122 libarchive/archive_openssl_hmac_private.h \
123 libarchive/archive_options.c \
124 libarchive/archive_options_private.h \
125 libarchive/archive_pack_dev.h \
126 libarchive/archive_pack_dev.c \
127 libarchive/archive_pathmatch.c \
128 libarchive/archive_pathmatch.h \
129 libarchive/archive_platform.h \
130 libarchive/archive_platform_acl.h \
131 libarchive/archive_platform_xattr.h \
132 libarchive/archive_ppmd_private.h \
133 libarchive/archive_ppmd7.c \
134 libarchive/archive_ppmd7_private.h \
135 libarchive/archive_private.h \
136 libarchive/archive_random.c \
137 libarchive/archive_random_private.h \
138 libarchive/archive_rb.c \
139 libarchive/archive_rb.h \
140 libarchive/archive_read.c \
141 libarchive/archive_read_add_passphrase.c \
142 libarchive/archive_read_append_filter.c \
143 libarchive/archive_read_data_into_fd.c \
144 libarchive/archive_read_disk_entry_from_file.c \
145 libarchive/archive_read_disk_posix.c \
146 libarchive/archive_read_disk_private.h \
147 libarchive/archive_read_disk_set_standard_lookup.c \
148 libarchive/archive_read_extract.c \
149 libarchive/archive_read_extract2.c \
150 libarchive/archive_read_open_fd.c \
151 libarchive/archive_read_open_file.c \
152 libarchive/archive_read_open_filename.c \
153 libarchive/archive_read_open_memory.c \
154 libarchive/archive_read_private.h \
155 libarchive/archive_read_set_format.c \
156 libarchive/archive_read_set_options.c \
157 libarchive/archive_read_support_filter_all.c \
158 libarchive/archive_read_support_filter_bzip2.c \
159 libarchive/archive_read_support_filter_compress.c \
160 libarchive/archive_read_support_filter_grzip.c \
161 libarchive/archive_read_support_filter_gzip.c \
162 libarchive/archive_read_support_filter_lrzip.c \
163 libarchive/archive_read_support_filter_lz4.c \
164 libarchive/archive_read_support_filter_lzop.c \
165 libarchive/archive_read_support_filter_none.c \
166 libarchive/archive_read_support_filter_program.c \
167 libarchive/archive_read_support_filter_rpm.c \
168 libarchive/archive_read_support_filter_uu.c \
169 libarchive/archive_read_support_filter_xz.c \
170 libarchive/archive_read_support_format_7zip.c \
171 libarchive/archive_read_support_format_all.c \
172 libarchive/archive_read_support_format_ar.c \
173 libarchive/archive_read_support_format_by_code.c \
174 libarchive/archive_read_support_format_cab.c \
175 libarchive/archive_read_support_format_cpio.c \
176 libarchive/archive_read_support_format_empty.c \
177 libarchive/archive_read_support_format_iso9660.c \
178 libarchive/archive_read_support_format_lha.c \
179 libarchive/archive_read_support_format_mtree.c \
180 libarchive/archive_read_support_format_rar.c \
181 libarchive/archive_read_support_format_raw.c \
182 libarchive/archive_read_support_format_tar.c \
183 libarchive/archive_read_support_format_warc.c \
184 libarchive/archive_read_support_format_xar.c \
185 libarchive/archive_read_support_format_zip.c \
186 libarchive/archive_string.c \
187 libarchive/archive_string.h \
188 libarchive/archive_string_composition.h \
189 libarchive/archive_string_sprintf.c \
190 libarchive/archive_util.c \
191 libarchive/archive_version_details.c \
192 libarchive/archive_virtual.c \
193 libarchive/archive_write.c \
194 libarchive/archive_write_disk_posix.c \
195 libarchive/archive_write_disk_private.h \
196 libarchive/archive_write_disk_set_standard_lookup.c \
197 libarchive/archive_write_open_fd.c \
198 libarchive/archive_write_open_file.c \
199 libarchive/archive_write_open_filename.c \
200 libarchive/archive_write_open_memory.c \
201 libarchive/archive_write_private.h \
202 libarchive/archive_write_add_filter.c \
203 libarchive/archive_write_add_filter_b64encode.c \
204 libarchive/archive_write_add_filter_by_name.c \
205 libarchive/archive_write_add_filter_bzip2.c \
206 libarchive/archive_write_add_filter_compress.c \
207 libarchive/archive_write_add_filter_grzip.c \
208 libarchive/archive_write_add_filter_gzip.c \
209 libarchive/archive_write_add_filter_lrzip.c \
210 libarchive/archive_write_add_filter_lz4.c \
211 libarchive/archive_write_add_filter_lzop.c \
212 libarchive/archive_write_add_filter_none.c \
213 libarchive/archive_write_add_filter_program.c \
214 libarchive/archive_write_add_filter_uuencode.c \
215 libarchive/archive_write_add_filter_xz.c \
216 libarchive/archive_write_set_format.c \
217 libarchive/archive_write_set_format_7zip.c \
218 libarchive/archive_write_set_format_ar.c \
219 libarchive/archive_write_set_format_by_name.c \
220 libarchive/archive_write_set_format_cpio.c \
221 libarchive/archive_write_set_format_cpio_newc.c \
222 libarchive/archive_write_set_format_filter_by_ext.c \
223 libarchive/archive_write_set_format_iso9660.c \
224 libarchive/archive_write_set_format_mtree.c \
225 libarchive/archive_write_set_format_pax.c \
226 libarchive/archive_write_set_format_raw.c \
227 libarchive/archive_write_set_format_shar.c \
228 libarchive/archive_write_set_format_ustar.c \
229 libarchive/archive_write_set_format_v7tar.c \
230 libarchive/archive_write_set_format_gnutar.c \
231 libarchive/archive_write_set_format_warc.c \
232 libarchive/archive_write_set_format_xar.c \
233 libarchive/archive_write_set_format_zip.c \
234 libarchive/archive_write_set_options.c \
235 libarchive/archive_write_set_passphrase.c \
236 libarchive/archive_xxhash.h \
237 libarchive/config_freebsd.h \
238 libarchive/filter_fork_posix.c \
239 libarchive/filter_fork.h \
243 libarchive_la_SOURCES+= \
244 libarchive/archive_entry_copy_bhfi.c \
245 libarchive/archive_read_disk_windows.c \
246 libarchive/archive_windows.h \
247 libarchive/archive_windows.c \
248 libarchive/archive_write_disk_windows.c \
249 libarchive/filter_fork_windows.c
253 libarchive_la_SOURCES+= libarchive/archive_disk_acl_linux.c
256 libarchive_la_SOURCES+= libarchive/archive_disk_acl_sunos.c
259 libarchive_la_SOURCES+= libarchive/archive_disk_acl_darwin.c
262 libarchive_la_SOURCES+= libarchive/archive_disk_acl_freebsd.c
268 # -no-undefined marks that libarchive doesn't rely on symbols
269 # defined in the application. This is mandatory for cygwin.
270 libarchive_la_LDFLAGS= -no-undefined -version-info $(ARCHIVE_LIBTOOL_VERSION)
271 libarchive_la_LIBADD= $(LTLIBICONV)
273 # Manpages to install
274 libarchive_man_MANS= \
275 libarchive/archive_entry.3 \
276 libarchive/archive_entry_acl.3 \
277 libarchive/archive_entry_linkify.3 \
278 libarchive/archive_entry_paths.3 \
279 libarchive/archive_entry_perms.3 \
280 libarchive/archive_entry_stat.3 \
281 libarchive/archive_entry_time.3 \
282 libarchive/archive_read.3 \
283 libarchive/archive_read_add_passphrase.3 \
284 libarchive/archive_read_data.3 \
285 libarchive/archive_read_disk.3 \
286 libarchive/archive_read_extract.3 \
287 libarchive/archive_read_filter.3 \
288 libarchive/archive_read_format.3 \
289 libarchive/archive_read_free.3 \
290 libarchive/archive_read_header.3 \
291 libarchive/archive_read_new.3 \
292 libarchive/archive_read_open.3 \
293 libarchive/archive_read_set_options.3 \
294 libarchive/archive_util.3 \
295 libarchive/archive_write.3 \
296 libarchive/archive_write_blocksize.3 \
297 libarchive/archive_write_data.3 \
298 libarchive/archive_write_disk.3 \
299 libarchive/archive_write_filter.3 \
300 libarchive/archive_write_finish_entry.3 \
301 libarchive/archive_write_format.3 \
302 libarchive/archive_write_free.3 \
303 libarchive/archive_write_header.3 \
304 libarchive/archive_write_new.3 \
305 libarchive/archive_write_open.3 \
306 libarchive/archive_write_set_options.3 \
307 libarchive/archive_write_set_passphrase.3 \
309 libarchive/libarchive.3 \
310 libarchive/libarchive_changes.3 \
311 libarchive/libarchive_internals.3 \
312 libarchive/libarchive-formats.5 \
316 # Additional libarchive files to include in the distribution
317 libarchive_EXTRA_DIST= \
318 libarchive/archive_windows.c \
319 libarchive/archive_windows.h \
320 libarchive/filter_fork_windows.c \
321 libarchive/CMakeLists.txt \
322 $(libarchive_man_MANS)
325 pkgconfigdir = $(libdir)/pkgconfig
326 pkgconfig_DATA = build/pkgconfig/libarchive.pc
328 # Sources needed by all test programs
329 test_utils_SOURCES= \
330 test_utils/test_utils.c \
331 test_utils/test_utils.h \
332 test_utils/test_main.c \
333 test_utils/test_common.h
337 # libarchive_test program
340 libarchive_test_SOURCES= \
341 $(libarchive_la_SOURCES) \
342 $(test_utils_SOURCES) \
343 libarchive/test/read_open_memory.c \
344 libarchive/test/test.h \
345 libarchive/test/test_acl_nfs4.c \
346 libarchive/test/test_acl_pax.c \
347 libarchive/test/test_acl_platform_nfs4.c \
348 libarchive/test/test_acl_platform_posix1e.c \
349 libarchive/test/test_acl_posix1e.c \
350 libarchive/test/test_acl_text.c \
351 libarchive/test/test_archive_api_feature.c \
352 libarchive/test/test_archive_clear_error.c \
353 libarchive/test/test_archive_cmdline.c \
354 libarchive/test/test_archive_digest.c \
355 libarchive/test/test_archive_getdate.c \
356 libarchive/test/test_archive_match_owner.c \
357 libarchive/test/test_archive_match_path.c \
358 libarchive/test/test_archive_match_time.c \
359 libarchive/test/test_archive_pathmatch.c \
360 libarchive/test/test_archive_read_add_passphrase.c \
361 libarchive/test/test_archive_read_close_twice.c \
362 libarchive/test/test_archive_read_close_twice_open_fd.c \
363 libarchive/test/test_archive_read_close_twice_open_filename.c \
364 libarchive/test/test_archive_read_multiple_data_objects.c \
365 libarchive/test/test_archive_read_next_header_empty.c \
366 libarchive/test/test_archive_read_next_header_raw.c \
367 libarchive/test/test_archive_read_open2.c \
368 libarchive/test/test_archive_read_set_filter_option.c \
369 libarchive/test/test_archive_read_set_format_option.c \
370 libarchive/test/test_archive_read_set_option.c \
371 libarchive/test/test_archive_read_set_options.c \
372 libarchive/test/test_archive_read_support.c \
373 libarchive/test/test_archive_set_error.c \
374 libarchive/test/test_archive_string.c \
375 libarchive/test/test_archive_string_conversion.c \
376 libarchive/test/test_archive_write_add_filter_by_name.c \
377 libarchive/test/test_archive_write_set_filter_option.c \
378 libarchive/test/test_archive_write_set_format_by_name.c \
379 libarchive/test/test_archive_write_set_format_filter_by_ext.c \
380 libarchive/test/test_archive_write_set_format_option.c \
381 libarchive/test/test_archive_write_set_option.c \
382 libarchive/test/test_archive_write_set_options.c \
383 libarchive/test/test_archive_write_set_passphrase.c \
384 libarchive/test/test_bad_fd.c \
385 libarchive/test/test_compat_bzip2.c \
386 libarchive/test/test_compat_cpio.c \
387 libarchive/test/test_compat_gtar.c \
388 libarchive/test/test_compat_gzip.c \
389 libarchive/test/test_compat_lz4.c \
390 libarchive/test/test_compat_lzip.c \
391 libarchive/test/test_compat_lzma.c \
392 libarchive/test/test_compat_lzop.c \
393 libarchive/test/test_compat_mac.c \
394 libarchive/test/test_compat_pax_libarchive_2x.c \
395 libarchive/test/test_compat_perl_archive_tar.c \
396 libarchive/test/test_compat_plexus_archiver_tar.c \
397 libarchive/test/test_compat_solaris_tar_acl.c \
398 libarchive/test/test_compat_solaris_pax_sparse.c \
399 libarchive/test/test_compat_star_acl.c \
400 libarchive/test/test_compat_tar_hardlink.c \
401 libarchive/test/test_compat_uudecode.c \
402 libarchive/test/test_compat_uudecode_large.c \
403 libarchive/test/test_compat_xz.c \
404 libarchive/test/test_compat_zip.c \
405 libarchive/test/test_empty_write.c \
406 libarchive/test/test_entry.c \
407 libarchive/test/test_entry_strmode.c \
408 libarchive/test/test_extattr_freebsd.c \
409 libarchive/test/test_filter_count.c \
410 libarchive/test/test_fuzz.c \
411 libarchive/test/test_gnutar_filename_encoding.c \
412 libarchive/test/test_link_resolver.c \
413 libarchive/test/test_open_failure.c \
414 libarchive/test/test_open_fd.c \
415 libarchive/test/test_open_file.c \
416 libarchive/test/test_open_filename.c \
417 libarchive/test/test_pax_filename_encoding.c \
418 libarchive/test/test_read_data_large.c \
419 libarchive/test/test_read_disk.c \
420 libarchive/test/test_read_disk_directory_traversals.c \
421 libarchive/test/test_read_disk_entry_from_file.c \
422 libarchive/test/test_read_extract.c \
423 libarchive/test/test_read_file_nonexistent.c \
424 libarchive/test/test_read_filter_compress.c \
425 libarchive/test/test_read_filter_grzip.c \
426 libarchive/test/test_read_filter_lrzip.c \
427 libarchive/test/test_read_filter_lzop.c \
428 libarchive/test/test_read_filter_lzop_multiple_parts.c \
429 libarchive/test/test_read_filter_program.c \
430 libarchive/test/test_read_filter_program_signature.c \
431 libarchive/test/test_read_filter_uudecode.c \
432 libarchive/test/test_read_format_7zip.c \
433 libarchive/test/test_read_format_7zip_encryption_data.c \
434 libarchive/test/test_read_format_7zip_encryption_partially.c \
435 libarchive/test/test_read_format_7zip_encryption_header.c \
436 libarchive/test/test_read_format_7zip_malformed.c \
437 libarchive/test/test_read_format_ar.c \
438 libarchive/test/test_read_format_cab.c \
439 libarchive/test/test_read_format_cab_filename.c \
440 libarchive/test/test_read_format_cpio_afio.c \
441 libarchive/test/test_read_format_cpio_bin.c \
442 libarchive/test/test_read_format_cpio_bin_Z.c \
443 libarchive/test/test_read_format_cpio_bin_be.c \
444 libarchive/test/test_read_format_cpio_bin_bz2.c \
445 libarchive/test/test_read_format_cpio_bin_gz.c \
446 libarchive/test/test_read_format_cpio_bin_le.c \
447 libarchive/test/test_read_format_cpio_bin_lzip.c \
448 libarchive/test/test_read_format_cpio_bin_lzma.c \
449 libarchive/test/test_read_format_cpio_bin_xz.c \
450 libarchive/test/test_read_format_cpio_filename.c \
451 libarchive/test/test_read_format_cpio_odc.c \
452 libarchive/test/test_read_format_cpio_svr4_bzip2_rpm.c \
453 libarchive/test/test_read_format_cpio_svr4_gzip.c \
454 libarchive/test/test_read_format_cpio_svr4_gzip_rpm.c \
455 libarchive/test/test_read_format_cpio_svr4c_Z.c \
456 libarchive/test/test_read_format_empty.c \
457 libarchive/test/test_read_format_gtar_filename.c \
458 libarchive/test/test_read_format_gtar_gz.c \
459 libarchive/test/test_read_format_gtar_lzma.c \
460 libarchive/test/test_read_format_gtar_sparse.c \
461 libarchive/test/test_read_format_gtar_sparse_skip_entry.c \
462 libarchive/test/test_read_format_iso_Z.c \
463 libarchive/test/test_read_format_iso_multi_extent.c \
464 libarchive/test/test_read_format_iso_xorriso.c \
465 libarchive/test/test_read_format_isojoliet_bz2.c \
466 libarchive/test/test_read_format_isojoliet_long.c \
467 libarchive/test/test_read_format_isojoliet_rr.c \
468 libarchive/test/test_read_format_isojoliet_versioned.c \
469 libarchive/test/test_read_format_isorr_bz2.c \
470 libarchive/test/test_read_format_isorr_ce.c \
471 libarchive/test/test_read_format_isorr_new_bz2.c \
472 libarchive/test/test_read_format_isorr_rr_moved.c \
473 libarchive/test/test_read_format_isozisofs_bz2.c \
474 libarchive/test/test_read_format_lha.c \
475 libarchive/test/test_read_format_lha_bugfix_0.c \
476 libarchive/test/test_read_format_lha_filename.c \
477 libarchive/test/test_read_format_mtree.c \
478 libarchive/test/test_read_format_mtree_crash747.c \
479 libarchive/test/test_read_format_pax_bz2.c \
480 libarchive/test/test_read_format_rar.c \
481 libarchive/test/test_read_format_rar_encryption_data.c \
482 libarchive/test/test_read_format_rar_encryption_partially.c \
483 libarchive/test/test_read_format_rar_encryption_header.c \
484 libarchive/test/test_read_format_rar_invalid1.c \
485 libarchive/test/test_read_format_raw.c \
486 libarchive/test/test_read_format_tar.c \
487 libarchive/test/test_read_format_tar_concatenated.c \
488 libarchive/test/test_read_format_tar_empty_pax.c \
489 libarchive/test/test_read_format_tar_empty_filename.c \
490 libarchive/test/test_read_format_tar_filename.c \
491 libarchive/test/test_read_format_tbz.c \
492 libarchive/test/test_read_format_tgz.c \
493 libarchive/test/test_read_format_tlz.c \
494 libarchive/test/test_read_format_txz.c \
495 libarchive/test/test_read_format_tz.c \
496 libarchive/test/test_read_format_ustar_filename.c \
497 libarchive/test/test_read_format_warc.c \
498 libarchive/test/test_read_format_xar.c \
499 libarchive/test/test_read_format_zip.c \
500 libarchive/test/test_read_format_zip_comment_stored.c \
501 libarchive/test/test_read_format_zip_encryption_data.c \
502 libarchive/test/test_read_format_zip_encryption_partially.c \
503 libarchive/test/test_read_format_zip_encryption_header.c \
504 libarchive/test/test_read_format_zip_filename.c \
505 libarchive/test/test_read_format_zip_high_compression.c \
506 libarchive/test/test_read_format_zip_jar.c \
507 libarchive/test/test_read_format_zip_mac_metadata.c \
508 libarchive/test/test_read_format_zip_malformed.c \
509 libarchive/test/test_read_format_zip_msdos.c \
510 libarchive/test/test_read_format_zip_nested.c \
511 libarchive/test/test_read_format_zip_nofiletype.c \
512 libarchive/test/test_read_format_zip_padded.c \
513 libarchive/test/test_read_format_zip_sfx.c \
514 libarchive/test/test_read_format_zip_traditional_encryption_data.c \
515 libarchive/test/test_read_format_zip_winzip_aes.c \
516 libarchive/test/test_read_format_zip_winzip_aes_large.c \
517 libarchive/test/test_read_format_zip_zip64.c \
518 libarchive/test/test_read_format_zip_with_invalid_traditional_eocd.c \
519 libarchive/test/test_read_large.c \
520 libarchive/test/test_read_pax_schily_xattr.c \
521 libarchive/test/test_read_pax_truncated.c \
522 libarchive/test/test_read_position.c \
523 libarchive/test/test_read_set_format.c \
524 libarchive/test/test_read_too_many_filters.c \
525 libarchive/test/test_read_truncated.c \
526 libarchive/test/test_read_truncated_filter.c \
527 libarchive/test/test_sparse_basic.c \
528 libarchive/test/test_tar_filenames.c \
529 libarchive/test/test_tar_large.c \
530 libarchive/test/test_ustar_filenames.c \
531 libarchive/test/test_ustar_filename_encoding.c \
532 libarchive/test/test_warn_missing_hardlink_target.c \
533 libarchive/test/test_write_disk.c \
534 libarchive/test/test_write_disk_appledouble.c \
535 libarchive/test/test_write_disk_failures.c \
536 libarchive/test/test_write_disk_hardlink.c \
537 libarchive/test/test_write_disk_hfs_compression.c \
538 libarchive/test/test_write_disk_lookup.c \
539 libarchive/test/test_write_disk_mac_metadata.c \
540 libarchive/test/test_write_disk_no_hfs_compression.c \
541 libarchive/test/test_write_disk_perms.c \
542 libarchive/test/test_write_disk_secure.c \
543 libarchive/test/test_write_disk_secure744.c \
544 libarchive/test/test_write_disk_secure745.c \
545 libarchive/test/test_write_disk_secure746.c \
546 libarchive/test/test_write_disk_sparse.c \
547 libarchive/test/test_write_disk_symlink.c \
548 libarchive/test/test_write_disk_times.c \
549 libarchive/test/test_write_filter_b64encode.c \
550 libarchive/test/test_write_filter_bzip2.c \
551 libarchive/test/test_write_filter_compress.c \
552 libarchive/test/test_write_filter_gzip.c \
553 libarchive/test/test_write_filter_gzip_timestamp.c \
554 libarchive/test/test_write_filter_lrzip.c \
555 libarchive/test/test_write_filter_lz4.c \
556 libarchive/test/test_write_filter_lzip.c \
557 libarchive/test/test_write_filter_lzma.c \
558 libarchive/test/test_write_filter_lzop.c \
559 libarchive/test/test_write_filter_program.c \
560 libarchive/test/test_write_filter_uuencode.c \
561 libarchive/test/test_write_filter_xz.c \
562 libarchive/test/test_write_format_7zip.c \
563 libarchive/test/test_write_format_7zip_empty.c \
564 libarchive/test/test_write_format_7zip_large.c \
565 libarchive/test/test_write_format_ar.c \
566 libarchive/test/test_write_format_cpio.c \
567 libarchive/test/test_write_format_cpio_empty.c \
568 libarchive/test/test_write_format_cpio_newc.c \
569 libarchive/test/test_write_format_cpio_odc.c \
570 libarchive/test/test_write_format_gnutar.c \
571 libarchive/test/test_write_format_gnutar_filenames.c \
572 libarchive/test/test_write_format_iso9660.c \
573 libarchive/test/test_write_format_iso9660_boot.c \
574 libarchive/test/test_write_format_iso9660_empty.c \
575 libarchive/test/test_write_format_iso9660_filename.c \
576 libarchive/test/test_write_format_iso9660_zisofs.c \
577 libarchive/test/test_write_format_mtree.c \
578 libarchive/test/test_write_format_mtree_absolute_path.c \
579 libarchive/test/test_write_format_mtree_classic.c \
580 libarchive/test/test_write_format_mtree_classic_indent.c\
581 libarchive/test/test_write_format_mtree_fflags.c \
582 libarchive/test/test_write_format_mtree_no_separator.c \
583 libarchive/test/test_write_format_mtree_quoted_filename.c\
584 libarchive/test/test_write_format_pax.c \
585 libarchive/test/test_write_format_raw.c \
586 libarchive/test/test_write_format_raw_b64.c \
587 libarchive/test/test_write_format_shar_empty.c \
588 libarchive/test/test_write_format_tar.c \
589 libarchive/test/test_write_format_tar_empty.c \
590 libarchive/test/test_write_format_tar_sparse.c \
591 libarchive/test/test_write_format_tar_ustar.c \
592 libarchive/test/test_write_format_tar_v7tar.c \
593 libarchive/test/test_write_format_warc.c \
594 libarchive/test/test_write_format_warc_empty.c \
595 libarchive/test/test_write_format_xar.c \
596 libarchive/test/test_write_format_xar_empty.c \
597 libarchive/test/test_write_format_zip.c \
598 libarchive/test/test_write_format_zip_compression_store.c \
599 libarchive/test/test_write_format_zip_empty.c \
600 libarchive/test/test_write_format_zip_empty_zip64.c \
601 libarchive/test/test_write_format_zip_file.c \
602 libarchive/test/test_write_format_zip_file_zip64.c \
603 libarchive/test/test_write_format_zip_large.c \
604 libarchive/test/test_write_format_zip_zip64.c \
605 libarchive/test/test_write_open_memory.c \
606 libarchive/test/test_write_read_format_zip.c \
607 libarchive/test/test_xattr_platform.c \
608 libarchive/test/test_zip_filename_encoding.c
610 libarchive_test_CPPFLAGS= \
611 -I$(top_srcdir)/libarchive \
612 -I$(top_srcdir)/libarchive/test \
613 -I$(top_srcdir)/test_utils \
614 -I$(top_builddir)/libarchive/test \
615 -DLIBARCHIVE_STATIC $(PLATFORMCPPFLAGS)
617 libarchive_test_LDADD= $(LTLIBICONV)
619 # The "list.h" file just lists all of the tests defined in all of the sources.
620 # Building it automatically provides a sanity-check on libarchive_test_SOURCES
622 libarchive/test/list.h: Makefile
623 $(MKDIR_P) libarchive/test
624 cat $(top_srcdir)/libarchive/test/test_*.c | grep '^DEFINE_TEST' > libarchive/test/list.h
626 libarchive_TESTS_ENVIRONMENT= LIBARCHIVE_TEST_FILES=`cd $(top_srcdir);/bin/pwd`/libarchive/test LRZIP=NOCONFIG
628 libarchive_test_EXTRA_DIST=\
629 libarchive/test/list.h \
630 libarchive/test/test_acl_pax_posix1e.tar.uu \
631 libarchive/test/test_acl_pax_nfs4.tar.uu \
632 libarchive/test/test_archive_string_conversion.txt.Z.uu \
633 libarchive/test/test_compat_bzip2_1.tbz.uu \
634 libarchive/test/test_compat_bzip2_2.tbz.uu \
635 libarchive/test/test_compat_cpio_1.cpio.uu \
636 libarchive/test/test_compat_gtar_1.tar.uu \
637 libarchive/test/test_compat_gtar_2.tar.uu \
638 libarchive/test/test_compat_gzip_1.tgz.uu \
639 libarchive/test/test_compat_gzip_2.tgz.uu \
640 libarchive/test/test_compat_lz4_1.tar.lz4.uu \
641 libarchive/test/test_compat_lz4_2.tar.lz4.uu \
642 libarchive/test/test_compat_lz4_3.tar.lz4.uu \
643 libarchive/test/test_compat_lz4_B4.tar.lz4.uu \
644 libarchive/test/test_compat_lz4_B4BD.tar.lz4.uu \
645 libarchive/test/test_compat_lz4_B4BDBX.tar.lz4.uu \
646 libarchive/test/test_compat_lz4_B5.tar.lz4.uu \
647 libarchive/test/test_compat_lz4_B5BD.tar.lz4.uu \
648 libarchive/test/test_compat_lz4_B6.tar.lz4.uu \
649 libarchive/test/test_compat_lz4_B6BD.tar.lz4.uu \
650 libarchive/test/test_compat_lz4_B7.tar.lz4.uu \
651 libarchive/test/test_compat_lz4_B7BD.tar.lz4.uu \
652 libarchive/test/test_compat_lzip_1.tlz.uu \
653 libarchive/test/test_compat_lzip_2.tlz.uu \
654 libarchive/test/test_compat_lzma_1.tlz.uu \
655 libarchive/test/test_compat_lzma_2.tlz.uu \
656 libarchive/test/test_compat_lzma_3.tlz.uu \
657 libarchive/test/test_compat_lzop_1.tar.lzo.uu \
658 libarchive/test/test_compat_lzop_2.tar.lzo.uu \
659 libarchive/test/test_compat_lzop_3.tar.lzo.uu \
660 libarchive/test/test_compat_mac-1.tar.Z.uu \
661 libarchive/test/test_compat_mac-2.tar.Z.uu \
662 libarchive/test/test_compat_pax_libarchive_2x.tar.Z.uu \
663 libarchive/test/test_compat_perl_archive_tar.tar.uu \
664 libarchive/test/test_compat_plexus_archiver_tar.tar.uu \
665 libarchive/test/test_compat_solaris_pax_sparse_1.pax.Z.uu \
666 libarchive/test/test_compat_solaris_pax_sparse_2.pax.Z.uu \
667 libarchive/test/test_compat_solaris_tar_acl.tar.uu \
668 libarchive/test/test_compat_star_acl_nfs4.tar.uu \
669 libarchive/test/test_compat_star_acl_posix1e.tar.uu \
670 libarchive/test/test_compat_tar_hardlink_1.tar.uu \
671 libarchive/test/test_compat_uudecode_large.tar.Z.uu \
672 libarchive/test/test_compat_xz_1.txz.uu \
673 libarchive/test/test_compat_zip_1.zip.uu \
674 libarchive/test/test_compat_zip_2.zip.uu \
675 libarchive/test/test_compat_zip_3.zip.uu \
676 libarchive/test/test_compat_zip_4.zip.uu \
677 libarchive/test/test_compat_zip_5.zip.uu \
678 libarchive/test/test_compat_zip_6.zip.uu \
679 libarchive/test/test_compat_zip_7.xps.uu \
680 libarchive/test/test_fuzz.cab.uu \
681 libarchive/test/test_fuzz.lzh.uu \
682 libarchive/test/test_fuzz_1.iso.Z.uu \
683 libarchive/test/test_pax_filename_encoding.tar.uu \
684 libarchive/test/test_rar_multivolume_multiple_files.part1.rar.uu \
685 libarchive/test/test_rar_multivolume_multiple_files.part2.rar.uu \
686 libarchive/test/test_rar_multivolume_multiple_files.part3.rar.uu \
687 libarchive/test/test_rar_multivolume_multiple_files.part4.rar.uu \
688 libarchive/test/test_rar_multivolume_multiple_files.part5.rar.uu \
689 libarchive/test/test_rar_multivolume_multiple_files.part6.rar.uu \
690 libarchive/test/test_rar_multivolume_single_file.part1.rar.uu \
691 libarchive/test/test_rar_multivolume_single_file.part2.rar.uu \
692 libarchive/test/test_rar_multivolume_single_file.part3.rar.uu \
693 libarchive/test/test_rar_multivolume_uncompressed_files.part01.rar.uu \
694 libarchive/test/test_rar_multivolume_uncompressed_files.part02.rar.uu \
695 libarchive/test/test_rar_multivolume_uncompressed_files.part03.rar.uu \
696 libarchive/test/test_rar_multivolume_uncompressed_files.part04.rar.uu \
697 libarchive/test/test_rar_multivolume_uncompressed_files.part05.rar.uu \
698 libarchive/test/test_rar_multivolume_uncompressed_files.part06.rar.uu \
699 libarchive/test/test_rar_multivolume_uncompressed_files.part07.rar.uu \
700 libarchive/test/test_rar_multivolume_uncompressed_files.part08.rar.uu \
701 libarchive/test/test_rar_multivolume_uncompressed_files.part09.rar.uu \
702 libarchive/test/test_rar_multivolume_uncompressed_files.part10.rar.uu \
703 libarchive/test/test_read_filter_grzip.tar.grz.uu \
704 libarchive/test/test_read_filter_lrzip.tar.lrz.uu \
705 libarchive/test/test_read_filter_lzop.tar.lzo.uu \
706 libarchive/test/test_read_filter_lzop_multiple_parts.tar.lzo.uu \
707 libarchive/test/test_read_format_mtree_crash747.mtree.bz2.uu \
708 libarchive/test/test_read_format_7zip_bcj2_bzip2.7z.uu \
709 libarchive/test/test_read_format_7zip_bcj2_copy_1.7z.uu \
710 libarchive/test/test_read_format_7zip_bcj2_copy_2.7z.uu \
711 libarchive/test/test_read_format_7zip_bcj2_copy_lzma.7z.uu \
712 libarchive/test/test_read_format_7zip_bcj2_deflate.7z.uu \
713 libarchive/test/test_read_format_7zip_bcj2_lzma1_1.7z.uu \
714 libarchive/test/test_read_format_7zip_bcj2_lzma1_2.7z.uu \
715 libarchive/test/test_read_format_7zip_bcj2_lzma2_1.7z.uu \
716 libarchive/test/test_read_format_7zip_bcj2_lzma2_2.7z.uu \
717 libarchive/test/test_read_format_7zip_bcj_bzip2.7z.uu \
718 libarchive/test/test_read_format_7zip_bcj_copy.7z.uu \
719 libarchive/test/test_read_format_7zip_bcj_deflate.7z.uu \
720 libarchive/test/test_read_format_7zip_bcj_lzma1.7z.uu \
721 libarchive/test/test_read_format_7zip_bcj_lzma2.7z.uu \
722 libarchive/test/test_read_format_7zip_bzip2.7z.uu \
723 libarchive/test/test_read_format_7zip_copy.7z.uu \
724 libarchive/test/test_read_format_7zip_copy_2.7z.uu \
725 libarchive/test/test_read_format_7zip_deflate.7z.uu \
726 libarchive/test/test_read_format_7zip_delta_lzma1.7z.uu \
727 libarchive/test/test_read_format_7zip_delta_lzma2.7z.uu \
728 libarchive/test/test_read_format_7zip_empty_archive.7z.uu \
729 libarchive/test/test_read_format_7zip_empty_file.7z.uu \
730 libarchive/test/test_read_format_7zip_encryption.7z.uu \
731 libarchive/test/test_read_format_7zip_encryption_header.7z.uu \
732 libarchive/test/test_read_format_7zip_encryption_partially.7z.uu \
733 libarchive/test/test_read_format_7zip_lzma1.7z.uu \
734 libarchive/test/test_read_format_7zip_lzma1_2.7z.uu \
735 libarchive/test/test_read_format_7zip_lzma1_lzma2.7z.uu \
736 libarchive/test/test_read_format_7zip_lzma2.7z.uu \
737 libarchive/test/test_read_format_7zip_malformed.7z.uu \
738 libarchive/test/test_read_format_7zip_malformed2.7z.uu \
739 libarchive/test/test_read_format_7zip_ppmd.7z.uu \
740 libarchive/test/test_read_format_7zip_symbolic_name.7z.uu \
741 libarchive/test/test_read_format_ar.ar.uu \
742 libarchive/test/test_read_format_cab_1.cab.uu \
743 libarchive/test/test_read_format_cab_2.cab.uu \
744 libarchive/test/test_read_format_cab_3.cab.uu \
745 libarchive/test/test_read_format_cab_filename_cp932.cab.uu \
746 libarchive/test/test_read_format_cpio_bin_be.cpio.uu \
747 libarchive/test/test_read_format_cpio_bin_le.cpio.uu \
748 libarchive/test/test_read_format_cpio_filename_cp866.cpio.uu \
749 libarchive/test/test_read_format_cpio_filename_eucjp.cpio.uu \
750 libarchive/test/test_read_format_cpio_filename_koi8r.cpio.uu \
751 libarchive/test/test_read_format_cpio_filename_utf8_jp.cpio.uu \
752 libarchive/test/test_read_format_cpio_filename_utf8_ru.cpio.uu \
753 libarchive/test/test_read_format_cpio_svr4_bzip2_rpm.rpm.uu \
754 libarchive/test/test_read_format_cpio_svr4_gzip_rpm.rpm.uu \
755 libarchive/test/test_read_format_gtar_filename_cp866.tar.Z.uu \
756 libarchive/test/test_read_format_gtar_filename_eucjp.tar.Z.uu \
757 libarchive/test/test_read_format_gtar_filename_koi8r.tar.Z.uu \
758 libarchive/test/test_read_format_gtar_sparse_1_13.tar.uu \
759 libarchive/test/test_read_format_gtar_sparse_1_17.tar.uu \
760 libarchive/test/test_read_format_gtar_sparse_1_17_posix00.tar.uu \
761 libarchive/test/test_read_format_gtar_sparse_1_17_posix01.tar.uu \
762 libarchive/test/test_read_format_gtar_sparse_1_17_posix10.tar.uu \
763 libarchive/test/test_read_format_gtar_sparse_1_17_posix10_modified.tar.uu \
764 libarchive/test/test_read_format_gtar_sparse_skip_entry.tar.Z.uu \
765 libarchive/test/test_read_format_iso.iso.Z.uu \
766 libarchive/test/test_read_format_iso_2.iso.Z.uu \
767 libarchive/test/test_read_format_iso_joliet.iso.Z.uu \
768 libarchive/test/test_read_format_iso_joliet_by_nero.iso.Z.uu \
769 libarchive/test/test_read_format_iso_joliet_long.iso.Z.uu \
770 libarchive/test/test_read_format_iso_joliet_rockridge.iso.Z.uu \
771 libarchive/test/test_read_format_iso_multi_extent.iso.Z.uu \
772 libarchive/test/test_read_format_iso_rockridge.iso.Z.uu \
773 libarchive/test/test_read_format_iso_rockridge_ce.iso.Z.uu \
774 libarchive/test/test_read_format_iso_rockridge_new.iso.Z.uu \
775 libarchive/test/test_read_format_iso_rockridge_rr_moved.iso.Z.uu \
776 libarchive/test/test_read_format_iso_xorriso.iso.Z.uu \
777 libarchive/test/test_read_format_iso_zisofs.iso.Z.uu \
778 libarchive/test/test_read_format_lha_bugfix_0.lzh.uu \
779 libarchive/test/test_read_format_lha_filename_cp932.lzh.uu \
780 libarchive/test/test_read_format_lha_header0.lzh.uu \
781 libarchive/test/test_read_format_lha_header1.lzh.uu \
782 libarchive/test/test_read_format_lha_header2.lzh.uu \
783 libarchive/test/test_read_format_lha_header3.lzh.uu \
784 libarchive/test/test_read_format_lha_lh0.lzh.uu \
785 libarchive/test/test_read_format_lha_lh6.lzh.uu \
786 libarchive/test/test_read_format_lha_lh7.lzh.uu \
787 libarchive/test/test_read_format_lha_withjunk.lzh.uu \
788 libarchive/test/test_read_format_mtree.mtree.uu \
789 libarchive/test/test_read_format_mtree_nomagic.mtree.uu \
790 libarchive/test/test_read_format_mtree_nomagic2.mtree.uu \
791 libarchive/test/test_read_format_mtree_nomagic3.mtree.uu \
792 libarchive/test/test_read_format_rar.rar.uu \
793 libarchive/test/test_read_format_rar_binary_data.rar.uu \
794 libarchive/test/test_read_format_rar_compress_best.rar.uu \
795 libarchive/test/test_read_format_rar_compress_normal.rar.uu \
796 libarchive/test/test_read_format_rar_encryption_data.rar.uu \
797 libarchive/test/test_read_format_rar_encryption_header.rar.uu \
798 libarchive/test/test_read_format_rar_encryption_partially.rar.uu \
799 libarchive/test/test_read_format_rar_invalid1.rar.uu \
800 libarchive/test/test_read_format_rar_multi_lzss_blocks.rar.uu \
801 libarchive/test/test_read_format_rar_multivolume.part0001.rar.uu \
802 libarchive/test/test_read_format_rar_multivolume.part0002.rar.uu \
803 libarchive/test/test_read_format_rar_multivolume.part0003.rar.uu \
804 libarchive/test/test_read_format_rar_multivolume.part0004.rar.uu \
805 libarchive/test/test_read_format_rar_noeof.rar.uu \
806 libarchive/test/test_read_format_rar_ppmd_lzss_conversion.rar.uu \
807 libarchive/test/test_read_format_rar_sfx.exe.uu \
808 libarchive/test/test_read_format_rar_subblock.rar.uu \
809 libarchive/test/test_read_format_rar_unicode.rar.uu \
810 libarchive/test/test_read_format_rar_windows.rar.uu \
811 libarchive/test/test_read_format_raw.bufr.uu \
812 libarchive/test/test_read_format_raw.data.Z.uu \
813 libarchive/test/test_read_format_raw.data.uu \
814 libarchive/test/test_read_format_tar_concatenated.tar.uu \
815 libarchive/test/test_read_format_tar_empty_filename.tar.uu \
816 libarchive/test/test_read_format_tar_empty_pax.tar.Z.uu \
817 libarchive/test/test_read_format_tar_filename_koi8r.tar.Z.uu \
818 libarchive/test/test_read_format_ustar_filename_cp866.tar.Z.uu \
819 libarchive/test/test_read_format_ustar_filename_eucjp.tar.Z.uu \
820 libarchive/test/test_read_format_ustar_filename_koi8r.tar.Z.uu \
821 libarchive/test/test_read_format_warc.warc.uu \
822 libarchive/test/test_read_format_zip.zip.uu \
823 libarchive/test/test_read_format_zip_comment_stored_1.zip.uu \
824 libarchive/test/test_read_format_zip_comment_stored_2.zip.uu \
825 libarchive/test/test_read_format_zip_encryption_data.zip.uu \
826 libarchive/test/test_read_format_zip_encryption_header.zip.uu \
827 libarchive/test/test_read_format_zip_encryption_partially.zip.uu \
828 libarchive/test/test_read_format_zip_filename_cp866.zip.uu \
829 libarchive/test/test_read_format_zip_filename_cp932.zip.uu \
830 libarchive/test/test_read_format_zip_filename_koi8r.zip.uu \
831 libarchive/test/test_read_format_zip_filename_utf8_jp.zip.uu \
832 libarchive/test/test_read_format_zip_filename_utf8_ru.zip.uu \
833 libarchive/test/test_read_format_zip_filename_utf8_ru2.zip.uu \
834 libarchive/test/test_read_format_zip_high_compression.zip.uu \
835 libarchive/test/test_read_format_zip_length_at_end.zip.uu \
836 libarchive/test/test_read_format_zip_jar.jar.uu \
837 libarchive/test/test_read_format_zip_mac_metadata.zip.uu \
838 libarchive/test/test_read_format_zip_malformed1.zip.uu \
839 libarchive/test/test_read_format_zip_msdos.zip.uu \
840 libarchive/test/test_read_format_zip_nested.zip.uu \
841 libarchive/test/test_read_format_zip_nofiletype.zip.uu \
842 libarchive/test/test_read_format_zip_padded1.zip.uu \
843 libarchive/test/test_read_format_zip_padded2.zip.uu \
844 libarchive/test/test_read_format_zip_padded3.zip.uu \
845 libarchive/test/test_read_format_zip_sfx.uu \
846 libarchive/test/test_read_format_zip_symlink.zip.uu \
847 libarchive/test/test_read_format_zip_traditional_encryption_data.zip.uu \
848 libarchive/test/test_read_format_zip_ux.zip.uu \
849 libarchive/test/test_read_format_zip_winzip_aes128.zip.uu \
850 libarchive/test/test_read_format_zip_winzip_aes256.zip.uu \
851 libarchive/test/test_read_format_zip_winzip_aes256_large.zip.uu \
852 libarchive/test/test_read_format_zip_winzip_aes256_stored.zip.uu \
853 libarchive/test/test_read_format_zip_with_invalid_traditional_eocd.zip.uu \
854 libarchive/test/test_read_format_zip_zip64a.zip.uu \
855 libarchive/test/test_read_format_zip_zip64b.zip.uu \
856 libarchive/test/test_read_large_splitted_rar_aa.uu \
857 libarchive/test/test_read_large_splitted_rar_ab.uu \
858 libarchive/test/test_read_large_splitted_rar_ac.uu \
859 libarchive/test/test_read_large_splitted_rar_ad.uu \
860 libarchive/test/test_read_large_splitted_rar_ae.uu \
861 libarchive/test/test_read_pax_schily_xattr.tar.uu \
862 libarchive/test/test_read_splitted_rar_aa.uu \
863 libarchive/test/test_read_splitted_rar_ab.uu \
864 libarchive/test/test_read_splitted_rar_ac.uu \
865 libarchive/test/test_read_splitted_rar_ad.uu \
866 libarchive/test/test_read_too_many_filters.gz.uu \
867 libarchive/test/test_splitted_rar_seek_support_aa.uu \
868 libarchive/test/test_splitted_rar_seek_support_ab.uu \
869 libarchive/test/test_splitted_rar_seek_support_ac.uu \
870 libarchive/test/test_write_disk_appledouble.cpio.gz.uu \
871 libarchive/test/test_write_disk_hfs_compression.tgz.uu \
872 libarchive/test/test_write_disk_mac_metadata.tar.gz.uu \
873 libarchive/test/test_write_disk_no_hfs_compression.tgz.uu \
874 libarchive/test/CMakeLists.txt \
875 libarchive/test/README
878 # Common code for libarchive frontends (cpio, tar)
880 libarchive_fe_la_SOURCES= \
881 libarchive_fe/err.c \
882 libarchive_fe/err.h \
883 libarchive_fe/lafe_platform.h \
884 libarchive_fe/line_reader.c \
885 libarchive_fe/line_reader.h \
886 libarchive_fe/passphrase.c \
887 libarchive_fe/passphrase.h
889 libarchive_fe_la_CPPFLAGS= -I$(top_srcdir)/libarchive
892 # bsdtar source, docs, etc.
899 tar/bsdtar_platform.h \
909 tar/bsdtar_windows.h \
913 bsdtar_DEPENDENCIES= libarchive.la libarchive_fe.la
916 bsdtar_ldstatic= -static
917 bsdtar_ccstatic= -DLIBARCHIVE_STATIC
923 bsdtar_LDADD= libarchive.la libarchive_fe.la $(LTLIBICONV)
924 bsdtar_CPPFLAGS= -I$(top_srcdir)/libarchive -I$(top_srcdir)/libarchive_fe $(bsdtar_ccstatic) $(PLATFORMCPPFLAGS)
925 bsdtar_LDFLAGS= $(bsdtar_ldstatic)
929 tar/bsdtar_windows.h \
930 tar/bsdtar_windows.c \
936 bsdtar_man_MANS= tar/bsdtar.1
937 bsdtar_programs= bsdtar
947 bsdtar_test_SOURCES= \
948 $(test_utils_SOURCES) \
951 tar/test/test_basic.c \
952 tar/test/test_copy.c \
953 tar/test/test_empty_mtree.c \
954 tar/test/test_extract_tar_Z.c \
955 tar/test/test_extract_tar_bz2.c \
956 tar/test/test_extract_tar_grz.c \
957 tar/test/test_extract_tar_gz.c \
958 tar/test/test_extract_tar_lrz.c \
959 tar/test/test_extract_tar_lz.c \
960 tar/test/test_extract_tar_lz4.c \
961 tar/test/test_extract_tar_lzma.c \
962 tar/test/test_extract_tar_lzo.c \
963 tar/test/test_extract_tar_xz.c \
964 tar/test/test_format_newc.c \
965 tar/test/test_help.c \
966 tar/test/test_leading_slash.c \
967 tar/test/test_missing_file.c \
968 tar/test/test_option_C_upper.c \
969 tar/test/test_option_H_upper.c \
970 tar/test/test_option_L_upper.c \
971 tar/test/test_option_O_upper.c \
972 tar/test/test_option_T_upper.c \
973 tar/test/test_option_U_upper.c \
974 tar/test/test_option_X_upper.c \
975 tar/test/test_option_acls.c \
976 tar/test/test_option_a.c \
977 tar/test/test_option_b.c \
978 tar/test/test_option_b64encode.c \
979 tar/test/test_option_exclude.c \
980 tar/test/test_option_fflags.c \
981 tar/test/test_option_gid_gname.c \
982 tar/test/test_option_grzip.c \
983 tar/test/test_option_j.c \
984 tar/test/test_option_k.c \
985 tar/test/test_option_keep_newer_files.c \
986 tar/test/test_option_lrzip.c \
987 tar/test/test_option_lz4.c \
988 tar/test/test_option_lzma.c \
989 tar/test/test_option_lzop.c \
990 tar/test/test_option_n.c \
991 tar/test/test_option_newer_than.c \
992 tar/test/test_option_nodump.c \
993 tar/test/test_option_older_than.c \
994 tar/test/test_option_passphrase.c \
995 tar/test/test_option_q.c \
996 tar/test/test_option_r.c \
997 tar/test/test_option_s.c \
998 tar/test/test_option_uid_uname.c \
999 tar/test/test_option_uuencode.c \
1000 tar/test/test_option_xattrs.c \
1001 tar/test/test_option_xz.c \
1002 tar/test/test_option_z.c \
1003 tar/test/test_patterns.c \
1004 tar/test/test_print_longpath.c \
1005 tar/test/test_stdio.c \
1006 tar/test/test_strip_components.c \
1007 tar/test/test_symlink_dir.c \
1008 tar/test/test_version.c \
1009 tar/test/test_windows.c
1011 bsdtar_test_CPPFLAGS=\
1012 -I$(top_srcdir)/libarchive -I$(top_srcdir)/libarchive_fe \
1013 -I$(top_srcdir)/test_utils \
1014 -I$(top_srcdir)/tar -I$(top_srcdir)/tar/test \
1015 -I$(top_builddir)/tar/test \
1018 tar/test/list.h: Makefile
1020 cat $(top_srcdir)/tar/test/test_*.c | grep '^DEFINE_TEST' > tar/test/list.h
1023 bsdtar_test_programs= bsdtar_test
1024 bsdtar_TESTS_ENVIRONMENT= BSDTAR=`cd $(top_builddir);/bin/pwd`/bsdtar$(EXEEXT) BSDTAR_TEST_FILES=`cd $(top_srcdir);/bin/pwd`/tar/test
1026 bsdtar_test_programs=
1027 bsdtar_TESTS_ENVIRONMENT=
1030 bsdtar_test_EXTRA_DIST= \
1032 tar/test/test_extract.tar.Z.uu \
1033 tar/test/test_extract.tar.bz2.uu \
1034 tar/test/test_extract.tar.grz.uu \
1035 tar/test/test_extract.tar.gz.uu \
1036 tar/test/test_extract.tar.lrz.uu \
1037 tar/test/test_extract.tar.lz.uu \
1038 tar/test/test_extract.tar.lz4.uu \
1039 tar/test/test_extract.tar.lzma.uu \
1040 tar/test/test_extract.tar.lzo.uu \
1041 tar/test/test_extract.tar.xz.uu \
1042 tar/test/test_leading_slash.tar.uu \
1043 tar/test/test_option_keep_newer_files.tar.Z.uu \
1044 tar/test/test_option_passphrase.zip.uu \
1045 tar/test/test_option_s.tar.Z.uu \
1046 tar/test/test_patterns_2.tar.uu \
1047 tar/test/test_patterns_3.tar.uu \
1048 tar/test/test_patterns_4.tar.uu \
1049 tar/test/test_print_longpath.tar.Z.uu \
1050 tar/test/CMakeLists.txt
1055 # bsdcpio source, docs, etc.
1063 cpio/cpio_platform.h
1065 if INC_WINDOWS_FILES
1067 cpio/cpio_windows.h \
1071 bsdcpio_DEPENDENCIES = libarchive.la libarchive_fe.la
1075 bsdcpio_ldstatic= -static
1076 bsdcpio_ccstatic= -DLIBARCHIVE_STATIC
1082 bsdcpio_LDADD= libarchive_fe.la libarchive.la $(LTLIBICONV)
1083 bsdcpio_CPPFLAGS= -I$(top_srcdir)/libarchive -I$(top_srcdir)/libarchive_fe $(bsdcpio_ccstatic) $(PLATFORMCPPFLAGS)
1084 bsdcpio_LDFLAGS= $(bsdcpio_ldstatic)
1086 bsdcpio_EXTRA_DIST= \
1088 cpio/cpio_windows.h \
1089 cpio/cpio_windows.c \
1090 cpio/CMakeLists.txt \
1091 cpio/config_freebsd.h
1095 # Manpages to install
1096 bsdcpio_man_MANS= cpio/bsdcpio.1
1097 bsdcpio_programs= bsdcpio
1107 bsdcpio_test_SOURCES= \
1108 $(test_utils_SOURCES) \
1111 cpio/test/test_0.c \
1112 cpio/test/test_basic.c \
1113 cpio/test/test_cmdline.c \
1114 cpio/test/test_extract_cpio_Z.c \
1115 cpio/test/test_extract_cpio_bz2.c \
1116 cpio/test/test_extract_cpio_grz.c \
1117 cpio/test/test_extract_cpio_gz.c \
1118 cpio/test/test_extract_cpio_lrz.c \
1119 cpio/test/test_extract_cpio_lz.c \
1120 cpio/test/test_extract_cpio_lz4.c \
1121 cpio/test/test_extract_cpio_lzma.c \
1122 cpio/test/test_extract_cpio_lzo.c \
1123 cpio/test/test_extract_cpio_xz.c \
1124 cpio/test/test_format_newc.c \
1125 cpio/test/test_gcpio_compat.c \
1126 cpio/test/test_missing_file.c \
1127 cpio/test/test_option_0.c \
1128 cpio/test/test_option_B_upper.c \
1129 cpio/test/test_option_C_upper.c \
1130 cpio/test/test_option_J_upper.c \
1131 cpio/test/test_option_L_upper.c \
1132 cpio/test/test_option_Z_upper.c \
1133 cpio/test/test_option_a.c \
1134 cpio/test/test_option_b64encode.c \
1135 cpio/test/test_option_c.c \
1136 cpio/test/test_option_d.c \
1137 cpio/test/test_option_f.c \
1138 cpio/test/test_option_grzip.c \
1139 cpio/test/test_option_help.c \
1140 cpio/test/test_option_l.c \
1141 cpio/test/test_option_lrzip.c \
1142 cpio/test/test_option_lz4.c \
1143 cpio/test/test_option_lzma.c \
1144 cpio/test/test_option_lzop.c \
1145 cpio/test/test_option_m.c \
1146 cpio/test/test_option_passphrase.c \
1147 cpio/test/test_option_t.c \
1148 cpio/test/test_option_u.c \
1149 cpio/test/test_option_uuencode.c \
1150 cpio/test/test_option_version.c \
1151 cpio/test/test_option_xz.c \
1152 cpio/test/test_option_y.c \
1153 cpio/test/test_option_z.c \
1154 cpio/test/test_owner_parse.c \
1155 cpio/test/test_passthrough_dotdot.c \
1156 cpio/test/test_passthrough_reverse.c
1158 bsdcpio_test_CPPFLAGS= \
1159 -I$(top_srcdir)/libarchive -I$(top_srcdir)/libarchive_fe \
1160 -I$(top_srcdir)/test_utils \
1161 -I$(top_srcdir)/cpio -I$(top_srcdir)/cpio/test \
1162 -I$(top_builddir)/cpio/test \
1164 bsdcpio_test_LDADD=libarchive_fe.la
1166 cpio/test/list.h: Makefile
1167 $(MKDIR_P) cpio/test
1168 cat $(top_srcdir)/cpio/test/test_*.c | grep '^DEFINE_TEST' > cpio/test/list.h
1171 bsdcpio_test_programs= bsdcpio_test
1172 bsdcpio_TESTS_ENVIRONMENT= BSDCPIO=`cd $(top_builddir);/bin/pwd`/bsdcpio$(EXEEXT) BSDCPIO_TEST_FILES=`cd $(top_srcdir);/bin/pwd`/cpio/test
1174 bsdcpio_test_programs=
1175 bsdcpio_TESTS_ENVIRONMENT=
1178 bsdcpio_test_EXTRA_DIST= \
1180 cpio/test/test_extract.cpio.Z.uu \
1181 cpio/test/test_extract.cpio.bz2.uu \
1182 cpio/test/test_extract.cpio.grz.uu \
1183 cpio/test/test_extract.cpio.gz.uu \
1184 cpio/test/test_extract.cpio.lrz.uu \
1185 cpio/test/test_extract.cpio.lz.uu \
1186 cpio/test/test_extract.cpio.lz4.uu \
1187 cpio/test/test_extract.cpio.lzma.uu \
1188 cpio/test/test_extract.cpio.lzo.uu \
1189 cpio/test/test_extract.cpio.xz.uu \
1190 cpio/test/test_gcpio_compat_ref.bin.uu \
1191 cpio/test/test_gcpio_compat_ref.crc.uu \
1192 cpio/test/test_gcpio_compat_ref.newc.uu \
1193 cpio/test/test_gcpio_compat_ref.ustar.uu \
1194 cpio/test/test_gcpio_compat_ref_nosym.bin.uu \
1195 cpio/test/test_gcpio_compat_ref_nosym.crc.uu \
1196 cpio/test/test_gcpio_compat_ref_nosym.newc.uu \
1197 cpio/test/test_gcpio_compat_ref_nosym.ustar.uu \
1198 cpio/test/test_option_f.cpio.uu \
1199 cpio/test/test_option_m.cpio.uu \
1200 cpio/test/test_option_passphrase.zip.uu \
1201 cpio/test/test_option_t.cpio.uu \
1202 cpio/test/test_option_t.stdout.uu \
1203 cpio/test/test_option_tv.stdout.uu \
1204 cpio/test/CMakeLists.txt
1208 # bsdcat source, docs, etc.
1215 cat/bsdcat_platform.h \
1218 if INC_WINDOWS_FILES
1222 bsdcat_DEPENDENCIES = libarchive.la libarchive_fe.la
1226 bsdcat_ldstatic= -static
1227 bsdcat_ccstatic= -DLIBARCHIVE_STATIC
1233 bsdcat_LDADD= libarchive_fe.la libarchive.la $(LTLIBICONV)
1234 bsdcat_CPPFLAGS= -I$(top_srcdir)/libarchive -I$(top_srcdir)/libarchive_fe $(bsdcat_ccstatic) $(PLATFORMCPPFLAGS)
1235 bsdcat_LDFLAGS= $(bsdcat_ldstatic)
1237 bsdcat_EXTRA_DIST= \
1243 # Manpages to install
1244 bsdcat_man_MANS= cat/bsdcat.1
1245 bsdcat_programs= bsdcat
1255 bsdcat_test_SOURCES= \
1256 $(test_utils_SOURCES) \
1259 cat/test/test_empty_gz.c \
1260 cat/test/test_empty_lz4.c \
1261 cat/test/test_empty_xz.c \
1262 cat/test/test_error.c \
1263 cat/test/test_error_mixed.c \
1264 cat/test/test_expand_Z.c \
1265 cat/test/test_expand_bz2.c \
1266 cat/test/test_expand_gz.c \
1267 cat/test/test_expand_lz4.c \
1268 cat/test/test_expand_mixed.c \
1269 cat/test/test_expand_plain.c \
1270 cat/test/test_expand_xz.c \
1271 cat/test/test_help.c \
1272 cat/test/test_version.c
1274 bsdcat_test_CPPFLAGS= \
1275 -I$(top_srcdir)/libarchive -I$(top_srcdir)/libarchive_fe \
1276 -I$(top_srcdir)/test_utils \
1277 -I$(top_srcdir)/cat -I$(top_srcdir)/cat/test \
1278 -I$(top_builddir)/cat/test \
1280 bsdcat_test_LDADD=libarchive_fe.la
1282 cat/test/list.h: Makefile
1283 cat $(top_srcdir)/cat/test/test_*.c | grep '^DEFINE_TEST' > cat/test/list.h
1286 bsdcat_test_programs= bsdcat_test
1287 bsdcat_TESTS_ENVIRONMENT= BSDCAT=`cd $(top_builddir);/bin/pwd`/bsdcat$(EXEEXT) BSDCAT_TEST_FILES=`cd $(top_srcdir);/bin/pwd`/cat/test
1289 bsdcat_test_programs=
1290 bsdcat_TESTS_ENVIRONMENT=
1293 bsdcat_test_EXTRA_DIST= \
1295 cat/test/test_empty.gz.uu \
1296 cat/test/test_empty.lz4.uu \
1297 cat/test/test_empty.xz.uu \
1298 cat/test/test_expand.Z.uu \
1299 cat/test/test_expand.bz2.uu \
1300 cat/test/test_expand.gz.uu \
1301 cat/test/test_expand.lz4.uu \
1302 cat/test/test_expand.plain.uu \
1303 cat/test/test_expand.xz.uu \
1304 cat/test/CMakeLists.txt