xref: /freebsd/lib/libarchive/Makefile (revision d511b20a693d77c1dc2491a62124471361eddd8e)
12710e4d1STim Kientzle# $FreeBSD$
2c6063d0dSWarner Losh.include <src.opts.mk>
3bfe891b1STim Kientzle
4a70cba95SGlen BarberPACKAGE=lib${LIB}
5dd1ed997SEnji Cooper_LIBARCHIVEDIR=	${SRCTOP}/contrib/libarchive
645d3b226SMartin Matuska
7bfe891b1STim KientzleLIB=	archive
8fd4cf060STim Kientzle
96b129086SBaptiste DaroussinLIBADD=	z bz2 lzma bsdxml
106b129086SBaptiste DaroussinCFLAGS+= -DHAVE_BZLIB_H=1 -DHAVE_LIBLZMA=1 -DHAVE_LZMA_H=1
1138abb26bSMartin Matuska
12a2b1e869STim Kientzle# FreeBSD SHLIB_MAJOR value is managed as part of the FreeBSD system.
13fa07de5eSTim Kientzle# It has no real relation to the libarchive version number.
1469921123SKonstantin BelousovSHLIB_MAJOR= 7
15db38abe6STim Kientzle
1645d3b226SMartin MatuskaCFLAGS+=	-DPLATFORM_CONFIG_H=\"${.CURDIR}/config_freebsd.h\"
17bfe891b1STim KientzleCFLAGS+=	-I${.OBJDIR}
18bfe891b1STim Kientzle
19f4f5e3f5STim Kientzle.if ${MK_OPENSSL} != "no"
20f4f5e3f5STim KientzleCFLAGS+=	-DWITH_OPENSSL
216b129086SBaptiste DaroussinLIBADD+=	crypto
229980697aSDavid E. O'Brien.else
236b129086SBaptiste DaroussinLIBADD+=	md
24f4f5e3f5STim Kientzle.endif
25f4f5e3f5STim Kientzle
266c95142eSMartin Matuska.if ${MK_ICONV} != "no"
27e4dedeefSXin LI# TODO: This can be changed back to CFLAGS once iconv works correctly
28e4dedeefSXin LI# with statically linked binaries.
291243a98eSTijl CoosemansSHARED_CFLAGS+=	-DHAVE_ICONV=1 -DHAVE_ICONV_H=1 -DICONV_CONST=
306c95142eSMartin Matuska.endif
316c95142eSMartin Matuska
326c95142eSMartin Matuska.if ${MACHINE_ARCH:Marm*} != "" || ${MACHINE_ARCH:Mmips*} != "" || \
33dc9b124dSJustin Hibbits	${MACHINE_ARCH:Msparc64*} != "" || ${MACHINE_ARCH:Mpowerpc*} != ""
346c95142eSMartin MatuskaNO_WCAST_ALIGN=	yes
356c95142eSMartin Matuska.if ${MACHINE_ARCH:M*64*} == ""
366c95142eSMartin MatuskaCFLAGS+=	-DPPMD_32BIT
376c95142eSMartin Matuska.endif
386c95142eSMartin Matuska.endif
396c11edf6SDimitry AndricNO_WCAST_ALIGN.clang=
406c95142eSMartin Matuska
4162f38e94SBryan Drewery.PATH: ${_LIBARCHIVEDIR}/libarchive
4245d3b226SMartin Matuska
43db38abe6STim Kientzle# Headers to be installed in /usr/include
44bfe891b1STim KientzleINCS=	archive.h archive_entry.h
45bfe891b1STim Kientzle
469f322324STim Kientzle# Sources to be compiled.
476c95142eSMartin MatuskaSRCS=	archive_acl.c					\
486c95142eSMartin Matuska	archive_check_magic.c				\
49acc60b03SMartin Matuska	archive_cmdline.c				\
50cdf63a70SMartin Matuska	archive_cryptor.c				\
51a7f7e457SMartin Matuska	archive_disk_acl_freebsd.c			\
52cdf63a70SMartin Matuska	archive_digest.c				\
53bfe891b1STim Kientzle	archive_entry.c					\
54b48b40f1STim Kientzle	archive_entry_copy_stat.c			\
556c95142eSMartin Matuska	archive_entry_link_resolver.c			\
566c95142eSMartin Matuska	archive_entry_sparse.c				\
57b48b40f1STim Kientzle	archive_entry_stat.c				\
589dd49f96STim Kientzle	archive_entry_strmode.c				\
5965d5426fSTim Kientzle	archive_entry_xattr.c				\
60fd082e96SMartin Matuska	archive_getdate.c				\
61cdf63a70SMartin Matuska	archive_hmac.c					\
62fd082e96SMartin Matuska	archive_match.c					\
636c95142eSMartin Matuska	archive_options.c				\
64cdf63a70SMartin Matuska	archive_pack_dev.c				\
65fd082e96SMartin Matuska	archive_pathmatch.c				\
666c95142eSMartin Matuska	archive_ppmd7.c					\
67cdf63a70SMartin Matuska	archive_random.c				\
686c95142eSMartin Matuska	archive_rb.c					\
69bfe891b1STim Kientzle	archive_read.c					\
70cdf63a70SMartin Matuska	archive_read_add_passphrase.c			\
71acc60b03SMartin Matuska	archive_read_append_filter.c			\
72bfe891b1STim Kientzle	archive_read_data_into_fd.c			\
7343a8e5f0STim Kientzle	archive_read_disk_entry_from_file.c		\
746c95142eSMartin Matuska	archive_read_disk_posix.c			\
7543a8e5f0STim Kientzle	archive_read_disk_set_standard_lookup.c		\
76bfe891b1STim Kientzle	archive_read_extract.c				\
77cdf63a70SMartin Matuska	archive_read_extract2.c				\
78bfe891b1STim Kientzle	archive_read_open_fd.c				\
7997fc4d2dSTim Kientzle	archive_read_open_file.c			\
80af6513d3STim Kientzle	archive_read_open_filename.c			\
8197fc4d2dSTim Kientzle	archive_read_open_memory.c			\
82acc60b03SMartin Matuska	archive_read_set_format.c			\
836c95142eSMartin Matuska	archive_read_set_options.c			\
846c95142eSMartin Matuska	archive_read_support_filter_all.c		\
856c95142eSMartin Matuska	archive_read_support_filter_bzip2.c		\
866c95142eSMartin Matuska	archive_read_support_filter_compress.c		\
876c95142eSMartin Matuska	archive_read_support_filter_gzip.c		\
88acc60b03SMartin Matuska	archive_read_support_filter_grzip.c		\
89acc60b03SMartin Matuska	archive_read_support_filter_lrzip.c		\
90cdf63a70SMartin Matuska	archive_read_support_filter_lz4.c		\
91acc60b03SMartin Matuska	archive_read_support_filter_lzop.c		\
926c95142eSMartin Matuska	archive_read_support_filter_none.c		\
936c95142eSMartin Matuska	archive_read_support_filter_program.c		\
946c95142eSMartin Matuska	archive_read_support_filter_rpm.c		\
956c95142eSMartin Matuska	archive_read_support_filter_uu.c		\
966c95142eSMartin Matuska	archive_read_support_filter_xz.c		\
976c95142eSMartin Matuska	archive_read_support_format_7zip.c		\
98bfe891b1STim Kientzle	archive_read_support_format_all.c		\
9937320c75STim Kientzle	archive_read_support_format_ar.c		\
1006c95142eSMartin Matuska	archive_read_support_format_by_code.c		\
1016c95142eSMartin Matuska	archive_read_support_format_cab.c		\
102bfe891b1STim Kientzle	archive_read_support_format_cpio.c		\
103a9490c59STim Kientzle	archive_read_support_format_empty.c		\
1045d9e84daSTim Kientzle	archive_read_support_format_iso9660.c		\
1056c95142eSMartin Matuska	archive_read_support_format_lha.c		\
1069dd49f96STim Kientzle	archive_read_support_format_mtree.c		\
1076c95142eSMartin Matuska	archive_read_support_format_rar.c		\
108690f5ebdSTim Kientzle	archive_read_support_format_raw.c		\
109bfe891b1STim Kientzle	archive_read_support_format_tar.c		\
110cdf63a70SMartin Matuska	archive_read_support_format_warc.c		\
11138abb26bSMartin Matuska	archive_read_support_format_xar.c		\
1125958ff08STim Kientzle	archive_read_support_format_zip.c		\
113bfe891b1STim Kientzle	archive_string.c				\
114bfe891b1STim Kientzle	archive_string_sprintf.c			\
115bfe891b1STim Kientzle	archive_util.c					\
1164657548dSMartin Matuska	archive_version_details.c			\
117f81da3e5STim Kientzle	archive_virtual.c				\
118bfe891b1STim Kientzle	archive_write.c					\
119fd082e96SMartin Matuska	archive_write_add_filter.c			\
120f81da3e5STim Kientzle	archive_write_disk_set_standard_lookup.c	\
1216c95142eSMartin Matuska	archive_write_disk_posix.c			\
122bfe891b1STim Kientzle	archive_write_open_fd.c				\
12397fc4d2dSTim Kientzle	archive_write_open_file.c			\
124af6513d3STim Kientzle	archive_write_open_filename.c			\
12597fc4d2dSTim Kientzle	archive_write_open_memory.c			\
126acc60b03SMartin Matuska	archive_write_add_filter_b64encode.c		\
127acc60b03SMartin Matuska	archive_write_add_filter_by_name.c		\
1286c95142eSMartin Matuska	archive_write_add_filter_bzip2.c		\
1296c95142eSMartin Matuska	archive_write_add_filter_compress.c		\
130acc60b03SMartin Matuska	archive_write_add_filter_grzip.c		\
1316c95142eSMartin Matuska	archive_write_add_filter_gzip.c			\
132acc60b03SMartin Matuska	archive_write_add_filter_lrzip.c		\
133cdf63a70SMartin Matuska	archive_write_add_filter_lz4.c			\
134acc60b03SMartin Matuska	archive_write_add_filter_lzop.c			\
1356c95142eSMartin Matuska	archive_write_add_filter_none.c			\
1366c95142eSMartin Matuska	archive_write_add_filter_program.c		\
137acc60b03SMartin Matuska	archive_write_add_filter_uuencode.c		\
1386c95142eSMartin Matuska	archive_write_add_filter_xz.c			\
139bfe891b1STim Kientzle	archive_write_set_format.c			\
1406c95142eSMartin Matuska	archive_write_set_format_7zip.c			\
14194451fa8STim Kientzle	archive_write_set_format_ar.c			\
142bfe891b1STim Kientzle	archive_write_set_format_by_name.c		\
143bfe891b1STim Kientzle	archive_write_set_format_cpio.c			\
14417e60e62STim Kientzle	archive_write_set_format_cpio_newc.c		\
145cdf63a70SMartin Matuska	archive_write_set_format_filter_by_ext.c	\
1466c95142eSMartin Matuska	archive_write_set_format_gnutar.c		\
1476c95142eSMartin Matuska	archive_write_set_format_iso9660.c		\
1489ea64210STim Kientzle	archive_write_set_format_mtree.c		\
149bfe891b1STim Kientzle	archive_write_set_format_pax.c			\
150cdf63a70SMartin Matuska	archive_write_set_format_raw.c			\
151bfe891b1STim Kientzle	archive_write_set_format_shar.c			\
152b48b40f1STim Kientzle	archive_write_set_format_ustar.c		\
153acc60b03SMartin Matuska	archive_write_set_format_v7tar.c		\
154cdf63a70SMartin Matuska	archive_write_set_format_warc.c			\
1556c95142eSMartin Matuska	archive_write_set_format_xar.c			\
156b1657eb0STim Kientzle	archive_write_set_format_zip.c			\
157cdf63a70SMartin Matuska	archive_write_set_passphrase.c			\
1586c95142eSMartin Matuska	archive_write_set_options.c			\
159acc60b03SMartin Matuska	filter_fork_posix.c
160bfe891b1STim Kientzle
161db38abe6STim Kientzle# Man pages to be installed.
162bfe891b1STim KientzleMAN=	archive_entry.3					\
1636c95142eSMartin Matuska	archive_entry_acl.3				\
1646c95142eSMartin Matuska	archive_entry_linkify.3				\
1656c95142eSMartin Matuska	archive_entry_paths.3				\
1666c95142eSMartin Matuska	archive_entry_perms.3				\
1676c95142eSMartin Matuska	archive_entry_stat.3				\
1686c95142eSMartin Matuska	archive_entry_time.3				\
169bfe891b1STim Kientzle	archive_read.3					\
1706c95142eSMartin Matuska	archive_read_data.3				\
171e1089c1eSTim Kientzle	archive_read_disk.3				\
1726c95142eSMartin Matuska	archive_read_extract.3				\
1736c95142eSMartin Matuska	archive_read_filter.3				\
1746c95142eSMartin Matuska	archive_read_format.3				\
1756c95142eSMartin Matuska	archive_read_free.3				\
1766c95142eSMartin Matuska	archive_read_header.3				\
1776c95142eSMartin Matuska	archive_read_new.3				\
1786c95142eSMartin Matuska	archive_read_open.3				\
1796c95142eSMartin Matuska	archive_read_set_options.3			\
180bfe891b1STim Kientzle	archive_util.3					\
181bfe891b1STim Kientzle	archive_write.3					\
1826c95142eSMartin Matuska	archive_write_blocksize.3			\
1836c95142eSMartin Matuska	archive_write_data.3				\
184f81da3e5STim Kientzle	archive_write_disk.3				\
1856c95142eSMartin Matuska	archive_write_filter.3				\
1866c95142eSMartin Matuska	archive_write_finish_entry.3			\
1876c95142eSMartin Matuska	archive_write_format.3				\
1886c95142eSMartin Matuska	archive_write_free.3				\
1896c95142eSMartin Matuska	archive_write_header.3				\
1906c95142eSMartin Matuska	archive_write_new.3				\
1916c95142eSMartin Matuska	archive_write_open.3				\
1926c95142eSMartin Matuska	archive_write_set_options.3			\
1939dd49f96STim Kientzle	cpio.5						\
194bfe891b1STim Kientzle	libarchive.3					\
195acc60b03SMartin Matuska	libarchive_changes.3				\
1966c95142eSMartin Matuska	libarchive_internals.3				\
197bfe891b1STim Kientzle	libarchive-formats.5				\
198bfe891b1STim Kientzle	tar.5
199bfe891b1STim Kientzle
200db38abe6STim Kientzle# Symlink the man pages under each function name.
201bfe891b1STim KientzleMLINKS+=	archive_entry.3 archive_entry_clear.3
202bfe891b1STim KientzleMLINKS+=	archive_entry.3 archive_entry_clone.3
203bfe891b1STim KientzleMLINKS+=	archive_entry.3 archive_entry_free.3
204bfe891b1STim KientzleMLINKS+=	archive_entry.3 archive_entry_new.3
2056c95142eSMartin MatuskaMLINKS+=	archive_entry_acl.3 archive_entry_acl_add_entry.3
2066c95142eSMartin MatuskaMLINKS+=	archive_entry_acl.3 archive_entry_acl_add_entry_w.3
2076c95142eSMartin MatuskaMLINKS+=	archive_entry_acl.3 archive_entry_acl_clear.3
2086c95142eSMartin MatuskaMLINKS+=	archive_entry_acl.3 archive_entry_acl_count.3
2096c95142eSMartin MatuskaMLINKS+=	archive_entry_acl.3 archive_entry_acl_next.3
2106c95142eSMartin MatuskaMLINKS+=	archive_entry_acl.3 archive_entry_acl_next_w.3
2116c95142eSMartin MatuskaMLINKS+=	archive_entry_acl.3 archive_entry_acl_reset.3
2126c95142eSMartin MatuskaMLINKS+=	archive_entry_acl.3 archive_entry_acl_text_w.3
2136c95142eSMartin MatuskaMLINKS+=	archive_entry_linkify.3 archive_entry_linkresolver.3
2146c95142eSMartin MatuskaMLINKS+=	archive_entry_linkify.3 archive_entry_linkresolver_new.3
2156c95142eSMartin MatuskaMLINKS+=	archive_entry_linkify.3 archive_entry_linkresolver_set_strategy.3
2166c95142eSMartin MatuskaMLINKS+=	archive_entry_linkify.3 archive_entry_linkresolver_free.3
2176c95142eSMartin MatuskaMLINKS+=	archive_entry_paths.3 archive_entry_copy_hardlink.3
2186c95142eSMartin MatuskaMLINKS+=	archive_entry_paths.3 archive_entry_copy_hardlink_w.3
2196c95142eSMartin MatuskaMLINKS+=	archive_entry_paths.3 archive_entry_copy_link.3
2206c95142eSMartin MatuskaMLINKS+=	archive_entry_paths.3 archive_entry_copy_link_w.3
2216c95142eSMartin MatuskaMLINKS+=	archive_entry_paths.3 archive_entry_copy_pathname.3
2226c95142eSMartin MatuskaMLINKS+=	archive_entry_paths.3 archive_entry_copy_pathname_w.3
2236c95142eSMartin MatuskaMLINKS+=	archive_entry_paths.3 archive_entry_copy_sourcepath.3
2246c95142eSMartin MatuskaMLINKS+=	archive_entry_paths.3 archive_entry_copy_symlink.3
2256c95142eSMartin MatuskaMLINKS+=	archive_entry_paths.3 archive_entry_copy_symlink_w.3
2266c95142eSMartin MatuskaMLINKS+=	archive_entry_paths.3 archive_entry_hardlink.3
2276c95142eSMartin MatuskaMLINKS+=	archive_entry_paths.3 archive_entry_hardlink_w.3
2286c95142eSMartin MatuskaMLINKS+=	archive_entry_paths.3 archive_entry_pathname.3
2296c95142eSMartin MatuskaMLINKS+=	archive_entry_paths.3 archive_entry_pathname_w.3
2306c95142eSMartin MatuskaMLINKS+=	archive_entry_paths.3 archive_entry_set_hardlink.3
2316c95142eSMartin MatuskaMLINKS+=	archive_entry_paths.3 archive_entry_set_link.3
2326c95142eSMartin MatuskaMLINKS+=	archive_entry_paths.3 archive_entry_set_pathname.3
2336c95142eSMartin MatuskaMLINKS+=	archive_entry_paths.3 archive_entry_set_symlink.3
2346c95142eSMartin MatuskaMLINKS+=	archive_entry_paths.3 archive_entry_symlink.3
2356c95142eSMartin MatuskaMLINKS+=	archive_entry_paths.3 archive_entry_symlink_w.3
2366c95142eSMartin MatuskaMLINKS+=	archive_entry_paths.3 archive_entry_update_symlink_utf8.3
2376c95142eSMartin MatuskaMLINKS+=	archive_entry_paths.3 archive_entry_update_hardlink_utf8.3
2386c95142eSMartin MatuskaMLINKS+=	archive_entry_perms.3 archive_entry_copy_fflags_text.3
2396c95142eSMartin MatuskaMLINKS+=	archive_entry_perms.3 archive_entry_copy_fflags_text_w.3
2406c95142eSMartin MatuskaMLINKS+=	archive_entry_perms.3 archive_entry_copy_gname.3
2416c95142eSMartin MatuskaMLINKS+=	archive_entry_perms.3 archive_entry_copy_gname_w.3
2426c95142eSMartin MatuskaMLINKS+=	archive_entry_perms.3 archive_entry_copy_uname.3
2436c95142eSMartin MatuskaMLINKS+=	archive_entry_perms.3 archive_entry_copy_uname_w.3
2446c95142eSMartin MatuskaMLINKS+=	archive_entry_perms.3 archive_entry_fflags.3
2456c95142eSMartin MatuskaMLINKS+=	archive_entry_perms.3 archive_entry_fflags_text.3
2466c95142eSMartin MatuskaMLINKS+=	archive_entry_perms.3 archive_entry_gid.3
2476c95142eSMartin MatuskaMLINKS+=	archive_entry_perms.3 archive_entry_gname.3
2486c95142eSMartin MatuskaMLINKS+=	archive_entry_perms.3 archive_entry_gname_w.3
2496c95142eSMartin MatuskaMLINKS+=	archive_entry_perms.3 archive_entry_set_fflags.3
2506c95142eSMartin MatuskaMLINKS+=	archive_entry_perms.3 archive_entry_set_gid.3
2516c95142eSMartin MatuskaMLINKS+=	archive_entry_perms.3 archive_entry_set_gname.3
2526c95142eSMartin MatuskaMLINKS+=	archive_entry_perms.3 archive_entry_perm.3
2536c95142eSMartin MatuskaMLINKS+=	archive_entry_perms.3 archive_entry_set_perm.3
2546c95142eSMartin MatuskaMLINKS+=	archive_entry_perms.3 archive_entry_set_uid.3
2556c95142eSMartin MatuskaMLINKS+=	archive_entry_perms.3 archive_entry_set_uname.3
2566c95142eSMartin MatuskaMLINKS+=	archive_entry_perms.3 archive_entry_strmode.3
2576c95142eSMartin MatuskaMLINKS+=	archive_entry_perms.3 archive_entry_uid.3
2586c95142eSMartin MatuskaMLINKS+=	archive_entry_perms.3 archive_entry_uname.3
2596c95142eSMartin MatuskaMLINKS+=	archive_entry_perms.3 archive_entry_uname_w.3
2606c95142eSMartin MatuskaMLINKS+=	archive_entry_perms.3 archive_entry_update_gname_utf8.3
2616c95142eSMartin MatuskaMLINKS+=	archive_entry_perms.3 archive_entry_update_uname_utf8.3
2626c95142eSMartin MatuskaMLINKS+=	archive_entry_stat.3 archive_entry_copy_stat.3
2636c95142eSMartin MatuskaMLINKS+=	archive_entry_stat.3 archive_entry_dev.3
2646c95142eSMartin MatuskaMLINKS+=	archive_entry_stat.3 archive_entry_dev_is_set.3
2656c95142eSMartin MatuskaMLINKS+=	archive_entry_stat.3 archive_entry_devmajor.3
2666c95142eSMartin MatuskaMLINKS+=	archive_entry_stat.3 archive_entry_devminor.3
2676c95142eSMartin MatuskaMLINKS+=	archive_entry_stat.3 archive_entry_filetype.3
2686c95142eSMartin MatuskaMLINKS+=	archive_entry_stat.3 archive_entry_ino.3
2696c95142eSMartin MatuskaMLINKS+=	archive_entry_stat.3 archive_entry_ino64.3
2706c95142eSMartin MatuskaMLINKS+=	archive_entry_stat.3 archive_entry_ino_is_set.3
2716c95142eSMartin MatuskaMLINKS+=	archive_entry_stat.3 archive_entry_mode.3
2726c95142eSMartin MatuskaMLINKS+=	archive_entry_stat.3 archive_entry_nlink.3
2736c95142eSMartin MatuskaMLINKS+=	archive_entry_stat.3 archive_entry_rdev.3
2746c95142eSMartin MatuskaMLINKS+=	archive_entry_stat.3 archive_entry_rdevmajor.3
2756c95142eSMartin MatuskaMLINKS+=	archive_entry_stat.3 archive_entry_rdevminor.3
2766c95142eSMartin MatuskaMLINKS+=	archive_entry_stat.3 archive_entry_set_dev.3
2776c95142eSMartin MatuskaMLINKS+=	archive_entry_stat.3 archive_entry_set_devmajor.3
2786c95142eSMartin MatuskaMLINKS+=	archive_entry_stat.3 archive_entry_set_devminor.3
2796c95142eSMartin MatuskaMLINKS+=	archive_entry_stat.3 archive_entry_set_filetype.3
2806c95142eSMartin MatuskaMLINKS+=	archive_entry_stat.3 archive_entry_set_ino.3
2816c95142eSMartin MatuskaMLINKS+=	archive_entry_stat.3 archive_entry_set_ino64.3
2826c95142eSMartin MatuskaMLINKS+=	archive_entry_stat.3 archive_entry_set_mode.3
2836c95142eSMartin MatuskaMLINKS+=	archive_entry_stat.3 archive_entry_set_nlink.3
2846c95142eSMartin MatuskaMLINKS+=	archive_entry_stat.3 archive_entry_set_rdev.3
2856c95142eSMartin MatuskaMLINKS+=	archive_entry_stat.3 archive_entry_set_rdevmajor.3
2866c95142eSMartin MatuskaMLINKS+=	archive_entry_stat.3 archive_entry_set_rdevminor.3
2876c95142eSMartin MatuskaMLINKS+=	archive_entry_stat.3 archive_entry_set_size.3
2886c95142eSMartin MatuskaMLINKS+=	archive_entry_stat.3 archive_entry_size.3
2896c95142eSMartin MatuskaMLINKS+=	archive_entry_stat.3 archive_entry_size_is_set.3
2906c95142eSMartin MatuskaMLINKS+=	archive_entry_stat.3 archive_entry_unset_size.3
2916c95142eSMartin MatuskaMLINKS+=	archive_entry_time.3 archive_entry_atime.3
2926c95142eSMartin MatuskaMLINKS+=	archive_entry_time.3 archive_entry_atime_is_set.3
2936c95142eSMartin MatuskaMLINKS+=	archive_entry_time.3 archive_entry_atime_nsec.3
2946c95142eSMartin MatuskaMLINKS+=	archive_entry_time.3 archive_entry_birthtime.3
2956c95142eSMartin MatuskaMLINKS+=	archive_entry_time.3 archive_entry_birthtime_is_set.3
2966c95142eSMartin MatuskaMLINKS+=	archive_entry_time.3 archive_entry_birthtime_nsec.3
2976c95142eSMartin MatuskaMLINKS+=	archive_entry_time.3 archive_entry_ctime.3
2986c95142eSMartin MatuskaMLINKS+=	archive_entry_time.3 archive_entry_ctime_is_set.3
2996c95142eSMartin MatuskaMLINKS+=	archive_entry_time.3 archive_entry_ctime_nsec.3
3006c95142eSMartin MatuskaMLINKS+=	archive_entry_time.3 archive_entry_mtime.3
3016c95142eSMartin MatuskaMLINKS+=	archive_entry_time.3 archive_entry_mtime_is_set.3
3026c95142eSMartin MatuskaMLINKS+=	archive_entry_time.3 archive_entry_mtime_nsec.3
3036c95142eSMartin MatuskaMLINKS+=	archive_entry_time.3 archive_entry_set_atime.3
3046c95142eSMartin MatuskaMLINKS+=	archive_entry_time.3 archive_entry_set_birthtime.3
3056c95142eSMartin MatuskaMLINKS+=	archive_entry_time.3 archive_entry_set_ctime.3
3066c95142eSMartin MatuskaMLINKS+=	archive_entry_time.3 archive_entry_set_mtime.3
3076c95142eSMartin MatuskaMLINKS+=	archive_entry_time.3 archive_entry_unset_atime.3
3086c95142eSMartin MatuskaMLINKS+=	archive_entry_time.3 archive_entry_unset_birthtime.3
3096c95142eSMartin MatuskaMLINKS+=	archive_entry_time.3 archive_entry_unset_ctime.3
3106c95142eSMartin MatuskaMLINKS+=	archive_entry_time.3 archive_entry_unset_mtime.3
3116c95142eSMartin MatuskaMLINKS+=	archive_read_data.3 archive_read_data_block.3
3126c95142eSMartin MatuskaMLINKS+=	archive_read_data.3 archive_read_data_into_fd.3
3136c95142eSMartin MatuskaMLINKS+=	archive_read_data.3 archive_read_data_skip.3
3146c95142eSMartin MatuskaMLINKS+=	archive_read_header.3 archive_read_next_header.3
3156c95142eSMartin MatuskaMLINKS+=	archive_read_header.3 archive_read_next_header2.3
3166c95142eSMartin MatuskaMLINKS+=	archive_read_extract.3 archive_read_extract2.3
3176c95142eSMartin MatuskaMLINKS+=	archive_read_extract.3 archive_read_extract_set_progress_callback.3
3186c95142eSMartin MatuskaMLINKS+=	archive_read_extract.3 archive_read_extract_set_skip_file.3
3196c95142eSMartin MatuskaMLINKS+=	archive_read_open.3 archive_read_open2.3
3206c95142eSMartin MatuskaMLINKS+=	archive_read_open.3 archive_read_open_FILE.3
3216c95142eSMartin MatuskaMLINKS+=	archive_read_open.3 archive_read_open_fd.3
3226c95142eSMartin MatuskaMLINKS+=	archive_read_open.3 archive_read_open_file.3
3236c95142eSMartin MatuskaMLINKS+=	archive_read_open.3 archive_read_open_filename.3
3246c95142eSMartin MatuskaMLINKS+=	archive_read_open.3 archive_read_open_memory.3
3256c95142eSMartin MatuskaMLINKS+=	archive_read_free.3 archive_read_close.3
3266c95142eSMartin MatuskaMLINKS+=	archive_read_free.3 archive_read_finish.3
3276c95142eSMartin MatuskaMLINKS+=	archive_read_filter.3 archive_read_support_filter_all.3
3286c95142eSMartin MatuskaMLINKS+=	archive_read_filter.3 archive_read_support_filter_bzip2.3
3296c95142eSMartin MatuskaMLINKS+=	archive_read_filter.3 archive_read_support_filter_compress.3
3306c95142eSMartin MatuskaMLINKS+=	archive_read_filter.3 archive_read_support_filter_gzip.3
3316c95142eSMartin MatuskaMLINKS+=	archive_read_filter.3 archive_read_support_filter_lzma.3
3326c95142eSMartin MatuskaMLINKS+=	archive_read_filter.3 archive_read_support_filter_none.3
3336c95142eSMartin MatuskaMLINKS+=	archive_read_filter.3 archive_read_support_filter_xz.3
3346c95142eSMartin MatuskaMLINKS+=	archive_read_filter.3 archive_read_support_filter_program.3
3356c95142eSMartin MatuskaMLINKS+=	archive_read_filter.3 archive_read_support_filter_program_signature.3
3366c95142eSMartin MatuskaMLINKS+=	archive_read_format.3 archive_read_support_format_7zip.3
3376c95142eSMartin MatuskaMLINKS+=	archive_read_format.3 archive_read_support_format_all.3
3386c95142eSMartin MatuskaMLINKS+=	archive_read_format.3 archive_read_support_format_ar.3
3396c95142eSMartin MatuskaMLINKS+=	archive_read_format.3 archive_read_support_format_by_code.3
3406c95142eSMartin MatuskaMLINKS+=	archive_read_format.3 archive_read_support_format_cab.3
3416c95142eSMartin MatuskaMLINKS+=	archive_read_format.3 archive_read_support_format_cpio.3
3426c95142eSMartin MatuskaMLINKS+=	archive_read_format.3 archive_read_support_format_empty.3
3436c95142eSMartin MatuskaMLINKS+=	archive_read_format.3 archive_read_support_format_iso9660.3
3446c95142eSMartin MatuskaMLINKS+=	archive_read_format.3 archive_read_support_format_lha.3
3456c95142eSMartin MatuskaMLINKS+=	archive_read_format.3 archive_read_support_format_mtree.3
3466c95142eSMartin MatuskaMLINKS+=	archive_read_format.3 archive_read_support_format_rar.3
3476c95142eSMartin MatuskaMLINKS+=	archive_read_format.3 archive_read_support_format_raw.3
3486c95142eSMartin MatuskaMLINKS+=	archive_read_format.3 archive_read_support_format_tar.3
3496c95142eSMartin MatuskaMLINKS+=	archive_read_format.3 archive_read_support_format_xar.3
3506c95142eSMartin MatuskaMLINKS+=	archive_read_format.3 archive_read_support_format_zip.3
351e1089c1eSTim KientzleMLINKS+=	archive_read_disk.3 archive_read_disk_entry_from_file.3
352e1089c1eSTim KientzleMLINKS+=	archive_read_disk.3 archive_read_disk_gname.3
353e1089c1eSTim KientzleMLINKS+=	archive_read_disk.3 archive_read_disk_new.3
354e1089c1eSTim KientzleMLINKS+=	archive_read_disk.3 archive_read_disk_set_gname_lookup.3
355e1089c1eSTim KientzleMLINKS+=	archive_read_disk.3 archive_read_disk_set_standard_lookup.3
356e1089c1eSTim KientzleMLINKS+=	archive_read_disk.3 archive_read_disk_set_symlink_hybrid.3
357e1089c1eSTim KientzleMLINKS+=	archive_read_disk.3 archive_read_disk_set_symlink_logical.3
358e1089c1eSTim KientzleMLINKS+=	archive_read_disk.3 archive_read_disk_set_symlink_physical.3
359e1089c1eSTim KientzleMLINKS+=	archive_read_disk.3 archive_read_disk_set_uname_lookup.3
360e1089c1eSTim KientzleMLINKS+=	archive_read_disk.3 archive_read_disk_uname.3
3616c95142eSMartin MatuskaMLINKS+=	archive_read_set_options.3 archive_read_set_filter_option.3
3626c95142eSMartin MatuskaMLINKS+=	archive_read_set_options.3 archive_read_set_format_option.3
3636c95142eSMartin MatuskaMLINKS+=	archive_read_set_options.3 archive_read_set_option.3
364f81da3e5STim KientzleMLINKS+=	archive_util.3 archive_clear_error.3
365bfe891b1STim KientzleMLINKS+=	archive_util.3 archive_compression.3
366bfe891b1STim KientzleMLINKS+=	archive_util.3 archive_compression_name.3
3676c95142eSMartin MatuskaMLINKS+=	archive_util.3 archive_copy_error.3
368bfe891b1STim KientzleMLINKS+=	archive_util.3 archive_errno.3
369bfe891b1STim KientzleMLINKS+=	archive_util.3 archive_error_string.3
3709adedf96STim KientzleMLINKS+=	archive_util.3 archive_file_count.3
3716c95142eSMartin MatuskaMLINKS+=	archive_util.3 archive_filter_code.3
3726c95142eSMartin MatuskaMLINKS+=	archive_util.3 archive_filter_count.3
3736c95142eSMartin MatuskaMLINKS+=	archive_util.3 archive_filter_name.3
374bfe891b1STim KientzleMLINKS+=	archive_util.3 archive_format.3
375bfe891b1STim KientzleMLINKS+=	archive_util.3 archive_format_name.3
3766c95142eSMartin MatuskaMLINKS+=	archive_util.3 archive_position.3
377b772d06cSTim KientzleMLINKS+=	archive_util.3 archive_set_error.3
3786c95142eSMartin MatuskaMLINKS+=	archive_write_blocksize.3 archive_write_get_bytes_in_last_block.3
3796c95142eSMartin MatuskaMLINKS+=	archive_write_blocksize.3 archive_write_get_bytes_per_block.3
3806c95142eSMartin MatuskaMLINKS+=	archive_write_blocksize.3 archive_write_set_bytes_in_last_block.3
3816c95142eSMartin MatuskaMLINKS+=	archive_write_blocksize.3 archive_write_set_bytes_per_block.3
3826c95142eSMartin MatuskaMLINKS+=	archive_write_disk.3 archive_write_data_block.3
383f81da3e5STim KientzleMLINKS+=	archive_write_disk.3 archive_write_disk_new.3
384f81da3e5STim KientzleMLINKS+=	archive_write_disk.3 archive_write_disk_set_group_lookup.3
385f81da3e5STim KientzleMLINKS+=	archive_write_disk.3 archive_write_disk_set_options.3
386f81da3e5STim KientzleMLINKS+=	archive_write_disk.3 archive_write_disk_set_skip_file.3
387f81da3e5STim KientzleMLINKS+=	archive_write_disk.3 archive_write_disk_set_standard_lookup.3
388f81da3e5STim KientzleMLINKS+=	archive_write_disk.3 archive_write_disk_set_user_lookup.3
3896c95142eSMartin MatuskaMLINKS+=	archive_write_filter.3 archive_write_add_filter_bzip2.3
3906c95142eSMartin MatuskaMLINKS+=	archive_write_filter.3 archive_write_add_filter_compress.3
3916c95142eSMartin MatuskaMLINKS+=	archive_write_filter.3 archive_write_add_filter_gzip.3
3926c95142eSMartin MatuskaMLINKS+=	archive_write_filter.3 archive_write_add_filter_lzip.3
3936c95142eSMartin MatuskaMLINKS+=	archive_write_filter.3 archive_write_add_filter_lzma.3
3946c95142eSMartin MatuskaMLINKS+=	archive_write_filter.3 archive_write_add_filter_none.3
3956c95142eSMartin MatuskaMLINKS+=	archive_write_filter.3 archive_write_add_filter_program.3
3966c95142eSMartin MatuskaMLINKS+=	archive_write_filter.3 archive_write_add_filter_xz.3
3976c95142eSMartin MatuskaMLINKS+=	archive_write_format.3 archive_write_set_format_cpio.3
3986c95142eSMartin MatuskaMLINKS+=	archive_write_format.3 archive_write_set_format_pax.3
3996c95142eSMartin MatuskaMLINKS+=	archive_write_format.3 archive_write_set_format_pax_restricted.3
4006c95142eSMartin MatuskaMLINKS+=	archive_write_format.3 archive_write_set_format_shar.3
4016c95142eSMartin MatuskaMLINKS+=	archive_write_format.3 archive_write_set_format_shar_dump.3
4026c95142eSMartin MatuskaMLINKS+=	archive_write_format.3 archive_write_set_format_ustar.3
4036c95142eSMartin MatuskaMLINKS+=	archive_write_free.3 archive_write_close.3
404acc60b03SMartin MatuskaMLINKS+=	archive_write_free.3 archive_write_fail.3
4056c95142eSMartin MatuskaMLINKS+=	archive_write_free.3 archive_write_finish.3
4066c95142eSMartin MatuskaMLINKS+=	archive_write_open.3 archive_write_open_FILE.3
4076c95142eSMartin MatuskaMLINKS+=	archive_write_open.3 archive_write_open_fd.3
4086c95142eSMartin MatuskaMLINKS+=	archive_write_open.3 archive_write_open_file.3
4096c95142eSMartin MatuskaMLINKS+=	archive_write_open.3 archive_write_open_filename.3
4106c95142eSMartin MatuskaMLINKS+=	archive_write_open.3 archive_write_open_memory.3
4116c95142eSMartin MatuskaMLINKS+=	archive_write_set_options.3 archive_write_set_filter_option.3
4126c95142eSMartin MatuskaMLINKS+=	archive_write_set_options.3 archive_write_set_format_option.3
4136c95142eSMartin MatuskaMLINKS+=	archive_write_set_options.3 archive_write_set_option.3
414bfe891b1STim KientzleMLINKS+=	libarchive.3 archive.3
415bfe891b1STim Kientzle
416*d511b20aSEnji CooperHAS_TESTS=
4174b330699SEnji CooperSUBDIR.${MK_TESTS}+= tests
418f81da3e5STim Kientzle
419bfe891b1STim Kientzle.include <bsd.lib.mk>
420