Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 733 lines (678 sloc) 26.202 kB
b3cfa26 @kientzle Fill in the libarchive-portable build infrastructure that uses autoco…
kientzle authored
1 ## Process this file with automake to produce Makefile.in
2
3 AUTOMAKE_OPTIONS= foreign subdir-objects
3de7eac @kientzle Revert r1016 because of feedback from Charles Wilson.
kientzle authored
4 ACLOCAL_AMFLAGS = -I build/autoconf
b3cfa26 @kientzle Fill in the libarchive-portable build infrastructure that uses autoco…
kientzle authored
5
6 #
7 # What to build and install
8 #
9 lib_LTLIBRARIES= libarchive.la
71d1bfe Refactor common frontend code into a separate library.
Joerg Sonnenberger authored
10 noinst_LTLIBRARIES= libarchive_fe.la
b3cfa26 @kientzle Fill in the libarchive-portable build infrastructure that uses autoco…
kientzle authored
11 bin_PROGRAMS= $(bsdtar_programs) $(bsdcpio_programs)
12 man_MANS= $(libarchive_man_MANS) $(bsdtar_man_MANS) $(bsdcpio_man_MANS)
13 BUILT_SOURCES= libarchive/test/list.h tar/test/list.h cpio/test/list.h
14
15 #
16 # What to test: We always test libarchive, test bsdtar and bsdcpio only
17 # if we built them.
18 #
19 check_PROGRAMS= libarchive_test $(bsdtar_test_programs) $(bsdcpio_test_programs)
20 TESTS= libarchive_test $(bsdtar_test_programs) $(bsdcpio_test_programs)
21 TESTS_ENVIRONMENT= $(libarchive_TESTS_ENVIRONMENT) $(bsdtar_TESTS_ENVIRONMENT) $(bsdcpio_TESTS_ENVIRONMENT)
22 # Always build and test both bsdtar and bsdcpio as part of 'distcheck'
23 DISTCHECK_CONFIGURE_FLAGS = --enable-bsdtar --enable-bsdcpio
0380c97 @kientzle Make the policy for -Werror/-Wall here a little clearer.
kientzle authored
24 # The next line is commented out by default in shipping libarchive releases.
25 # It is uncommented by default in trunk.
9008e2a @kientzle Set -Wall -Werror to catch more minor build lint during development.
kientzle authored
26 AM_CFLAGS=-Wall -Werror
c31d1bc Ensure __USE_MINGW_ANSI_STDIO is defined for MinGW builds.
Charles Wilson authored
27 PLATFORMCPPFLAGS = @PLATFORMCPPFLAGS@
28 AM_CPPFLAGS=$(PLATFORMCPPFLAGS)
b3cfa26 @kientzle Fill in the libarchive-portable build infrastructure that uses autoco…
kientzle authored
29
30 #
31 # What to include in the distribution
32 #
952928f @kientzle Catch up with some of the moved files.
kientzle authored
33 EXTRA_DIST= \
8dd1cb9 @kientzle Add PROJECTS to the distribution, sort the file list.
kientzle authored
34 CMakeLists.txt \
842877b @kientzle Some extra files that were omitted from the distribution.
kientzle authored
35 build/autogen.sh \
192fd4f @kientzle Refactor the release-building scripts just a bit:
kientzle authored
36 build/bump-version.sh \
37 build/clean.sh \
952928f @kientzle Catch up with some of the moved files.
kientzle authored
38 build/cmake \
39 build/version \
b3cfa26 @kientzle Fill in the libarchive-portable build infrastructure that uses autoco…
kientzle authored
40 contrib \
3f3749c @kientzle Include contributed Windows build files in portable release.
kientzle authored
41 doc \
b3cfa26 @kientzle Fill in the libarchive-portable build infrastructure that uses autoco…
kientzle authored
42 examples \
43 $(libarchive_EXTRA_DIST) \
44 $(libarchive_test_EXTRA_DIST) \
45 $(bsdtar_EXTRA_DIST) \
46 $(bsdtar_test_EXTRA_DIST) \
47 $(bsdcpio_EXTRA_DIST) \
48 $(bsdcpio_test_EXTRA_DIST)
49
50 # a) Clean out some unneeded files and directories
51 # b) Collect all documentation and format it for distribution.
52 dist-hook:
53 rm -rf `find $(distdir) -name CVS -type d`
54 rm -rf `find $(distdir) -name .svn -type d`
55 rm -f `find $(distdir) -name '*~'`
56 rm -f `find $(distdir) -name '*.out'`
57 rm -f `find $(distdir) -name '*.core'`
58 -rm -f $(distdir)/*/Makefile $(distdir)/*/*/Makefile
09549f4 @kientzle Eliminate archive.h.in; instead of editing a new version into
kientzle authored
59 cd $(distdir)/doc && /bin/sh update.sh
b3cfa26 @kientzle Fill in the libarchive-portable build infrastructure that uses autoco…
kientzle authored
60
61 #
62 # Extra rules for cleanup
63 #
438c691 @kientzle No more YACC: Translated the old getdate.y into a recursive-descent
kientzle authored
64 DISTCLEANFILES= \
b3cfa26 @kientzle Fill in the libarchive-portable build infrastructure that uses autoco…
kientzle authored
65 libarchive/test/list.h \
66 tar/test/list.h \
67 cpio/test/list.h
68
69 distclean-local:
70 -rm -rf .ref
71 -rm -rf autom4te.cache/
72 -rm -f *~
73 -[ -f libarchive/Makefile ] && cd libarchive && make clean
74 -[ -f libarchive/test/Makefile ] && cd libarchive/test && make clean
75 -[ -f tar/Makefile ] && cd tar && make clean
76 -[ -f tar/test/Makefile ] && cd tar/test && make clean
77 -[ -f cpio/Makefile ] && cd cpio && make clean
78 -[ -f cpio/test/Makefile ] && cd cpio/test && make clean
79
80 #
81 # Libarchive headers, source, etc.
82 #
83 #
84
09549f4 @kientzle Eliminate archive.h.in; instead of editing a new version into
kientzle authored
85 include_HEADERS= libarchive/archive.h libarchive/archive_entry.h
b3cfa26 @kientzle Fill in the libarchive-portable build infrastructure that uses autoco…
kientzle authored
86
87 libarchive_la_SOURCES= \
d08b8d7 @kientzle Add a couple of files that were omitted from Makefile.am
kientzle authored
88 libarchive/archive_acl.c \
ab9806b @kientzle Move the abstract ACL manipulations into a separate source file.
kientzle authored
89 libarchive/archive_acl_private.h \
b3cfa26 @kientzle Fill in the libarchive-portable build infrastructure that uses autoco…
kientzle authored
90 libarchive/archive_check_magic.c \
4bb676b @kientzle Include archive_crc32.h in the distribution.
kientzle authored
91 libarchive/archive_crc32.h \
b3cfa26 @kientzle Fill in the libarchive-portable build infrastructure that uses autoco…
kientzle authored
92 libarchive/archive_endian.h \
93 libarchive/archive_entry.c \
94 libarchive/archive_entry.h \
95 libarchive/archive_entry_copy_stat.c \
96 libarchive/archive_entry_link_resolver.c \
97 libarchive/archive_entry_private.h \
d216d02 @ggcueroad Determine sparse files through API such as lseek(HOLE).
ggcueroad authored
98 libarchive/archive_entry_sparse.c \
b3cfa26 @kientzle Fill in the libarchive-portable build infrastructure that uses autoco…
kientzle authored
99 libarchive/archive_entry_stat.c \
100 libarchive/archive_entry_strmode.c \
ef595b5 @kientzle Separate the xattr management for archive_entry into a separate
kientzle authored
101 libarchive/archive_entry_xattr.c \
495a197 @kientzle Catch up with new and renamed files.
kientzle authored
102 libarchive/archive_hash.h \
11e7a90 @kientzle From Roman Neuhauser: Rework textual options handling.
kientzle authored
103 libarchive/archive_options.c \
104 libarchive/archive_options_private.h \
b3cfa26 @kientzle Fill in the libarchive-portable build infrastructure that uses autoco…
kientzle authored
105 libarchive/archive_platform.h \
106 libarchive/archive_private.h \
7468944 Hook up archive_rb.[ch] to the build.
Joerg Sonnenberger authored
107 libarchive/archive_rb.c \
108 libarchive/archive_rb.h \
b3cfa26 @kientzle Fill in the libarchive-portable build infrastructure that uses autoco…
kientzle authored
109 libarchive/archive_read.c \
110 libarchive/archive_read_data_into_fd.c \
a8ac0b1 @kientzle archive_read_disk_entry_from_file() knows how to pull
kientzle authored
111 libarchive/archive_read_disk_entry_from_file.c \
1867a10 @kientzle Split the archive_read_disk traversal into separate POSIX and Windows…
kientzle authored
112 libarchive/archive_read_disk_posix.c \
45d1330 @kientzle Add new archive_read* files to the autoconf/automake build system.
kientzle authored
113 libarchive/archive_read_disk_private.h \
114 libarchive/archive_read_disk_set_standard_lookup.c \
1867a10 @kientzle Split the archive_read_disk traversal into separate POSIX and Windows…
kientzle authored
115 libarchive/archive_read_disk_windows.c \
b3cfa26 @kientzle Fill in the libarchive-portable build infrastructure that uses autoco…
kientzle authored
116 libarchive/archive_read_extract.c \
117 libarchive/archive_read_open_fd.c \
118 libarchive/archive_read_open_file.c \
119 libarchive/archive_read_open_filename.c \
120 libarchive/archive_read_open_memory.c \
121 libarchive/archive_read_private.h \
11e7a90 @kientzle From Roman Neuhauser: Rework textual options handling.
kientzle authored
122 libarchive/archive_read_set_options.c \
77fc5b1 @roman-neuhauser archive_read_support_compression_*.c -> archive_read_support_filter_*.c
roman-neuhauser authored
123 libarchive/archive_read_support_filter_all.c \
124 libarchive/archive_read_support_filter_bzip2.c \
125 libarchive/archive_read_support_filter_compress.c \
126 libarchive/archive_read_support_filter_gzip.c \
127 libarchive/archive_read_support_filter_none.c \
128 libarchive/archive_read_support_filter_program.c \
129 libarchive/archive_read_support_filter_rpm.c \
130 libarchive/archive_read_support_filter_uu.c \
131 libarchive/archive_read_support_filter_xz.c \
b3cfa26 @kientzle Fill in the libarchive-portable build infrastructure that uses autoco…
kientzle authored
132 libarchive/archive_read_support_format_all.c \
133 libarchive/archive_read_support_format_ar.c \
12a3fef @ggcueroad Add support for Microsoft Cabinet(.cab) format.
ggcueroad authored
134 libarchive/archive_read_support_format_cab.c \
b3cfa26 @kientzle Fill in the libarchive-portable build infrastructure that uses autoco…
kientzle authored
135 libarchive/archive_read_support_format_cpio.c \
136 libarchive/archive_read_support_format_empty.c \
137 libarchive/archive_read_support_format_iso9660.c \
344711d @ggcueroad Add support for lha/lzh archive format.
ggcueroad authored
138 libarchive/archive_read_support_format_lha.c \
b3cfa26 @kientzle Fill in the libarchive-portable build infrastructure that uses autoco…
kientzle authored
139 libarchive/archive_read_support_format_mtree.c \
ccdb031 @kientzle Add a new "raw" format reader that just provides raw binary data from
kientzle authored
140 libarchive/archive_read_support_format_raw.c \
b3cfa26 @kientzle Fill in the libarchive-portable build infrastructure that uses autoco…
kientzle authored
141 libarchive/archive_read_support_format_tar.c \
d2c0930 @ggcueroad Add support for xar reader.
ggcueroad authored
142 libarchive/archive_read_support_format_xar.c \
b3cfa26 @kientzle Fill in the libarchive-portable build infrastructure that uses autoco…
kientzle authored
143 libarchive/archive_read_support_format_zip.c \
144 libarchive/archive_string.c \
145 libarchive/archive_string.h \
146 libarchive/archive_string_sprintf.c \
147 libarchive/archive_util.c \
148 libarchive/archive_virtual.c \
149 libarchive/archive_write.c \
150 libarchive/archive_write_disk.c \
151 libarchive/archive_write_disk_private.h \
152 libarchive/archive_write_disk_set_standard_lookup.c \
153 libarchive/archive_write_open_fd.c \
154 libarchive/archive_write_open_file.c \
155 libarchive/archive_write_open_filename.c \
156 libarchive/archive_write_open_memory.c \
157 libarchive/archive_write_private.h \
911dc2b @kientzle Stackable write filter support. This ended up touching an awful lot
kientzle authored
158 libarchive/archive_write_add_filter_bzip2.c \
159 libarchive/archive_write_add_filter_compress.c \
160 libarchive/archive_write_add_filter_gzip.c \
161 libarchive/archive_write_add_filter_none.c \
162 libarchive/archive_write_add_filter_program.c \
163 libarchive/archive_write_add_filter_xz.c \
b3cfa26 @kientzle Fill in the libarchive-portable build infrastructure that uses autoco…
kientzle authored
164 libarchive/archive_write_set_format.c \
165 libarchive/archive_write_set_format_ar.c \
166 libarchive/archive_write_set_format_by_name.c \
167 libarchive/archive_write_set_format_cpio.c \
168 libarchive/archive_write_set_format_cpio_newc.c \
9d72ea7 @ggcueroad Introduce ISO writer.
ggcueroad authored
169 libarchive/archive_write_set_format_iso9660.c \
cedb073 Add write support for mtree.
Joerg Sonnenberger authored
170 libarchive/archive_write_set_format_mtree.c \
b3cfa26 @kientzle Fill in the libarchive-portable build infrastructure that uses autoco…
kientzle authored
171 libarchive/archive_write_set_format_pax.c \
172 libarchive/archive_write_set_format_shar.c \
173 libarchive/archive_write_set_format_ustar.c \
7862cf7 @kientzle Basic implementation of a GNU tar-compatible writer. This uses
kientzle authored
174 libarchive/archive_write_set_format_gnutar.c \
b7115a7 @ggcueroad Add xar writer.
ggcueroad authored
175 libarchive/archive_write_set_format_xar.c \
efd0b57 @kientzle Wire up the Zip writer into the autoconf build.
kientzle authored
176 libarchive/archive_write_set_format_zip.c \
bcbf7a2 @kientzle Rework archive_write_set_options:
kientzle authored
177 libarchive/archive_write_set_options.c \
b3cfa26 @kientzle Fill in the libarchive-portable build infrastructure that uses autoco…
kientzle authored
178 libarchive/config_freebsd.h \
179 libarchive/filter_fork.c \
180 libarchive/filter_fork.h
181
79cb8e5 Issue 15, part 14. Build system
Charles Wilson authored
182 if INC_WINDOWS_FILES
183 libarchive_la_SOURCES+= \
a79bf3f @kientzle Only build archive_entry_copy_bhfi.c on Windows platforms that
kientzle authored
184 libarchive/archive_entry_copy_bhfi.c \
79cb8e5 Issue 15, part 14. Build system
Charles Wilson authored
185 libarchive/archive_windows.h \
186 libarchive/archive_windows.c \
187 libarchive/filter_fork_windows.c
188 endif
189
171f792 @kientzle Update the description of -no-undefined, required by libtool on Cygwin.
kientzle authored
190 # -no-undefined marks that libarchive doesn't rely on symbols
dc42313 @kientzle I've been corrected: -no-undefined is meaningful for
kientzle authored
191 # defined in the application. This is mandatory for cygwin.
b3cfa26 @kientzle Fill in the libarchive-portable build infrastructure that uses autoco…
kientzle authored
192 libarchive_la_LDFLAGS= -no-undefined -version-info $(ARCHIVE_LIBTOOL_VERSION)
193
194 # Manpages to install
195 libarchive_man_MANS= \
196 libarchive/archive_entry.3 \
4f84418 Install archive_entry_acl.3 and archive_entry_time.3.
Joerg Sonnenberger authored
197 libarchive/archive_entry_acl.3 \
c13da1a Hook up the remaining man pages.
Joerg Sonnenberger authored
198 libarchive/archive_entry_linkify.3 \
199 libarchive/archive_entry_paths.3 \
200 libarchive/archive_entry_perms.3 \
201 libarchive/archive_entry_stat.3 \
4f84418 Install archive_entry_acl.3 and archive_entry_time.3.
Joerg Sonnenberger authored
202 libarchive/archive_entry_time.3 \
b3cfa26 @kientzle Fill in the libarchive-portable build infrastructure that uses autoco…
kientzle authored
203 libarchive/archive_read.3 \
7daad42 @kientzle First cut at archive_read_disk documentation.
kientzle authored
204 libarchive/archive_read_disk.3 \
11e7a90 @kientzle From Roman Neuhauser: Rework textual options handling.
kientzle authored
205 libarchive/archive_read_set_options.3 \
b3cfa26 @kientzle Fill in the libarchive-portable build infrastructure that uses autoco…
kientzle authored
206 libarchive/archive_util.3 \
207 libarchive/archive_write.3 \
208 libarchive/archive_write_disk.3 \
061edc8 @kientzle On second thought, since this new man page basically just documents
kientzle authored
209 libarchive/archive_write_set_options.3 \
b3cfa26 @kientzle Fill in the libarchive-portable build infrastructure that uses autoco…
kientzle authored
210 libarchive/cpio.5 \
211 libarchive/libarchive.3 \
212 libarchive/libarchive_internals.3 \
213 libarchive/libarchive-formats.5 \
214 libarchive/mtree.5 \
215 libarchive/tar.5
216
217 # Additional libarchive files to include in the distribution
56c6190 @kientzle Include the Windows helper files in the portable distribution.
kientzle authored
218 libarchive_EXTRA_DIST= \
219 libarchive/test/list.h \
220 libarchive/archive_windows.c \
221 libarchive/archive_windows.h \
79cb8e5 Issue 15, part 14. Build system
Charles Wilson authored
222 libarchive/filter_fork_windows.c \
223 libarchive/CMakeLists.txt \
b3cfa26 @kientzle Fill in the libarchive-portable build infrastructure that uses autoco…
kientzle authored
224 $(libarchive_man_MANS)
225
bafc3c6 @kientzle pkgconfig support from Xavier, plus a couple of missing files added to
kientzle authored
226 # pkgconfig
227 pkgconfigdir = $(libdir)/pkgconfig
228 pkgconfig_DATA = build/pkgconfig/libarchive.pc
229
b3cfa26 @kientzle Fill in the libarchive-portable build infrastructure that uses autoco…
kientzle authored
230 #
231 #
232 # libarchive_test program
233 #
234 #
235 libarchive_test_SOURCES= \
236 $(libarchive_la_SOURCES) \
237 libarchive/test/main.c \
238 libarchive/test/read_open_memory.c \
239 libarchive/test/test.h \
3c700f8 @kientzle Add a couple of new test files to the portable Makefile.am
kientzle authored
240 libarchive/test/test_acl_freebsd.c \
73d99a2 @kientzle First part of the NFS4 ACL support.
kientzle authored
241 libarchive/test/test_acl_nfs4.c \
b3cfa26 @kientzle Fill in the libarchive-portable build infrastructure that uses autoco…
kientzle authored
242 libarchive/test/test_acl_pax.c \
73d99a2 @kientzle First part of the NFS4 ACL support.
kientzle authored
243 libarchive/test/test_acl_posix1e.c \
b3cfa26 @kientzle Fill in the libarchive-portable build infrastructure that uses autoco…
kientzle authored
244 libarchive/test/test_archive_api_feature.c \
a6ea952 @kientzle Test for archive_clear_error().
kientzle authored
245 libarchive/test/test_archive_clear_error.c \
34fe1ab @kientzle Issue 140: Calling archive_read_close() twice causes problems.
kientzle authored
246 libarchive/test/test_archive_read_close_twice.c \
247 libarchive/test/test_archive_read_close_twice_open_fd.c \
248 libarchive/test/test_archive_read_close_twice_open_filename.c \
67f5c3d @kientzle Issue 141: Detect an unrecognized format earlier, in archive_read_open,
kientzle authored
249 libarchive/test/test_archive_read_next_header_empty.c \
65aa7ba @kientzle Test from Roman Neuhauser for the "raw" format to verify that it
kientzle authored
250 libarchive/test/test_archive_read_next_header_raw.c \
f3e892f @roman-neuhauser test argument handling in archive_read_open2
roman-neuhauser authored
251 libarchive/test/test_archive_read_open2.c \
11e7a90 @kientzle From Roman Neuhauser: Rework textual options handling.
kientzle authored
252 libarchive/test/test_archive_read_set_filter_option.c \
253 libarchive/test/test_archive_read_set_format_option.c \
254 libarchive/test/test_archive_read_set_option.c \
255 libarchive/test/test_archive_read_set_options.c \
65aa7ba @kientzle Test from Roman Neuhauser for the "raw" format to verify that it
kientzle authored
256 libarchive/test/test_archive_set_error.c \
bb9dc5c @roman-neuhauser test_archive_string.c: tests for some archive_string operations
roman-neuhauser authored
257 libarchive/test/test_archive_string.c \
11e7a90 @kientzle From Roman Neuhauser: Rework textual options handling.
kientzle authored
258 libarchive/test/test_archive_write_set_filter_option.c \
259 libarchive/test/test_archive_write_set_format_option.c \
260 libarchive/test/test_archive_write_set_option.c \
261 libarchive/test/test_archive_write_set_options.c \
b3cfa26 @kientzle Fill in the libarchive-portable build infrastructure that uses autoco…
kientzle authored
262 libarchive/test/test_bad_fd.c \
56f6b5f @kientzle Add a fuzz tester to the libarchive test suite. This
kientzle authored
263 libarchive/test/test_compat_bzip2.c \
07df1de @kientzle Reduce the likelihood of false hardlinks by ignoring entries with
kientzle authored
264 libarchive/test/test_compat_cpio.c \
b3cfa26 @kientzle Fill in the libarchive-portable build infrastructure that uses autoco…
kientzle authored
265 libarchive/test/test_compat_gtar.c \
2d96c65 @kientzle Basic test for gzip compatibility.
kientzle authored
266 libarchive/test/test_compat_gzip.c \
74f5c57 @ggcueroad Add a compatibity test for lzip.
ggcueroad authored
267 libarchive/test/test_compat_lzip.c \
24dbace @ggcueroad Improve detecting LZMA stream data.
ggcueroad authored
268 libarchive/test/test_compat_lzma.c \
0986953 @kientzle Support for reading Mac OS-style metadata blobs.
kientzle authored
269 libarchive/test/test_compat_mac_gnutar.c \
495a197 @kientzle Catch up with new and renamed files.
kientzle authored
270 libarchive/test/test_compat_solaris_tar_acl.c \
b3cfa26 @kientzle Fill in the libarchive-portable build infrastructure that uses autoco…
kientzle authored
271 libarchive/test/test_compat_tar_hardlink.c \
a330a34 @ggcueroad Add xz compatibly test.
ggcueroad authored
272 libarchive/test/test_compat_xz.c \
b3cfa26 @kientzle Fill in the libarchive-portable build infrastructure that uses autoco…
kientzle authored
273 libarchive/test/test_compat_zip.c \
274 libarchive/test/test_empty_write.c \
275 libarchive/test/test_entry.c \
65aa7ba @kientzle Test from Roman Neuhauser for the "raw" format to verify that it
kientzle authored
276 libarchive/test/test_entry_strmode.c \
731a553 @kientzle Include test_extattr_freebsd.c in the portable build system.
kientzle authored
277 libarchive/test/test_extattr_freebsd.c \
65aa7ba @kientzle Test from Roman Neuhauser for the "raw" format to verify that it
kientzle authored
278 libarchive/test/test_filter_count.c \
56f6b5f @kientzle Add a fuzz tester to the libarchive test suite. This
kientzle authored
279 libarchive/test/test_fuzz.c \
b3cfa26 @kientzle Fill in the libarchive-portable build infrastructure that uses autoco…
kientzle authored
280 libarchive/test/test_link_resolver.c \
b6bbeb2 @kientzle Add the new libarchive/test/test_open_failure.c to the
kientzle authored
281 libarchive/test/test_open_failure.c \
854445c @kientzle Improve test coverage:
kientzle authored
282 libarchive/test/test_open_fd.c \
283 libarchive/test/test_open_file.c \
284 libarchive/test/test_open_filename.c \
b3cfa26 @kientzle Fill in the libarchive-portable build infrastructure that uses autoco…
kientzle authored
285 libarchive/test/test_pax_filename_encoding.c \
286 libarchive/test/test_read_compress_program.c \
287 libarchive/test/test_read_data_large.c \
45d1330 @kientzle Add new archive_read* files to the autoconf/automake build system.
kientzle authored
288 libarchive/test/test_read_disk.c \
3311bb5 @ggcueroad Bring the code supporting directory traversals from bsdtar/tree.[ch]
ggcueroad authored
289 libarchive/test/test_read_disk_directory_traversals.c \
7aede26 @kientzle Lookup uname/gname when pulling metadata off disk.
kientzle authored
290 libarchive/test/test_read_disk_entry_from_file.c \
b3cfa26 @kientzle Fill in the libarchive-portable build infrastructure that uses autoco…
kientzle authored
291 libarchive/test/test_read_extract.c \
f271140 @kientzle Issue 7: Only flush and close the file if the file was actually
kientzle authored
292 libarchive/test/test_read_file_nonexistent.c \
b3cfa26 @kientzle Fill in the libarchive-portable build infrastructure that uses autoco…
kientzle authored
293 libarchive/test/test_read_format_ar.c \
12a3fef @ggcueroad Add support for Microsoft Cabinet(.cab) format.
ggcueroad authored
294 libarchive/test/test_read_format_cab.c \
bc56f3b @ggcueroad Add support for charset option to cab format reader.
ggcueroad authored
295 libarchive/test/test_read_format_cab_filename.c \
19cc1b6 @ggcueroad Add support for afio large ASCII header.
ggcueroad authored
296 libarchive/test/test_read_format_cpio_afio.c \
b3cfa26 @kientzle Fill in the libarchive-portable build infrastructure that uses autoco…
kientzle authored
297 libarchive/test/test_read_format_cpio_bin.c \
298 libarchive/test/test_read_format_cpio_bin_Z.c \
3242831 @kientzle Test cpio bin_be format.
kientzle authored
299 libarchive/test/test_read_format_cpio_bin_be.c \
b3cfa26 @kientzle Fill in the libarchive-portable build infrastructure that uses autoco…
kientzle authored
300 libarchive/test/test_read_format_cpio_bin_bz2.c \
301 libarchive/test/test_read_format_cpio_bin_gz.c \
d8961d3 @ggcueroad Add support for lzip (read filter).
ggcueroad authored
302 libarchive/test/test_read_format_cpio_bin_lzip.c \
bf8b28f @ggcueroad Add some tests for LZMA as other compression.
ggcueroad authored
303 libarchive/test/test_read_format_cpio_bin_lzma.c \
31854da @ggcueroad Add test of cpio with xz compression.
ggcueroad authored
304 libarchive/test/test_read_format_cpio_bin_xz.c \
b3cfa26 @kientzle Fill in the libarchive-portable build infrastructure that uses autoco…
kientzle authored
305 libarchive/test/test_read_format_cpio_odc.c \
f7ec974 @ggcueroad Add RPM filter.
ggcueroad authored
306 libarchive/test/test_read_format_cpio_svr4_bzip2_rpm.c \
b3cfa26 @kientzle Fill in the libarchive-portable build infrastructure that uses autoco…
kientzle authored
307 libarchive/test/test_read_format_cpio_svr4_gzip.c \
f7ec974 @ggcueroad Add RPM filter.
ggcueroad authored
308 libarchive/test/test_read_format_cpio_svr4_gzip_rpm.c \
b3cfa26 @kientzle Fill in the libarchive-portable build infrastructure that uses autoco…
kientzle authored
309 libarchive/test/test_read_format_cpio_svr4c_Z.c \
310 libarchive/test/test_read_format_empty.c \
311 libarchive/test/test_read_format_gtar_gz.c \
2b15ccf @kientzle Add LZMA test, more detailed comments about the sorry state
kientzle authored
312 libarchive/test/test_read_format_gtar_lzma.c \
b3cfa26 @kientzle Fill in the libarchive-portable build infrastructure that uses autoco…
kientzle authored
313 libarchive/test/test_read_format_gtar_sparse.c \
314 libarchive/test/test_read_format_iso_gz.c \
73cf372 @ggcueroad Add support for multi extent.
ggcueroad authored
315 libarchive/test/test_read_format_iso_multi_extent.c \
d679998 @ggcueroad Simply set -1 to a file offset not to appear before any directories;
ggcueroad authored
316 libarchive/test/test_read_format_iso_xorriso.c \
e2f4658 @andhe Add Joliet Extension support for iso9660.
andhe authored
317 libarchive/test/test_read_format_isojoliet_bz2.c \
529d5db @ggcueroad Add test for long joliet names.
ggcueroad authored
318 libarchive/test/test_read_format_isojoliet_long.c \
c159751 @ggcueroad Split a test mixed Joliet and Rock Ridge from test_read_format_isojol…
ggcueroad authored
319 libarchive/test/test_read_format_isojoliet_rr.c \
169a5d3 @andhe test: add joliet iso with versioned files testcase.
andhe authored
320 libarchive/test/test_read_format_isojoliet_versioned.c \
b3cfa26 @kientzle Fill in the libarchive-portable build infrastructure that uses autoco…
kientzle authored
321 libarchive/test/test_read_format_isorr_bz2.c \
5a98dcf @ggcueroad Fix a bug; reading extensions recorded by SUSP CE extension
ggcueroad authored
322 libarchive/test/test_read_format_isorr_ce.c \
2d33200 @ggcueroad Old mkisofs made wrong "SL" System User Entries of RRIP for
ggcueroad authored
323 libarchive/test/test_read_format_isorr_new_bz2.c \
0bd9deb @ggcueroad Improve handling of Rockridge extensions' rr_moved directory and
ggcueroad authored
324 libarchive/test/test_read_format_isorr_rr_moved.c \
140e3eb @ggcueroad Add support for zisofs.
ggcueroad authored
325 libarchive/test/test_read_format_isozisofs_bz2.c \
344711d @ggcueroad Add support for lha/lzh archive format.
ggcueroad authored
326 libarchive/test/test_read_format_lha.c \
79a8745 @ggcueroad Add support for charset option to lha format reader.
ggcueroad authored
327 libarchive/test/test_read_format_lha_filename.c \
b3cfa26 @kientzle Fill in the libarchive-portable build infrastructure that uses autoco…
kientzle authored
328 libarchive/test/test_read_format_mtree.c \
329 libarchive/test/test_read_format_pax_bz2.c \
d5b624a @kientzle Include test_read_format_raw
kientzle authored
330 libarchive/test/test_read_format_raw.c \
b3cfa26 @kientzle Fill in the libarchive-portable build infrastructure that uses autoco…
kientzle authored
331 libarchive/test/test_read_format_tar.c \
332 libarchive/test/test_read_format_tar_empty_filename.c \
333 libarchive/test/test_read_format_tbz.c \
334 libarchive/test/test_read_format_tgz.c \
bf8b28f @ggcueroad Add some tests for LZMA as other compression.
ggcueroad authored
335 libarchive/test/test_read_format_tlz.c \
fdddf98 @ggcueroad Add more xz format test.
ggcueroad authored
336 libarchive/test/test_read_format_txz.c \
b3cfa26 @kientzle Fill in the libarchive-portable build infrastructure that uses autoco…
kientzle authored
337 libarchive/test/test_read_format_tz.c \
d2c0930 @ggcueroad Add support for xar reader.
ggcueroad authored
338 libarchive/test/test_read_format_xar.c \
b3cfa26 @kientzle Fill in the libarchive-portable build infrastructure that uses autoco…
kientzle authored
339 libarchive/test/test_read_format_zip.c \
c6b4037 @ggcueroad Add support for charset option to zip format reader.
ggcueroad authored
340 libarchive/test/test_read_format_zip_filename.c \
b3cfa26 @kientzle Fill in the libarchive-portable build infrastructure that uses autoco…
kientzle authored
341 libarchive/test/test_read_large.c \
342 libarchive/test/test_read_pax_truncated.c \
343 libarchive/test/test_read_position.c \
344 libarchive/test/test_read_truncated.c \
d08b8d7 @kientzle Add a couple of files that were omitted from Makefile.am
kientzle authored
345 libarchive/test/test_read_truncated_filter.c \
ecf376d @ggcueroad Add uudecode filter.
ggcueroad authored
346 libarchive/test/test_read_uu.c \
d216d02 @ggcueroad Determine sparse files through API such as lseek(HOLE).
ggcueroad authored
347 libarchive/test/test_sparse_basic.c \
b3cfa26 @kientzle Fill in the libarchive-portable build infrastructure that uses autoco…
kientzle authored
348 libarchive/test/test_tar_filenames.c \
349 libarchive/test/test_tar_large.c \
350 libarchive/test/test_ustar_filenames.c \
351 libarchive/test/test_write_compress.c \
818104e @kientzle Test the bzip2 writer, add support for a "compression-level" option.
kientzle authored
352 libarchive/test/test_write_compress_bzip2.c \
14231ab @kientzle More work on extending test coverage...
kientzle authored
353 libarchive/test/test_write_compress_gzip.c \
4295807 @ggcueroad Add lzip write filter and --lzip option to bsdtar.
ggcueroad authored
354 libarchive/test/test_write_compress_lzip.c \
8d58852 @kientzle Fill in a few missing files.
kientzle authored
355 libarchive/test/test_write_compress_lzma.c \
b3cfa26 @kientzle Fill in the libarchive-portable build infrastructure that uses autoco…
kientzle authored
356 libarchive/test/test_write_compress_program.c \
8d58852 @kientzle Fill in a few missing files.
kientzle authored
357 libarchive/test/test_write_compress_xz.c \
b3cfa26 @kientzle Fill in the libarchive-portable build infrastructure that uses autoco…
kientzle authored
358 libarchive/test/test_write_disk.c \
1a861bc @kientzle Add new test case.
kientzle authored
359 libarchive/test/test_write_disk_failures.c \
b3cfa26 @kientzle Fill in the libarchive-portable build infrastructure that uses autoco…
kientzle authored
360 libarchive/test/test_write_disk_hardlink.c \
361 libarchive/test/test_write_disk_perms.c \
362 libarchive/test/test_write_disk_secure.c \
8ffc872 @kientzle Include the new test_write_disk_sparse in the autoconf and cmake builds.
kientzle authored
363 libarchive/test/test_write_disk_sparse.c \
19a4ab3 @kientzle New libarchive test for symlink restores.
kientzle authored
364 libarchive/test/test_write_disk_symlink.c \
3c700f8 @kientzle Add a couple of new test files to the portable Makefile.am
kientzle authored
365 libarchive/test/test_write_disk_times.c \
b3cfa26 @kientzle Fill in the libarchive-portable build infrastructure that uses autoco…
kientzle authored
366 libarchive/test/test_write_format_ar.c \
367 libarchive/test/test_write_format_cpio.c \
368 libarchive/test/test_write_format_cpio_empty.c \
369 libarchive/test/test_write_format_cpio_newc.c \
65aa7ba @kientzle Test from Roman Neuhauser for the "raw" format to verify that it
kientzle authored
370 libarchive/test/test_write_format_cpio_odc.c \
7862cf7 @kientzle Basic implementation of a GNU tar-compatible writer. This uses
kientzle authored
371 libarchive/test/test_write_format_gnutar.c \
9d72ea7 @ggcueroad Introduce ISO writer.
ggcueroad authored
372 libarchive/test/test_write_format_iso9660.c \
373 libarchive/test/test_write_format_iso9660_boot.c \
374 libarchive/test/test_write_format_iso9660_empty.c \
375 libarchive/test/test_write_format_iso9660_filename.c \
376 libarchive/test/test_write_format_iso9660_zisofs.c \
59b1e9b @ggcueroad Add mtree format test.
ggcueroad authored
377 libarchive/test/test_write_format_mtree.c \
65338f7 @ggcueroad Fix issue 144 and add a test for a file flags.
ggcueroad authored
378 libarchive/test/test_write_format_mtree_fflags.c \
f17b583 @kientzle Read/write birthtime in pax format archives.
kientzle authored
379 libarchive/test/test_write_format_pax.c \
b3cfa26 @kientzle Fill in the libarchive-portable build infrastructure that uses autoco…
kientzle authored
380 libarchive/test/test_write_format_shar_empty.c \
381 libarchive/test/test_write_format_tar.c \
382 libarchive/test/test_write_format_tar_empty.c \
383 libarchive/test/test_write_format_tar_ustar.c \
b7115a7 @ggcueroad Add xar writer.
ggcueroad authored
384 libarchive/test/test_write_format_xar.c \
385 libarchive/test/test_write_format_xar_empty.c \
efd0b57 @kientzle Wire up the Zip writer into the autoconf build.
kientzle authored
386 libarchive/test/test_write_format_zip.c \
387 libarchive/test/test_write_format_zip_empty.c \
388 libarchive/test/test_write_format_zip_no_compression.c \
83c67d6 @ggcueroad Add a filename encoding test for zip.
ggcueroad authored
389 libarchive/test/test_write_open_memory.c \
390 libarchive/test/test_zip_filename_encoding.c
b3cfa26 @kientzle Fill in the libarchive-portable build infrastructure that uses autoco…
kientzle authored
391
c31d1bc Ensure __USE_MINGW_ANSI_STDIO is defined for MinGW builds.
Charles Wilson authored
392 libarchive_test_CPPFLAGS= -I$(top_srcdir)/libarchive -I$(top_builddir)/libarchive/test -DLIBARCHIVE_STATIC $(PLATFORMCPPFLAGS)
79cb8e5 Issue 15, part 14. Build system
Charles Wilson authored
393
b3cfa26 @kientzle Fill in the libarchive-portable build infrastructure that uses autoco…
kientzle authored
394 # The "list.h" file just lists all of the tests defined in all of the sources.
395 # Building it automatically provides a sanity-check on libarchive_test_SOURCES
396 # above.
397 libarchive/test/list.h: Makefile
398 cat $(top_srcdir)/libarchive/test/test_*.c | grep DEFINE_TEST > libarchive/test/list.h
399
400 libarchive_TESTS_ENVIRONMENT= LIBARCHIVE_TEST_FILES=`cd $(top_srcdir);/bin/pwd`/libarchive/test
401
402 libarchive_test_EXTRA_DIST=\
e5c2486 @kientzle Don't leave out required test files.
kientzle authored
403 libarchive/test/test_acl_pax.tar.uu \
56f6b5f @kientzle Add a fuzz tester to the libarchive test suite. This
kientzle authored
404 libarchive/test/test_compat_bzip2_1.tbz.uu \
405 libarchive/test/test_compat_bzip2_2.tbz.uu \
07df1de @kientzle Reduce the likelihood of false hardlinks by ignoring entries with
kientzle authored
406 libarchive/test/test_compat_cpio_1.cpio.uu \
cf6ad4b @kientzle Catch up with a bunch of file renaming that occurred a little while b…
kientzle authored
407 libarchive/test/test_compat_gtar_1.tar.uu \
2d96c65 @kientzle Basic test for gzip compatibility.
kientzle authored
408 libarchive/test/test_compat_gzip_1.tgz.uu \
409 libarchive/test/test_compat_gzip_2.tgz.uu \
bab0f25 @kientzle An lzip test reference file was omitted from the distribution.
kientzle authored
410 libarchive/test/test_compat_lzip_1.tlz.uu \
24dbace @ggcueroad Improve detecting LZMA stream data.
ggcueroad authored
411 libarchive/test/test_compat_lzma_1.tlz.uu \
412 libarchive/test/test_compat_lzma_2.tlz.uu \
413 libarchive/test/test_compat_lzma_3.tlz.uu \
66ef1b9 @ggcueroad Fix a distribution file name.
ggcueroad authored
414 libarchive/test/test_compat_mac_gnutar.tar.Z.uu \
495a197 @kientzle Catch up with new and renamed files.
kientzle authored
415 libarchive/test/test_compat_solaris_tar_acl.tar.uu \
b3cfa26 @kientzle Fill in the libarchive-portable build infrastructure that uses autoco…
kientzle authored
416 libarchive/test/test_compat_tar_hardlink_1.tar.uu \
a330a34 @ggcueroad Add xz compatibly test.
ggcueroad authored
417 libarchive/test/test_compat_xz_1.txz.uu \
b3cfa26 @kientzle Fill in the libarchive-portable build infrastructure that uses autoco…
kientzle authored
418 libarchive/test/test_compat_zip_1.zip.uu \
3b431a5 @kientzle Include some missing test data files in the distribution.
kientzle authored
419 libarchive/test/test_compat_zip_2.zip.uu \
bafc3c6 @kientzle pkgconfig support from Xavier, plus a couple of missing files added to
kientzle authored
420 libarchive/test/test_fuzz_1.iso.Z.uu \
3e7782c @ggcueroad Add the ability to decode LZX, which is one of compression type of MS…
ggcueroad authored
421 libarchive/test/test_fuzz.cab.uu \
e3b29df @ggcueroad Add a lzh test data file in the distribution.
ggcueroad authored
422 libarchive/test/test_fuzz.lzh.uu \
cf6ad4b @kientzle Catch up with a bunch of file renaming that occurred a little while b…
kientzle authored
423 libarchive/test/test_pax_filename_encoding.tar.uu \
bafc3c6 @kientzle pkgconfig support from Xavier, plus a couple of missing files added to
kientzle authored
424 libarchive/test/test_read_format_ar.ar.uu \
12a3fef @ggcueroad Add support for Microsoft Cabinet(.cab) format.
ggcueroad authored
425 libarchive/test/test_read_format_cab_1.cab.uu \
426 libarchive/test/test_read_format_cab_2.cab.uu \
3e7782c @ggcueroad Add the ability to decode LZX, which is one of compression type of MS…
ggcueroad authored
427 libarchive/test/test_read_format_cab_3.cab.uu \
bc56f3b @ggcueroad Add support for charset option to cab format reader.
ggcueroad authored
428 libarchive/test/test_read_format_cab_cp932.cab.uu \
495a197 @kientzle Catch up with new and renamed files.
kientzle authored
429 libarchive/test/test_read_format_cpio_bin_be.cpio.uu \
f7ec974 @ggcueroad Add RPM filter.
ggcueroad authored
430 libarchive/test/test_read_format_cpio_svr4_bzip2_rpm.rpm.uu \
431 libarchive/test/test_read_format_cpio_svr4_gzip_rpm.rpm.uu \
cf6ad4b @kientzle Catch up with a bunch of file renaming that occurred a little while b…
kientzle authored
432 libarchive/test/test_read_format_gtar_sparse_1_13.tar.uu \
433 libarchive/test/test_read_format_gtar_sparse_1_17.tar.uu \
434 libarchive/test/test_read_format_gtar_sparse_1_17_posix00.tar.uu \
435 libarchive/test/test_read_format_gtar_sparse_1_17_posix01.tar.uu \
436 libarchive/test/test_read_format_gtar_sparse_1_17_posix10.tar.uu \
b3cfa26 @kientzle Fill in the libarchive-portable build infrastructure that uses autoco…
kientzle authored
437 libarchive/test/test_read_format_gtar_sparse_1_17_posix10_modified.tar.uu \
40200e9 @ggcueroad Compression of test data for ISO reader switch from bzip2/gz to compress
ggcueroad authored
438 libarchive/test/test_read_format_iso.iso.Z.uu \
439 libarchive/test/test_read_format_iso_joliet.iso.Z.uu \
3b431a5 @kientzle Include some missing test data files in the distribution.
kientzle authored
440 libarchive/test/test_read_format_iso_joliet_by_nero.iso.Z.uu \
40200e9 @ggcueroad Compression of test data for ISO reader switch from bzip2/gz to compress
ggcueroad authored
441 libarchive/test/test_read_format_iso_joliet_long.iso.Z.uu \
442 libarchive/test/test_read_format_iso_joliet_rockridge.iso.Z.uu \
443 libarchive/test/test_read_format_iso_multi_extent.iso.Z.uu \
444 libarchive/test/test_read_format_iso_rockridge.iso.Z.uu \
445 libarchive/test/test_read_format_iso_rockridge_ce.iso.Z.uu \
446 libarchive/test/test_read_format_iso_rockridge_new.iso.Z.uu \
447 libarchive/test/test_read_format_iso_rockridge_rr_moved.iso.Z.uu\
d679998 @ggcueroad Simply set -1 to a file offset not to appear before any directories;
ggcueroad authored
448 libarchive/test/test_read_format_iso_xorriso.iso.Z.uu \
40200e9 @ggcueroad Compression of test data for ISO reader switch from bzip2/gz to compress
ggcueroad authored
449 libarchive/test/test_read_format_iso_zisofs.iso.Z.uu \
344711d @ggcueroad Add support for lha/lzh archive format.
ggcueroad authored
450 libarchive/test/test_read_format_lha_header0.lzh.uu \
451 libarchive/test/test_read_format_lha_header1.lzh.uu \
452 libarchive/test/test_read_format_lha_header2.lzh.uu \
b4ca4f0 @kientzle Inspired by Issue 145: Split the old build/autogen.sh script by
kientzle authored
453 libarchive/test/test_read_format_lha_header3.lzh.uu \
344711d @ggcueroad Add support for lha/lzh archive format.
ggcueroad authored
454 libarchive/test/test_read_format_lha_lh0.lzh.uu \
455 libarchive/test/test_read_format_lha_lh6.lzh.uu \
456 libarchive/test/test_read_format_lha_lh7.lzh.uu \
457 libarchive/test/test_read_format_lha_withjunk.lzh.uu \
79a8745 @ggcueroad Add support for charset option to lha format reader.
ggcueroad authored
458 libarchive/test/test_read_format_lha_cp932.lzh.uu \
bafc3c6 @kientzle pkgconfig support from Xavier, plus a couple of missing files added to
kientzle authored
459 libarchive/test/test_read_format_mtree.mtree.uu \
cbc3666 @ggcueroad Add the ability to be able to recognize mtree format without a signat…
ggcueroad authored
460 libarchive/test/test_read_format_mtree_nomagic.mtree.uu \
495a197 @kientzle Catch up with new and renamed files.
kientzle authored
461 libarchive/test/test_read_format_raw.data.Z.uu \
462 libarchive/test/test_read_format_raw.data.uu \
23b1e67 @kientzle Include a missing test file in the portable build.
kientzle authored
463 libarchive/test/test_read_format_tar_empty_filename.tar.uu \
79cb8e5 Issue 15, part 14. Build system
Charles Wilson authored
464 libarchive/test/test_read_format_zip.zip.uu \
b1e0352 @ggcueroad Add some test for zip reader.
ggcueroad authored
465 libarchive/test/test_read_format_zip_cp866.zip.uu \
c6b4037 @ggcueroad Add support for charset option to zip format reader.
ggcueroad authored
466 libarchive/test/test_read_format_zip_cp932.zip.uu \
b1e0352 @ggcueroad Add some test for zip reader.
ggcueroad authored
467 libarchive/test/test_read_format_zip_koi8r.zip.uu \
136ef2d @ggcueroad In ZIP archive file, a filename and comments field is UTF-8 when Lang…
ggcueroad authored
468 libarchive/test/test_read_format_zip_utf8.zip.uu \
b1e0352 @ggcueroad Add some test for zip reader.
ggcueroad authored
469 libarchive/test/test_read_format_zip_utf8_ru.zip.uu \
79cb8e5 Issue 15, part 14. Build system
Charles Wilson authored
470 libarchive/test/CMakeLists.txt \
471 libarchive/test/README
b3cfa26 @kientzle Fill in the libarchive-portable build infrastructure that uses autoco…
kientzle authored
472
71d1bfe Refactor common frontend code into a separate library.
Joerg Sonnenberger authored
473 #
474 # Common code for libarchive frontends (cpio, tar)
475 #
476 libarchive_fe_la_SOURCES= \
477 libarchive_fe/err.c \
775ce13 @kientzle Distribution needs header files.
kientzle authored
478 libarchive_fe/err.h \
479 libarchive_fe/lafe_platform.h \
71d1bfe Refactor common frontend code into a separate library.
Joerg Sonnenberger authored
480 libarchive_fe/line_reader.c \
775ce13 @kientzle Distribution needs header files.
kientzle authored
481 libarchive_fe/line_reader.h \
71d1bfe Refactor common frontend code into a separate library.
Joerg Sonnenberger authored
482 libarchive_fe/matching.c \
775ce13 @kientzle Distribution needs header files.
kientzle authored
483 libarchive_fe/matching.h \
484 libarchive_fe/pathmatch.c \
485 libarchive_fe/pathmatch.h
b3cfa26 @kientzle Fill in the libarchive-portable build infrastructure that uses autoco…
kientzle authored
486
487 #
488 #
489 # bsdtar source, docs, etc.
490 #
491 #
492
493 bsdtar_SOURCES= \
494 tar/bsdtar.c \
495 tar/bsdtar.h \
496 tar/bsdtar_platform.h \
27a6ba7 @kientzle Custom from-scratch command-line parser for bsdtar. This is
kientzle authored
497 tar/cmdline.c \
438c691 @kientzle No more YACC: Translated the old getdate.y into a recursive-descent
kientzle authored
498 tar/getdate.c \
b3cfa26 @kientzle Fill in the libarchive-portable build infrastructure that uses autoco…
kientzle authored
499 tar/read.c \
326a25b Add support for pax-like tar substitutions as found in NetBSD's
Joerg Sonnenberger authored
500 tar/subst.c \
b3cfa26 @kientzle Fill in the libarchive-portable build infrastructure that uses autoco…
kientzle authored
501 tar/tree.c \
502 tar/tree.h \
503 tar/util.c \
504 tar/write.c
505
79cb8e5 Issue 15, part 14. Build system
Charles Wilson authored
506 if INC_WINDOWS_FILES
507 bsdtar_SOURCES+= \
508 tar/bsdtar_windows.h \
926d6bc @ggcueroad Revert r838,r839 and r840.
ggcueroad authored
509 tar/bsdtar_windows.c
79cb8e5 Issue 15, part 14. Build system
Charles Wilson authored
510 endif
511
71d1bfe Refactor common frontend code into a separate library.
Joerg Sonnenberger authored
512 bsdtar_DEPENDENCIES= libarchive.la libarchive_fe.la
b3cfa26 @kientzle Fill in the libarchive-portable build infrastructure that uses autoco…
kientzle authored
513
514 if STATIC_BSDTAR
66c6a7b Correct error when linking bsdtar/bsdcpio statically on cygwin
Charles Wilson authored
515 bsdtar_ldstatic= -static
516 bsdtar_ccstatic= -DLIBARCHIVE_STATIC
b3cfa26 @kientzle Fill in the libarchive-portable build infrastructure that uses autoco…
kientzle authored
517 else
66c6a7b Correct error when linking bsdtar/bsdcpio statically on cygwin
Charles Wilson authored
518 bsdtar_ldstatic=
519 bsdtar_ccstatic=
b3cfa26 @kientzle Fill in the libarchive-portable build infrastructure that uses autoco…
kientzle authored
520 endif
521
cee6343 @kientzle binmode.o should no longer be needed on Cygwin.
kientzle authored
522 bsdtar_LDADD= libarchive.la libarchive_fe.la
c31d1bc Ensure __USE_MINGW_ANSI_STDIO is defined for MinGW builds.
Charles Wilson authored
523 bsdtar_CPPFLAGS= -I$(top_srcdir)/libarchive -I$(top_srcdir)/libarchive_fe $(bsdtar_ccstatic) $(PLATFORMCPPFLAGS)
66c6a7b Correct error when linking bsdtar/bsdcpio statically on cygwin
Charles Wilson authored
524 bsdtar_LDFLAGS= $(bsdtar_ldstatic)
71d1bfe Refactor common frontend code into a separate library.
Joerg Sonnenberger authored
525
b3cfa26 @kientzle Fill in the libarchive-portable build infrastructure that uses autoco…
kientzle authored
526 bsdtar_EXTRA_DIST= \
79cb8e5 Issue 15, part 14. Build system
Charles Wilson authored
527 tar/bsdtar.1 \
528 tar/bsdtar_windows.h \
529 tar/bsdtar_windows.c \
530 tar/CMakeLists.txt \
531 tar/config_freebsd.h \
842877b @kientzle Some extra files that were omitted from the distribution.
kientzle authored
532 tar/test/list.h
79cb8e5 Issue 15, part 14. Build system
Charles Wilson authored
533
b3cfa26 @kientzle Fill in the libarchive-portable build infrastructure that uses autoco…
kientzle authored
534
535 if BUILD_BSDTAR
536 bsdtar_man_MANS= tar/bsdtar.1
537 bsdtar_programs= bsdtar
538 else
539 bsdtar_man_MANS=
540 bsdtar_programs=
541 endif
542
543 #
544 # bsdtar_test
545 #
546
547 bsdtar_test_SOURCES= \
548 tar/getdate.c \
549 tar/test/main.c \
550 tar/test/test.h \
551 tar/test/test_0.c \
552 tar/test/test_basic.c \
553 tar/test/test_copy.c \
015818d @kientzle Regression test for Issue 51: Verify that interpolating an empty mtree
kientzle authored
554 tar/test/test_empty_mtree.c \
b3cfa26 @kientzle Fill in the libarchive-portable build infrastructure that uses autoco…
kientzle authored
555 tar/test/test_getdate.c \
556 tar/test/test_help.c \
75725a8 @kientzle Test -C
kientzle authored
557 tar/test/test_option_C_upper.c \
6412fa4 @kientzle Test -H and -L options to tar.
kientzle authored
558 tar/test/test_option_H_upper.c \
559 tar/test/test_option_L_upper.c \
c6ae622 @kientzle Test tar -O
kientzle authored
560 tar/test/test_option_O_upper.c \
3574b4b @kientzle Rename test_option_T to test_option_T_upper, following a pattern
kientzle authored
561 tar/test/test_option_T_upper.c \
7b17a39 @kientzle Test for tar -U and documentation corrections.
kientzle authored
562 tar/test/test_option_U_upper.c \
75e963d @kientzle Simple test for tar -X
kientzle authored
563 tar/test/test_option_X_upper.c \
9d6e945 @kientzle Test -b option
kientzle authored
564 tar/test/test_option_b.c \
8dc62cc @kientzle Add basic test for --exclude
kientzle authored
565 tar/test/test_option_exclude.c \
348640b @kientzle Test tar --gid --gname --uid --uname options
kientzle authored
566 tar/test/test_option_gid_gname.c \
4ec97d2 @kientzle Fix tar -k by making it not an error if you specify
kientzle authored
567 tar/test/test_option_k.c \
5f761f2 @kientzle --keep-newer-files is the correct option name.
kientzle authored
568 tar/test/test_option_keep_newer_files.c \
28a6a63 @kientzle Test tar -n
kientzle authored
569 tar/test/test_option_n.c \
d8d9149 @kientzle Basic test for tar --newer-than option. So far, this
kientzle authored
570 tar/test/test_option_newer_than.c \
3dc134b @kientzle Merge r354 from release/2.6: Fix multiple -s options.
kientzle authored
571 tar/test/test_option_q.c \
e7fd116 @kientzle Add a test for basic -r operation.
kientzle authored
572 tar/test/test_option_r.c \
3dc134b @kientzle Merge r354 from release/2.6: Fix multiple -s options.
kientzle authored
573 tar/test/test_option_s.c \
348640b @kientzle Test tar --gid --gname --uid --uname options
kientzle authored
574 tar/test/test_option_uid_uname.c \
c950be8 @kientzle Include tar/test/test_patterns.c, the initial skeleton of
kientzle authored
575 tar/test/test_patterns.c \
b3cfa26 @kientzle Fill in the libarchive-portable build infrastructure that uses autoco…
kientzle authored
576 tar/test/test_stdio.c \
56f6b5f @kientzle Add a fuzz tester to the libarchive test suite. This
kientzle authored
577 tar/test/test_strip_components.c \
f17b583 @kientzle Read/write birthtime in pax format archives.
kientzle authored
578 tar/test/test_symlink_dir.c \
f470386 @ggcueroad Eliminate link error.
ggcueroad authored
579 tar/test/test_version.c \
580 tar/test/test_windows.c
b3cfa26 @kientzle Fill in the libarchive-portable build infrastructure that uses autoco…
kientzle authored
581
076c334 @kientzle Attempt to fix some build problems with bsdtar_test on configure-base…
kientzle authored
582 # For now, bsdtar_test uses Windows shims from tar/bsdtar_windows.*
583 if INC_WINDOWS_FILES
584 bsdtar_test_SOURCES+= \
585 tar/bsdtar_windows.h \
586 tar/bsdtar_windows.c
587 endif
79cb8e5 Issue 15, part 14. Build system
Charles Wilson authored
588
c31d1bc Ensure __USE_MINGW_ANSI_STDIO is defined for MinGW builds.
Charles Wilson authored
589 bsdtar_test_CPPFLAGS=\
590 -I$(top_srcdir)/libarchive -I$(top_srcdir)/libarchive_fe \
591 -I$(top_srcdir)/tar -I$(top_builddir)/tar/test \
592 $(PLATFORMCPPFLAGS)
b3cfa26 @kientzle Fill in the libarchive-portable build infrastructure that uses autoco…
kientzle authored
593
594 tar/test/list.h: Makefile
595 cat $(top_srcdir)/tar/test/test_*.c | grep DEFINE_TEST > tar/test/list.h
596
597 if BUILD_BSDTAR
598 bsdtar_test_programs= bsdtar_test
125047f @kientzle Chuck Wilson's fixes for Cygwin and MinGW builds.
kientzle authored
599 bsdtar_TESTS_ENVIRONMENT= BSDTAR=`cd $(top_builddir);/bin/pwd`/bsdtar$(EXEEXT) BSDTAR_TEST_FILES=`cd $(top_srcdir);/bin/pwd`/tar/test
b3cfa26 @kientzle Fill in the libarchive-portable build infrastructure that uses autoco…
kientzle authored
600 else
601 bsdtar_test_programs=
602 bsdtar_TESTS_ENVIRONMENT=
603 endif
604
d75f8db @kientzle Update Makefile.am with some new reference files for bsdtar_test.
kientzle authored
605 bsdtar_test_EXTRA_DIST= \
113601b @ggcueroad Change a compression type of test_option_keep_newer_files.tgz from gzip
ggcueroad authored
606 tar/test/test_option_keep_newer_files.tar.Z.uu \
627b808 @kientzle Catch up with some file renaming.
kientzle authored
607 tar/test/test_patterns_2.tar.uu \
58fcd7c @ggcueroad Add test for Windows drive letters.
ggcueroad authored
608 tar/test/test_patterns_3.tar.uu \
79cb8e5 Issue 15, part 14. Build system
Charles Wilson authored
609 tar/test/test_patterns_4.tar.uu \
610 tar/test/CMakeLists.txt
d75f8db @kientzle Update Makefile.am with some new reference files for bsdtar_test.
kientzle authored
611
b3cfa26 @kientzle Fill in the libarchive-portable build infrastructure that uses autoco…
kientzle authored
612
613 #
614 #
615 # bsdcpio source, docs, etc.
616 #
617 #
618
619 bsdcpio_SOURCES= \
620 cpio/cmdline.c \
621 cpio/cpio.c \
622 cpio/cpio.h \
71d1bfe Refactor common frontend code into a separate library.
Joerg Sonnenberger authored
623 cpio/cpio_platform.h
b3cfa26 @kientzle Fill in the libarchive-portable build infrastructure that uses autoco…
kientzle authored
624
79cb8e5 Issue 15, part 14. Build system
Charles Wilson authored
625 if INC_WINDOWS_FILES
626 bsdcpio_SOURCES+= \
627 cpio/cpio_windows.h \
926d6bc @ggcueroad Revert r838,r839 and r840.
ggcueroad authored
628 cpio/cpio_windows.c
79cb8e5 Issue 15, part 14. Build system
Charles Wilson authored
629 endif
630
71d1bfe Refactor common frontend code into a separate library.
Joerg Sonnenberger authored
631 bsdcpio_DEPENDENCIES = libarchive.la libarchive_fe.la
b3cfa26 @kientzle Fill in the libarchive-portable build infrastructure that uses autoco…
kientzle authored
632
633
634 if STATIC_BSDCPIO
66c6a7b Correct error when linking bsdtar/bsdcpio statically on cygwin
Charles Wilson authored
635 bsdcpio_ldstatic= -static
636 bsdcpio_ccstatic= -DLIBARCHIVE_STATIC
b3cfa26 @kientzle Fill in the libarchive-portable build infrastructure that uses autoco…
kientzle authored
637 else
66c6a7b Correct error when linking bsdtar/bsdcpio statically on cygwin
Charles Wilson authored
638 bsdcpio_ldstatic=
639 bsdcpio_ccstatic=
b3cfa26 @kientzle Fill in the libarchive-portable build infrastructure that uses autoco…
kientzle authored
640 endif
641
cee6343 @kientzle binmode.o should no longer be needed on Cygwin.
kientzle authored
642 bsdcpio_LDADD= libarchive_fe.la libarchive.la
c31d1bc Ensure __USE_MINGW_ANSI_STDIO is defined for MinGW builds.
Charles Wilson authored
643 bsdcpio_CPPFLAGS= -I$(top_srcdir)/libarchive -I$(top_srcdir)/libarchive_fe $(bsdcpio_ccstatic) $(PLATFORMCPPFLAGS)
66c6a7b Correct error when linking bsdtar/bsdcpio statically on cygwin
Charles Wilson authored
644 bsdcpio_LDFLAGS= $(bsdcpio_ldstatic)
645
b3cfa26 @kientzle Fill in the libarchive-portable build infrastructure that uses autoco…
kientzle authored
646 bsdcpio_EXTRA_DIST= \
647 cpio/test/list.h \
79cb8e5 Issue 15, part 14. Build system
Charles Wilson authored
648 cpio/bsdcpio.1 \
649 cpio/cpio_windows.h \
650 cpio/cpio_windows.c \
651 cpio/CMakeLists.txt \
652 cpio/config_freebsd.h
653
b3cfa26 @kientzle Fill in the libarchive-portable build infrastructure that uses autoco…
kientzle authored
654
655 if BUILD_BSDCPIO
656 # Manpages to install
657 bsdcpio_man_MANS= cpio/bsdcpio.1
658 bsdcpio_programs= bsdcpio
659 else
660 bsdcpio_man_MANS=
661 bsdcpio_programs=
662 endif
663
664 #
665 # bsdcpio_test
666 #
667
668 bsdcpio_test_SOURCES= \
669 cpio/cmdline.c \
670 cpio/test/main.c \
671 cpio/test/test.h \
672 cpio/test/test_0.c \
673 cpio/test/test_basic.c \
37081d2 @kientzle Two new tests:
kientzle authored
674 cpio/test/test_cmdline.c \
b3cfa26 @kientzle Fill in the libarchive-portable build infrastructure that uses autoco…
kientzle authored
675 cpio/test/test_format_newc.c \
676 cpio/test/test_gcpio_compat.c \
21147fb @kientzle test cpio -0
kientzle authored
677 cpio/test/test_option_0.c \
d555381 @kientzle Rename the tests to a consistent style:
kientzle authored
678 cpio/test/test_option_B_upper.c \
37081d2 @kientzle Two new tests:
kientzle authored
679 cpio/test/test_option_C_upper.c \
d100741 @kientzle Add --lzma and -J options to cpio.
kientzle authored
680 cpio/test/test_option_J_upper.c \
d555381 @kientzle Rename the tests to a consistent style:
kientzle authored
681 cpio/test/test_option_L_upper.c \
b72f49b @kientzle New test for -Z (compress)
kientzle authored
682 cpio/test/test_option_Z_upper.c \
691997f @kientzle IFC
kientzle authored
683 cpio/test/test_option_a.c \
b3cfa26 @kientzle Fill in the libarchive-portable build infrastructure that uses autoco…
kientzle authored
684 cpio/test/test_option_c.c \
685 cpio/test/test_option_d.c \
686 cpio/test/test_option_f.c \
687 cpio/test/test_option_help.c \
d555381 @kientzle Rename the tests to a consistent style:
kientzle authored
688 cpio/test/test_option_l.c \
d100741 @kientzle Add --lzma and -J options to cpio.
kientzle authored
689 cpio/test/test_option_lzma.c \
b3cfa26 @kientzle Fill in the libarchive-portable build infrastructure that uses autoco…
kientzle authored
690 cpio/test/test_option_m.c \
691 cpio/test/test_option_t.c \
692 cpio/test/test_option_u.c \
693 cpio/test/test_option_version.c \
694 cpio/test/test_option_y.c \
695 cpio/test/test_option_z.c \
696 cpio/test/test_owner_parse.c \
a4095ce @kientzle Include the new cpio tests.
kientzle authored
697 cpio/test/test_passthrough_dotdot.c \
698 cpio/test/test_passthrough_reverse.c \
b3cfa26 @kientzle Fill in the libarchive-portable build infrastructure that uses autoco…
kientzle authored
699 cpio/test/test_pathmatch.c
700
71d1bfe Refactor common frontend code into a separate library.
Joerg Sonnenberger authored
701 bsdcpio_test_CPPFLAGS= \
702 -I$(top_srcdir)/libarchive -I$(top_srcdir)/libarchive_fe \
c31d1bc Ensure __USE_MINGW_ANSI_STDIO is defined for MinGW builds.
Charles Wilson authored
703 -I$(top_srcdir)/cpio -I$(top_builddir)/cpio/test \
704 $(PLATFORMCPPFLAGS)
cee6343 @kientzle binmode.o should no longer be needed on Cygwin.
kientzle authored
705 bsdcpio_test_LDADD=libarchive_fe.la
b3cfa26 @kientzle Fill in the libarchive-portable build infrastructure that uses autoco…
kientzle authored
706
707 cpio/test/list.h: Makefile
708 cat $(top_srcdir)/cpio/test/test_*.c | grep DEFINE_TEST > cpio/test/list.h
709
710 if BUILD_BSDCPIO
711 bsdcpio_test_programs= bsdcpio_test
125047f @kientzle Chuck Wilson's fixes for Cygwin and MinGW builds.
kientzle authored
712 bsdcpio_TESTS_ENVIRONMENT= BSDCPIO=`cd $(top_builddir);/bin/pwd`/bsdcpio$(EXEEXT) BSDCPIO_TEST_FILES=`cd $(top_srcdir);/bin/pwd`/cpio/test
b3cfa26 @kientzle Fill in the libarchive-portable build infrastructure that uses autoco…
kientzle authored
713 else
714 bsdcpio_test_programs=
715 bsdcpio_TESTS_ENVIRONMENT=
716 endif
717
718 bsdcpio_test_EXTRA_DIST= \
719 cpio/test/test_gcpio_compat_ref.bin.uu \
720 cpio/test/test_gcpio_compat_ref.crc.uu \
721 cpio/test/test_gcpio_compat_ref.newc.uu \
722 cpio/test/test_gcpio_compat_ref.ustar.uu \
e8b5142 Fix distribution list to include all cpio testcases.
Joerg Sonnenberger authored
723 cpio/test/test_gcpio_compat_ref_nosym.bin.uu \
724 cpio/test/test_gcpio_compat_ref_nosym.crc.uu \
725 cpio/test/test_gcpio_compat_ref_nosym.newc.uu \
726 cpio/test/test_gcpio_compat_ref_nosym.ustar.uu \
b3cfa26 @kientzle Fill in the libarchive-portable build infrastructure that uses autoco…
kientzle authored
727 cpio/test/test_option_f.cpio.uu \
728 cpio/test/test_option_m.cpio.uu \
729 cpio/test/test_option_t.cpio.uu \
730 cpio/test/test_option_t.stdout.uu \
79cb8e5 Issue 15, part 14. Build system
Charles Wilson authored
731 cpio/test/test_option_tv.stdout.uu \
732 cpio/test/CMakeLists.txt
Something went wrong with that request. Please try again.