Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 462 lines (416 sloc) 14.967 kb
b3cfa26 Tim Kientzle Fill in the libarchive-portable build infrastructure that uses autoconf/...
kientzle authored
1 ## Process this file with automake to produce Makefile.in
2
3 AUTOMAKE_OPTIONS= foreign subdir-objects
4
5 #
6 # What to build and install
7 #
8 lib_LTLIBRARIES= libarchive.la
9 bin_PROGRAMS= $(bsdtar_programs) $(bsdcpio_programs)
10 man_MANS= $(libarchive_man_MANS) $(bsdtar_man_MANS) $(bsdcpio_man_MANS)
11 BUILT_SOURCES= libarchive/test/list.h tar/test/list.h cpio/test/list.h
12
13 #
14 # What to test: We always test libarchive, test bsdtar and bsdcpio only
15 # if we built them.
16 #
17 check_PROGRAMS= libarchive_test $(bsdtar_test_programs) $(bsdcpio_test_programs)
18 TESTS= libarchive_test $(bsdtar_test_programs) $(bsdcpio_test_programs)
19 TESTS_ENVIRONMENT= $(libarchive_TESTS_ENVIRONMENT) $(bsdtar_TESTS_ENVIRONMENT) $(bsdcpio_TESTS_ENVIRONMENT)
20 # Always build and test both bsdtar and bsdcpio as part of 'distcheck'
21 DISTCHECK_CONFIGURE_FLAGS = --enable-bsdtar --enable-bsdcpio
22
23 #
24 # What to include in the distribution
25 #
26 EXTRA_DIST= version \
27 contrib \
3f3749c Tim Kientzle Include contributed Windows build files in portable release.
kientzle authored
28 doc \
b3cfa26 Tim Kientzle Fill in the libarchive-portable build infrastructure that uses autoconf/...
kientzle authored
29 examples \
3f3749c Tim Kientzle Include contributed Windows build files in portable release.
kientzle authored
30 windows \
b3cfa26 Tim Kientzle Fill in the libarchive-portable build infrastructure that uses autoconf/...
kientzle authored
31 $(libarchive_EXTRA_DIST) \
32 $(libarchive_test_EXTRA_DIST) \
33 $(bsdtar_EXTRA_DIST) \
34 $(bsdtar_test_EXTRA_DIST) \
35 $(bsdcpio_EXTRA_DIST) \
36 $(bsdcpio_test_EXTRA_DIST)
37
38 # a) Clean out some unneeded files and directories
39 # b) Collect all documentation and format it for distribution.
40 dist-hook:
41 rm -rf `find $(distdir) -name CVS -type d`
42 rm -rf `find $(distdir) -name .svn -type d`
43 rm -f `find $(distdir) -name '*~'`
44 rm -f `find $(distdir) -name '*.out'`
45 rm -f `find $(distdir) -name '*.core'`
46 -rm -f $(distdir)/*/Makefile $(distdir)/*/*/Makefile
09549f4 Tim Kientzle Eliminate archive.h.in; instead of editing a new version into
kientzle authored
47 cd $(distdir)/doc && /bin/sh update.sh
b3cfa26 Tim Kientzle Fill in the libarchive-portable build infrastructure that uses autoconf/...
kientzle authored
48
49 #
50 # Extra rules for cleanup
51 #
52 DISTCLEANFILES= tar/getdate.c tar/getdate.h \
53 libarchive/test/list.h \
54 tar/test/list.h \
55 cpio/test/list.h
56
57 distclean-local:
58 -rm -rf .ref
59 -rm -rf autom4te.cache/
60 -rm -f *~
61 -[ -f libarchive/Makefile ] && cd libarchive && make clean
62 -[ -f libarchive/test/Makefile ] && cd libarchive/test && make clean
63 -[ -f tar/Makefile ] && cd tar && make clean
64 -[ -f tar/test/Makefile ] && cd tar/test && make clean
65 -[ -f cpio/Makefile ] && cd cpio && make clean
66 -[ -f cpio/test/Makefile ] && cd cpio/test && make clean
67
68 #
69 # Libarchive headers, source, etc.
70 #
71 #
72
09549f4 Tim Kientzle Eliminate archive.h.in; instead of editing a new version into
kientzle authored
73 include_HEADERS= libarchive/archive.h libarchive/archive_entry.h
b3cfa26 Tim Kientzle Fill in the libarchive-portable build infrastructure that uses autoconf/...
kientzle authored
74
75 libarchive_la_SOURCES= \
76 libarchive/archive_check_magic.c \
77 libarchive/archive_endian.h \
78 libarchive/archive_entry.c \
79 libarchive/archive_entry.h \
80 libarchive/archive_entry_copy_stat.c \
81 libarchive/archive_entry_link_resolver.c \
82 libarchive/archive_entry_private.h \
83 libarchive/archive_entry_stat.c \
84 libarchive/archive_entry_strmode.c \
85 libarchive/archive_platform.h \
86 libarchive/archive_private.h \
87 libarchive/archive_read.c \
88 libarchive/archive_read_data_into_fd.c \
45d1330 Tim Kientzle Add new archive_read* files to the autoconf/automake build system.
kientzle authored
89 libarchive/archive_read_disk.c \
90 libarchive/archive_read_disk_private.h \
91 libarchive/archive_read_disk_set_standard_lookup.c \
b3cfa26 Tim Kientzle Fill in the libarchive-portable build infrastructure that uses autoconf/...
kientzle authored
92 libarchive/archive_read_extract.c \
93 libarchive/archive_read_open_fd.c \
94 libarchive/archive_read_open_file.c \
95 libarchive/archive_read_open_filename.c \
96 libarchive/archive_read_open_memory.c \
97 libarchive/archive_read_private.h \
98 libarchive/archive_read_support_compression_all.c \
99 libarchive/archive_read_support_compression_bzip2.c \
100 libarchive/archive_read_support_compression_compress.c \
101 libarchive/archive_read_support_compression_gzip.c \
102 libarchive/archive_read_support_compression_none.c \
103 libarchive/archive_read_support_compression_program.c \
b1ab1b2 Tim Kientzle LZMA support via GPL lzmadec library.
kientzle authored
104 libarchive/archive_read_support_compression_lzma.c \
b3cfa26 Tim Kientzle Fill in the libarchive-portable build infrastructure that uses autoconf/...
kientzle authored
105 libarchive/archive_read_support_format_all.c \
106 libarchive/archive_read_support_format_ar.c \
107 libarchive/archive_read_support_format_cpio.c \
108 libarchive/archive_read_support_format_empty.c \
109 libarchive/archive_read_support_format_iso9660.c \
110 libarchive/archive_read_support_format_mtree.c \
111 libarchive/archive_read_support_format_tar.c \
112 libarchive/archive_read_support_format_zip.c \
113 libarchive/archive_string.c \
114 libarchive/archive_string.h \
115 libarchive/archive_string_sprintf.c \
116 libarchive/archive_util.c \
117 libarchive/archive_virtual.c \
118 libarchive/archive_write.c \
119 libarchive/archive_write_disk.c \
120 libarchive/archive_write_disk_private.h \
121 libarchive/archive_write_disk_set_standard_lookup.c \
122 libarchive/archive_write_open_fd.c \
123 libarchive/archive_write_open_file.c \
124 libarchive/archive_write_open_filename.c \
125 libarchive/archive_write_open_memory.c \
126 libarchive/archive_write_private.h \
127 libarchive/archive_write_set_compression_bzip2.c \
128 libarchive/archive_write_set_compression_compress.c \
129 libarchive/archive_write_set_compression_gzip.c \
130 libarchive/archive_write_set_compression_none.c \
131 libarchive/archive_write_set_compression_program.c \
132 libarchive/archive_write_set_format.c \
133 libarchive/archive_write_set_format_ar.c \
134 libarchive/archive_write_set_format_by_name.c \
135 libarchive/archive_write_set_format_cpio.c \
136 libarchive/archive_write_set_format_cpio_newc.c \
cedb073 Add write support for mtree.
Joerg Sonnenberger authored
137 libarchive/archive_write_set_format_mtree.c \
b3cfa26 Tim Kientzle Fill in the libarchive-portable build infrastructure that uses autoconf/...
kientzle authored
138 libarchive/archive_write_set_format_pax.c \
139 libarchive/archive_write_set_format_shar.c \
140 libarchive/archive_write_set_format_ustar.c \
141 libarchive/config_freebsd.h \
142 libarchive/config_windows.h \
143 libarchive/filter_fork.c \
144 libarchive/filter_fork.h
145
9e7cfdf Tim Kientzle Fix building in separate dir.
kientzle authored
146 libarchive_la_CPPFLAGS=-I $(top_builddir)/libarchive
171f792 Tim Kientzle Update the description of -no-undefined, required by libtool on Cygwin.
kientzle authored
147 # -no-undefined marks that libarchive doesn't rely on symbols
dc42313 Tim Kientzle I've been corrected: -no-undefined is meaningful for
kientzle authored
148 # defined in the application. This is mandatory for cygwin.
b3cfa26 Tim Kientzle Fill in the libarchive-portable build infrastructure that uses autoconf/...
kientzle authored
149 libarchive_la_LDFLAGS= -no-undefined -version-info $(ARCHIVE_LIBTOOL_VERSION)
150
151 # Manpages to install
152 libarchive_man_MANS= \
153 libarchive/archive_entry.3 \
154 libarchive/archive_read.3 \
155 libarchive/archive_util.3 \
156 libarchive/archive_write.3 \
157 libarchive/archive_write_disk.3 \
158 libarchive/cpio.5 \
159 libarchive/libarchive.3 \
160 libarchive/libarchive_internals.3 \
161 libarchive/libarchive-formats.5 \
162 libarchive/mtree.5 \
163 libarchive/tar.5
164
165 # Additional libarchive files to include in the distribution
56c6190 Tim Kientzle Include the Windows helper files in the portable distribution.
kientzle authored
166 libarchive_EXTRA_DIST= \
167 libarchive/test/list.h \
168 libarchive/archive_windows.c \
169 libarchive/archive_windows.h \
b3cfa26 Tim Kientzle Fill in the libarchive-portable build infrastructure that uses autoconf/...
kientzle authored
170 $(libarchive_man_MANS)
171
172 #
173 #
174 # libarchive_test program
175 #
176 #
177 libarchive_test_SOURCES= \
178 $(libarchive_la_SOURCES) \
179 libarchive/test/main.c \
180 libarchive/test/read_open_memory.c \
181 libarchive/test/test.h \
182 libarchive/test/test_acl_basic.c \
3c700f8 Tim Kientzle Add a couple of new test files to the portable Makefile.am
kientzle authored
183 libarchive/test/test_acl_freebsd.c \
b3cfa26 Tim Kientzle Fill in the libarchive-portable build infrastructure that uses autoconf/...
kientzle authored
184 libarchive/test/test_acl_pax.c \
185 libarchive/test/test_archive_api_feature.c \
186 libarchive/test/test_bad_fd.c \
56f6b5f Tim Kientzle Add a fuzz tester to the libarchive test suite. This
kientzle authored
187 libarchive/test/test_compat_bzip2.c \
b3cfa26 Tim Kientzle Fill in the libarchive-portable build infrastructure that uses autoconf/...
kientzle authored
188 libarchive/test/test_compat_gtar.c \
2d96c65 Tim Kientzle Basic test for gzip compatibility.
kientzle authored
189 libarchive/test/test_compat_gzip.c \
b3cfa26 Tim Kientzle Fill in the libarchive-portable build infrastructure that uses autoconf/...
kientzle authored
190 libarchive/test/test_compat_tar_hardlink.c \
191 libarchive/test/test_compat_zip.c \
192 libarchive/test/test_empty_write.c \
193 libarchive/test/test_entry.c \
56f6b5f Tim Kientzle Add a fuzz tester to the libarchive test suite. This
kientzle authored
194 libarchive/test/test_fuzz.c \
b3cfa26 Tim Kientzle Fill in the libarchive-portable build infrastructure that uses autoconf/...
kientzle authored
195 libarchive/test/test_entry_strmode.c \
196 libarchive/test/test_link_resolver.c \
197 libarchive/test/test_pax_filename_encoding.c \
198 libarchive/test/test_read_compress_program.c \
199 libarchive/test/test_read_data_large.c \
45d1330 Tim Kientzle Add new archive_read* files to the autoconf/automake build system.
kientzle authored
200 libarchive/test/test_read_disk.c \
b3cfa26 Tim Kientzle Fill in the libarchive-portable build infrastructure that uses autoconf/...
kientzle authored
201 libarchive/test/test_read_extract.c \
202 libarchive/test/test_read_format_ar.c \
203 libarchive/test/test_read_format_cpio_bin.c \
204 libarchive/test/test_read_format_cpio_bin_Z.c \
205 libarchive/test/test_read_format_cpio_bin_bz2.c \
206 libarchive/test/test_read_format_cpio_bin_gz.c \
207 libarchive/test/test_read_format_cpio_odc.c \
208 libarchive/test/test_read_format_cpio_svr4_gzip.c \
209 libarchive/test/test_read_format_cpio_svr4c_Z.c \
210 libarchive/test/test_read_format_empty.c \
211 libarchive/test/test_read_format_gtar_gz.c \
2b15ccf Tim Kientzle Add LZMA test, more detailed comments about the sorry state
kientzle authored
212 libarchive/test/test_read_format_gtar_lzma.c \
b3cfa26 Tim Kientzle Fill in the libarchive-portable build infrastructure that uses autoconf/...
kientzle authored
213 libarchive/test/test_read_format_gtar_sparse.c \
214 libarchive/test/test_read_format_iso_gz.c \
215 libarchive/test/test_read_format_isorr_bz2.c \
216 libarchive/test/test_read_format_mtree.c \
217 libarchive/test/test_read_format_pax_bz2.c \
218 libarchive/test/test_read_format_tar.c \
219 libarchive/test/test_read_format_tar_empty_filename.c \
220 libarchive/test/test_read_format_tbz.c \
221 libarchive/test/test_read_format_tgz.c \
222 libarchive/test/test_read_format_tz.c \
223 libarchive/test/test_read_format_zip.c \
224 libarchive/test/test_read_large.c \
225 libarchive/test/test_read_pax_truncated.c \
226 libarchive/test/test_read_position.c \
227 libarchive/test/test_read_truncated.c \
228 libarchive/test/test_tar_filenames.c \
229 libarchive/test/test_tar_large.c \
230 libarchive/test/test_ustar_filenames.c \
231 libarchive/test/test_write_compress.c \
232 libarchive/test/test_write_compress_program.c \
233 libarchive/test/test_write_disk.c \
234 libarchive/test/test_write_disk_hardlink.c \
235 libarchive/test/test_write_disk_perms.c \
236 libarchive/test/test_write_disk_secure.c \
3c700f8 Tim Kientzle Add a couple of new test files to the portable Makefile.am
kientzle authored
237 libarchive/test/test_write_disk_times.c \
b3cfa26 Tim Kientzle Fill in the libarchive-portable build infrastructure that uses autoconf/...
kientzle authored
238 libarchive/test/test_write_format_ar.c \
239 libarchive/test/test_write_format_cpio.c \
240 libarchive/test/test_write_format_cpio_empty.c \
241 libarchive/test/test_write_format_cpio_odc.c \
242 libarchive/test/test_write_format_cpio_newc.c \
f17b583 Tim Kientzle Read/write birthtime in pax format archives.
kientzle authored
243 libarchive/test/test_write_format_pax.c \
b3cfa26 Tim Kientzle Fill in the libarchive-portable build infrastructure that uses autoconf/...
kientzle authored
244 libarchive/test/test_write_format_shar_empty.c \
245 libarchive/test/test_write_format_tar.c \
246 libarchive/test/test_write_format_tar_empty.c \
247 libarchive/test/test_write_format_tar_ustar.c \
248 libarchive/test/test_write_open_memory.c
249
250 libarchive_test_CPPFLAGS= -I$(top_builddir)/libarchive -I$(top_srcdir)/libarchive -I$(top_builddir)/libarchive/test
251
252 # The "list.h" file just lists all of the tests defined in all of the sources.
253 # Building it automatically provides a sanity-check on libarchive_test_SOURCES
254 # above.
255 libarchive/test/list.h: Makefile
256 cat $(top_srcdir)/libarchive/test/test_*.c | grep DEFINE_TEST > libarchive/test/list.h
257
258 libarchive_TESTS_ENVIRONMENT= LIBARCHIVE_TEST_FILES=`cd $(top_srcdir);/bin/pwd`/libarchive/test
259
260 libarchive_test_EXTRA_DIST=\
56f6b5f Tim Kientzle Add a fuzz tester to the libarchive test suite. This
kientzle authored
261 libarchive/test/test_compat_bzip2_1.tbz.uu \
262 libarchive/test/test_compat_bzip2_2.tbz.uu \
cf6ad4b Tim Kientzle Catch up with a bunch of file renaming that occurred a little while back...
kientzle authored
263 libarchive/test/test_compat_gtar_1.tar.uu \
2d96c65 Tim Kientzle Basic test for gzip compatibility.
kientzle authored
264 libarchive/test/test_compat_gzip_1.tgz.uu \
265 libarchive/test/test_compat_gzip_2.tgz.uu \
b3cfa26 Tim Kientzle Fill in the libarchive-portable build infrastructure that uses autoconf/...
kientzle authored
266 libarchive/test/test_compat_tar_hardlink_1.tar.uu \
267 libarchive/test/test_compat_zip_1.zip.uu \
56f6b5f Tim Kientzle Add a fuzz tester to the libarchive test suite. This
kientzle authored
268 libarchive/test/test_fuzz_1.iso.uu \
cf6ad4b Tim Kientzle Catch up with a bunch of file renaming that occurred a little while back...
kientzle authored
269 libarchive/test/test_pax_filename_encoding.tar.uu \
270 libarchive/test/test_read_format_gtar_sparse_1_13.tar.uu \
271 libarchive/test/test_read_format_gtar_sparse_1_17.tar.uu \
272 libarchive/test/test_read_format_gtar_sparse_1_17_posix00.tar.uu \
273 libarchive/test/test_read_format_gtar_sparse_1_17_posix01.tar.uu \
274 libarchive/test/test_read_format_gtar_sparse_1_17_posix10.tar.uu \
b3cfa26 Tim Kientzle Fill in the libarchive-portable build infrastructure that uses autoconf/...
kientzle authored
275 libarchive/test/test_read_format_gtar_sparse_1_17_posix10_modified.tar.uu \
c52ed4f Tim Kientzle IFC
kientzle authored
276 libarchive/test/test_read_format_isorr_bz2.iso.bz2.uu \
23b1e67 Tim Kientzle Include a missing test file in the portable build.
kientzle authored
277 libarchive/test/test_read_format_tar_empty_filename.tar.uu \
278 libarchive/test/test_read_format_zip.zip.uu
b3cfa26 Tim Kientzle Fill in the libarchive-portable build infrastructure that uses autoconf/...
kientzle authored
279
280
281 #
282 #
283 # bsdtar source, docs, etc.
284 #
285 #
286
287 bsdtar_SOURCES= \
288 tar/bsdtar.c \
289 tar/bsdtar.h \
290 tar/bsdtar_platform.h \
27a6ba7 Tim Kientzle Custom from-scratch command-line parser for bsdtar. This is
kientzle authored
291 tar/cmdline.c \
b3cfa26 Tim Kientzle Fill in the libarchive-portable build infrastructure that uses autoconf/...
kientzle authored
292 tar/getdate.y \
293 tar/matching.c \
294 tar/read.c \
4c8e027 Tim Kientzle tar/siginfo.c is a new file; include it in the portable build.
kientzle authored
295 tar/siginfo.c \
326a25b Add support for pax-like tar substitutions as found in NetBSD's
Joerg Sonnenberger authored
296 tar/subst.c \
b3cfa26 Tim Kientzle Fill in the libarchive-portable build infrastructure that uses autoconf/...
kientzle authored
297 tar/tree.c \
298 tar/tree.h \
299 tar/util.c \
300 tar/write.c
301
09549f4 Tim Kientzle Eliminate archive.h.in; instead of editing a new version into
kientzle authored
302 bsdtar_DEPENDENCIES= libarchive.la
b3cfa26 Tim Kientzle Fill in the libarchive-portable build infrastructure that uses autoconf/...
kientzle authored
303
304 if STATIC_BSDTAR
305 bsdtar_static= -static
306 else
307 bsdtar_static=
308 endif
309
310 bsdtar_LDADD= libarchive.la
311 bsdtar_CPPFLAGS= -I$(top_builddir)/libarchive -I$(top_srcdir)/libarchive
312 bsdtar_LDFLAGS= $(bsdtar_static)
313 bsdtar_EXTRA_DIST= \
314 tar/bsdtar.1
315
316 if BUILD_BSDTAR
317 bsdtar_man_MANS= tar/bsdtar.1
318 bsdtar_programs= bsdtar
319 else
320 bsdtar_man_MANS=
321 bsdtar_programs=
322 endif
323
324 #
325 # bsdtar_test
326 #
327
328 bsdtar_test_SOURCES= \
329 tar/getdate.c \
330 tar/test/main.c \
331 tar/test/test.h \
332 tar/test/test_0.c \
333 tar/test/test_basic.c \
334 tar/test/test_copy.c \
335 tar/test/test_getdate.c \
336 tar/test/test_help.c \
62e9995 Tim Kientzle Include tar/test/test_option_T, which was left out of 2.5.3b.
kientzle authored
337 tar/test/test_option_T.c \
3dc134b Tim Kientzle Merge r354 from release/2.6: Fix multiple -s options.
kientzle authored
338 tar/test/test_option_q.c \
339 tar/test/test_option_s.c \
c950be8 Tim Kientzle Include tar/test/test_patterns.c, the initial skeleton of
kientzle authored
340 tar/test/test_patterns.c \
b3cfa26 Tim Kientzle Fill in the libarchive-portable build infrastructure that uses autoconf/...
kientzle authored
341 tar/test/test_stdio.c \
56f6b5f Tim Kientzle Add a fuzz tester to the libarchive test suite. This
kientzle authored
342 tar/test/test_strip_components.c \
f17b583 Tim Kientzle Read/write birthtime in pax format archives.
kientzle authored
343 tar/test/test_symlink_dir.c \
b3cfa26 Tim Kientzle Fill in the libarchive-portable build infrastructure that uses autoconf/...
kientzle authored
344 tar/test/test_version.c
345
346 bsdtar_test_CPPFLAGS= -I$(top_builddir)/tar/test
347
348 tar/test/list.h: Makefile
349 cat $(top_srcdir)/tar/test/test_*.c | grep DEFINE_TEST > tar/test/list.h
350
351 if BUILD_BSDTAR
352 bsdtar_test_programs= bsdtar_test
353 bsdtar_TESTS_ENVIRONMENT= BSDTAR=`cd $(top_builddir);/bin/pwd`/bsdtar BSDTAR_TEST_FILES=`cd $(top_srcdir);/bin/pwd`/tar/test
354 else
355 bsdtar_test_programs=
356 bsdtar_TESTS_ENVIRONMENT=
357 endif
358
d75f8db Tim Kientzle Update Makefile.am with some new reference files for bsdtar_test.
kientzle authored
359 bsdtar_test_EXTRA_DIST= \
360 tar/test/test_patterns_2.tgz.uu \
361 tar/test/test_patterns_3.tgz.uu
362
b3cfa26 Tim Kientzle Fill in the libarchive-portable build infrastructure that uses autoconf/...
kientzle authored
363
364 #
365 #
366 # bsdcpio source, docs, etc.
367 #
368 #
369
370 bsdcpio_SOURCES= \
371 cpio/cmdline.c \
372 cpio/cpio.c \
373 cpio/cpio.h \
374 cpio/cpio_platform.h \
375 cpio/err.c \
376 cpio/matching.c \
377 cpio/matching.h \
378 cpio/pathmatch.c \
379 cpio/pathmatch.h
380
09549f4 Tim Kientzle Eliminate archive.h.in; instead of editing a new version into
kientzle authored
381 bsdcpio_DEPENDENCIES = libarchive.la
b3cfa26 Tim Kientzle Fill in the libarchive-portable build infrastructure that uses autoconf/...
kientzle authored
382
383
384 if STATIC_BSDCPIO
385 bsdcpio_static= -static
386 else
387 bsdcpio_static=
388 endif
389
390 bsdcpio_LDADD= libarchive.la
391 bsdcpio_CPPFLAGS= -I$(top_builddir)/libarchive -I$(top_srcdir)/libarchive
392 bsdcpio_LDFLAGS= $(bsdcpio_static)
393 bsdcpio_EXTRA_DIST= \
394 cpio/test/list.h \
395 cpio/bsdcpio.1
396
397 if BUILD_BSDCPIO
398 # Manpages to install
399 bsdcpio_man_MANS= cpio/bsdcpio.1
400 bsdcpio_programs= bsdcpio
401 else
402 bsdcpio_man_MANS=
403 bsdcpio_programs=
404 endif
405
406 #
407 # bsdcpio_test
408 #
409
410 bsdcpio_test_SOURCES= \
411 cpio/cmdline.c \
412 cpio/err.c \
413 cpio/pathmatch.c \
414 cpio/test/main.c \
415 cpio/test/test.h \
416 cpio/test/test_0.c \
417 cpio/test/test_basic.c \
418 cpio/test/test_format_newc.c \
419 cpio/test/test_gcpio_compat.c \
420 cpio/test/test_option_B.c \
691997f Tim Kientzle IFC
kientzle authored
421 cpio/test/test_option_L.c \
422 cpio/test/test_option_a.c \
b3cfa26 Tim Kientzle Fill in the libarchive-portable build infrastructure that uses autoconf/...
kientzle authored
423 cpio/test/test_option_c.c \
424 cpio/test/test_option_d.c \
691997f Tim Kientzle IFC
kientzle authored
425 cpio/test/test_option_ell.c \
b3cfa26 Tim Kientzle Fill in the libarchive-portable build infrastructure that uses autoconf/...
kientzle authored
426 cpio/test/test_option_f.c \
427 cpio/test/test_option_help.c \
428 cpio/test/test_option_m.c \
429 cpio/test/test_option_t.c \
430 cpio/test/test_option_u.c \
431 cpio/test/test_option_version.c \
432 cpio/test/test_option_y.c \
433 cpio/test/test_option_z.c \
434 cpio/test/test_owner_parse.c \
a4095ce Tim Kientzle Include the new cpio tests.
kientzle authored
435 cpio/test/test_passthrough_dotdot.c \
436 cpio/test/test_passthrough_reverse.c \
b3cfa26 Tim Kientzle Fill in the libarchive-portable build infrastructure that uses autoconf/...
kientzle authored
437 cpio/test/test_pathmatch.c
438
439 bsdcpio_test_CPPFLAGS= -I$(top_builddir)/libarchive -I$(top_srcdir)/libarchive -I$(top_builddir)/cpio/test
440
441 cpio/test/list.h: Makefile
442 cat $(top_srcdir)/cpio/test/test_*.c | grep DEFINE_TEST > cpio/test/list.h
443
444 if BUILD_BSDCPIO
445 bsdcpio_test_programs= bsdcpio_test
446 bsdcpio_TESTS_ENVIRONMENT= BSDCPIO=`cd $(top_builddir);/bin/pwd`/bsdcpio BSDCPIO_TEST_FILES=`cd $(top_srcdir);/bin/pwd`/cpio/test
447 else
448 bsdcpio_test_programs=
449 bsdcpio_TESTS_ENVIRONMENT=
450 endif
451
452 bsdcpio_test_EXTRA_DIST= \
453 cpio/test/test_gcpio_compat_ref.bin.uu \
454 cpio/test/test_gcpio_compat_ref.crc.uu \
455 cpio/test/test_gcpio_compat_ref.newc.uu \
456 cpio/test/test_gcpio_compat_ref.ustar.uu \
457 cpio/test/test_option_f.cpio.uu \
458 cpio/test/test_option_m.cpio.uu \
459 cpio/test/test_option_t.cpio.uu \
460 cpio/test/test_option_t.stdout.uu \
461 cpio/test/test_option_tv.stdout.uu
Something went wrong with that request. Please try again.