freebsd-nq/lib/libarchive/Makefile

413 lines
18 KiB
Makefile
Raw Normal View History

# $FreeBSD$
.include <src.opts.mk>
PACKAGE=lib${LIB}
_LIBARCHIVEDIR= ${SRCTOP}/contrib/libarchive
LIB= archive
# FreeBSD SHLIB_MAJOR value is managed as part of the FreeBSD system.
# It has no real relation to the libarchive version number.
Commit the 64-bit inode project. Extend the ino_t, dev_t, nlink_t types to 64-bit ints. Modify struct dirent layout to add d_off, increase the size of d_fileno to 64-bits, increase the size of d_namlen to 16-bits, and change the required alignment. Increase struct statfs f_mntfromname[] and f_mntonname[] array length MNAMELEN to 1024. ABI breakage is mitigated by providing compatibility using versioned symbols, ingenious use of the existing padding in structures, and by employing other tricks. Unfortunately, not everything can be fixed, especially outside the base system. For instance, third-party APIs which pass struct stat around are broken in backward and forward incompatible ways. Kinfo sysctl MIBs ABI is changed in backward-compatible way, but there is no general mechanism to handle other sysctl MIBS which return structures where the layout has changed. It was considered that the breakage is either in the management interfaces, where we usually allow ABI slip, or is not important. Struct xvnode changed layout, no compat shims are provided. For struct xtty, dev_t tty device member was reduced to uint32_t. It was decided that keeping ABI compat in this case is more useful than reporting 64-bit dev_t, for the sake of pstat. Update note: strictly follow the instructions in UPDATING. Build and install the new kernel with COMPAT_FREEBSD11 option enabled, then reboot, and only then install new world. Credits: The 64-bit inode project, also known as ino64, started life many years ago as a project by Gleb Kurtsou (gleb). Kirk McKusick (mckusick) then picked up and updated the patch, and acted as a flag-waver. Feedback, suggestions, and discussions were carried by Ed Maste (emaste), John Baldwin (jhb), Jilles Tjoelker (jilles), and Rick Macklem (rmacklem). Kris Moore (kris) performed an initial ports investigation followed by an exp-run by Antoine Brodin (antoine). Essential and all-embracing testing was done by Peter Holm (pho). The heavy lifting of coordinating all these efforts and bringing the project to completion were done by Konstantin Belousov (kib). Sponsored by: The FreeBSD Foundation (emaste, kib) Differential revision: https://reviews.freebsd.org/D10439
2017-05-23 09:29:05 +00:00
SHLIB_MAJOR= 7
CFLAGS+= -I${.OBJDIR}
CFLAGS+= -I${SRCTOP}/sys/contrib/zstd/lib
.include "Makefile.inc"
.if ${MACHINE_ARCH:Marm*} != "" || ${MACHINE_ARCH:Mmips*} != "" || \
${MACHINE_ARCH:Mpowerpc*} != ""
NO_WCAST_ALIGN= yes
.if ${MACHINE_ARCH:M*64*} == ""
CFLAGS+= -DPPMD_32BIT
.endif
.endif
NO_WCAST_ALIGN.clang=
.PATH: ${_LIBARCHIVEDIR}/libarchive
# Headers to be installed in /usr/include
INCS= archive.h archive_entry.h
# Sources to be compiled.
SRCS= archive_acl.c \
archive_blake2sp_ref.c \
archive_blake2s_ref.c \
archive_check_magic.c \
archive_cmdline.c \
archive_cryptor.c \
archive_disk_acl_freebsd.c \
archive_digest.c \
archive_entry.c \
archive_entry_copy_stat.c \
archive_entry_link_resolver.c \
archive_entry_sparse.c \
archive_entry_stat.c \
archive_entry_strmode.c \
archive_entry_xattr.c \
2012-07-28 06:38:44 +00:00
archive_getdate.c \
archive_hmac.c \
2012-07-28 06:38:44 +00:00
archive_match.c \
archive_options.c \
archive_pack_dev.c \
2012-07-28 06:38:44 +00:00
archive_pathmatch.c \
archive_ppmd7.c \
archive_ppmd8.c \
archive_random.c \
archive_rb.c \
archive_read.c \
archive_read_add_passphrase.c \
archive_read_append_filter.c \
archive_read_data_into_fd.c \
archive_read_disk_entry_from_file.c \
archive_read_disk_posix.c \
archive_read_disk_set_standard_lookup.c \
archive_read_extract.c \
archive_read_extract2.c \
archive_read_open_fd.c \
archive_read_open_file.c \
archive_read_open_filename.c \
archive_read_open_memory.c \
archive_read_set_format.c \
archive_read_set_options.c \
archive_read_support_filter_all.c \
archive_read_support_filter_bzip2.c \
archive_read_support_filter_by_code.c \
archive_read_support_filter_compress.c \
archive_read_support_filter_gzip.c \
archive_read_support_filter_grzip.c \
archive_read_support_filter_lrzip.c \
archive_read_support_filter_lz4.c \
archive_read_support_filter_lzop.c \
archive_read_support_filter_none.c \
archive_read_support_filter_program.c \
archive_read_support_filter_rpm.c \
archive_read_support_filter_uu.c \
archive_read_support_filter_xz.c \
archive_read_support_filter_zstd.c \
archive_read_support_format_7zip.c \
archive_read_support_format_all.c \
archive_read_support_format_ar.c \
archive_read_support_format_by_code.c \
archive_read_support_format_cab.c \
archive_read_support_format_cpio.c \
archive_read_support_format_empty.c \
archive_read_support_format_iso9660.c \
archive_read_support_format_lha.c \
archive_read_support_format_mtree.c \
archive_read_support_format_rar.c \
archive_read_support_format_rar5.c \
archive_read_support_format_raw.c \
archive_read_support_format_tar.c \
archive_read_support_format_warc.c \
archive_read_support_format_xar.c \
archive_read_support_format_zip.c \
archive_string.c \
archive_string_sprintf.c \
archive_util.c \
archive_version_details.c \
archive_virtual.c \
archive_write.c \
2012-07-28 06:38:44 +00:00
archive_write_add_filter.c \
archive_write_disk_set_standard_lookup.c \
archive_write_disk_posix.c \
archive_write_open_fd.c \
archive_write_open_file.c \
archive_write_open_filename.c \
archive_write_open_memory.c \
archive_write_add_filter_b64encode.c \
archive_write_add_filter_by_name.c \
archive_write_add_filter_bzip2.c \
archive_write_add_filter_compress.c \
archive_write_add_filter_grzip.c \
archive_write_add_filter_gzip.c \
archive_write_add_filter_lrzip.c \
archive_write_add_filter_lz4.c \
archive_write_add_filter_lzop.c \
archive_write_add_filter_none.c \
archive_write_add_filter_program.c \
archive_write_add_filter_uuencode.c \
archive_write_add_filter_xz.c \
archive_write_add_filter_zstd.c \
archive_write_set_format.c \
archive_write_set_format_7zip.c \
archive_write_set_format_ar.c \
archive_write_set_format_by_name.c \
archive_write_set_format_cpio.c \
archive_write_set_format_cpio_newc.c \
archive_write_set_format_filter_by_ext.c \
archive_write_set_format_gnutar.c \
archive_write_set_format_iso9660.c \
archive_write_set_format_mtree.c \
archive_write_set_format_pax.c \
archive_write_set_format_raw.c \
archive_write_set_format_shar.c \
archive_write_set_format_ustar.c \
archive_write_set_format_v7tar.c \
archive_write_set_format_warc.c \
archive_write_set_format_xar.c \
archive_write_set_format_zip.c \
archive_write_set_passphrase.c \
archive_write_set_options.c \
filter_fork_posix.c
# Man pages to be installed.
MAN= archive_entry.3 \
archive_entry_acl.3 \
archive_entry_linkify.3 \
MFV r347989: Sync libarchive with vendor. Relevant vendor changes: Issue #795: XAR - do not try to add xattrs without an allocated name PR #812: non-recursive option for extract and list PR #958: support reading metadata from compressed files PR #999: add --exclude-vcs option to bsdtar Issue #1062: treat empty archives with a GNU volume header as valid PR #1074: Handle ZIP files with trailing 0s in the extra fields (Android APK archives) PR #1109: Ignore padding in Zip extra field data (Android APK archives) PR #1167: fix problems related to unreadable directories Issue #1168: fix handling of strtol() and strtoul() PR #1172: RAR5 - fix invalid window buffer read in E8E9 filter PR #1174: ZIP reader - fix of MSZIP signature parsing PR #1175: gzip filter - fix reading files larger than 4GB from memory PR #1177: gzip filter - fix memory leak with repeated header reads PR #1180: ZIP reader - add support for Info-ZIP Unicode Path Extra Field PR #1181: RAR5 - fix merge_block() recursion (OSS-Fuzz 12999, 13029, 13144, 13478, 13490) PR #1183: fix memory leak when decompressing ZIP files with LZMA PR #1184: fix RAR5 OSS-Fuzz issues 12466, 14490, 14491, 12817 OSS-Fuzz 12466: RAR5 - fix buffer overflow when parsing huffman tables OSS-Fuzz 14490, 14491: RAR5 - fix bad shift-left operations OSS-Fuzz 12817: RAR5 - handle a case with truncated huffman tables PR #1186: RAR5 - fix invalid type used for dictionary size mask (OSS-Fuzz 14537) PR #1187: RAR5 - fix integer overflow (OSS-Fuzz 14555) PR #1190: RAR5 - RAR5 don't try to unpack entries marked as directories (OSS-Fuzz 14574) PR #1196: RAR5 - fix a potential SIGSEGV on 32-bit builds OSS-Fuzz 2582: RAR - fix use after free if there is an invalid entry OSS-Fuzz 14331: RAR5 - fix maximum owner name length OSS-Fuzz 13965: RAR5 - use unsigned int for volume number + range check Additional RAR5 reader changes: - support symlinks, hardlinks, file owner, file group, versioned files - change ARCHIVE_FORMAT_RAR_V5 to 0x100000 - set correct mode for readonly directories - support readonly, hidden and system Windows file attributes MFC after: 2 weeks
2019-05-20 12:57:39 +00:00
archive_entry_misc.3 \
archive_entry_paths.3 \
archive_entry_perms.3 \
archive_entry_stat.3 \
archive_entry_time.3 \
archive_read.3 \
archive_read_data.3 \
archive_read_disk.3 \
archive_read_extract.3 \
archive_read_filter.3 \
archive_read_format.3 \
archive_read_free.3 \
archive_read_header.3 \
archive_read_new.3 \
archive_read_open.3 \
archive_read_set_options.3 \
archive_util.3 \
archive_write.3 \
archive_write_blocksize.3 \
archive_write_data.3 \
archive_write_disk.3 \
archive_write_filter.3 \
archive_write_finish_entry.3 \
archive_write_format.3 \
archive_write_free.3 \
archive_write_header.3 \
archive_write_new.3 \
archive_write_open.3 \
archive_write_set_options.3 \
cpio.5 \
libarchive.3 \
libarchive_changes.3 \
libarchive_internals.3 \
libarchive-formats.5 \
tar.5
# Symlink the man pages under each function name.
MLINKS+= archive_entry.3 archive_entry_clear.3
MLINKS+= archive_entry.3 archive_entry_clone.3
MLINKS+= archive_entry.3 archive_entry_free.3
MLINKS+= archive_entry.3 archive_entry_new.3
MLINKS+= archive_entry_acl.3 archive_entry_acl_add_entry.3
MLINKS+= archive_entry_acl.3 archive_entry_acl_add_entry_w.3
MLINKS+= archive_entry_acl.3 archive_entry_acl_clear.3
MLINKS+= archive_entry_acl.3 archive_entry_acl_count.3
MLINKS+= archive_entry_acl.3 archive_entry_acl_next.3
MLINKS+= archive_entry_acl.3 archive_entry_acl_next_w.3
MLINKS+= archive_entry_acl.3 archive_entry_acl_reset.3
MLINKS+= archive_entry_acl.3 archive_entry_acl_text_w.3
MLINKS+= archive_entry_linkify.3 archive_entry_linkresolver.3
MLINKS+= archive_entry_linkify.3 archive_entry_linkresolver_new.3
MLINKS+= archive_entry_linkify.3 archive_entry_linkresolver_set_strategy.3
MLINKS+= archive_entry_linkify.3 archive_entry_linkresolver_free.3
MLINKS+= archive_entry_paths.3 archive_entry_copy_hardlink.3
MLINKS+= archive_entry_paths.3 archive_entry_copy_hardlink_w.3
MLINKS+= archive_entry_paths.3 archive_entry_copy_link.3
MLINKS+= archive_entry_paths.3 archive_entry_copy_link_w.3
MLINKS+= archive_entry_paths.3 archive_entry_copy_pathname.3
MLINKS+= archive_entry_paths.3 archive_entry_copy_pathname_w.3
MLINKS+= archive_entry_paths.3 archive_entry_copy_sourcepath.3
MLINKS+= archive_entry_paths.3 archive_entry_copy_symlink.3
MLINKS+= archive_entry_paths.3 archive_entry_copy_symlink_w.3
MLINKS+= archive_entry_paths.3 archive_entry_hardlink.3
MLINKS+= archive_entry_paths.3 archive_entry_hardlink_w.3
MLINKS+= archive_entry_paths.3 archive_entry_pathname.3
MLINKS+= archive_entry_paths.3 archive_entry_pathname_w.3
MLINKS+= archive_entry_paths.3 archive_entry_set_hardlink.3
MLINKS+= archive_entry_paths.3 archive_entry_set_link.3
MLINKS+= archive_entry_paths.3 archive_entry_set_pathname.3
MLINKS+= archive_entry_paths.3 archive_entry_set_symlink.3
MLINKS+= archive_entry_paths.3 archive_entry_symlink.3
MLINKS+= archive_entry_paths.3 archive_entry_symlink_w.3
MLINKS+= archive_entry_paths.3 archive_entry_update_symlink_utf8.3
MLINKS+= archive_entry_paths.3 archive_entry_update_hardlink_utf8.3
MLINKS+= archive_entry_perms.3 archive_entry_copy_fflags_text.3
MLINKS+= archive_entry_perms.3 archive_entry_copy_fflags_text_w.3
MLINKS+= archive_entry_perms.3 archive_entry_copy_gname.3
MLINKS+= archive_entry_perms.3 archive_entry_copy_gname_w.3
MLINKS+= archive_entry_perms.3 archive_entry_copy_uname.3
MLINKS+= archive_entry_perms.3 archive_entry_copy_uname_w.3
MLINKS+= archive_entry_perms.3 archive_entry_fflags.3
MLINKS+= archive_entry_perms.3 archive_entry_fflags_text.3
MLINKS+= archive_entry_perms.3 archive_entry_gid.3
MLINKS+= archive_entry_perms.3 archive_entry_gname.3
MLINKS+= archive_entry_perms.3 archive_entry_gname_w.3
MLINKS+= archive_entry_perms.3 archive_entry_set_fflags.3
MLINKS+= archive_entry_perms.3 archive_entry_set_gid.3
MLINKS+= archive_entry_perms.3 archive_entry_set_gname.3
MLINKS+= archive_entry_perms.3 archive_entry_perm.3
MLINKS+= archive_entry_perms.3 archive_entry_set_perm.3
MLINKS+= archive_entry_perms.3 archive_entry_set_uid.3
MLINKS+= archive_entry_perms.3 archive_entry_set_uname.3
MLINKS+= archive_entry_perms.3 archive_entry_strmode.3
MLINKS+= archive_entry_perms.3 archive_entry_uid.3
MLINKS+= archive_entry_perms.3 archive_entry_uname.3
MLINKS+= archive_entry_perms.3 archive_entry_uname_w.3
MLINKS+= archive_entry_perms.3 archive_entry_update_gname_utf8.3
MLINKS+= archive_entry_perms.3 archive_entry_update_uname_utf8.3
MLINKS+= archive_entry_stat.3 archive_entry_copy_stat.3
MLINKS+= archive_entry_stat.3 archive_entry_dev.3
MLINKS+= archive_entry_stat.3 archive_entry_dev_is_set.3
MLINKS+= archive_entry_stat.3 archive_entry_devmajor.3
MLINKS+= archive_entry_stat.3 archive_entry_devminor.3
MLINKS+= archive_entry_stat.3 archive_entry_filetype.3
MLINKS+= archive_entry_stat.3 archive_entry_ino.3
MLINKS+= archive_entry_stat.3 archive_entry_ino64.3
MLINKS+= archive_entry_stat.3 archive_entry_ino_is_set.3
MLINKS+= archive_entry_stat.3 archive_entry_mode.3
MLINKS+= archive_entry_stat.3 archive_entry_nlink.3
MLINKS+= archive_entry_stat.3 archive_entry_rdev.3
MLINKS+= archive_entry_stat.3 archive_entry_rdevmajor.3
MLINKS+= archive_entry_stat.3 archive_entry_rdevminor.3
MLINKS+= archive_entry_stat.3 archive_entry_set_dev.3
MLINKS+= archive_entry_stat.3 archive_entry_set_devmajor.3
MLINKS+= archive_entry_stat.3 archive_entry_set_devminor.3
MLINKS+= archive_entry_stat.3 archive_entry_set_filetype.3
MLINKS+= archive_entry_stat.3 archive_entry_set_ino.3
MLINKS+= archive_entry_stat.3 archive_entry_set_ino64.3
MLINKS+= archive_entry_stat.3 archive_entry_set_mode.3
MLINKS+= archive_entry_stat.3 archive_entry_set_nlink.3
MLINKS+= archive_entry_stat.3 archive_entry_set_rdev.3
MLINKS+= archive_entry_stat.3 archive_entry_set_rdevmajor.3
MLINKS+= archive_entry_stat.3 archive_entry_set_rdevminor.3
MLINKS+= archive_entry_stat.3 archive_entry_set_size.3
MLINKS+= archive_entry_stat.3 archive_entry_size.3
MLINKS+= archive_entry_stat.3 archive_entry_size_is_set.3
MLINKS+= archive_entry_stat.3 archive_entry_unset_size.3
MLINKS+= archive_entry_time.3 archive_entry_atime.3
MLINKS+= archive_entry_time.3 archive_entry_atime_is_set.3
MLINKS+= archive_entry_time.3 archive_entry_atime_nsec.3
MLINKS+= archive_entry_time.3 archive_entry_birthtime.3
MLINKS+= archive_entry_time.3 archive_entry_birthtime_is_set.3
MLINKS+= archive_entry_time.3 archive_entry_birthtime_nsec.3
MLINKS+= archive_entry_time.3 archive_entry_ctime.3
MLINKS+= archive_entry_time.3 archive_entry_ctime_is_set.3
MLINKS+= archive_entry_time.3 archive_entry_ctime_nsec.3
MLINKS+= archive_entry_time.3 archive_entry_mtime.3
MLINKS+= archive_entry_time.3 archive_entry_mtime_is_set.3
MLINKS+= archive_entry_time.3 archive_entry_mtime_nsec.3
MLINKS+= archive_entry_time.3 archive_entry_set_atime.3
MLINKS+= archive_entry_time.3 archive_entry_set_birthtime.3
MLINKS+= archive_entry_time.3 archive_entry_set_ctime.3
MLINKS+= archive_entry_time.3 archive_entry_set_mtime.3
MLINKS+= archive_entry_time.3 archive_entry_unset_atime.3
MLINKS+= archive_entry_time.3 archive_entry_unset_birthtime.3
MLINKS+= archive_entry_time.3 archive_entry_unset_ctime.3
MLINKS+= archive_entry_time.3 archive_entry_unset_mtime.3
MLINKS+= archive_read_data.3 archive_read_data_block.3
MLINKS+= archive_read_data.3 archive_read_data_into_fd.3
MLINKS+= archive_read_data.3 archive_read_data_skip.3
MLINKS+= archive_read_header.3 archive_read_next_header.3
MLINKS+= archive_read_header.3 archive_read_next_header2.3
MLINKS+= archive_read_extract.3 archive_read_extract2.3
MLINKS+= archive_read_extract.3 archive_read_extract_set_progress_callback.3
MLINKS+= archive_read_extract.3 archive_read_extract_set_skip_file.3
MLINKS+= archive_read_open.3 archive_read_open2.3
MLINKS+= archive_read_open.3 archive_read_open_FILE.3
MLINKS+= archive_read_open.3 archive_read_open_fd.3
MLINKS+= archive_read_open.3 archive_read_open_file.3
MLINKS+= archive_read_open.3 archive_read_open_filename.3
MLINKS+= archive_read_open.3 archive_read_open_memory.3
MLINKS+= archive_read_free.3 archive_read_close.3
MLINKS+= archive_read_free.3 archive_read_finish.3
MLINKS+= archive_read_filter.3 archive_read_support_filter_all.3
MLINKS+= archive_read_filter.3 archive_read_support_filter_bzip2.3
MLINKS+= archive_read_filter.3 archive_read_support_filter_compress.3
MLINKS+= archive_read_filter.3 archive_read_support_filter_gzip.3
MLINKS+= archive_read_filter.3 archive_read_support_filter_lzma.3
MLINKS+= archive_read_filter.3 archive_read_support_filter_none.3
MLINKS+= archive_read_filter.3 archive_read_support_filter_xz.3
MLINKS+= archive_read_filter.3 archive_read_support_filter_program.3
MLINKS+= archive_read_filter.3 archive_read_support_filter_program_signature.3
MLINKS+= archive_read_format.3 archive_read_support_format_7zip.3
MLINKS+= archive_read_format.3 archive_read_support_format_all.3
MLINKS+= archive_read_format.3 archive_read_support_format_ar.3
MLINKS+= archive_read_format.3 archive_read_support_format_by_code.3
MLINKS+= archive_read_format.3 archive_read_support_format_cab.3
MLINKS+= archive_read_format.3 archive_read_support_format_cpio.3
MLINKS+= archive_read_format.3 archive_read_support_format_empty.3
MLINKS+= archive_read_format.3 archive_read_support_format_iso9660.3
MLINKS+= archive_read_format.3 archive_read_support_format_lha.3
MLINKS+= archive_read_format.3 archive_read_support_format_mtree.3
MLINKS+= archive_read_format.3 archive_read_support_format_rar.3
MLINKS+= archive_read_format.3 archive_read_support_format_raw.3
MLINKS+= archive_read_format.3 archive_read_support_format_tar.3
MLINKS+= archive_read_format.3 archive_read_support_format_xar.3
MLINKS+= archive_read_format.3 archive_read_support_format_zip.3
MLINKS+= archive_read_disk.3 archive_read_disk_entry_from_file.3
MLINKS+= archive_read_disk.3 archive_read_disk_gname.3
MLINKS+= archive_read_disk.3 archive_read_disk_new.3
MLINKS+= archive_read_disk.3 archive_read_disk_set_gname_lookup.3
MLINKS+= archive_read_disk.3 archive_read_disk_set_standard_lookup.3
MLINKS+= archive_read_disk.3 archive_read_disk_set_symlink_hybrid.3
MLINKS+= archive_read_disk.3 archive_read_disk_set_symlink_logical.3
MLINKS+= archive_read_disk.3 archive_read_disk_set_symlink_physical.3
MLINKS+= archive_read_disk.3 archive_read_disk_set_uname_lookup.3
MLINKS+= archive_read_disk.3 archive_read_disk_uname.3
MLINKS+= archive_read_set_options.3 archive_read_set_filter_option.3
MLINKS+= archive_read_set_options.3 archive_read_set_format_option.3
MLINKS+= archive_read_set_options.3 archive_read_set_option.3
MLINKS+= archive_util.3 archive_clear_error.3
MLINKS+= archive_util.3 archive_compression.3
MLINKS+= archive_util.3 archive_compression_name.3
MLINKS+= archive_util.3 archive_copy_error.3
MLINKS+= archive_util.3 archive_errno.3
MLINKS+= archive_util.3 archive_error_string.3
2009-12-28 02:58:14 +00:00
MLINKS+= archive_util.3 archive_file_count.3
MLINKS+= archive_util.3 archive_filter_code.3
MLINKS+= archive_util.3 archive_filter_count.3
MLINKS+= archive_util.3 archive_filter_name.3
MLINKS+= archive_util.3 archive_format.3
MLINKS+= archive_util.3 archive_format_name.3
MLINKS+= archive_util.3 archive_position.3
MLINKS+= archive_util.3 archive_set_error.3
MLINKS+= archive_write_blocksize.3 archive_write_get_bytes_in_last_block.3
MLINKS+= archive_write_blocksize.3 archive_write_get_bytes_per_block.3
MLINKS+= archive_write_blocksize.3 archive_write_set_bytes_in_last_block.3
MLINKS+= archive_write_blocksize.3 archive_write_set_bytes_per_block.3
MLINKS+= archive_write_disk.3 archive_write_data_block.3
MLINKS+= archive_write_disk.3 archive_write_disk_new.3
MLINKS+= archive_write_disk.3 archive_write_disk_set_group_lookup.3
MLINKS+= archive_write_disk.3 archive_write_disk_set_options.3
MLINKS+= archive_write_disk.3 archive_write_disk_set_skip_file.3
MLINKS+= archive_write_disk.3 archive_write_disk_set_standard_lookup.3
MLINKS+= archive_write_disk.3 archive_write_disk_set_user_lookup.3
MLINKS+= archive_write_filter.3 archive_write_add_filter_bzip2.3
MLINKS+= archive_write_filter.3 archive_write_add_filter_compress.3
MLINKS+= archive_write_filter.3 archive_write_add_filter_gzip.3
MLINKS+= archive_write_filter.3 archive_write_add_filter_lzip.3
MLINKS+= archive_write_filter.3 archive_write_add_filter_lzma.3
MLINKS+= archive_write_filter.3 archive_write_add_filter_none.3
MLINKS+= archive_write_filter.3 archive_write_add_filter_program.3
MLINKS+= archive_write_filter.3 archive_write_add_filter_xz.3
MLINKS+= archive_write_format.3 archive_write_set_format_cpio.3
MLINKS+= archive_write_format.3 archive_write_set_format_pax.3
MLINKS+= archive_write_format.3 archive_write_set_format_pax_restricted.3
MLINKS+= archive_write_format.3 archive_write_set_format_shar.3
MLINKS+= archive_write_format.3 archive_write_set_format_shar_dump.3
MLINKS+= archive_write_format.3 archive_write_set_format_ustar.3
MLINKS+= archive_write_free.3 archive_write_close.3
MLINKS+= archive_write_free.3 archive_write_fail.3
MLINKS+= archive_write_free.3 archive_write_finish.3
MLINKS+= archive_write_open.3 archive_write_open_FILE.3
MLINKS+= archive_write_open.3 archive_write_open_fd.3
MLINKS+= archive_write_open.3 archive_write_open_file.3
MLINKS+= archive_write_open.3 archive_write_open_filename.3
MLINKS+= archive_write_open.3 archive_write_open_memory.3
MLINKS+= archive_write_set_options.3 archive_write_set_filter_option.3
MLINKS+= archive_write_set_options.3 archive_write_set_format_option.3
MLINKS+= archive_write_set_options.3 archive_write_set_option.3
MLINKS+= libarchive.3 archive.3
HAS_TESTS=
SUBDIR.${MK_TESTS}+= tests
.include <bsd.lib.mk>