Makefile revision 292588
1# $FreeBSD: stable/10/lib/libarchive/Makefile 292588 2015-12-22 08:03:23Z delphij $
2.include <bsd.own.mk>
3
4LIBARCHIVEDIR=	${.CURDIR}/../../contrib/libarchive
5
6LIB=	archive
7DPADD=	${LIBZ}
8LDADD=	-lz
9
10DPADD+= ${LIBBZ2}
11LDADD+= -lbz2
12CFLAGS+= -DHAVE_BZLIB_H=1
13
14DPADD+= ${LIBLZMA}
15LDADD+= -llzma
16CFLAGS+= -DHAVE_LIBLZMA=1 -DHAVE_LZMA_H=1
17
18DPADD+=	${LIBPTHREAD}
19LDADD+= -lpthread
20
21DPADD+= ${LIBBSDXML}
22LDADD+= -lbsdxml
23
24# FreeBSD SHLIB_MAJOR value is managed as part of the FreeBSD system.
25# It has no real relation to the libarchive version number.
26SHLIB_MAJOR= 6
27
28CFLAGS+=	-DPLATFORM_CONFIG_H=\"${.CURDIR}/config_freebsd.h\"
29CFLAGS+=	-I${.OBJDIR}
30
31.if ${MK_OPENSSL} != "no"
32CFLAGS+=	-DWITH_OPENSSL
33DPADD+=	${LIBCRYPTO}
34LDADD+=	-lcrypto
35.else
36DPADD+=	${LIBMD}
37LDADD+=	-lmd
38.endif
39
40.if ${MK_ICONV} != "no"
41# TODO: This can be changed back to CFLAGS once iconv works correctly
42# with statically linked binaries.
43SHARED_CFLAGS+=	-DHAVE_ICONV=1 -DHAVE_ICONV_H=1 -DICONV_CONST=
44.endif
45
46.if ${MACHINE_ARCH:Marm*} != "" || ${MACHINE_ARCH:Mmips*} != "" || \
47	${MACHINE_ARCH:Msparc64*} != "" || ${MACHINE_ARCH:Mia64*} != ""
48NO_WCAST_ALIGN=	yes
49.if ${MACHINE_ARCH:M*64*} == ""
50CFLAGS+=	-DPPMD_32BIT
51.endif
52.endif
53NO_WCAST_ALIGN.clang=
54
55.PATH: ${LIBARCHIVEDIR}/libarchive
56
57# Headers to be installed in /usr/include
58INCS=	archive.h archive_entry.h
59
60# Sources to be compiled.
61SRCS=	archive_acl.c					\
62	archive_check_magic.c				\
63	archive_cmdline.c				\
64	archive_crypto.c				\
65	archive_entry.c					\
66	archive_entry_copy_stat.c			\
67	archive_entry_link_resolver.c			\
68	archive_entry_sparse.c				\
69	archive_entry_stat.c				\
70	archive_entry_strmode.c				\
71	archive_entry_xattr.c				\
72	archive_getdate.c				\
73	archive_match.c					\
74	archive_options.c				\
75	archive_pathmatch.c				\
76	archive_ppmd7.c					\
77	archive_rb.c					\
78	archive_read.c					\
79	archive_read_append_filter.c			\
80	archive_read_data_into_fd.c			\
81	archive_read_disk_entry_from_file.c		\
82	archive_read_disk_posix.c			\
83	archive_read_disk_set_standard_lookup.c		\
84	archive_read_extract.c				\
85	archive_read_open_fd.c				\
86	archive_read_open_file.c			\
87	archive_read_open_filename.c			\
88	archive_read_open_memory.c			\
89	archive_read_set_format.c			\
90	archive_read_set_options.c			\
91	archive_read_support_filter_all.c		\
92	archive_read_support_filter_bzip2.c		\
93	archive_read_support_filter_compress.c		\
94	archive_read_support_filter_gzip.c		\
95	archive_read_support_filter_grzip.c		\
96	archive_read_support_filter_lrzip.c		\
97	archive_read_support_filter_lzop.c		\
98	archive_read_support_filter_none.c		\
99	archive_read_support_filter_program.c		\
100	archive_read_support_filter_rpm.c		\
101	archive_read_support_filter_uu.c		\
102	archive_read_support_filter_xz.c		\
103	archive_read_support_format_7zip.c		\
104	archive_read_support_format_all.c		\
105	archive_read_support_format_ar.c		\
106	archive_read_support_format_by_code.c		\
107	archive_read_support_format_cab.c		\
108	archive_read_support_format_cpio.c		\
109	archive_read_support_format_empty.c		\
110	archive_read_support_format_iso9660.c		\
111	archive_read_support_format_lha.c		\
112	archive_read_support_format_mtree.c		\
113	archive_read_support_format_rar.c		\
114	archive_read_support_format_raw.c		\
115	archive_read_support_format_tar.c		\
116	archive_read_support_format_xar.c		\
117	archive_read_support_format_zip.c		\
118	archive_string.c				\
119	archive_string_sprintf.c			\
120	archive_util.c					\
121	archive_virtual.c				\
122	archive_write.c					\
123	archive_write_add_filter.c			\
124	archive_write_disk_acl.c			\
125	archive_write_disk_set_standard_lookup.c	\
126	archive_write_disk_posix.c			\
127	archive_write_open_fd.c				\
128	archive_write_open_file.c			\
129	archive_write_open_filename.c			\
130	archive_write_open_memory.c			\
131	archive_write_add_filter_b64encode.c		\
132	archive_write_add_filter_by_name.c		\
133	archive_write_add_filter_bzip2.c		\
134	archive_write_add_filter_compress.c		\
135	archive_write_add_filter_grzip.c		\
136	archive_write_add_filter_gzip.c			\
137	archive_write_add_filter_lrzip.c		\
138	archive_write_add_filter_lzop.c			\
139	archive_write_add_filter_none.c			\
140	archive_write_add_filter_program.c		\
141	archive_write_add_filter_uuencode.c		\
142	archive_write_add_filter_xz.c			\
143	archive_write_set_format.c			\
144	archive_write_set_format_7zip.c			\
145	archive_write_set_format_ar.c			\
146	archive_write_set_format_by_name.c		\
147	archive_write_set_format_cpio.c			\
148	archive_write_set_format_cpio_newc.c		\
149	archive_write_set_format_gnutar.c		\
150	archive_write_set_format_iso9660.c		\
151	archive_write_set_format_mtree.c		\
152	archive_write_set_format_pax.c			\
153	archive_write_set_format_shar.c			\
154	archive_write_set_format_ustar.c		\
155	archive_write_set_format_v7tar.c		\
156	archive_write_set_format_xar.c			\
157	archive_write_set_format_zip.c			\
158	archive_write_set_options.c			\
159	filter_fork_posix.c
160
161# Man pages to be installed.
162MAN=	archive_entry.3					\
163	archive_entry_acl.3				\
164	archive_entry_linkify.3				\
165	archive_entry_paths.3				\
166	archive_entry_perms.3				\
167	archive_entry_stat.3				\
168	archive_entry_time.3				\
169	archive_read.3					\
170	archive_read_data.3				\
171	archive_read_disk.3				\
172	archive_read_extract.3				\
173	archive_read_filter.3				\
174	archive_read_format.3				\
175	archive_read_free.3				\
176	archive_read_header.3				\
177	archive_read_new.3				\
178	archive_read_open.3				\
179	archive_read_set_options.3			\
180	archive_util.3					\
181	archive_write.3					\
182	archive_write_blocksize.3			\
183	archive_write_data.3				\
184	archive_write_disk.3				\
185	archive_write_filter.3				\
186	archive_write_finish_entry.3			\
187	archive_write_format.3				\
188	archive_write_free.3				\
189	archive_write_header.3				\
190	archive_write_new.3				\
191	archive_write_open.3				\
192	archive_write_set_options.3			\
193	cpio.5						\
194	libarchive.3					\
195	libarchive_changes.3				\
196	libarchive_internals.3				\
197	libarchive-formats.5				\
198	tar.5
199
200# Symlink the man pages under each function name.
201MLINKS+=	archive_entry.3 archive_entry_clear.3
202MLINKS+=	archive_entry.3 archive_entry_clone.3
203MLINKS+=	archive_entry.3 archive_entry_free.3
204MLINKS+=	archive_entry.3 archive_entry_new.3
205MLINKS+=	archive_entry_acl.3 archive_entry_acl_add_entry.3
206MLINKS+=	archive_entry_acl.3 archive_entry_acl_add_entry_w.3
207MLINKS+=	archive_entry_acl.3 archive_entry_acl_clear.3
208MLINKS+=	archive_entry_acl.3 archive_entry_acl_count.3
209MLINKS+=	archive_entry_acl.3 archive_entry_acl_next.3
210MLINKS+=	archive_entry_acl.3 archive_entry_acl_next_w.3
211MLINKS+=	archive_entry_acl.3 archive_entry_acl_reset.3
212MLINKS+=	archive_entry_acl.3 archive_entry_acl_text_w.3
213MLINKS+=	archive_entry_linkify.3 archive_entry_linkresolver.3
214MLINKS+=	archive_entry_linkify.3 archive_entry_linkresolver_new.3
215MLINKS+=	archive_entry_linkify.3 archive_entry_linkresolver_set_strategy.3
216MLINKS+=	archive_entry_linkify.3 archive_entry_linkresolver_free.3
217MLINKS+=	archive_entry_paths.3 archive_entry_copy_hardlink.3
218MLINKS+=	archive_entry_paths.3 archive_entry_copy_hardlink_w.3
219MLINKS+=	archive_entry_paths.3 archive_entry_copy_link.3
220MLINKS+=	archive_entry_paths.3 archive_entry_copy_link_w.3
221MLINKS+=	archive_entry_paths.3 archive_entry_copy_pathname.3
222MLINKS+=	archive_entry_paths.3 archive_entry_copy_pathname_w.3
223MLINKS+=	archive_entry_paths.3 archive_entry_copy_sourcepath.3
224MLINKS+=	archive_entry_paths.3 archive_entry_copy_symlink.3
225MLINKS+=	archive_entry_paths.3 archive_entry_copy_symlink_w.3
226MLINKS+=	archive_entry_paths.3 archive_entry_hardlink.3
227MLINKS+=	archive_entry_paths.3 archive_entry_hardlink_w.3
228MLINKS+=	archive_entry_paths.3 archive_entry_pathname.3
229MLINKS+=	archive_entry_paths.3 archive_entry_pathname_w.3
230MLINKS+=	archive_entry_paths.3 archive_entry_set_hardlink.3
231MLINKS+=	archive_entry_paths.3 archive_entry_set_link.3
232MLINKS+=	archive_entry_paths.3 archive_entry_set_pathname.3
233MLINKS+=	archive_entry_paths.3 archive_entry_set_symlink.3
234MLINKS+=	archive_entry_paths.3 archive_entry_symlink.3
235MLINKS+=	archive_entry_paths.3 archive_entry_symlink_w.3
236MLINKS+=	archive_entry_paths.3 archive_entry_update_symlink_utf8.3
237MLINKS+=	archive_entry_paths.3 archive_entry_update_hardlink_utf8.3
238MLINKS+=	archive_entry_perms.3 archive_entry_copy_fflags_text.3
239MLINKS+=	archive_entry_perms.3 archive_entry_copy_fflags_text_w.3
240MLINKS+=	archive_entry_perms.3 archive_entry_copy_gname.3
241MLINKS+=	archive_entry_perms.3 archive_entry_copy_gname_w.3
242MLINKS+=	archive_entry_perms.3 archive_entry_copy_uname.3
243MLINKS+=	archive_entry_perms.3 archive_entry_copy_uname_w.3
244MLINKS+=	archive_entry_perms.3 archive_entry_fflags.3
245MLINKS+=	archive_entry_perms.3 archive_entry_fflags_text.3
246MLINKS+=	archive_entry_perms.3 archive_entry_gid.3
247MLINKS+=	archive_entry_perms.3 archive_entry_gname.3
248MLINKS+=	archive_entry_perms.3 archive_entry_gname_w.3
249MLINKS+=	archive_entry_perms.3 archive_entry_set_fflags.3
250MLINKS+=	archive_entry_perms.3 archive_entry_set_gid.3
251MLINKS+=	archive_entry_perms.3 archive_entry_set_gname.3
252MLINKS+=	archive_entry_perms.3 archive_entry_perm.3
253MLINKS+=	archive_entry_perms.3 archive_entry_set_perm.3
254MLINKS+=	archive_entry_perms.3 archive_entry_set_uid.3
255MLINKS+=	archive_entry_perms.3 archive_entry_set_uname.3
256MLINKS+=	archive_entry_perms.3 archive_entry_strmode.3
257MLINKS+=	archive_entry_perms.3 archive_entry_uid.3
258MLINKS+=	archive_entry_perms.3 archive_entry_uname.3
259MLINKS+=	archive_entry_perms.3 archive_entry_uname_w.3
260MLINKS+=	archive_entry_perms.3 archive_entry_update_gname_utf8.3
261MLINKS+=	archive_entry_perms.3 archive_entry_update_uname_utf8.3
262MLINKS+=	archive_entry_stat.3 archive_entry_copy_stat.3
263MLINKS+=	archive_entry_stat.3 archive_entry_dev.3
264MLINKS+=	archive_entry_stat.3 archive_entry_dev_is_set.3
265MLINKS+=	archive_entry_stat.3 archive_entry_devmajor.3
266MLINKS+=	archive_entry_stat.3 archive_entry_devminor.3
267MLINKS+=	archive_entry_stat.3 archive_entry_filetype.3
268MLINKS+=	archive_entry_stat.3 archive_entry_ino.3
269MLINKS+=	archive_entry_stat.3 archive_entry_ino64.3
270MLINKS+=	archive_entry_stat.3 archive_entry_ino_is_set.3
271MLINKS+=	archive_entry_stat.3 archive_entry_mode.3
272MLINKS+=	archive_entry_stat.3 archive_entry_nlink.3
273MLINKS+=	archive_entry_stat.3 archive_entry_rdev.3
274MLINKS+=	archive_entry_stat.3 archive_entry_rdevmajor.3
275MLINKS+=	archive_entry_stat.3 archive_entry_rdevminor.3
276MLINKS+=	archive_entry_stat.3 archive_entry_set_dev.3
277MLINKS+=	archive_entry_stat.3 archive_entry_set_devmajor.3
278MLINKS+=	archive_entry_stat.3 archive_entry_set_devminor.3
279MLINKS+=	archive_entry_stat.3 archive_entry_set_filetype.3
280MLINKS+=	archive_entry_stat.3 archive_entry_set_ino.3
281MLINKS+=	archive_entry_stat.3 archive_entry_set_ino64.3
282MLINKS+=	archive_entry_stat.3 archive_entry_set_mode.3
283MLINKS+=	archive_entry_stat.3 archive_entry_set_nlink.3
284MLINKS+=	archive_entry_stat.3 archive_entry_set_rdev.3
285MLINKS+=	archive_entry_stat.3 archive_entry_set_rdevmajor.3
286MLINKS+=	archive_entry_stat.3 archive_entry_set_rdevminor.3
287MLINKS+=	archive_entry_stat.3 archive_entry_set_size.3
288MLINKS+=	archive_entry_stat.3 archive_entry_size.3
289MLINKS+=	archive_entry_stat.3 archive_entry_size_is_set.3
290MLINKS+=	archive_entry_stat.3 archive_entry_unset_size.3
291MLINKS+=	archive_entry_time.3 archive_entry_atime.3
292MLINKS+=	archive_entry_time.3 archive_entry_atime_is_set.3
293MLINKS+=	archive_entry_time.3 archive_entry_atime_nsec.3
294MLINKS+=	archive_entry_time.3 archive_entry_birthtime.3
295MLINKS+=	archive_entry_time.3 archive_entry_birthtime_is_set.3
296MLINKS+=	archive_entry_time.3 archive_entry_birthtime_nsec.3
297MLINKS+=	archive_entry_time.3 archive_entry_ctime.3
298MLINKS+=	archive_entry_time.3 archive_entry_ctime_is_set.3
299MLINKS+=	archive_entry_time.3 archive_entry_ctime_nsec.3
300MLINKS+=	archive_entry_time.3 archive_entry_mtime.3
301MLINKS+=	archive_entry_time.3 archive_entry_mtime_is_set.3
302MLINKS+=	archive_entry_time.3 archive_entry_mtime_nsec.3
303MLINKS+=	archive_entry_time.3 archive_entry_set_atime.3
304MLINKS+=	archive_entry_time.3 archive_entry_set_birthtime.3
305MLINKS+=	archive_entry_time.3 archive_entry_set_ctime.3
306MLINKS+=	archive_entry_time.3 archive_entry_set_mtime.3
307MLINKS+=	archive_entry_time.3 archive_entry_unset_atime.3
308MLINKS+=	archive_entry_time.3 archive_entry_unset_birthtime.3
309MLINKS+=	archive_entry_time.3 archive_entry_unset_ctime.3
310MLINKS+=	archive_entry_time.3 archive_entry_unset_mtime.3
311MLINKS+=	archive_read_data.3 archive_read_data_block.3
312MLINKS+=	archive_read_data.3 archive_read_data_into_fd.3
313MLINKS+=	archive_read_data.3 archive_read_data_skip.3
314MLINKS+=	archive_read_header.3 archive_read_next_header.3
315MLINKS+=	archive_read_header.3 archive_read_next_header2.3
316MLINKS+=	archive_read_extract.3 archive_read_extract2.3
317MLINKS+=	archive_read_extract.3 archive_read_extract_set_progress_callback.3
318MLINKS+=	archive_read_extract.3 archive_read_extract_set_skip_file.3
319MLINKS+=	archive_read_open.3 archive_read_open2.3
320MLINKS+=	archive_read_open.3 archive_read_open_FILE.3
321MLINKS+=	archive_read_open.3 archive_read_open_fd.3
322MLINKS+=	archive_read_open.3 archive_read_open_file.3
323MLINKS+=	archive_read_open.3 archive_read_open_filename.3
324MLINKS+=	archive_read_open.3 archive_read_open_memory.3
325MLINKS+=	archive_read_free.3 archive_read_close.3
326MLINKS+=	archive_read_free.3 archive_read_finish.3
327MLINKS+=	archive_read_filter.3 archive_read_support_filter_all.3
328MLINKS+=	archive_read_filter.3 archive_read_support_filter_bzip2.3
329MLINKS+=	archive_read_filter.3 archive_read_support_filter_compress.3
330MLINKS+=	archive_read_filter.3 archive_read_support_filter_gzip.3
331MLINKS+=	archive_read_filter.3 archive_read_support_filter_lzma.3
332MLINKS+=	archive_read_filter.3 archive_read_support_filter_none.3
333MLINKS+=	archive_read_filter.3 archive_read_support_filter_xz.3
334MLINKS+=	archive_read_filter.3 archive_read_support_filter_program.3
335MLINKS+=	archive_read_filter.3 archive_read_support_filter_program_signature.3
336MLINKS+=	archive_read_format.3 archive_read_support_format_7zip.3
337MLINKS+=	archive_read_format.3 archive_read_support_format_all.3
338MLINKS+=	archive_read_format.3 archive_read_support_format_ar.3
339MLINKS+=	archive_read_format.3 archive_read_support_format_by_code.3
340MLINKS+=	archive_read_format.3 archive_read_support_format_cab.3
341MLINKS+=	archive_read_format.3 archive_read_support_format_cpio.3
342MLINKS+=	archive_read_format.3 archive_read_support_format_empty.3
343MLINKS+=	archive_read_format.3 archive_read_support_format_iso9660.3
344MLINKS+=	archive_read_format.3 archive_read_support_format_lha.3
345MLINKS+=	archive_read_format.3 archive_read_support_format_mtree.3
346MLINKS+=	archive_read_format.3 archive_read_support_format_rar.3
347MLINKS+=	archive_read_format.3 archive_read_support_format_raw.3
348MLINKS+=	archive_read_format.3 archive_read_support_format_tar.3
349MLINKS+=	archive_read_format.3 archive_read_support_format_xar.3
350MLINKS+=	archive_read_format.3 archive_read_support_format_zip.3
351MLINKS+=	archive_read_disk.3 archive_read_disk_entry_from_file.3
352MLINKS+=	archive_read_disk.3 archive_read_disk_gname.3
353MLINKS+=	archive_read_disk.3 archive_read_disk_new.3
354MLINKS+=	archive_read_disk.3 archive_read_disk_set_gname_lookup.3
355MLINKS+=	archive_read_disk.3 archive_read_disk_set_standard_lookup.3
356MLINKS+=	archive_read_disk.3 archive_read_disk_set_symlink_hybrid.3
357MLINKS+=	archive_read_disk.3 archive_read_disk_set_symlink_logical.3
358MLINKS+=	archive_read_disk.3 archive_read_disk_set_symlink_physical.3
359MLINKS+=	archive_read_disk.3 archive_read_disk_set_uname_lookup.3
360MLINKS+=	archive_read_disk.3 archive_read_disk_uname.3
361MLINKS+=	archive_read_set_options.3 archive_read_set_filter_option.3
362MLINKS+=	archive_read_set_options.3 archive_read_set_format_option.3
363MLINKS+=	archive_read_set_options.3 archive_read_set_option.3
364MLINKS+=	archive_util.3 archive_clear_error.3
365MLINKS+=	archive_util.3 archive_compression.3
366MLINKS+=	archive_util.3 archive_compression_name.3
367MLINKS+=	archive_util.3 archive_copy_error.3
368MLINKS+=	archive_util.3 archive_errno.3
369MLINKS+=	archive_util.3 archive_error_string.3
370MLINKS+=	archive_util.3 archive_file_count.3
371MLINKS+=	archive_util.3 archive_filter_code.3
372MLINKS+=	archive_util.3 archive_filter_count.3
373MLINKS+=	archive_util.3 archive_filter_name.3
374MLINKS+=	archive_util.3 archive_format.3
375MLINKS+=	archive_util.3 archive_format_name.3
376MLINKS+=	archive_util.3 archive_position.3
377MLINKS+=	archive_util.3 archive_set_error.3
378MLINKS+=	archive_write_blocksize.3 archive_write_get_bytes_in_last_block.3
379MLINKS+=	archive_write_blocksize.3 archive_write_get_bytes_per_block.3
380MLINKS+=	archive_write_blocksize.3 archive_write_set_bytes_in_last_block.3
381MLINKS+=	archive_write_blocksize.3 archive_write_set_bytes_per_block.3
382MLINKS+=	archive_write_disk.3 archive_write_data_block.3
383MLINKS+=	archive_write_disk.3 archive_write_disk_new.3
384MLINKS+=	archive_write_disk.3 archive_write_disk_set_group_lookup.3
385MLINKS+=	archive_write_disk.3 archive_write_disk_set_options.3
386MLINKS+=	archive_write_disk.3 archive_write_disk_set_skip_file.3
387MLINKS+=	archive_write_disk.3 archive_write_disk_set_standard_lookup.3
388MLINKS+=	archive_write_disk.3 archive_write_disk_set_user_lookup.3
389MLINKS+=	archive_write_filter.3 archive_write_add_filter_bzip2.3
390MLINKS+=	archive_write_filter.3 archive_write_add_filter_compress.3
391MLINKS+=	archive_write_filter.3 archive_write_add_filter_gzip.3
392MLINKS+=	archive_write_filter.3 archive_write_add_filter_lzip.3
393MLINKS+=	archive_write_filter.3 archive_write_add_filter_lzma.3
394MLINKS+=	archive_write_filter.3 archive_write_add_filter_none.3
395MLINKS+=	archive_write_filter.3 archive_write_add_filter_program.3
396MLINKS+=	archive_write_filter.3 archive_write_add_filter_xz.3
397MLINKS+=	archive_write_format.3 archive_write_set_format_cpio.3
398MLINKS+=	archive_write_format.3 archive_write_set_format_pax.3
399MLINKS+=	archive_write_format.3 archive_write_set_format_pax_restricted.3
400MLINKS+=	archive_write_format.3 archive_write_set_format_shar.3
401MLINKS+=	archive_write_format.3 archive_write_set_format_shar_dump.3
402MLINKS+=	archive_write_format.3 archive_write_set_format_ustar.3
403MLINKS+=	archive_write_free.3 archive_write_close.3
404MLINKS+=	archive_write_free.3 archive_write_fail.3
405MLINKS+=	archive_write_free.3 archive_write_finish.3
406MLINKS+=	archive_write_open.3 archive_write_open_FILE.3
407MLINKS+=	archive_write_open.3 archive_write_open_fd.3
408MLINKS+=	archive_write_open.3 archive_write_open_file.3
409MLINKS+=	archive_write_open.3 archive_write_open_filename.3
410MLINKS+=	archive_write_open.3 archive_write_open_memory.3
411MLINKS+=	archive_write_set_options.3 archive_write_set_filter_option.3
412MLINKS+=	archive_write_set_options.3 archive_write_set_format_option.3
413MLINKS+=	archive_write_set_options.3 archive_write_set_option.3
414MLINKS+=	libarchive.3 archive.3
415
416.if ${MK_TESTS} != "no"
417SUBDIR+=	tests
418.endif
419
420.include <bsd.lib.mk>
421