]>
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 |
5d3f56d2 MK |
11 | bin_PROGRAMS= $(bsdtar_programs) $(bsdcpio_programs) $(bsdcat_programs) |
12 | man_MANS= $(libarchive_man_MANS) $(bsdtar_man_MANS) $(bsdcpio_man_MANS) $(bsdcat_man_MANS) | |
c03898de | 13 | BUILT_SOURCES= libarchive/test/list.h tar/test/list.h cpio/test/list.h cat/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 | # | |
c03898de MK |
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) | |
b3cfa26b TK |
22 | # Always build and test both bsdtar and bsdcpio as part of 'distcheck' |
23 | DISTCHECK_CONFIGURE_FLAGS = --enable-bsdtar --enable-bsdcpio | |
5ea29ca0 | 24 | COMMON_CFLAGS=-Wall -Wformat -Wformat-security |
0380c976 TK |
25 | # The next line is commented out by default in shipping libarchive releases. |
26 | # It is uncommented by default in trunk. | |
6c222e59 | 27 | DEV_CFLAGS=-Werror -Wextra -Wunused -Wshadow -Wmissing-prototypes -Wcast-qual -g |
014de9ca | 28 | AM_CFLAGS=$(COMMON_CFLAGS) $(DEV_CFLAGS) |
c31d1bc4 CW |
29 | PLATFORMCPPFLAGS = @PLATFORMCPPFLAGS@ |
30 | AM_CPPFLAGS=$(PLATFORMCPPFLAGS) | |
b3cfa26b TK |
31 | |
32 | # | |
33 | # What to include in the distribution | |
34 | # | |
952928f5 | 35 | EXTRA_DIST= \ |
154865e1 TK |
36 | CMakeLists.txt \ |
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 MK |
51 | $(bsdcat_EXTRA_DIST) \ |
52 | $(bsdcat_test_EXTRA_DIST) | |
b3cfa26b TK |
53 | |
54 | # a) Clean out some unneeded files and directories | |
55 | # b) Collect all documentation and format it for distribution. | |
56 | dist-hook: | |
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 | |
09549f49 | 63 | cd $(distdir)/doc && /bin/sh update.sh |
b3cfa26b TK |
64 | |
65 | # | |
66 | # Extra rules for cleanup | |
67 | # | |
154865e1 TK |
68 | DISTCLEANFILES= \ |
69 | libarchive/test/list.h \ | |
70 | tar/test/list.h \ | |
c03898de MK |
71 | cpio/test/list.h \ |
72 | cat/test/list.h | |
b3cfa26b TK |
73 | |
74 | distclean-local: | |
75 | -rm -rf .ref | |
76 | -rm -rf autom4te.cache/ | |
77 | -rm -f *~ | |
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 | |
5d3f56d2 | 84 | -[ -f cat/Makefile ] && cd cat && make clean |
c03898de | 85 | -[ -f cpio/test/Makefile ] && cd cat/test && make clean |
b3cfa26b TK |
86 | |
87 | # | |
88 | # Libarchive headers, source, etc. | |
89 | # | |
90 | # | |
91 | ||
09549f49 | 92 | include_HEADERS= libarchive/archive.h libarchive/archive_entry.h |
b3cfa26b | 93 | |
154865e1 TK |
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_crypto.c \ | |
102 | libarchive/archive_crypto_private.h \ | |
a35a8d3b MN |
103 | libarchive/archive_cryptor.c \ |
104 | libarchive/archive_cryptor_private.h \ | |
154865e1 TK |
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 \ | |
c3c366eb | 117 | libarchive/archive_hmac.c \ |
e317cc0e | 118 | libarchive/archive_hmac_private.h \ |
154865e1 TK |
119 | libarchive/archive_match.c \ |
120 | libarchive/archive_options.c \ | |
121 | libarchive/archive_options_private.h \ | |
122 | libarchive/archive_pack_dev.h \ | |
123 | libarchive/archive_pack_dev.c \ | |
124 | libarchive/archive_pathmatch.c \ | |
125 | libarchive/archive_pathmatch.h \ | |
126 | libarchive/archive_platform.h \ | |
127 | libarchive/archive_ppmd_private.h \ | |
128 | libarchive/archive_ppmd7.c \ | |
129 | libarchive/archive_ppmd7_private.h \ | |
130 | libarchive/archive_private.h \ | |
de0a204e MN |
131 | libarchive/archive_random.c \ |
132 | libarchive/archive_random_private.h \ | |
154865e1 TK |
133 | libarchive/archive_rb.c \ |
134 | libarchive/archive_rb.h \ | |
135 | libarchive/archive_read.c \ | |
6c222e59 | 136 | libarchive/archive_read_add_passphrase.c \ |
154865e1 TK |
137 | libarchive/archive_read_append_filter.c \ |
138 | libarchive/archive_read_data_into_fd.c \ | |
139 | libarchive/archive_read_disk_entry_from_file.c \ | |
140 | libarchive/archive_read_disk_posix.c \ | |
141 | libarchive/archive_read_disk_private.h \ | |
142 | libarchive/archive_read_disk_set_standard_lookup.c \ | |
143 | libarchive/archive_read_extract.c \ | |
90250478 | 144 | libarchive/archive_read_extract2.c \ |
154865e1 TK |
145 | libarchive/archive_read_open_fd.c \ |
146 | libarchive/archive_read_open_file.c \ | |
147 | libarchive/archive_read_open_filename.c \ | |
148 | libarchive/archive_read_open_memory.c \ | |
149 | libarchive/archive_read_private.h \ | |
150 | libarchive/archive_read_set_format.c \ | |
151 | libarchive/archive_read_set_options.c \ | |
152 | libarchive/archive_read_support_filter_all.c \ | |
153 | libarchive/archive_read_support_filter_bzip2.c \ | |
154 | libarchive/archive_read_support_filter_compress.c \ | |
155 | libarchive/archive_read_support_filter_grzip.c \ | |
156 | libarchive/archive_read_support_filter_gzip.c \ | |
157 | libarchive/archive_read_support_filter_lrzip.c \ | |
724f3f91 | 158 | libarchive/archive_read_support_filter_lz4.c \ |
154865e1 TK |
159 | libarchive/archive_read_support_filter_lzop.c \ |
160 | libarchive/archive_read_support_filter_none.c \ | |
161 | libarchive/archive_read_support_filter_program.c \ | |
162 | libarchive/archive_read_support_filter_rpm.c \ | |
163 | libarchive/archive_read_support_filter_uu.c \ | |
164 | libarchive/archive_read_support_filter_xz.c \ | |
165 | libarchive/archive_read_support_format_7zip.c \ | |
166 | libarchive/archive_read_support_format_all.c \ | |
167 | libarchive/archive_read_support_format_ar.c \ | |
168 | libarchive/archive_read_support_format_by_code.c \ | |
169 | libarchive/archive_read_support_format_cab.c \ | |
170 | libarchive/archive_read_support_format_cpio.c \ | |
171 | libarchive/archive_read_support_format_empty.c \ | |
172 | libarchive/archive_read_support_format_iso9660.c \ | |
173 | libarchive/archive_read_support_format_lha.c \ | |
174 | libarchive/archive_read_support_format_mtree.c \ | |
175 | libarchive/archive_read_support_format_rar.c \ | |
176 | libarchive/archive_read_support_format_raw.c \ | |
177 | libarchive/archive_read_support_format_tar.c \ | |
96938015 | 178 | libarchive/archive_read_support_format_warc.c \ |
154865e1 TK |
179 | libarchive/archive_read_support_format_xar.c \ |
180 | libarchive/archive_read_support_format_zip.c \ | |
181 | libarchive/archive_string.c \ | |
182 | libarchive/archive_string.h \ | |
183 | libarchive/archive_string_composition.h \ | |
184 | libarchive/archive_string_sprintf.c \ | |
185 | libarchive/archive_util.c \ | |
186 | libarchive/archive_virtual.c \ | |
187 | libarchive/archive_write.c \ | |
188 | libarchive/archive_write_disk_acl.c \ | |
189 | libarchive/archive_write_disk_posix.c \ | |
190 | libarchive/archive_write_disk_private.h \ | |
191 | libarchive/archive_write_disk_set_standard_lookup.c \ | |
192 | libarchive/archive_write_open_fd.c \ | |
193 | libarchive/archive_write_open_file.c \ | |
194 | libarchive/archive_write_open_filename.c \ | |
195 | libarchive/archive_write_open_memory.c \ | |
196 | libarchive/archive_write_private.h \ | |
197 | libarchive/archive_write_add_filter.c \ | |
198 | libarchive/archive_write_add_filter_b64encode.c \ | |
199 | libarchive/archive_write_add_filter_by_name.c \ | |
200 | libarchive/archive_write_add_filter_bzip2.c \ | |
201 | libarchive/archive_write_add_filter_compress.c \ | |
202 | libarchive/archive_write_add_filter_grzip.c \ | |
203 | libarchive/archive_write_add_filter_gzip.c \ | |
204 | libarchive/archive_write_add_filter_lrzip.c \ | |
8c4be28f | 205 | libarchive/archive_write_add_filter_lz4.c \ |
154865e1 TK |
206 | libarchive/archive_write_add_filter_lzop.c \ |
207 | libarchive/archive_write_add_filter_none.c \ | |
208 | libarchive/archive_write_add_filter_program.c \ | |
209 | libarchive/archive_write_add_filter_uuencode.c \ | |
210 | libarchive/archive_write_add_filter_xz.c \ | |
211 | libarchive/archive_write_set_format.c \ | |
212 | libarchive/archive_write_set_format_7zip.c \ | |
213 | libarchive/archive_write_set_format_ar.c \ | |
214 | libarchive/archive_write_set_format_by_name.c \ | |
215 | libarchive/archive_write_set_format_cpio.c \ | |
216 | libarchive/archive_write_set_format_cpio_newc.c \ | |
217 | libarchive/archive_write_set_format_iso9660.c \ | |
218 | libarchive/archive_write_set_format_mtree.c \ | |
219 | libarchive/archive_write_set_format_pax.c \ | |
220 | libarchive/archive_write_set_format_raw.c \ | |
221 | libarchive/archive_write_set_format_shar.c \ | |
222 | libarchive/archive_write_set_format_ustar.c \ | |
223 | libarchive/archive_write_set_format_v7tar.c \ | |
224 | libarchive/archive_write_set_format_gnutar.c \ | |
667961d7 | 225 | libarchive/archive_write_set_format_warc.c \ |
154865e1 TK |
226 | libarchive/archive_write_set_format_xar.c \ |
227 | libarchive/archive_write_set_format_zip.c \ | |
228 | libarchive/archive_write_set_options.c \ | |
6c222e59 | 229 | libarchive/archive_write_set_passphrase.c \ |
724f3f91 | 230 | libarchive/archive_xxhash.h \ |
154865e1 TK |
231 | libarchive/config_freebsd.h \ |
232 | libarchive/filter_fork_posix.c \ | |
724f3f91 | 233 | libarchive/filter_fork.h \ |
20d54519 | 234 | libarchive/xxhash.c |
b3cfa26b | 235 | |
79cb8e5b | 236 | if INC_WINDOWS_FILES |
154865e1 TK |
237 | libarchive_la_SOURCES+= \ |
238 | libarchive/archive_entry_copy_bhfi.c \ | |
239 | libarchive/archive_read_disk_windows.c \ | |
240 | libarchive/archive_windows.h \ | |
241 | libarchive/archive_windows.c \ | |
242 | libarchive/archive_write_disk_windows.c \ | |
79cb8e5b CW |
243 | libarchive/filter_fork_windows.c |
244 | endif | |
245 | ||
171f7927 | 246 | # -no-undefined marks that libarchive doesn't rely on symbols |
dc423134 | 247 | # defined in the application. This is mandatory for cygwin. |
b3cfa26b | 248 | libarchive_la_LDFLAGS= -no-undefined -version-info $(ARCHIVE_LIBTOOL_VERSION) |
17fd872a | 249 | libarchive_la_LIBADD= $(LTLIBICONV) |
b3cfa26b TK |
250 | |
251 | # Manpages to install | |
154865e1 TK |
252 | libarchive_man_MANS= \ |
253 | libarchive/archive_entry.3 \ | |
254 | libarchive/archive_entry_acl.3 \ | |
255 | libarchive/archive_entry_linkify.3 \ | |
256 | libarchive/archive_entry_paths.3 \ | |
257 | libarchive/archive_entry_perms.3 \ | |
258 | libarchive/archive_entry_stat.3 \ | |
259 | libarchive/archive_entry_time.3 \ | |
260 | libarchive/archive_read.3 \ | |
6c222e59 | 261 | libarchive/archive_read_add_passphrase.3 \ |
154865e1 TK |
262 | libarchive/archive_read_data.3 \ |
263 | libarchive/archive_read_disk.3 \ | |
264 | libarchive/archive_read_extract.3 \ | |
265 | libarchive/archive_read_filter.3 \ | |
266 | libarchive/archive_read_format.3 \ | |
267 | libarchive/archive_read_free.3 \ | |
268 | libarchive/archive_read_header.3 \ | |
269 | libarchive/archive_read_new.3 \ | |
270 | libarchive/archive_read_open.3 \ | |
271 | libarchive/archive_read_set_options.3 \ | |
272 | libarchive/archive_util.3 \ | |
273 | libarchive/archive_write.3 \ | |
274 | libarchive/archive_write_blocksize.3 \ | |
275 | libarchive/archive_write_data.3 \ | |
276 | libarchive/archive_write_disk.3 \ | |
277 | libarchive/archive_write_filter.3 \ | |
278 | libarchive/archive_write_finish_entry.3 \ | |
279 | libarchive/archive_write_format.3 \ | |
280 | libarchive/archive_write_free.3 \ | |
281 | libarchive/archive_write_header.3 \ | |
282 | libarchive/archive_write_new.3 \ | |
283 | libarchive/archive_write_open.3 \ | |
284 | libarchive/archive_write_set_options.3 \ | |
6c222e59 | 285 | libarchive/archive_write_set_passphrase.3 \ |
154865e1 TK |
286 | libarchive/cpio.5 \ |
287 | libarchive/libarchive.3 \ | |
288 | libarchive/libarchive_changes.3 \ | |
289 | libarchive/libarchive_internals.3 \ | |
290 | libarchive/libarchive-formats.5 \ | |
291 | libarchive/mtree.5 \ | |
b3cfa26b TK |
292 | libarchive/tar.5 |
293 | ||
294 | # Additional libarchive files to include in the distribution | |
154865e1 TK |
295 | libarchive_EXTRA_DIST= \ |
296 | libarchive/archive_windows.c \ | |
297 | libarchive/archive_windows.h \ | |
298 | libarchive/filter_fork_windows.c \ | |
299 | libarchive/CMakeLists.txt \ | |
b3cfa26b TK |
300 | $(libarchive_man_MANS) |
301 | ||
bafc3c6b TK |
302 | # pkgconfig |
303 | pkgconfigdir = $(libdir)/pkgconfig | |
304 | pkgconfig_DATA = build/pkgconfig/libarchive.pc | |
305 | ||
aa95a749 AM |
306 | # Sources needed by all test programs |
307 | test_utils_SOURCES= \ | |
7cc97c98 AM |
308 | test_utils/test_utils.c \ |
309 | test_utils/test_utils.h | |
aa95a749 | 310 | |
b3cfa26b TK |
311 | # |
312 | # | |
313 | # libarchive_test program | |
314 | # | |
315 | # | |
154865e1 TK |
316 | libarchive_test_SOURCES= \ |
317 | $(libarchive_la_SOURCES) \ | |
318 | $(test_utils_SOURCES) \ | |
319 | libarchive/test/main.c \ | |
320 | libarchive/test/read_open_memory.c \ | |
321 | libarchive/test/test.h \ | |
322 | libarchive/test/test_acl_freebsd_posix1e.c \ | |
323 | libarchive/test/test_acl_freebsd_nfs4.c \ | |
324 | libarchive/test/test_acl_nfs4.c \ | |
325 | libarchive/test/test_acl_pax.c \ | |
326 | libarchive/test/test_acl_posix1e.c \ | |
327 | libarchive/test/test_archive_api_feature.c \ | |
328 | libarchive/test/test_archive_clear_error.c \ | |
329 | libarchive/test/test_archive_cmdline.c \ | |
330 | libarchive/test/test_archive_crypto.c \ | |
331 | libarchive/test/test_archive_getdate.c \ | |
332 | libarchive/test/test_archive_match_owner.c \ | |
333 | libarchive/test/test_archive_match_path.c \ | |
334 | libarchive/test/test_archive_match_time.c \ | |
335 | libarchive/test/test_archive_pathmatch.c \ | |
6c222e59 | 336 | libarchive/test/test_archive_read_add_passphrase.c \ |
154865e1 TK |
337 | libarchive/test/test_archive_read_close_twice.c \ |
338 | libarchive/test/test_archive_read_close_twice_open_fd.c \ | |
339 | libarchive/test/test_archive_read_close_twice_open_filename.c \ | |
340 | libarchive/test/test_archive_read_multiple_data_objects.c \ | |
341 | libarchive/test/test_archive_read_next_header_empty.c \ | |
342 | libarchive/test/test_archive_read_next_header_raw.c \ | |
343 | libarchive/test/test_archive_read_open2.c \ | |
344 | libarchive/test/test_archive_read_set_filter_option.c \ | |
345 | libarchive/test/test_archive_read_set_format_option.c \ | |
346 | libarchive/test/test_archive_read_set_option.c \ | |
347 | libarchive/test/test_archive_read_set_options.c \ | |
348 | libarchive/test/test_archive_read_support.c \ | |
349 | libarchive/test/test_archive_set_error.c \ | |
350 | libarchive/test/test_archive_string.c \ | |
351 | libarchive/test/test_archive_string_conversion.c \ | |
352 | libarchive/test/test_archive_write_add_filter_by_name.c \ | |
353 | libarchive/test/test_archive_write_set_filter_option.c \ | |
354 | libarchive/test/test_archive_write_set_format_by_name.c \ | |
355 | libarchive/test/test_archive_write_set_format_option.c \ | |
356 | libarchive/test/test_archive_write_set_option.c \ | |
357 | libarchive/test/test_archive_write_set_options.c \ | |
6c222e59 | 358 | libarchive/test/test_archive_write_set_passphrase.c \ |
154865e1 TK |
359 | libarchive/test/test_bad_fd.c \ |
360 | libarchive/test/test_compat_bzip2.c \ | |
361 | libarchive/test/test_compat_cpio.c \ | |
362 | libarchive/test/test_compat_gtar.c \ | |
363 | libarchive/test/test_compat_gzip.c \ | |
724f3f91 | 364 | libarchive/test/test_compat_lz4.c \ |
154865e1 TK |
365 | libarchive/test/test_compat_lzip.c \ |
366 | libarchive/test/test_compat_lzma.c \ | |
367 | libarchive/test/test_compat_lzop.c \ | |
368 | libarchive/test/test_compat_mac.c \ | |
369 | libarchive/test/test_compat_pax_libarchive_2x.c \ | |
370 | libarchive/test/test_compat_solaris_tar_acl.c \ | |
371 | libarchive/test/test_compat_solaris_pax_sparse.c \ | |
372 | libarchive/test/test_compat_tar_hardlink.c \ | |
373 | libarchive/test/test_compat_uudecode.c \ | |
2b79319f | 374 | libarchive/test/test_compat_uudecode_large.c \ |
154865e1 TK |
375 | libarchive/test/test_compat_xz.c \ |
376 | libarchive/test/test_compat_zip.c \ | |
377 | libarchive/test/test_empty_write.c \ | |
378 | libarchive/test/test_entry.c \ | |
379 | libarchive/test/test_entry_strmode.c \ | |
380 | libarchive/test/test_extattr_freebsd.c \ | |
381 | libarchive/test/test_filter_count.c \ | |
382 | libarchive/test/test_fuzz.c \ | |
383 | libarchive/test/test_gnutar_filename_encoding.c \ | |
384 | libarchive/test/test_link_resolver.c \ | |
385 | libarchive/test/test_open_failure.c \ | |
386 | libarchive/test/test_open_fd.c \ | |
387 | libarchive/test/test_open_file.c \ | |
388 | libarchive/test/test_open_filename.c \ | |
389 | libarchive/test/test_pax_filename_encoding.c \ | |
390 | libarchive/test/test_read_data_large.c \ | |
391 | libarchive/test/test_read_disk.c \ | |
392 | libarchive/test/test_read_disk_directory_traversals.c \ | |
393 | libarchive/test/test_read_disk_entry_from_file.c \ | |
394 | libarchive/test/test_read_extract.c \ | |
395 | libarchive/test/test_read_file_nonexistent.c \ | |
396 | libarchive/test/test_read_filter_grzip.c \ | |
397 | libarchive/test/test_read_filter_lrzip.c \ | |
398 | libarchive/test/test_read_filter_lzop.c \ | |
399 | libarchive/test/test_read_filter_lzop_multiple_parts.c \ | |
400 | libarchive/test/test_read_filter_program.c \ | |
401 | libarchive/test/test_read_filter_program_signature.c \ | |
402 | libarchive/test/test_read_filter_uudecode.c \ | |
403 | libarchive/test/test_read_format_7zip.c \ | |
404 | libarchive/test/test_read_format_7zip_encryption_data.c \ | |
405 | libarchive/test/test_read_format_7zip_encryption_partially.c \ | |
406 | libarchive/test/test_read_format_7zip_encryption_header.c \ | |
407 | libarchive/test/test_read_format_ar.c \ | |
408 | libarchive/test/test_read_format_cab.c \ | |
409 | libarchive/test/test_read_format_cab_filename.c \ | |
410 | libarchive/test/test_read_format_cpio_afio.c \ | |
411 | libarchive/test/test_read_format_cpio_bin.c \ | |
412 | libarchive/test/test_read_format_cpio_bin_Z.c \ | |
413 | libarchive/test/test_read_format_cpio_bin_be.c \ | |
414 | libarchive/test/test_read_format_cpio_bin_bz2.c \ | |
415 | libarchive/test/test_read_format_cpio_bin_gz.c \ | |
416 | libarchive/test/test_read_format_cpio_bin_lzip.c \ | |
417 | libarchive/test/test_read_format_cpio_bin_lzma.c \ | |
418 | libarchive/test/test_read_format_cpio_bin_xz.c \ | |
419 | libarchive/test/test_read_format_cpio_filename.c \ | |
420 | libarchive/test/test_read_format_cpio_odc.c \ | |
421 | libarchive/test/test_read_format_cpio_svr4_bzip2_rpm.c \ | |
422 | libarchive/test/test_read_format_cpio_svr4_gzip.c \ | |
423 | libarchive/test/test_read_format_cpio_svr4_gzip_rpm.c \ | |
424 | libarchive/test/test_read_format_cpio_svr4c_Z.c \ | |
425 | libarchive/test/test_read_format_empty.c \ | |
426 | libarchive/test/test_read_format_gtar_filename.c \ | |
427 | libarchive/test/test_read_format_gtar_gz.c \ | |
428 | libarchive/test/test_read_format_gtar_lzma.c \ | |
429 | libarchive/test/test_read_format_gtar_sparse.c \ | |
bf4f6ec6 | 430 | libarchive/test/test_read_format_gtar_sparse_skip_entry.c \ |
154865e1 TK |
431 | libarchive/test/test_read_format_iso_Z.c \ |
432 | libarchive/test/test_read_format_iso_multi_extent.c \ | |
433 | libarchive/test/test_read_format_iso_xorriso.c \ | |
434 | libarchive/test/test_read_format_isojoliet_bz2.c \ | |
435 | libarchive/test/test_read_format_isojoliet_long.c \ | |
436 | libarchive/test/test_read_format_isojoliet_rr.c \ | |
437 | libarchive/test/test_read_format_isojoliet_versioned.c \ | |
438 | libarchive/test/test_read_format_isorr_bz2.c \ | |
439 | libarchive/test/test_read_format_isorr_ce.c \ | |
440 | libarchive/test/test_read_format_isorr_new_bz2.c \ | |
441 | libarchive/test/test_read_format_isorr_rr_moved.c \ | |
442 | libarchive/test/test_read_format_isozisofs_bz2.c \ | |
443 | libarchive/test/test_read_format_lha.c \ | |
3ce11df0 | 444 | libarchive/test/test_read_format_lha_bugfix_0.c \ |
154865e1 TK |
445 | libarchive/test/test_read_format_lha_filename.c \ |
446 | libarchive/test/test_read_format_mtree.c \ | |
447 | libarchive/test/test_read_format_pax_bz2.c \ | |
448 | libarchive/test/test_read_format_rar.c \ | |
449 | libarchive/test/test_read_format_rar_encryption_data.c \ | |
450 | libarchive/test/test_read_format_rar_encryption_partially.c \ | |
451 | libarchive/test/test_read_format_rar_encryption_header.c \ | |
452 | libarchive/test/test_read_format_raw.c \ | |
453 | libarchive/test/test_read_format_tar.c \ | |
454 | libarchive/test/test_read_format_tar_concatenated.c \ | |
455 | libarchive/test/test_read_format_tar_empty_pax.c \ | |
456 | libarchive/test/test_read_format_tar_empty_filename.c \ | |
457 | libarchive/test/test_read_format_tar_filename.c \ | |
458 | libarchive/test/test_read_format_tbz.c \ | |
459 | libarchive/test/test_read_format_tgz.c \ | |
460 | libarchive/test/test_read_format_tlz.c \ | |
461 | libarchive/test/test_read_format_txz.c \ | |
462 | libarchive/test/test_read_format_tz.c \ | |
463 | libarchive/test/test_read_format_ustar_filename.c \ | |
c81efb99 | 464 | libarchive/test/test_read_format_warc.c \ |
154865e1 TK |
465 | libarchive/test/test_read_format_xar.c \ |
466 | libarchive/test/test_read_format_zip.c \ | |
467 | libarchive/test/test_read_format_zip_comment_stored.c \ | |
468 | libarchive/test/test_read_format_zip_encryption_data.c \ | |
469 | libarchive/test/test_read_format_zip_encryption_partially.c \ | |
470 | libarchive/test/test_read_format_zip_encryption_header.c \ | |
471 | libarchive/test/test_read_format_zip_filename.c \ | |
472 | libarchive/test/test_read_format_zip_mac_metadata.c \ | |
473 | libarchive/test/test_read_format_zip_nofiletype.c \ | |
474 | libarchive/test/test_read_format_zip_padded.c \ | |
475 | libarchive/test/test_read_format_zip_sfx.c \ | |
8145520c | 476 | libarchive/test/test_read_format_zip_traditional_encryption_data.c \ |
c3c366eb MN |
477 | libarchive/test/test_read_format_zip_winzip_aes.c \ |
478 | libarchive/test/test_read_format_zip_winzip_aes_large.c \ | |
154865e1 TK |
479 | libarchive/test/test_read_format_zip_zip64.c \ |
480 | libarchive/test/test_read_large.c \ | |
481 | libarchive/test/test_read_pax_truncated.c \ | |
482 | libarchive/test/test_read_position.c \ | |
483 | libarchive/test/test_read_set_format.c \ | |
484 | libarchive/test/test_read_truncated.c \ | |
485 | libarchive/test/test_read_truncated_filter.c \ | |
486 | libarchive/test/test_sparse_basic.c \ | |
487 | libarchive/test/test_tar_filenames.c \ | |
488 | libarchive/test/test_tar_large.c \ | |
489 | libarchive/test/test_ustar_filenames.c \ | |
490 | libarchive/test/test_ustar_filename_encoding.c \ | |
491 | libarchive/test/test_write_disk.c \ | |
492 | libarchive/test/test_write_disk_appledouble.c \ | |
493 | libarchive/test/test_write_disk_failures.c \ | |
494 | libarchive/test/test_write_disk_hardlink.c \ | |
495 | libarchive/test/test_write_disk_hfs_compression.c \ | |
496 | libarchive/test/test_write_disk_lookup.c \ | |
497 | libarchive/test/test_write_disk_mac_metadata.c \ | |
498 | libarchive/test/test_write_disk_no_hfs_compression.c \ | |
499 | libarchive/test/test_write_disk_perms.c \ | |
500 | libarchive/test/test_write_disk_secure.c \ | |
501 | libarchive/test/test_write_disk_sparse.c \ | |
502 | libarchive/test/test_write_disk_symlink.c \ | |
503 | libarchive/test/test_write_disk_times.c \ | |
504 | libarchive/test/test_write_filter_b64encode.c \ | |
505 | libarchive/test/test_write_filter_bzip2.c \ | |
506 | libarchive/test/test_write_filter_compress.c \ | |
507 | libarchive/test/test_write_filter_gzip.c \ | |
508 | libarchive/test/test_write_filter_gzip_timestamp.c \ | |
509 | libarchive/test/test_write_filter_lrzip.c \ | |
8c4be28f | 510 | libarchive/test/test_write_filter_lz4.c \ |
154865e1 TK |
511 | libarchive/test/test_write_filter_lzip.c \ |
512 | libarchive/test/test_write_filter_lzma.c \ | |
513 | libarchive/test/test_write_filter_lzop.c \ | |
514 | libarchive/test/test_write_filter_program.c \ | |
515 | libarchive/test/test_write_filter_uuencode.c \ | |
516 | libarchive/test/test_write_filter_xz.c \ | |
517 | libarchive/test/test_write_format_7zip.c \ | |
518 | libarchive/test/test_write_format_7zip_empty.c \ | |
519 | libarchive/test/test_write_format_7zip_large.c \ | |
520 | libarchive/test/test_write_format_ar.c \ | |
521 | libarchive/test/test_write_format_cpio.c \ | |
522 | libarchive/test/test_write_format_cpio_empty.c \ | |
523 | libarchive/test/test_write_format_cpio_newc.c \ | |
524 | libarchive/test/test_write_format_cpio_odc.c \ | |
525 | libarchive/test/test_write_format_gnutar.c \ | |
526 | libarchive/test/test_write_format_iso9660.c \ | |
527 | libarchive/test/test_write_format_iso9660_boot.c \ | |
528 | libarchive/test/test_write_format_iso9660_empty.c \ | |
529 | libarchive/test/test_write_format_iso9660_filename.c \ | |
530 | libarchive/test/test_write_format_iso9660_zisofs.c \ | |
531 | libarchive/test/test_write_format_mtree.c \ | |
532 | libarchive/test/test_write_format_mtree_absolute_path.c \ | |
533 | libarchive/test/test_write_format_mtree_classic.c \ | |
f83da353 | 534 | libarchive/test/test_write_format_mtree_classic_indent.c\ |
154865e1 TK |
535 | libarchive/test/test_write_format_mtree_fflags.c \ |
536 | libarchive/test/test_write_format_mtree_no_separator.c \ | |
2569524b | 537 | libarchive/test/test_write_format_mtree_quoted_filename.c\ |
154865e1 TK |
538 | libarchive/test/test_write_format_pax.c \ |
539 | libarchive/test/test_write_format_raw.c \ | |
540 | libarchive/test/test_write_format_raw_b64.c \ | |
541 | libarchive/test/test_write_format_shar_empty.c \ | |
542 | libarchive/test/test_write_format_tar.c \ | |
543 | libarchive/test/test_write_format_tar_empty.c \ | |
544 | libarchive/test/test_write_format_tar_sparse.c \ | |
545 | libarchive/test/test_write_format_tar_ustar.c \ | |
546 | libarchive/test/test_write_format_tar_v7tar.c \ | |
af784482 SF |
547 | libarchive/test/test_write_format_warc.c \ |
548 | libarchive/test/test_write_format_warc_empty.c \ | |
154865e1 TK |
549 | libarchive/test/test_write_format_xar.c \ |
550 | libarchive/test/test_write_format_xar_empty.c \ | |
551 | libarchive/test/test_write_format_zip.c \ | |
552 | libarchive/test/test_write_format_zip_compression_store.c \ | |
553 | libarchive/test/test_write_format_zip_empty.c \ | |
554 | libarchive/test/test_write_format_zip_empty_zip64.c \ | |
555 | libarchive/test/test_write_format_zip_file.c \ | |
556 | libarchive/test/test_write_format_zip_file_zip64.c \ | |
557 | libarchive/test/test_write_format_zip_large.c \ | |
558 | libarchive/test/test_write_format_zip_zip64.c \ | |
559 | libarchive/test/test_write_open_memory.c \ | |
560 | libarchive/test/test_write_read_format_zip.c \ | |
83c67d6c | 561 | libarchive/test/test_zip_filename_encoding.c |
b3cfa26b | 562 | |
aa95a749 | 563 | libarchive_test_CPPFLAGS= -I$(top_srcdir)/libarchive -I$(top_srcdir)/test_utils -I$(top_builddir)/libarchive/test -DLIBARCHIVE_STATIC $(PLATFORMCPPFLAGS) |
17fd872a | 564 | libarchive_test_LDADD= $(LTLIBICONV) |
79cb8e5b | 565 | |
b3cfa26b TK |
566 | # The "list.h" file just lists all of the tests defined in all of the sources. |
567 | # Building it automatically provides a sanity-check on libarchive_test_SOURCES | |
568 | # above. | |
569 | libarchive/test/list.h: Makefile | |
570 | cat $(top_srcdir)/libarchive/test/test_*.c | grep DEFINE_TEST > libarchive/test/list.h | |
571 | ||
1e5f600e | 572 | libarchive_TESTS_ENVIRONMENT= LIBARCHIVE_TEST_FILES=`cd $(top_srcdir);/bin/pwd`/libarchive/test LRZIP=NOCONFIG |
b3cfa26b TK |
573 | |
574 | libarchive_test_EXTRA_DIST=\ | |
154865e1 TK |
575 | libarchive/test/list.h \ |
576 | libarchive/test/test_acl_pax.tar.uu \ | |
577 | libarchive/test/test_archive_string_conversion.txt.Z.uu \ | |
578 | libarchive/test/test_compat_bzip2_1.tbz.uu \ | |
579 | libarchive/test/test_compat_bzip2_2.tbz.uu \ | |
580 | libarchive/test/test_compat_cpio_1.cpio.uu \ | |
581 | libarchive/test/test_compat_gtar_1.tar.uu \ | |
582 | libarchive/test/test_compat_gzip_1.tgz.uu \ | |
583 | libarchive/test/test_compat_gzip_2.tgz.uu \ | |
724f3f91 MN |
584 | libarchive/test/test_compat_lz4_1.tar.lz4.uu \ |
585 | libarchive/test/test_compat_lz4_2.tar.lz4.uu \ | |
586 | libarchive/test/test_compat_lz4_3.tar.lz4.uu \ | |
587 | libarchive/test/test_compat_lz4_B4.tar.lz4.uu \ | |
588 | libarchive/test/test_compat_lz4_B4BD.tar.lz4.uu \ | |
589 | libarchive/test/test_compat_lz4_B4BDBX.tar.lz4.uu \ | |
590 | libarchive/test/test_compat_lz4_B5.tar.lz4.uu \ | |
591 | libarchive/test/test_compat_lz4_B5BD.tar.lz4.uu \ | |
592 | libarchive/test/test_compat_lz4_B6.tar.lz4.uu \ | |
593 | libarchive/test/test_compat_lz4_B6BD.tar.lz4.uu \ | |
594 | libarchive/test/test_compat_lz4_B7.tar.lz4.uu \ | |
595 | libarchive/test/test_compat_lz4_B7BD.tar.lz4.uu \ | |
154865e1 TK |
596 | libarchive/test/test_compat_lzip_1.tlz.uu \ |
597 | libarchive/test/test_compat_lzip_2.tlz.uu \ | |
598 | libarchive/test/test_compat_lzma_1.tlz.uu \ | |
599 | libarchive/test/test_compat_lzma_2.tlz.uu \ | |
600 | libarchive/test/test_compat_lzma_3.tlz.uu \ | |
601 | libarchive/test/test_compat_lzop_1.tar.lzo.uu \ | |
602 | libarchive/test/test_compat_lzop_2.tar.lzo.uu \ | |
603 | libarchive/test/test_compat_lzop_3.tar.lzo.uu \ | |
604 | libarchive/test/test_compat_mac-1.tar.Z.uu \ | |
605 | libarchive/test/test_compat_mac-2.tar.Z.uu \ | |
606 | libarchive/test/test_compat_pax_libarchive_2x.tar.Z.uu \ | |
607 | libarchive/test/test_compat_solaris_pax_sparse_1.pax.Z.uu \ | |
608 | libarchive/test/test_compat_solaris_pax_sparse_2.pax.Z.uu \ | |
609 | libarchive/test/test_compat_solaris_tar_acl.tar.uu \ | |
610 | libarchive/test/test_compat_tar_hardlink_1.tar.uu \ | |
2b79319f | 611 | libarchive/test/test_compat_uudecode_large.tar.Z.uu \ |
154865e1 TK |
612 | libarchive/test/test_compat_xz_1.txz.uu \ |
613 | libarchive/test/test_compat_zip_1.zip.uu \ | |
614 | libarchive/test/test_compat_zip_2.zip.uu \ | |
615 | libarchive/test/test_compat_zip_3.zip.uu \ | |
616 | libarchive/test/test_compat_zip_4.zip.uu \ | |
617 | libarchive/test/test_compat_zip_5.zip.uu \ | |
618 | libarchive/test/test_compat_zip_6.zip.uu \ | |
619 | libarchive/test/test_compat_zip_7.xps.uu \ | |
620 | libarchive/test/test_fuzz.cab.uu \ | |
621 | libarchive/test/test_fuzz.lzh.uu \ | |
622 | libarchive/test/test_fuzz_1.iso.Z.uu \ | |
623 | libarchive/test/test_pax_filename_encoding.tar.uu \ | |
a5b03cc1 AM |
624 | libarchive/test/test_rar_multivolume_multiple_files.part1.rar.uu \ |
625 | libarchive/test/test_rar_multivolume_multiple_files.part2.rar.uu \ | |
626 | libarchive/test/test_rar_multivolume_multiple_files.part3.rar.uu \ | |
627 | libarchive/test/test_rar_multivolume_multiple_files.part4.rar.uu \ | |
628 | libarchive/test/test_rar_multivolume_multiple_files.part5.rar.uu \ | |
629 | libarchive/test/test_rar_multivolume_multiple_files.part6.rar.uu \ | |
154865e1 TK |
630 | libarchive/test/test_rar_multivolume_single_file.part1.rar.uu \ |
631 | libarchive/test/test_rar_multivolume_single_file.part2.rar.uu \ | |
632 | libarchive/test/test_rar_multivolume_single_file.part3.rar.uu \ | |
72d27a8c AM |
633 | libarchive/test/test_rar_multivolume_uncompressed_files.part01.rar.uu \ |
634 | libarchive/test/test_rar_multivolume_uncompressed_files.part02.rar.uu \ | |
635 | libarchive/test/test_rar_multivolume_uncompressed_files.part03.rar.uu \ | |
636 | libarchive/test/test_rar_multivolume_uncompressed_files.part04.rar.uu \ | |
637 | libarchive/test/test_rar_multivolume_uncompressed_files.part05.rar.uu \ | |
638 | libarchive/test/test_rar_multivolume_uncompressed_files.part06.rar.uu \ | |
639 | libarchive/test/test_rar_multivolume_uncompressed_files.part07.rar.uu \ | |
640 | libarchive/test/test_rar_multivolume_uncompressed_files.part08.rar.uu \ | |
641 | libarchive/test/test_rar_multivolume_uncompressed_files.part09.rar.uu \ | |
642 | libarchive/test/test_rar_multivolume_uncompressed_files.part10.rar.uu \ | |
154865e1 TK |
643 | libarchive/test/test_read_filter_grzip.tar.grz.uu \ |
644 | libarchive/test/test_read_filter_lrzip.tar.lrz.uu \ | |
645 | libarchive/test/test_read_filter_lzop.tar.lzo.uu \ | |
646 | libarchive/test/test_read_filter_lzop_multiple_parts.tar.lzo.uu \ | |
647 | libarchive/test/test_read_format_7zip_bcj2_bzip2.7z.uu \ | |
648 | libarchive/test/test_read_format_7zip_bcj2_copy_1.7z.uu \ | |
649 | libarchive/test/test_read_format_7zip_bcj2_copy_2.7z.uu \ | |
650 | libarchive/test/test_read_format_7zip_bcj2_copy_lzma.7z.uu \ | |
651 | libarchive/test/test_read_format_7zip_bcj2_deflate.7z.uu \ | |
652 | libarchive/test/test_read_format_7zip_bcj2_lzma1_1.7z.uu \ | |
653 | libarchive/test/test_read_format_7zip_bcj2_lzma1_2.7z.uu \ | |
654 | libarchive/test/test_read_format_7zip_bcj2_lzma2_1.7z.uu \ | |
655 | libarchive/test/test_read_format_7zip_bcj2_lzma2_2.7z.uu \ | |
656 | libarchive/test/test_read_format_7zip_bcj_bzip2.7z.uu \ | |
657 | libarchive/test/test_read_format_7zip_bcj_copy.7z.uu \ | |
658 | libarchive/test/test_read_format_7zip_bcj_deflate.7z.uu \ | |
659 | libarchive/test/test_read_format_7zip_bcj_lzma1.7z.uu \ | |
660 | libarchive/test/test_read_format_7zip_bcj_lzma2.7z.uu \ | |
661 | libarchive/test/test_read_format_7zip_bzip2.7z.uu \ | |
662 | libarchive/test/test_read_format_7zip_copy.7z.uu \ | |
663 | libarchive/test/test_read_format_7zip_copy_2.7z.uu \ | |
664 | libarchive/test/test_read_format_7zip_deflate.7z.uu \ | |
665 | libarchive/test/test_read_format_7zip_delta_lzma1.7z.uu \ | |
666 | libarchive/test/test_read_format_7zip_delta_lzma2.7z.uu \ | |
667 | libarchive/test/test_read_format_7zip_empty_archive.7z.uu \ | |
668 | libarchive/test/test_read_format_7zip_empty_file.7z.uu \ | |
669 | libarchive/test/test_read_format_7zip_encryption.7z.uu \ | |
670 | libarchive/test/test_read_format_7zip_encryption_header.7z.uu \ | |
671 | libarchive/test/test_read_format_7zip_encryption_partially.7z.uu \ | |
672 | libarchive/test/test_read_format_7zip_lzma1.7z.uu \ | |
673 | libarchive/test/test_read_format_7zip_lzma1_2.7z.uu \ | |
674 | libarchive/test/test_read_format_7zip_lzma1_lzma2.7z.uu \ | |
675 | libarchive/test/test_read_format_7zip_lzma2.7z.uu \ | |
676 | libarchive/test/test_read_format_7zip_ppmd.7z.uu \ | |
677 | libarchive/test/test_read_format_7zip_symbolic_name.7z.uu \ | |
678 | libarchive/test/test_read_format_ar.ar.uu \ | |
679 | libarchive/test/test_read_format_cab_1.cab.uu \ | |
680 | libarchive/test/test_read_format_cab_2.cab.uu \ | |
681 | libarchive/test/test_read_format_cab_3.cab.uu \ | |
682 | libarchive/test/test_read_format_cab_filename_cp932.cab.uu \ | |
683 | libarchive/test/test_read_format_cpio_bin_be.cpio.uu \ | |
684 | libarchive/test/test_read_format_cpio_filename_cp866.cpio.uu \ | |
685 | libarchive/test/test_read_format_cpio_filename_eucjp.cpio.uu \ | |
686 | libarchive/test/test_read_format_cpio_filename_koi8r.cpio.uu \ | |
687 | libarchive/test/test_read_format_cpio_filename_utf8_jp.cpio.uu \ | |
688 | libarchive/test/test_read_format_cpio_filename_utf8_ru.cpio.uu \ | |
689 | libarchive/test/test_read_format_cpio_svr4_bzip2_rpm.rpm.uu \ | |
690 | libarchive/test/test_read_format_cpio_svr4_gzip_rpm.rpm.uu \ | |
691 | libarchive/test/test_read_format_gtar_filename_cp866.tar.Z.uu \ | |
692 | libarchive/test/test_read_format_gtar_filename_eucjp.tar.Z.uu \ | |
693 | libarchive/test/test_read_format_gtar_filename_koi8r.tar.Z.uu \ | |
694 | libarchive/test/test_read_format_gtar_sparse_1_13.tar.uu \ | |
695 | libarchive/test/test_read_format_gtar_sparse_1_17.tar.uu \ | |
cf6ad4ba TK |
696 | libarchive/test/test_read_format_gtar_sparse_1_17_posix00.tar.uu \ |
697 | libarchive/test/test_read_format_gtar_sparse_1_17_posix01.tar.uu \ | |
698 | libarchive/test/test_read_format_gtar_sparse_1_17_posix10.tar.uu \ | |
b3cfa26b | 699 | libarchive/test/test_read_format_gtar_sparse_1_17_posix10_modified.tar.uu \ |
bf4f6ec6 | 700 | libarchive/test/test_read_format_gtar_sparse_skip_entry.tar.Z.uu \ |
154865e1 TK |
701 | libarchive/test/test_read_format_iso.iso.Z.uu \ |
702 | libarchive/test/test_read_format_iso_2.iso.Z.uu \ | |
703 | libarchive/test/test_read_format_iso_joliet.iso.Z.uu \ | |
704 | libarchive/test/test_read_format_iso_joliet_by_nero.iso.Z.uu \ | |
705 | libarchive/test/test_read_format_iso_joliet_long.iso.Z.uu \ | |
706 | libarchive/test/test_read_format_iso_joliet_rockridge.iso.Z.uu \ | |
707 | libarchive/test/test_read_format_iso_multi_extent.iso.Z.uu \ | |
708 | libarchive/test/test_read_format_iso_rockridge.iso.Z.uu \ | |
709 | libarchive/test/test_read_format_iso_rockridge_ce.iso.Z.uu \ | |
710 | libarchive/test/test_read_format_iso_rockridge_new.iso.Z.uu \ | |
711 | libarchive/test/test_read_format_iso_rockridge_rr_moved.iso.Z.uu \ | |
712 | libarchive/test/test_read_format_iso_xorriso.iso.Z.uu \ | |
713 | libarchive/test/test_read_format_iso_zisofs.iso.Z.uu \ | |
3ce11df0 | 714 | libarchive/test/test_read_format_lha_bugfix_0.lzh.uu \ |
154865e1 TK |
715 | libarchive/test/test_read_format_lha_filename_cp932.lzh.uu \ |
716 | libarchive/test/test_read_format_lha_header0.lzh.uu \ | |
717 | libarchive/test/test_read_format_lha_header1.lzh.uu \ | |
718 | libarchive/test/test_read_format_lha_header2.lzh.uu \ | |
719 | libarchive/test/test_read_format_lha_header3.lzh.uu \ | |
720 | libarchive/test/test_read_format_lha_lh0.lzh.uu \ | |
721 | libarchive/test/test_read_format_lha_lh6.lzh.uu \ | |
722 | libarchive/test/test_read_format_lha_lh7.lzh.uu \ | |
723 | libarchive/test/test_read_format_lha_withjunk.lzh.uu \ | |
724 | libarchive/test/test_read_format_mtree.mtree.uu \ | |
725 | libarchive/test/test_read_format_mtree_nomagic.mtree.uu \ | |
726 | libarchive/test/test_read_format_mtree_nomagic2.mtree.uu \ | |
727 | libarchive/test/test_read_format_mtree_nomagic3.mtree.uu \ | |
728 | libarchive/test/test_read_format_rar.rar.uu \ | |
729 | libarchive/test/test_read_format_rar_binary_data.rar.uu \ | |
730 | libarchive/test/test_read_format_rar_compress_best.rar.uu \ | |
731 | libarchive/test/test_read_format_rar_compress_normal.rar.uu \ | |
732 | libarchive/test/test_read_format_rar_encryption_data.rar.uu \ | |
733 | libarchive/test/test_read_format_rar_encryption_header.rar.uu \ | |
734 | libarchive/test/test_read_format_rar_encryption_partially.rar.uu \ | |
735 | libarchive/test/test_read_format_rar_multi_lzss_blocks.rar.uu \ | |
736 | libarchive/test/test_read_format_rar_multivolume.part0001.rar.uu \ | |
737 | libarchive/test/test_read_format_rar_multivolume.part0002.rar.uu \ | |
738 | libarchive/test/test_read_format_rar_multivolume.part0003.rar.uu \ | |
739 | libarchive/test/test_read_format_rar_multivolume.part0004.rar.uu \ | |
740 | libarchive/test/test_read_format_rar_noeof.rar.uu \ | |
741 | libarchive/test/test_read_format_rar_ppmd_lzss_conversion.rar.uu \ | |
742 | libarchive/test/test_read_format_rar_sfx.exe.uu \ | |
743 | libarchive/test/test_read_format_rar_subblock.rar.uu \ | |
744 | libarchive/test/test_read_format_rar_unicode.rar.uu \ | |
745 | libarchive/test/test_read_format_rar_windows.rar.uu \ | |
746 | libarchive/test/test_read_format_raw.data.Z.uu \ | |
747 | libarchive/test/test_read_format_raw.data.uu \ | |
748 | libarchive/test/test_read_format_tar_concatenated.tar.uu \ | |
749 | libarchive/test/test_read_format_tar_empty_filename.tar.uu \ | |
750 | libarchive/test/test_read_format_tar_empty_pax.tar.Z.uu \ | |
751 | libarchive/test/test_read_format_tar_filename_koi8r.tar.Z.uu \ | |
752 | libarchive/test/test_read_format_ustar_filename_cp866.tar.Z.uu \ | |
753 | libarchive/test/test_read_format_ustar_filename_eucjp.tar.Z.uu \ | |
754 | libarchive/test/test_read_format_ustar_filename_koi8r.tar.Z.uu \ | |
755 | libarchive/test/test_read_format_zip.zip.uu \ | |
756 | libarchive/test/test_read_format_zip_comment_stored_1.zip.uu \ | |
757 | libarchive/test/test_read_format_zip_comment_stored_2.zip.uu \ | |
758 | libarchive/test/test_read_format_zip_encryption_data.zip.uu \ | |
759 | libarchive/test/test_read_format_zip_encryption_header.zip.uu \ | |
760 | libarchive/test/test_read_format_zip_encryption_partially.zip.uu \ | |
761 | libarchive/test/test_read_format_zip_filename_cp866.zip.uu \ | |
762 | libarchive/test/test_read_format_zip_filename_cp932.zip.uu \ | |
763 | libarchive/test/test_read_format_zip_filename_koi8r.zip.uu \ | |
764 | libarchive/test/test_read_format_zip_filename_utf8_jp.zip.uu \ | |
765 | libarchive/test/test_read_format_zip_filename_utf8_ru.zip.uu \ | |
766 | libarchive/test/test_read_format_zip_filename_utf8_ru2.zip.uu \ | |
767 | libarchive/test/test_read_format_zip_length_at_end.zip.uu \ | |
768 | libarchive/test/test_read_format_zip_mac_metadata.zip.uu \ | |
769 | libarchive/test/test_read_format_zip_nofiletype.zip.uu \ | |
770 | libarchive/test/test_read_format_zip_padded1.zip.uu \ | |
771 | libarchive/test/test_read_format_zip_padded2.zip.uu \ | |
772 | libarchive/test/test_read_format_zip_padded3.zip.uu \ | |
773 | libarchive/test/test_read_format_zip_sfx.uu \ | |
774 | libarchive/test/test_read_format_zip_symlink.zip.uu \ | |
8145520c | 775 | libarchive/test/test_read_format_zip_traditional_encryption_data.zip.uu \ |
154865e1 | 776 | libarchive/test/test_read_format_zip_ux.zip.uu \ |
c3c366eb MN |
777 | libarchive/test/test_read_format_zip_winzip_aes128.zip.uu \ |
778 | libarchive/test/test_read_format_zip_winzip_aes256.zip.uu \ | |
779 | libarchive/test/test_read_format_zip_winzip_aes256_large.zip.uu \ | |
780 | libarchive/test/test_read_format_zip_winzip_aes256_stored.zip.uu \ | |
154865e1 TK |
781 | libarchive/test/test_read_format_zip_zip64a.zip.uu \ |
782 | libarchive/test/test_read_format_zip_zip64b.zip.uu \ | |
783 | libarchive/test/test_read_large_splitted_rar_aa.uu \ | |
784 | libarchive/test/test_read_large_splitted_rar_ab.uu \ | |
785 | libarchive/test/test_read_large_splitted_rar_ac.uu \ | |
786 | libarchive/test/test_read_large_splitted_rar_ad.uu \ | |
787 | libarchive/test/test_read_large_splitted_rar_ae.uu \ | |
788 | libarchive/test/test_read_splitted_rar_aa.uu \ | |
789 | libarchive/test/test_read_splitted_rar_ab.uu \ | |
790 | libarchive/test/test_read_splitted_rar_ac.uu \ | |
791 | libarchive/test/test_read_splitted_rar_ad.uu \ | |
792 | libarchive/test/test_splitted_rar_seek_support_aa.uu \ | |
793 | libarchive/test/test_splitted_rar_seek_support_ab.uu \ | |
794 | libarchive/test/test_splitted_rar_seek_support_ac.uu \ | |
795 | libarchive/test/test_write_disk_appledouble.cpio.gz.uu \ | |
796 | libarchive/test/test_write_disk_hfs_compression.tgz.uu \ | |
797 | libarchive/test/test_write_disk_mac_metadata.tar.gz.uu \ | |
798 | libarchive/test/test_write_disk_no_hfs_compression.tgz.uu \ | |
799 | libarchive/test/CMakeLists.txt \ | |
79cb8e5b | 800 | libarchive/test/README |
b3cfa26b | 801 | |
71d1bfe0 JS |
802 | # |
803 | # Common code for libarchive frontends (cpio, tar) | |
804 | # | |
154865e1 TK |
805 | libarchive_fe_la_SOURCES= \ |
806 | libarchive_fe/err.c \ | |
807 | libarchive_fe/err.h \ | |
808 | libarchive_fe/lafe_platform.h \ | |
809 | libarchive_fe/line_reader.c \ | |
ae314ad8 | 810 | libarchive_fe/line_reader.h |
b3cfa26b | 811 | |
e1a574df | 812 | libarchive_fe_la_CPPFLAGS= -I$(top_srcdir)/libarchive |
b3cfa26b TK |
813 | # |
814 | # | |
815 | # bsdtar source, docs, etc. | |
816 | # | |
817 | # | |
818 | ||
154865e1 TK |
819 | bsdtar_SOURCES= \ |
820 | tar/bsdtar.c \ | |
821 | tar/bsdtar.h \ | |
822 | tar/bsdtar_platform.h \ | |
823 | tar/cmdline.c \ | |
824 | tar/creation_set.c \ | |
825 | tar/read.c \ | |
826 | tar/subst.c \ | |
827 | tar/util.c \ | |
b3cfa26b TK |
828 | tar/write.c |
829 | ||
79cb8e5b | 830 | if INC_WINDOWS_FILES |
154865e1 TK |
831 | bsdtar_SOURCES+= \ |
832 | tar/bsdtar_windows.h \ | |
926d6bcb | 833 | tar/bsdtar_windows.c |
79cb8e5b | 834 | endif |
79cb8e5b | 835 | |
71d1bfe0 | 836 | bsdtar_DEPENDENCIES= libarchive.la libarchive_fe.la |
b3cfa26b TK |
837 | |
838 | if STATIC_BSDTAR | |
66c6a7b4 CW |
839 | bsdtar_ldstatic= -static |
840 | bsdtar_ccstatic= -DLIBARCHIVE_STATIC | |
b3cfa26b | 841 | else |
66c6a7b4 CW |
842 | bsdtar_ldstatic= |
843 | bsdtar_ccstatic= | |
b3cfa26b TK |
844 | endif |
845 | ||
17fd872a | 846 | bsdtar_LDADD= libarchive.la libarchive_fe.la $(LTLIBICONV) |
c31d1bc4 | 847 | bsdtar_CPPFLAGS= -I$(top_srcdir)/libarchive -I$(top_srcdir)/libarchive_fe $(bsdtar_ccstatic) $(PLATFORMCPPFLAGS) |
66c6a7b4 | 848 | bsdtar_LDFLAGS= $(bsdtar_ldstatic) |
71d1bfe0 | 849 | |
154865e1 TK |
850 | bsdtar_EXTRA_DIST= \ |
851 | tar/bsdtar.1 \ | |
852 | tar/bsdtar_windows.h \ | |
853 | tar/bsdtar_windows.c \ | |
854 | tar/CMakeLists.txt \ | |
9d22dfd5 | 855 | tar/config_freebsd.h |
79cb8e5b | 856 | |
b3cfa26b TK |
857 | |
858 | if BUILD_BSDTAR | |
859 | bsdtar_man_MANS= tar/bsdtar.1 | |
860 | bsdtar_programs= bsdtar | |
861 | else | |
862 | bsdtar_man_MANS= | |
863 | bsdtar_programs= | |
864 | endif | |
865 | ||
866 | # | |
867 | # bsdtar_test | |
868 | # | |
869 | ||
154865e1 TK |
870 | bsdtar_test_SOURCES= \ |
871 | $(test_utils_SOURCES) \ | |
872 | tar/test/main.c \ | |
873 | tar/test/test.h \ | |
874 | tar/test/test_0.c \ | |
875 | tar/test/test_basic.c \ | |
876 | tar/test/test_copy.c \ | |
877 | tar/test/test_empty_mtree.c \ | |
878 | tar/test/test_extract_tar_Z.c \ | |
879 | tar/test/test_extract_tar_bz2.c \ | |
880 | tar/test/test_extract_tar_grz.c \ | |
881 | tar/test/test_extract_tar_gz.c \ | |
882 | tar/test/test_extract_tar_lrz.c \ | |
883 | tar/test/test_extract_tar_lz.c \ | |
aecd3a2c | 884 | tar/test/test_extract_tar_lz4.c \ |
154865e1 TK |
885 | tar/test/test_extract_tar_lzma.c \ |
886 | tar/test/test_extract_tar_lzo.c \ | |
887 | tar/test/test_extract_tar_xz.c \ | |
888 | tar/test/test_format_newc.c \ | |
889 | tar/test/test_help.c \ | |
890 | tar/test/test_option_C_upper.c \ | |
891 | tar/test/test_option_H_upper.c \ | |
892 | tar/test/test_option_L_upper.c \ | |
893 | tar/test/test_option_O_upper.c \ | |
894 | tar/test/test_option_T_upper.c \ | |
895 | tar/test/test_option_U_upper.c \ | |
896 | tar/test/test_option_X_upper.c \ | |
897 | tar/test/test_option_a.c \ | |
898 | tar/test/test_option_b.c \ | |
899 | tar/test/test_option_b64encode.c \ | |
900 | tar/test/test_option_exclude.c \ | |
901 | tar/test/test_option_gid_gname.c \ | |
902 | tar/test/test_option_grzip.c \ | |
903 | tar/test/test_option_j.c \ | |
904 | tar/test/test_option_k.c \ | |
905 | tar/test/test_option_keep_newer_files.c \ | |
906 | tar/test/test_option_lrzip.c \ | |
8c4be28f | 907 | tar/test/test_option_lz4.c \ |
154865e1 TK |
908 | tar/test/test_option_lzma.c \ |
909 | tar/test/test_option_lzop.c \ | |
910 | tar/test/test_option_n.c \ | |
911 | tar/test/test_option_newer_than.c \ | |
912 | tar/test/test_option_nodump.c \ | |
913 | tar/test/test_option_older_than.c \ | |
914 | tar/test/test_option_q.c \ | |
915 | tar/test/test_option_r.c \ | |
916 | tar/test/test_option_s.c \ | |
917 | tar/test/test_option_uid_uname.c \ | |
918 | tar/test/test_option_uuencode.c \ | |
919 | tar/test/test_option_xz.c \ | |
920 | tar/test/test_option_z.c \ | |
921 | tar/test/test_patterns.c \ | |
922 | tar/test/test_print_longpath.c \ | |
923 | tar/test/test_stdio.c \ | |
924 | tar/test/test_strip_components.c \ | |
925 | tar/test/test_symlink_dir.c \ | |
926 | tar/test/test_version.c \ | |
f470386a | 927 | tar/test/test_windows.c |
b3cfa26b | 928 | |
c31d1bc4 CW |
929 | bsdtar_test_CPPFLAGS=\ |
930 | -I$(top_srcdir)/libarchive -I$(top_srcdir)/libarchive_fe \ | |
aa95a749 | 931 | -I$(top_srcdir)/test_utils \ |
c31d1bc4 CW |
932 | -I$(top_srcdir)/tar -I$(top_builddir)/tar/test \ |
933 | $(PLATFORMCPPFLAGS) | |
b3cfa26b TK |
934 | |
935 | tar/test/list.h: Makefile | |
936 | cat $(top_srcdir)/tar/test/test_*.c | grep DEFINE_TEST > tar/test/list.h | |
937 | ||
938 | if BUILD_BSDTAR | |
939 | bsdtar_test_programs= bsdtar_test | |
125047fc | 940 | bsdtar_TESTS_ENVIRONMENT= BSDTAR=`cd $(top_builddir);/bin/pwd`/bsdtar$(EXEEXT) BSDTAR_TEST_FILES=`cd $(top_srcdir);/bin/pwd`/tar/test |
b3cfa26b TK |
941 | else |
942 | bsdtar_test_programs= | |
943 | bsdtar_TESTS_ENVIRONMENT= | |
944 | endif | |
945 | ||
154865e1 | 946 | bsdtar_test_EXTRA_DIST= \ |
9d22dfd5 | 947 | tar/test/list.h \ |
154865e1 | 948 | tar/test/test_extract.tar.Z.uu \ |
79c57c39 | 949 | tar/test/test_extract.tar.bz2.uu \ |
630ead78 | 950 | tar/test/test_extract.tar.grz.uu \ |
154865e1 | 951 | tar/test/test_extract.tar.gz.uu \ |
79c57c39 | 952 | tar/test/test_extract.tar.lrz.uu \ |
154865e1 | 953 | tar/test/test_extract.tar.lz.uu \ |
aecd3a2c | 954 | tar/test/test_extract.tar.lz4.uu \ |
79c57c39 MN |
955 | tar/test/test_extract.tar.lzma.uu \ |
956 | tar/test/test_extract.tar.lzo.uu \ | |
957 | tar/test/test_extract.tar.xz.uu \ | |
113601be | 958 | tar/test/test_option_keep_newer_files.tar.Z.uu \ |
9d22dfd5 | 959 | tar/test/test_option_s.tar.Z.uu \ |
154865e1 TK |
960 | tar/test/test_patterns_2.tar.uu \ |
961 | tar/test/test_patterns_3.tar.uu \ | |
962 | tar/test/test_patterns_4.tar.uu \ | |
b4a4200f | 963 | tar/test/test_print_longpath.tar.Z.uu \ |
79cb8e5b | 964 | tar/test/CMakeLists.txt |
d75f8db1 | 965 | |
b3cfa26b TK |
966 | |
967 | # | |
968 | # | |
969 | # bsdcpio source, docs, etc. | |
970 | # | |
971 | # | |
972 | ||
154865e1 TK |
973 | bsdcpio_SOURCES= \ |
974 | cpio/cmdline.c \ | |
975 | cpio/cpio.c \ | |
976 | cpio/cpio.h \ | |
71d1bfe0 | 977 | cpio/cpio_platform.h |
b3cfa26b | 978 | |
79cb8e5b | 979 | if INC_WINDOWS_FILES |
154865e1 TK |
980 | bsdcpio_SOURCES+= \ |
981 | cpio/cpio_windows.h \ | |
926d6bcb | 982 | cpio/cpio_windows.c |
79cb8e5b | 983 | endif |
79cb8e5b | 984 | |
71d1bfe0 | 985 | bsdcpio_DEPENDENCIES = libarchive.la libarchive_fe.la |
b3cfa26b TK |
986 | |
987 | ||
988 | if STATIC_BSDCPIO | |
66c6a7b4 CW |
989 | bsdcpio_ldstatic= -static |
990 | bsdcpio_ccstatic= -DLIBARCHIVE_STATIC | |
b3cfa26b | 991 | else |
66c6a7b4 CW |
992 | bsdcpio_ldstatic= |
993 | bsdcpio_ccstatic= | |
b3cfa26b TK |
994 | endif |
995 | ||
17fd872a | 996 | bsdcpio_LDADD= libarchive_fe.la libarchive.la $(LTLIBICONV) |
c31d1bc4 | 997 | bsdcpio_CPPFLAGS= -I$(top_srcdir)/libarchive -I$(top_srcdir)/libarchive_fe $(bsdcpio_ccstatic) $(PLATFORMCPPFLAGS) |
66c6a7b4 CW |
998 | bsdcpio_LDFLAGS= $(bsdcpio_ldstatic) |
999 | ||
154865e1 TK |
1000 | bsdcpio_EXTRA_DIST= \ |
1001 | cpio/bsdcpio.1 \ | |
1002 | cpio/cpio_windows.h \ | |
1003 | cpio/cpio_windows.c \ | |
1004 | cpio/CMakeLists.txt \ | |
79cb8e5b CW |
1005 | cpio/config_freebsd.h |
1006 | ||
b3cfa26b TK |
1007 | |
1008 | if BUILD_BSDCPIO | |
1009 | # Manpages to install | |
1010 | bsdcpio_man_MANS= cpio/bsdcpio.1 | |
1011 | bsdcpio_programs= bsdcpio | |
1012 | else | |
1013 | bsdcpio_man_MANS= | |
1014 | bsdcpio_programs= | |
1015 | endif | |
1016 | ||
1017 | # | |
1018 | # bsdcpio_test | |
1019 | # | |
1020 | ||
154865e1 TK |
1021 | bsdcpio_test_SOURCES= \ |
1022 | $(test_utils_SOURCES) \ | |
1023 | cpio/cmdline.c \ | |
1024 | cpio/test/main.c \ | |
1025 | cpio/test/test.h \ | |
1026 | cpio/test/test_0.c \ | |
1027 | cpio/test/test_basic.c \ | |
1028 | cpio/test/test_cmdline.c \ | |
1029 | cpio/test/test_extract_cpio_Z.c \ | |
1030 | cpio/test/test_extract_cpio_bz2.c \ | |
1031 | cpio/test/test_extract_cpio_grz.c \ | |
1032 | cpio/test/test_extract_cpio_gz.c \ | |
1033 | cpio/test/test_extract_cpio_lrz.c \ | |
1034 | cpio/test/test_extract_cpio_lz.c \ | |
aecd3a2c | 1035 | cpio/test/test_extract_cpio_lz4.c \ |
154865e1 TK |
1036 | cpio/test/test_extract_cpio_lzma.c \ |
1037 | cpio/test/test_extract_cpio_lzo.c \ | |
1038 | cpio/test/test_extract_cpio_xz.c \ | |
1039 | cpio/test/test_format_newc.c \ | |
1040 | cpio/test/test_gcpio_compat.c \ | |
1041 | cpio/test/test_option_0.c \ | |
1042 | cpio/test/test_option_B_upper.c \ | |
1043 | cpio/test/test_option_C_upper.c \ | |
1044 | cpio/test/test_option_J_upper.c \ | |
1045 | cpio/test/test_option_L_upper.c \ | |
1046 | cpio/test/test_option_Z_upper.c \ | |
1047 | cpio/test/test_option_a.c \ | |
1048 | cpio/test/test_option_b64encode.c \ | |
1049 | cpio/test/test_option_c.c \ | |
1050 | cpio/test/test_option_d.c \ | |
1051 | cpio/test/test_option_f.c \ | |
1052 | cpio/test/test_option_grzip.c \ | |
1053 | cpio/test/test_option_help.c \ | |
1054 | cpio/test/test_option_l.c \ | |
1055 | cpio/test/test_option_lrzip.c \ | |
8c4be28f | 1056 | cpio/test/test_option_lz4.c \ |
154865e1 TK |
1057 | cpio/test/test_option_lzma.c \ |
1058 | cpio/test/test_option_lzop.c \ | |
1059 | cpio/test/test_option_m.c \ | |
1060 | cpio/test/test_option_t.c \ | |
1061 | cpio/test/test_option_u.c \ | |
1062 | cpio/test/test_option_uuencode.c \ | |
1063 | cpio/test/test_option_version.c \ | |
1064 | cpio/test/test_option_xz.c \ | |
1065 | cpio/test/test_option_y.c \ | |
1066 | cpio/test/test_option_z.c \ | |
1067 | cpio/test/test_owner_parse.c \ | |
1068 | cpio/test/test_passthrough_dotdot.c \ | |
718b5cc7 | 1069 | cpio/test/test_passthrough_reverse.c |
b3cfa26b | 1070 | |
71d1bfe0 JS |
1071 | bsdcpio_test_CPPFLAGS= \ |
1072 | -I$(top_srcdir)/libarchive -I$(top_srcdir)/libarchive_fe \ | |
aa95a749 | 1073 | -I$(top_srcdir)/test_utils \ |
c31d1bc4 CW |
1074 | -I$(top_srcdir)/cpio -I$(top_builddir)/cpio/test \ |
1075 | $(PLATFORMCPPFLAGS) | |
cee6343a | 1076 | bsdcpio_test_LDADD=libarchive_fe.la |
b3cfa26b TK |
1077 | |
1078 | cpio/test/list.h: Makefile | |
1079 | cat $(top_srcdir)/cpio/test/test_*.c | grep DEFINE_TEST > cpio/test/list.h | |
1080 | ||
1081 | if BUILD_BSDCPIO | |
1082 | bsdcpio_test_programs= bsdcpio_test | |
125047fc | 1083 | bsdcpio_TESTS_ENVIRONMENT= BSDCPIO=`cd $(top_builddir);/bin/pwd`/bsdcpio$(EXEEXT) BSDCPIO_TEST_FILES=`cd $(top_srcdir);/bin/pwd`/cpio/test |
b3cfa26b TK |
1084 | else |
1085 | bsdcpio_test_programs= | |
1086 | bsdcpio_TESTS_ENVIRONMENT= | |
1087 | endif | |
1088 | ||
154865e1 TK |
1089 | bsdcpio_test_EXTRA_DIST= \ |
1090 | cpio/test/list.h \ | |
1091 | cpio/test/test_extract.cpio.Z.uu \ | |
1092 | cpio/test/test_extract.cpio.bz2.uu \ | |
1093 | cpio/test/test_extract.cpio.grz.uu \ | |
1094 | cpio/test/test_extract.cpio.gz.uu \ | |
1095 | cpio/test/test_extract.cpio.lrz.uu \ | |
1096 | cpio/test/test_extract.cpio.lz.uu \ | |
aecd3a2c | 1097 | cpio/test/test_extract.cpio.lz4.uu \ |
154865e1 TK |
1098 | cpio/test/test_extract.cpio.lzma.uu \ |
1099 | cpio/test/test_extract.cpio.lzo.uu \ | |
1100 | cpio/test/test_extract.cpio.xz.uu \ | |
1101 | cpio/test/test_gcpio_compat_ref.bin.uu \ | |
1102 | cpio/test/test_gcpio_compat_ref.crc.uu \ | |
1103 | cpio/test/test_gcpio_compat_ref.newc.uu \ | |
b3cfa26b | 1104 | cpio/test/test_gcpio_compat_ref.ustar.uu \ |
e8b51424 JS |
1105 | cpio/test/test_gcpio_compat_ref_nosym.bin.uu \ |
1106 | cpio/test/test_gcpio_compat_ref_nosym.crc.uu \ | |
1107 | cpio/test/test_gcpio_compat_ref_nosym.newc.uu \ | |
1108 | cpio/test/test_gcpio_compat_ref_nosym.ustar.uu \ | |
154865e1 TK |
1109 | cpio/test/test_option_f.cpio.uu \ |
1110 | cpio/test/test_option_m.cpio.uu \ | |
1111 | cpio/test/test_option_t.cpio.uu \ | |
1112 | cpio/test/test_option_t.stdout.uu \ | |
1113 | cpio/test/test_option_tv.stdout.uu \ | |
79cb8e5b | 1114 | cpio/test/CMakeLists.txt |
5d3f56d2 MK |
1115 | |
1116 | # | |
1117 | # | |
1118 | # bsdcat source, docs, etc. | |
1119 | # | |
1120 | # | |
1121 | ||
1122 | bsdcat_SOURCES= \ | |
1123 | cat/bsdcat.c \ | |
1124 | cat/bsdcat.h | |
1125 | ||
1126 | if INC_WINDOWS_FILES | |
1127 | bsdcat_SOURCES+= | |
1128 | endif | |
1129 | ||
1130 | bsdcat_DEPENDENCIES = libarchive.la libarchive_fe.la | |
1131 | ||
1132 | ||
1133 | if STATIC_BSDCAT | |
1134 | bsdcat_ldstatic= -static | |
1135 | bsdcat_ccstatic= -DLIBARCHIVE_STATIC | |
1136 | else | |
1137 | bsdcat_ldstatic= | |
1138 | bsdcat_ccstatic= | |
1139 | endif | |
1140 | ||
1141 | bsdcat_LDADD= libarchive_fe.la libarchive.la $(LTLIBICONV) | |
1142 | bsdcat_CPPFLAGS= -I$(top_srcdir)/libarchive -I$(top_srcdir)/libarchive_fe $(bsdcat_ccstatic) $(PLATFORMCPPFLAGS) | |
1143 | bsdcat_LDFLAGS= $(bsdcat_ldstatic) | |
1144 | ||
1145 | bsdcat_EXTRA_DIST= \ | |
1146 | cat/bsdcat.1 \ | |
1147 | cat/CMakeLists.txt | |
1148 | ||
1149 | ||
1150 | if BUILD_BSDCAT | |
1151 | # Manpages to install | |
1152 | bsdcat_man_MANS= cat/bsdcat.1 | |
1153 | bsdcat_programs= bsdcat | |
1154 | else | |
1155 | bsdcat_man_MANS= | |
1156 | bsdcat_programs= | |
1157 | endif | |
c03898de MK |
1158 | |
1159 | # | |
1160 | # bsdcat_test | |
1161 | # | |
1162 | ||
1163 | bsdcat_test_SOURCES= \ | |
1164 | $(test_utils_SOURCES) \ | |
1165 | cat/test/main.c \ | |
1166 | cat/test/test.h \ | |
1167 | cat/test/test_0.c \ | |
850c3c8d | 1168 | cat/test/test_empty_gz.c \ |
f6b202b6 | 1169 | cat/test/test_empty_lz4.c \ |
850c3c8d | 1170 | cat/test/test_empty_xz.c \ |
c03898de MK |
1171 | cat/test/test_error.c \ |
1172 | cat/test/test_error_mixed.c \ | |
1173 | cat/test/test_expand_Z.c \ | |
1174 | cat/test/test_expand_bz2.c \ | |
1175 | cat/test/test_expand_gz.c \ | |
aecd3a2c | 1176 | cat/test/test_expand_lz4.c \ |
c03898de MK |
1177 | cat/test/test_expand_mixed.c \ |
1178 | cat/test/test_expand_plain.c \ | |
1179 | cat/test/test_expand_xz.c \ | |
1180 | cat/test/test_help.c \ | |
1181 | cat/test/test_version.c | |
1182 | ||
1183 | bsdcat_test_CPPFLAGS= \ | |
1184 | -I$(top_srcdir)/libarchive -I$(top_srcdir)/libarchive_fe \ | |
1185 | -I$(top_srcdir)/test_utils \ | |
1186 | -I$(top_srcdir)/cat -I$(top_builddir)/cat/test \ | |
1187 | $(PLATFORMCPPFLAGS) | |
1188 | bsdcat_test_LDADD=libarchive_fe.la | |
1189 | ||
1190 | cat/test/list.h: Makefile | |
1191 | cat $(top_srcdir)/cat/test/test_*.c | grep DEFINE_TEST > cat/test/list.h | |
1192 | ||
1193 | if BUILD_BSDCAT | |
1194 | bsdcat_test_programs= bsdcat_test | |
1195 | bsdcat_TESTS_ENVIRONMENT= BSDCAT=`cd $(top_builddir);/bin/pwd`/bsdcat$(EXEEXT) BSDCAT_TEST_FILES=`cd $(top_srcdir);/bin/pwd`/cat/test | |
1196 | else | |
1197 | bsdcat_test_programs= | |
1198 | bsdcat_TESTS_ENVIRONMENT= | |
1199 | endif | |
1200 | ||
1201 | bsdcat_test_EXTRA_DIST= \ | |
1202 | cat/test/list.h \ | |
850c3c8d | 1203 | cat/test/test_empty.gz.uu \ |
f6b202b6 | 1204 | cat/test/test_empty.lz4.uu \ |
850c3c8d | 1205 | cat/test/test_empty.xz.uu \ |
c03898de MK |
1206 | cat/test/test_expand.Z.uu \ |
1207 | cat/test/test_expand.bz2.uu \ | |
1208 | cat/test/test_expand.gz.uu \ | |
aecd3a2c | 1209 | cat/test/test_expand.lz4.uu \ |
c03898de MK |
1210 | cat/test/test_expand.plain.uu \ |
1211 | cat/test/test_expand.xz.uu \ | |
1212 | cat/test/CMakeLists.txt |