xref: /freebsd/lib/libarchive/Makefile (revision d0b2dbfa0ecf2bbc9709efc5e20baf8e4b44bbbf)
1c6063d0dSWarner Losh.include <src.opts.mk>
2bfe891b1STim Kientzle
3a70cba95SGlen BarberPACKAGE=lib${LIB}
4dd1ed997SEnji Cooper_LIBARCHIVEDIR=	${SRCTOP}/contrib/libarchive
545d3b226SMartin Matuska
6bfe891b1STim KientzleLIB=	archive
7fd4cf060STim Kientzle
8a2b1e869STim Kientzle# FreeBSD SHLIB_MAJOR value is managed as part of the FreeBSD system.
9fa07de5eSTim Kientzle# It has no real relation to the libarchive version number.
1069921123SKonstantin BelousovSHLIB_MAJOR= 7
11db38abe6STim Kientzle
12bfe891b1STim KientzleCFLAGS+=	-I${.OBJDIR}
13d567f909SBaptiste DaroussinCFLAGS+=	-I${SRCTOP}/sys/contrib/zstd/lib
1472f97a2dSAlex Richardson.include "Makefile.inc"
156c95142eSMartin Matuska
16*f40b617eSJohn Baldwin.if ${MACHINE_ARCH:Marm*} != "" || ${MACHINE_ARCH:Mpowerpc*} != ""
176c95142eSMartin MatuskaNO_WCAST_ALIGN=	yes
186c95142eSMartin Matuska.if ${MACHINE_ARCH:M*64*} == ""
196c95142eSMartin MatuskaCFLAGS+=	-DPPMD_32BIT
206c95142eSMartin Matuska.endif
216c95142eSMartin Matuska.endif
226c11edf6SDimitry AndricNO_WCAST_ALIGN.clang=
236c95142eSMartin Matuska
2462f38e94SBryan Drewery.PATH: ${_LIBARCHIVEDIR}/libarchive
2545d3b226SMartin Matuska
26db38abe6STim Kientzle# Headers to be installed in /usr/include
27bfe891b1STim KientzleINCS=	archive.h archive_entry.h
28bfe891b1STim Kientzle
299f322324STim Kientzle# Sources to be compiled.
306c95142eSMartin MatuskaSRCS=	archive_acl.c					\
31b1c91e4bSMartin Matuska	archive_blake2sp_ref.c				\
32b1c91e4bSMartin Matuska	archive_blake2s_ref.c				\
336c95142eSMartin Matuska	archive_check_magic.c				\
34acc60b03SMartin Matuska	archive_cmdline.c				\
35cdf63a70SMartin Matuska	archive_cryptor.c				\
36a7f7e457SMartin Matuska	archive_disk_acl_freebsd.c			\
37cdf63a70SMartin Matuska	archive_digest.c				\
38bfe891b1STim Kientzle	archive_entry.c					\
39b48b40f1STim Kientzle	archive_entry_copy_stat.c			\
406c95142eSMartin Matuska	archive_entry_link_resolver.c			\
416c95142eSMartin Matuska	archive_entry_sparse.c				\
42b48b40f1STim Kientzle	archive_entry_stat.c				\
439dd49f96STim Kientzle	archive_entry_strmode.c				\
4465d5426fSTim Kientzle	archive_entry_xattr.c				\
45fd082e96SMartin Matuska	archive_getdate.c				\
46cdf63a70SMartin Matuska	archive_hmac.c					\
47fd082e96SMartin Matuska	archive_match.c					\
486c95142eSMartin Matuska	archive_options.c				\
49cdf63a70SMartin Matuska	archive_pack_dev.c				\
50fd082e96SMartin Matuska	archive_pathmatch.c				\
516c95142eSMartin Matuska	archive_ppmd7.c					\
52a39fc08dSMartin Matuska	archive_ppmd8.c					\
53cdf63a70SMartin Matuska	archive_random.c				\
546c95142eSMartin Matuska	archive_rb.c					\
55bfe891b1STim Kientzle	archive_read.c					\
56cdf63a70SMartin Matuska	archive_read_add_passphrase.c			\
57acc60b03SMartin Matuska	archive_read_append_filter.c			\
58bfe891b1STim Kientzle	archive_read_data_into_fd.c			\
5943a8e5f0STim Kientzle	archive_read_disk_entry_from_file.c		\
606c95142eSMartin Matuska	archive_read_disk_posix.c			\
6143a8e5f0STim Kientzle	archive_read_disk_set_standard_lookup.c		\
62bfe891b1STim Kientzle	archive_read_extract.c				\
63cdf63a70SMartin Matuska	archive_read_extract2.c				\
64bfe891b1STim Kientzle	archive_read_open_fd.c				\
6597fc4d2dSTim Kientzle	archive_read_open_file.c			\
66af6513d3STim Kientzle	archive_read_open_filename.c			\
6797fc4d2dSTim Kientzle	archive_read_open_memory.c			\
68acc60b03SMartin Matuska	archive_read_set_format.c			\
696c95142eSMartin Matuska	archive_read_set_options.c			\
706c95142eSMartin Matuska	archive_read_support_filter_all.c		\
716c95142eSMartin Matuska	archive_read_support_filter_bzip2.c		\
72c3afd20fSMartin Matuska	archive_read_support_filter_by_code.c		\
736c95142eSMartin Matuska	archive_read_support_filter_compress.c		\
746c95142eSMartin Matuska	archive_read_support_filter_gzip.c		\
75acc60b03SMartin Matuska	archive_read_support_filter_grzip.c		\
76acc60b03SMartin Matuska	archive_read_support_filter_lrzip.c		\
77cdf63a70SMartin Matuska	archive_read_support_filter_lz4.c		\
78acc60b03SMartin Matuska	archive_read_support_filter_lzop.c		\
796c95142eSMartin Matuska	archive_read_support_filter_none.c		\
806c95142eSMartin Matuska	archive_read_support_filter_program.c		\
816c95142eSMartin Matuska	archive_read_support_filter_rpm.c		\
826c95142eSMartin Matuska	archive_read_support_filter_uu.c		\
836c95142eSMartin Matuska	archive_read_support_filter_xz.c		\
845c831a5bSMartin Matuska	archive_read_support_filter_zstd.c		\
856c95142eSMartin Matuska	archive_read_support_format_7zip.c		\
86bfe891b1STim Kientzle	archive_read_support_format_all.c		\
8737320c75STim Kientzle	archive_read_support_format_ar.c		\
886c95142eSMartin Matuska	archive_read_support_format_by_code.c		\
896c95142eSMartin Matuska	archive_read_support_format_cab.c		\
90bfe891b1STim Kientzle	archive_read_support_format_cpio.c		\
91a9490c59STim Kientzle	archive_read_support_format_empty.c		\
925d9e84daSTim Kientzle	archive_read_support_format_iso9660.c		\
936c95142eSMartin Matuska	archive_read_support_format_lha.c		\
949dd49f96STim Kientzle	archive_read_support_format_mtree.c		\
956c95142eSMartin Matuska	archive_read_support_format_rar.c		\
96b1c91e4bSMartin Matuska	archive_read_support_format_rar5.c		\
97690f5ebdSTim Kientzle	archive_read_support_format_raw.c		\
98bfe891b1STim Kientzle	archive_read_support_format_tar.c		\
99cdf63a70SMartin Matuska	archive_read_support_format_warc.c		\
10038abb26bSMartin Matuska	archive_read_support_format_xar.c		\
1015958ff08STim Kientzle	archive_read_support_format_zip.c		\
102bfe891b1STim Kientzle	archive_string.c				\
103bfe891b1STim Kientzle	archive_string_sprintf.c			\
104bfe891b1STim Kientzle	archive_util.c					\
1054657548dSMartin Matuska	archive_version_details.c			\
106f81da3e5STim Kientzle	archive_virtual.c				\
107bfe891b1STim Kientzle	archive_write.c					\
108fd082e96SMartin Matuska	archive_write_add_filter.c			\
109f81da3e5STim Kientzle	archive_write_disk_set_standard_lookup.c	\
1106c95142eSMartin Matuska	archive_write_disk_posix.c			\
111bfe891b1STim Kientzle	archive_write_open_fd.c				\
11297fc4d2dSTim Kientzle	archive_write_open_file.c			\
113af6513d3STim Kientzle	archive_write_open_filename.c			\
11497fc4d2dSTim Kientzle	archive_write_open_memory.c			\
115acc60b03SMartin Matuska	archive_write_add_filter_b64encode.c		\
116acc60b03SMartin Matuska	archive_write_add_filter_by_name.c		\
1176c95142eSMartin Matuska	archive_write_add_filter_bzip2.c		\
1186c95142eSMartin Matuska	archive_write_add_filter_compress.c		\
119acc60b03SMartin Matuska	archive_write_add_filter_grzip.c		\
1206c95142eSMartin Matuska	archive_write_add_filter_gzip.c			\
121acc60b03SMartin Matuska	archive_write_add_filter_lrzip.c		\
122cdf63a70SMartin Matuska	archive_write_add_filter_lz4.c			\
123acc60b03SMartin Matuska	archive_write_add_filter_lzop.c			\
1246c95142eSMartin Matuska	archive_write_add_filter_none.c			\
1256c95142eSMartin Matuska	archive_write_add_filter_program.c		\
126acc60b03SMartin Matuska	archive_write_add_filter_uuencode.c		\
1276c95142eSMartin Matuska	archive_write_add_filter_xz.c			\
1285c831a5bSMartin Matuska	archive_write_add_filter_zstd.c			\
129bfe891b1STim Kientzle	archive_write_set_format.c			\
1306c95142eSMartin Matuska	archive_write_set_format_7zip.c			\
13194451fa8STim Kientzle	archive_write_set_format_ar.c			\
132bfe891b1STim Kientzle	archive_write_set_format_by_name.c		\
133bfe891b1STim Kientzle	archive_write_set_format_cpio.c			\
134ddce862aSMartin Matuska	archive_write_set_format_cpio_binary.c		\
13517e60e62STim Kientzle	archive_write_set_format_cpio_newc.c		\
136ddce862aSMartin Matuska	archive_write_set_format_cpio_odc.c		\
137cdf63a70SMartin Matuska	archive_write_set_format_filter_by_ext.c	\
1386c95142eSMartin Matuska	archive_write_set_format_gnutar.c		\
1396c95142eSMartin Matuska	archive_write_set_format_iso9660.c		\
1409ea64210STim Kientzle	archive_write_set_format_mtree.c		\
141bfe891b1STim Kientzle	archive_write_set_format_pax.c			\
142cdf63a70SMartin Matuska	archive_write_set_format_raw.c			\
143bfe891b1STim Kientzle	archive_write_set_format_shar.c			\
144b48b40f1STim Kientzle	archive_write_set_format_ustar.c		\
145acc60b03SMartin Matuska	archive_write_set_format_v7tar.c		\
146cdf63a70SMartin Matuska	archive_write_set_format_warc.c			\
1476c95142eSMartin Matuska	archive_write_set_format_xar.c			\
148b1657eb0STim Kientzle	archive_write_set_format_zip.c			\
149cdf63a70SMartin Matuska	archive_write_set_passphrase.c			\
1506c95142eSMartin Matuska	archive_write_set_options.c			\
151acc60b03SMartin Matuska	filter_fork_posix.c
152bfe891b1STim Kientzle
153db38abe6STim Kientzle# Man pages to be installed.
154bfe891b1STim KientzleMAN=	archive_entry.3					\
1556c95142eSMartin Matuska	archive_entry_acl.3				\
1566c95142eSMartin Matuska	archive_entry_linkify.3				\
15752c2bb75SMartin Matuska	archive_entry_misc.3				\
1586c95142eSMartin Matuska	archive_entry_paths.3				\
1596c95142eSMartin Matuska	archive_entry_perms.3				\
1606c95142eSMartin Matuska	archive_entry_stat.3				\
1616c95142eSMartin Matuska	archive_entry_time.3				\
162bfe891b1STim Kientzle	archive_read.3					\
1636c95142eSMartin Matuska	archive_read_data.3				\
164e1089c1eSTim Kientzle	archive_read_disk.3				\
1656c95142eSMartin Matuska	archive_read_extract.3				\
1666c95142eSMartin Matuska	archive_read_filter.3				\
1676c95142eSMartin Matuska	archive_read_format.3				\
1686c95142eSMartin Matuska	archive_read_free.3				\
1696c95142eSMartin Matuska	archive_read_header.3				\
1706c95142eSMartin Matuska	archive_read_new.3				\
1716c95142eSMartin Matuska	archive_read_open.3				\
1726c95142eSMartin Matuska	archive_read_set_options.3			\
173bfe891b1STim Kientzle	archive_util.3					\
174bfe891b1STim Kientzle	archive_write.3					\
1756c95142eSMartin Matuska	archive_write_blocksize.3			\
1766c95142eSMartin Matuska	archive_write_data.3				\
177f81da3e5STim Kientzle	archive_write_disk.3				\
1786c95142eSMartin Matuska	archive_write_filter.3				\
1796c95142eSMartin Matuska	archive_write_finish_entry.3			\
1806c95142eSMartin Matuska	archive_write_format.3				\
1816c95142eSMartin Matuska	archive_write_free.3				\
1826c95142eSMartin Matuska	archive_write_header.3				\
1836c95142eSMartin Matuska	archive_write_new.3				\
1846c95142eSMartin Matuska	archive_write_open.3				\
1856c95142eSMartin Matuska	archive_write_set_options.3			\
1869dd49f96STim Kientzle	cpio.5						\
187bfe891b1STim Kientzle	libarchive.3					\
188acc60b03SMartin Matuska	libarchive_changes.3				\
1896c95142eSMartin Matuska	libarchive_internals.3				\
190bfe891b1STim Kientzle	libarchive-formats.5				\
191bfe891b1STim Kientzle	tar.5
192bfe891b1STim Kientzle
193db38abe6STim Kientzle# Symlink the man pages under each function name.
194bfe891b1STim KientzleMLINKS+=	archive_entry.3 archive_entry_clear.3
195bfe891b1STim KientzleMLINKS+=	archive_entry.3 archive_entry_clone.3
196bfe891b1STim KientzleMLINKS+=	archive_entry.3 archive_entry_free.3
197bfe891b1STim KientzleMLINKS+=	archive_entry.3 archive_entry_new.3
1986c95142eSMartin MatuskaMLINKS+=	archive_entry_acl.3 archive_entry_acl_add_entry.3
1996c95142eSMartin MatuskaMLINKS+=	archive_entry_acl.3 archive_entry_acl_add_entry_w.3
2006c95142eSMartin MatuskaMLINKS+=	archive_entry_acl.3 archive_entry_acl_clear.3
2016c95142eSMartin MatuskaMLINKS+=	archive_entry_acl.3 archive_entry_acl_count.3
2026c95142eSMartin MatuskaMLINKS+=	archive_entry_acl.3 archive_entry_acl_next.3
2036c95142eSMartin MatuskaMLINKS+=	archive_entry_acl.3 archive_entry_acl_next_w.3
2046c95142eSMartin MatuskaMLINKS+=	archive_entry_acl.3 archive_entry_acl_reset.3
2056c95142eSMartin MatuskaMLINKS+=	archive_entry_acl.3 archive_entry_acl_text_w.3
2066c95142eSMartin MatuskaMLINKS+=	archive_entry_linkify.3 archive_entry_linkresolver.3
2076c95142eSMartin MatuskaMLINKS+=	archive_entry_linkify.3 archive_entry_linkresolver_new.3
2086c95142eSMartin MatuskaMLINKS+=	archive_entry_linkify.3 archive_entry_linkresolver_set_strategy.3
2096c95142eSMartin MatuskaMLINKS+=	archive_entry_linkify.3 archive_entry_linkresolver_free.3
2106c95142eSMartin MatuskaMLINKS+=	archive_entry_paths.3 archive_entry_copy_hardlink.3
2116c95142eSMartin MatuskaMLINKS+=	archive_entry_paths.3 archive_entry_copy_hardlink_w.3
2126c95142eSMartin MatuskaMLINKS+=	archive_entry_paths.3 archive_entry_copy_link.3
2136c95142eSMartin MatuskaMLINKS+=	archive_entry_paths.3 archive_entry_copy_link_w.3
2146c95142eSMartin MatuskaMLINKS+=	archive_entry_paths.3 archive_entry_copy_pathname.3
2156c95142eSMartin MatuskaMLINKS+=	archive_entry_paths.3 archive_entry_copy_pathname_w.3
2166c95142eSMartin MatuskaMLINKS+=	archive_entry_paths.3 archive_entry_copy_sourcepath.3
2176c95142eSMartin MatuskaMLINKS+=	archive_entry_paths.3 archive_entry_copy_symlink.3
2186c95142eSMartin MatuskaMLINKS+=	archive_entry_paths.3 archive_entry_copy_symlink_w.3
2196c95142eSMartin MatuskaMLINKS+=	archive_entry_paths.3 archive_entry_hardlink.3
2206c95142eSMartin MatuskaMLINKS+=	archive_entry_paths.3 archive_entry_hardlink_w.3
2216c95142eSMartin MatuskaMLINKS+=	archive_entry_paths.3 archive_entry_pathname.3
2226c95142eSMartin MatuskaMLINKS+=	archive_entry_paths.3 archive_entry_pathname_w.3
2236c95142eSMartin MatuskaMLINKS+=	archive_entry_paths.3 archive_entry_set_hardlink.3
2246c95142eSMartin MatuskaMLINKS+=	archive_entry_paths.3 archive_entry_set_link.3
2256c95142eSMartin MatuskaMLINKS+=	archive_entry_paths.3 archive_entry_set_pathname.3
2266c95142eSMartin MatuskaMLINKS+=	archive_entry_paths.3 archive_entry_set_symlink.3
2276c95142eSMartin MatuskaMLINKS+=	archive_entry_paths.3 archive_entry_symlink.3
2286c95142eSMartin MatuskaMLINKS+=	archive_entry_paths.3 archive_entry_symlink_w.3
2296c95142eSMartin MatuskaMLINKS+=	archive_entry_paths.3 archive_entry_update_symlink_utf8.3
2306c95142eSMartin MatuskaMLINKS+=	archive_entry_paths.3 archive_entry_update_hardlink_utf8.3
2316c95142eSMartin MatuskaMLINKS+=	archive_entry_perms.3 archive_entry_copy_fflags_text.3
2326c95142eSMartin MatuskaMLINKS+=	archive_entry_perms.3 archive_entry_copy_fflags_text_w.3
2336c95142eSMartin MatuskaMLINKS+=	archive_entry_perms.3 archive_entry_copy_gname.3
2346c95142eSMartin MatuskaMLINKS+=	archive_entry_perms.3 archive_entry_copy_gname_w.3
2356c95142eSMartin MatuskaMLINKS+=	archive_entry_perms.3 archive_entry_copy_uname.3
2366c95142eSMartin MatuskaMLINKS+=	archive_entry_perms.3 archive_entry_copy_uname_w.3
2376c95142eSMartin MatuskaMLINKS+=	archive_entry_perms.3 archive_entry_fflags.3
2386c95142eSMartin MatuskaMLINKS+=	archive_entry_perms.3 archive_entry_fflags_text.3
2396c95142eSMartin MatuskaMLINKS+=	archive_entry_perms.3 archive_entry_gid.3
2406c95142eSMartin MatuskaMLINKS+=	archive_entry_perms.3 archive_entry_gname.3
2416c95142eSMartin MatuskaMLINKS+=	archive_entry_perms.3 archive_entry_gname_w.3
2426c95142eSMartin MatuskaMLINKS+=	archive_entry_perms.3 archive_entry_set_fflags.3
2436c95142eSMartin MatuskaMLINKS+=	archive_entry_perms.3 archive_entry_set_gid.3
2446c95142eSMartin MatuskaMLINKS+=	archive_entry_perms.3 archive_entry_set_gname.3
2456c95142eSMartin MatuskaMLINKS+=	archive_entry_perms.3 archive_entry_perm.3
2466c95142eSMartin MatuskaMLINKS+=	archive_entry_perms.3 archive_entry_set_perm.3
2476c95142eSMartin MatuskaMLINKS+=	archive_entry_perms.3 archive_entry_set_uid.3
2486c95142eSMartin MatuskaMLINKS+=	archive_entry_perms.3 archive_entry_set_uname.3
2496c95142eSMartin MatuskaMLINKS+=	archive_entry_perms.3 archive_entry_strmode.3
2506c95142eSMartin MatuskaMLINKS+=	archive_entry_perms.3 archive_entry_uid.3
2516c95142eSMartin MatuskaMLINKS+=	archive_entry_perms.3 archive_entry_uname.3
2526c95142eSMartin MatuskaMLINKS+=	archive_entry_perms.3 archive_entry_uname_w.3
2536c95142eSMartin MatuskaMLINKS+=	archive_entry_perms.3 archive_entry_update_gname_utf8.3
2546c95142eSMartin MatuskaMLINKS+=	archive_entry_perms.3 archive_entry_update_uname_utf8.3
2556c95142eSMartin MatuskaMLINKS+=	archive_entry_stat.3 archive_entry_copy_stat.3
2566c95142eSMartin MatuskaMLINKS+=	archive_entry_stat.3 archive_entry_dev.3
2576c95142eSMartin MatuskaMLINKS+=	archive_entry_stat.3 archive_entry_dev_is_set.3
2586c95142eSMartin MatuskaMLINKS+=	archive_entry_stat.3 archive_entry_devmajor.3
2596c95142eSMartin MatuskaMLINKS+=	archive_entry_stat.3 archive_entry_devminor.3
2606c95142eSMartin MatuskaMLINKS+=	archive_entry_stat.3 archive_entry_filetype.3
2616c95142eSMartin MatuskaMLINKS+=	archive_entry_stat.3 archive_entry_ino.3
2626c95142eSMartin MatuskaMLINKS+=	archive_entry_stat.3 archive_entry_ino64.3
2636c95142eSMartin MatuskaMLINKS+=	archive_entry_stat.3 archive_entry_ino_is_set.3
2646c95142eSMartin MatuskaMLINKS+=	archive_entry_stat.3 archive_entry_mode.3
2656c95142eSMartin MatuskaMLINKS+=	archive_entry_stat.3 archive_entry_nlink.3
2666c95142eSMartin MatuskaMLINKS+=	archive_entry_stat.3 archive_entry_rdev.3
2676c95142eSMartin MatuskaMLINKS+=	archive_entry_stat.3 archive_entry_rdevmajor.3
2686c95142eSMartin MatuskaMLINKS+=	archive_entry_stat.3 archive_entry_rdevminor.3
2696c95142eSMartin MatuskaMLINKS+=	archive_entry_stat.3 archive_entry_set_dev.3
2706c95142eSMartin MatuskaMLINKS+=	archive_entry_stat.3 archive_entry_set_devmajor.3
2716c95142eSMartin MatuskaMLINKS+=	archive_entry_stat.3 archive_entry_set_devminor.3
2726c95142eSMartin MatuskaMLINKS+=	archive_entry_stat.3 archive_entry_set_filetype.3
2736c95142eSMartin MatuskaMLINKS+=	archive_entry_stat.3 archive_entry_set_ino.3
2746c95142eSMartin MatuskaMLINKS+=	archive_entry_stat.3 archive_entry_set_ino64.3
2756c95142eSMartin MatuskaMLINKS+=	archive_entry_stat.3 archive_entry_set_mode.3
2766c95142eSMartin MatuskaMLINKS+=	archive_entry_stat.3 archive_entry_set_nlink.3
2776c95142eSMartin MatuskaMLINKS+=	archive_entry_stat.3 archive_entry_set_rdev.3
2786c95142eSMartin MatuskaMLINKS+=	archive_entry_stat.3 archive_entry_set_rdevmajor.3
2796c95142eSMartin MatuskaMLINKS+=	archive_entry_stat.3 archive_entry_set_rdevminor.3
2806c95142eSMartin MatuskaMLINKS+=	archive_entry_stat.3 archive_entry_set_size.3
2816c95142eSMartin MatuskaMLINKS+=	archive_entry_stat.3 archive_entry_size.3
2826c95142eSMartin MatuskaMLINKS+=	archive_entry_stat.3 archive_entry_size_is_set.3
2836c95142eSMartin MatuskaMLINKS+=	archive_entry_stat.3 archive_entry_unset_size.3
2846c95142eSMartin MatuskaMLINKS+=	archive_entry_time.3 archive_entry_atime.3
2856c95142eSMartin MatuskaMLINKS+=	archive_entry_time.3 archive_entry_atime_is_set.3
2866c95142eSMartin MatuskaMLINKS+=	archive_entry_time.3 archive_entry_atime_nsec.3
2876c95142eSMartin MatuskaMLINKS+=	archive_entry_time.3 archive_entry_birthtime.3
2886c95142eSMartin MatuskaMLINKS+=	archive_entry_time.3 archive_entry_birthtime_is_set.3
2896c95142eSMartin MatuskaMLINKS+=	archive_entry_time.3 archive_entry_birthtime_nsec.3
2906c95142eSMartin MatuskaMLINKS+=	archive_entry_time.3 archive_entry_ctime.3
2916c95142eSMartin MatuskaMLINKS+=	archive_entry_time.3 archive_entry_ctime_is_set.3
2926c95142eSMartin MatuskaMLINKS+=	archive_entry_time.3 archive_entry_ctime_nsec.3
2936c95142eSMartin MatuskaMLINKS+=	archive_entry_time.3 archive_entry_mtime.3
2946c95142eSMartin MatuskaMLINKS+=	archive_entry_time.3 archive_entry_mtime_is_set.3
2956c95142eSMartin MatuskaMLINKS+=	archive_entry_time.3 archive_entry_mtime_nsec.3
2966c95142eSMartin MatuskaMLINKS+=	archive_entry_time.3 archive_entry_set_atime.3
2976c95142eSMartin MatuskaMLINKS+=	archive_entry_time.3 archive_entry_set_birthtime.3
2986c95142eSMartin MatuskaMLINKS+=	archive_entry_time.3 archive_entry_set_ctime.3
2996c95142eSMartin MatuskaMLINKS+=	archive_entry_time.3 archive_entry_set_mtime.3
3006c95142eSMartin MatuskaMLINKS+=	archive_entry_time.3 archive_entry_unset_atime.3
3016c95142eSMartin MatuskaMLINKS+=	archive_entry_time.3 archive_entry_unset_birthtime.3
3026c95142eSMartin MatuskaMLINKS+=	archive_entry_time.3 archive_entry_unset_ctime.3
3036c95142eSMartin MatuskaMLINKS+=	archive_entry_time.3 archive_entry_unset_mtime.3
3046c95142eSMartin MatuskaMLINKS+=	archive_read_data.3 archive_read_data_block.3
3056c95142eSMartin MatuskaMLINKS+=	archive_read_data.3 archive_read_data_into_fd.3
3066c95142eSMartin MatuskaMLINKS+=	archive_read_data.3 archive_read_data_skip.3
3076c95142eSMartin MatuskaMLINKS+=	archive_read_header.3 archive_read_next_header.3
3086c95142eSMartin MatuskaMLINKS+=	archive_read_header.3 archive_read_next_header2.3
3096c95142eSMartin MatuskaMLINKS+=	archive_read_extract.3 archive_read_extract2.3
3106c95142eSMartin MatuskaMLINKS+=	archive_read_extract.3 archive_read_extract_set_progress_callback.3
3116c95142eSMartin MatuskaMLINKS+=	archive_read_extract.3 archive_read_extract_set_skip_file.3
3126c95142eSMartin MatuskaMLINKS+=	archive_read_open.3 archive_read_open2.3
3136c95142eSMartin MatuskaMLINKS+=	archive_read_open.3 archive_read_open_FILE.3
3146c95142eSMartin MatuskaMLINKS+=	archive_read_open.3 archive_read_open_fd.3
3156c95142eSMartin MatuskaMLINKS+=	archive_read_open.3 archive_read_open_file.3
3166c95142eSMartin MatuskaMLINKS+=	archive_read_open.3 archive_read_open_filename.3
3176c95142eSMartin MatuskaMLINKS+=	archive_read_open.3 archive_read_open_memory.3
3186c95142eSMartin MatuskaMLINKS+=	archive_read_free.3 archive_read_close.3
3196c95142eSMartin MatuskaMLINKS+=	archive_read_free.3 archive_read_finish.3
3206c95142eSMartin MatuskaMLINKS+=	archive_read_filter.3 archive_read_support_filter_all.3
3216c95142eSMartin MatuskaMLINKS+=	archive_read_filter.3 archive_read_support_filter_bzip2.3
3226c95142eSMartin MatuskaMLINKS+=	archive_read_filter.3 archive_read_support_filter_compress.3
3236c95142eSMartin MatuskaMLINKS+=	archive_read_filter.3 archive_read_support_filter_gzip.3
3246c95142eSMartin MatuskaMLINKS+=	archive_read_filter.3 archive_read_support_filter_lzma.3
3256c95142eSMartin MatuskaMLINKS+=	archive_read_filter.3 archive_read_support_filter_none.3
3266c95142eSMartin MatuskaMLINKS+=	archive_read_filter.3 archive_read_support_filter_xz.3
3276c95142eSMartin MatuskaMLINKS+=	archive_read_filter.3 archive_read_support_filter_program.3
3286c95142eSMartin MatuskaMLINKS+=	archive_read_filter.3 archive_read_support_filter_program_signature.3
3296c95142eSMartin MatuskaMLINKS+=	archive_read_format.3 archive_read_support_format_7zip.3
3306c95142eSMartin MatuskaMLINKS+=	archive_read_format.3 archive_read_support_format_all.3
3316c95142eSMartin MatuskaMLINKS+=	archive_read_format.3 archive_read_support_format_ar.3
3326c95142eSMartin MatuskaMLINKS+=	archive_read_format.3 archive_read_support_format_by_code.3
3336c95142eSMartin MatuskaMLINKS+=	archive_read_format.3 archive_read_support_format_cab.3
3346c95142eSMartin MatuskaMLINKS+=	archive_read_format.3 archive_read_support_format_cpio.3
3356c95142eSMartin MatuskaMLINKS+=	archive_read_format.3 archive_read_support_format_empty.3
3366c95142eSMartin MatuskaMLINKS+=	archive_read_format.3 archive_read_support_format_iso9660.3
3376c95142eSMartin MatuskaMLINKS+=	archive_read_format.3 archive_read_support_format_lha.3
3386c95142eSMartin MatuskaMLINKS+=	archive_read_format.3 archive_read_support_format_mtree.3
3396c95142eSMartin MatuskaMLINKS+=	archive_read_format.3 archive_read_support_format_rar.3
3406c95142eSMartin MatuskaMLINKS+=	archive_read_format.3 archive_read_support_format_raw.3
3416c95142eSMartin MatuskaMLINKS+=	archive_read_format.3 archive_read_support_format_tar.3
3426c95142eSMartin MatuskaMLINKS+=	archive_read_format.3 archive_read_support_format_xar.3
3436c95142eSMartin MatuskaMLINKS+=	archive_read_format.3 archive_read_support_format_zip.3
344e1089c1eSTim KientzleMLINKS+=	archive_read_disk.3 archive_read_disk_entry_from_file.3
345e1089c1eSTim KientzleMLINKS+=	archive_read_disk.3 archive_read_disk_gname.3
346e1089c1eSTim KientzleMLINKS+=	archive_read_disk.3 archive_read_disk_new.3
347e1089c1eSTim KientzleMLINKS+=	archive_read_disk.3 archive_read_disk_set_gname_lookup.3
348e1089c1eSTim KientzleMLINKS+=	archive_read_disk.3 archive_read_disk_set_standard_lookup.3
349e1089c1eSTim KientzleMLINKS+=	archive_read_disk.3 archive_read_disk_set_symlink_hybrid.3
350e1089c1eSTim KientzleMLINKS+=	archive_read_disk.3 archive_read_disk_set_symlink_logical.3
351e1089c1eSTim KientzleMLINKS+=	archive_read_disk.3 archive_read_disk_set_symlink_physical.3
352e1089c1eSTim KientzleMLINKS+=	archive_read_disk.3 archive_read_disk_set_uname_lookup.3
353e1089c1eSTim KientzleMLINKS+=	archive_read_disk.3 archive_read_disk_uname.3
3546c95142eSMartin MatuskaMLINKS+=	archive_read_set_options.3 archive_read_set_filter_option.3
3556c95142eSMartin MatuskaMLINKS+=	archive_read_set_options.3 archive_read_set_format_option.3
3566c95142eSMartin MatuskaMLINKS+=	archive_read_set_options.3 archive_read_set_option.3
357f81da3e5STim KientzleMLINKS+=	archive_util.3 archive_clear_error.3
358bfe891b1STim KientzleMLINKS+=	archive_util.3 archive_compression.3
359bfe891b1STim KientzleMLINKS+=	archive_util.3 archive_compression_name.3
3606c95142eSMartin MatuskaMLINKS+=	archive_util.3 archive_copy_error.3
361bfe891b1STim KientzleMLINKS+=	archive_util.3 archive_errno.3
362bfe891b1STim KientzleMLINKS+=	archive_util.3 archive_error_string.3
3639adedf96STim KientzleMLINKS+=	archive_util.3 archive_file_count.3
3646c95142eSMartin MatuskaMLINKS+=	archive_util.3 archive_filter_code.3
3656c95142eSMartin MatuskaMLINKS+=	archive_util.3 archive_filter_count.3
3666c95142eSMartin MatuskaMLINKS+=	archive_util.3 archive_filter_name.3
367bfe891b1STim KientzleMLINKS+=	archive_util.3 archive_format.3
368bfe891b1STim KientzleMLINKS+=	archive_util.3 archive_format_name.3
3696c95142eSMartin MatuskaMLINKS+=	archive_util.3 archive_position.3
370b772d06cSTim KientzleMLINKS+=	archive_util.3 archive_set_error.3
3716c95142eSMartin MatuskaMLINKS+=	archive_write_blocksize.3 archive_write_get_bytes_in_last_block.3
3726c95142eSMartin MatuskaMLINKS+=	archive_write_blocksize.3 archive_write_get_bytes_per_block.3
3736c95142eSMartin MatuskaMLINKS+=	archive_write_blocksize.3 archive_write_set_bytes_in_last_block.3
3746c95142eSMartin MatuskaMLINKS+=	archive_write_blocksize.3 archive_write_set_bytes_per_block.3
3756c95142eSMartin MatuskaMLINKS+=	archive_write_disk.3 archive_write_data_block.3
376f81da3e5STim KientzleMLINKS+=	archive_write_disk.3 archive_write_disk_new.3
377f81da3e5STim KientzleMLINKS+=	archive_write_disk.3 archive_write_disk_set_group_lookup.3
378f81da3e5STim KientzleMLINKS+=	archive_write_disk.3 archive_write_disk_set_options.3
379f81da3e5STim KientzleMLINKS+=	archive_write_disk.3 archive_write_disk_set_skip_file.3
380f81da3e5STim KientzleMLINKS+=	archive_write_disk.3 archive_write_disk_set_standard_lookup.3
381f81da3e5STim KientzleMLINKS+=	archive_write_disk.3 archive_write_disk_set_user_lookup.3
3826c95142eSMartin MatuskaMLINKS+=	archive_write_filter.3 archive_write_add_filter_bzip2.3
3836c95142eSMartin MatuskaMLINKS+=	archive_write_filter.3 archive_write_add_filter_compress.3
3846c95142eSMartin MatuskaMLINKS+=	archive_write_filter.3 archive_write_add_filter_gzip.3
3856c95142eSMartin MatuskaMLINKS+=	archive_write_filter.3 archive_write_add_filter_lzip.3
3866c95142eSMartin MatuskaMLINKS+=	archive_write_filter.3 archive_write_add_filter_lzma.3
3876c95142eSMartin MatuskaMLINKS+=	archive_write_filter.3 archive_write_add_filter_none.3
3886c95142eSMartin MatuskaMLINKS+=	archive_write_filter.3 archive_write_add_filter_program.3
3896c95142eSMartin MatuskaMLINKS+=	archive_write_filter.3 archive_write_add_filter_xz.3
390f1ad5e39SDag-Erling SmørgravMLINKS+=	archive_write_filter.3 archive_write_add_filter_zstd.3
3916c95142eSMartin MatuskaMLINKS+=	archive_write_format.3 archive_write_set_format_cpio.3
3926c95142eSMartin MatuskaMLINKS+=	archive_write_format.3 archive_write_set_format_pax.3
3936c95142eSMartin MatuskaMLINKS+=	archive_write_format.3 archive_write_set_format_pax_restricted.3
3946c95142eSMartin MatuskaMLINKS+=	archive_write_format.3 archive_write_set_format_shar.3
3956c95142eSMartin MatuskaMLINKS+=	archive_write_format.3 archive_write_set_format_shar_dump.3
3966c95142eSMartin MatuskaMLINKS+=	archive_write_format.3 archive_write_set_format_ustar.3
3976c95142eSMartin MatuskaMLINKS+=	archive_write_free.3 archive_write_close.3
398acc60b03SMartin MatuskaMLINKS+=	archive_write_free.3 archive_write_fail.3
3996c95142eSMartin MatuskaMLINKS+=	archive_write_free.3 archive_write_finish.3
4006c95142eSMartin MatuskaMLINKS+=	archive_write_open.3 archive_write_open_FILE.3
4016c95142eSMartin MatuskaMLINKS+=	archive_write_open.3 archive_write_open_fd.3
4026c95142eSMartin MatuskaMLINKS+=	archive_write_open.3 archive_write_open_file.3
4036c95142eSMartin MatuskaMLINKS+=	archive_write_open.3 archive_write_open_filename.3
4046c95142eSMartin MatuskaMLINKS+=	archive_write_open.3 archive_write_open_memory.3
4056c95142eSMartin MatuskaMLINKS+=	archive_write_set_options.3 archive_write_set_filter_option.3
4066c95142eSMartin MatuskaMLINKS+=	archive_write_set_options.3 archive_write_set_format_option.3
4076c95142eSMartin MatuskaMLINKS+=	archive_write_set_options.3 archive_write_set_option.3
408bfe891b1STim KientzleMLINKS+=	libarchive.3 archive.3
409bfe891b1STim Kientzle
410d511b20aSEnji CooperHAS_TESTS=
4114b330699SEnji CooperSUBDIR.${MK_TESTS}+= tests
412f81da3e5STim Kientzle
413bfe891b1STim Kientzle.include <bsd.lib.mk>
414