Makefile revision 129991
1# $FreeBSD: head/lib/libarchive/Makefile 129991 2004-06-02 08:16:21Z kientzle $
2
3LIB=	archive
4SHLIB_MAJOR=	1
5
6.if ${MACHINE_ARCH} == "arm"
7WARNS?= 3
8.else
9WARNS?=	6
10.endif
11
12# I'm not yet ready for a shared version of this library, as
13# there are a couple of API changes still in the works.
14NOPIC=	1
15
16INCS=	archive.h archive_entry.h
17
18SRCS=	archive_check_magic.c				\
19	archive_entry.c					\
20	archive_read.c					\
21	archive_read_data_into_buffer.c			\
22	archive_read_data_into_fd.c			\
23	archive_read_extract.c				\
24	archive_read_open_fd.c				\
25	archive_read_open_file.c			\
26	archive_read_support_compression_all.c		\
27	archive_read_support_compression_bzip2.c	\
28	archive_read_support_compression_compress.c	\
29	archive_read_support_compression_gzip.c		\
30	archive_read_support_compression_none.c		\
31	archive_read_support_format_all.c		\
32	archive_read_support_format_cpio.c		\
33	archive_read_support_format_tar.c		\
34	archive_string.c				\
35	archive_string_sprintf.c			\
36	archive_util.c					\
37	archive_write.c					\
38	archive_write_open_fd.c				\
39	archive_write_open_file.c			\
40	archive_write_set_compression_bzip2.c		\
41	archive_write_set_compression_gzip.c		\
42	archive_write_set_compression_none.c		\
43	archive_write_set_format.c			\
44	archive_write_set_format_by_name.c		\
45	archive_write_set_format_cpio.c			\
46	archive_write_set_format_pax.c			\
47	archive_write_set_format_shar.c			\
48	archive_write_set_format_ustar.c
49
50MAN=	archive_entry.3					\
51	archive_read.3					\
52	archive_util.3					\
53	archive_write.3					\
54	libarchive.3					\
55	libarchive-formats.5				\
56	tar.5
57
58MLINKS+=	archive_entry.3 archive_entry_clear.3
59MLINKS+=	archive_entry.3 archive_entry_clone.3
60MLINKS+=	archive_entry.3 archive_entry_copy_fflags_text_w.3
61MLINKS+=	archive_entry.3 archive_entry_copy_gname_w.3
62MLINKS+=	archive_entry.3 archive_entry_copy_hardlink_w.3
63MLINKS+=	archive_entry.3 archive_entry_copy_pathname_w.3
64MLINKS+=	archive_entry.3 archive_entry_copy_stat.3
65MLINKS+=	archive_entry.3 archive_entry_copy_symlink_w.3
66MLINKS+=	archive_entry.3 archive_entry_copy_uname_w.3
67MLINKS+=	archive_entry.3 archive_entry_fflags.3
68MLINKS+=	archive_entry.3 archive_entry_fflags_text.3
69MLINKS+=	archive_entry.3 archive_entry_free.3
70MLINKS+=	archive_entry.3 archive_entry_gname.3
71MLINKS+=	archive_entry.3 archive_entry_gname_w.3
72MLINKS+=	archive_entry.3 archive_entry_hardlink.3
73MLINKS+=	archive_entry.3 archive_entry_hardlink_w.3
74MLINKS+=	archive_entry.3 archive_entry_new.3
75MLINKS+=	archive_entry.3 archive_entry_pathname.3
76MLINKS+=	archive_entry.3 archive_entry_pathname_w.3
77MLINKS+=	archive_entry.3 archive_entry_set_devmajor.3
78MLINKS+=	archive_entry.3 archive_entry_set_devminor.3
79MLINKS+=	archive_entry.3 archive_entry_set_gid.3
80MLINKS+=	archive_entry.3 archive_entry_set_gname.3
81MLINKS+=	archive_entry.3 archive_entry_set_hardlink.3
82MLINKS+=	archive_entry.3 archive_entry_set_link.3
83MLINKS+=	archive_entry.3 archive_entry_set_mode.3
84MLINKS+=	archive_entry.3 archive_entry_set_pathname.3
85MLINKS+=	archive_entry.3 archive_entry_set_symlink.3
86MLINKS+=	archive_entry.3 archive_entry_set_uid.3
87MLINKS+=	archive_entry.3 archive_entry_set_uname.3
88MLINKS+=	archive_entry.3 archive_entry_size.3
89MLINKS+=	archive_entry.3 archive_entry_stat.3
90MLINKS+=	archive_entry.3 archive_entry_symlink.3
91MLINKS+=	archive_entry.3 archive_entry_symlink_w.3
92MLINKS+=	archive_entry.3 archive_entry_uname.3
93MLINKS+=	archive_entry.3 archive_entry_uname_w.3
94MLINKS+=	archive_read.3 archive_read_data.3
95MLINKS+=	archive_read.3 archive_read_data_block.3
96MLINKS+=	archive_read.3 archive_read_data_into_buffer.3
97MLINKS+=	archive_read.3 archive_read_data_into_fd.3
98MLINKS+=	archive_read.3 archive_read_data_skip.3
99MLINKS+=	archive_read.3 archive_read_extract.3
100MLINKS+=	archive_read.3 archive_read_extract_set_progress_callback.3
101MLINKS+=	archive_read.3 archive_read_finish.3
102MLINKS+=	archive_read.3 archive_read_new.3
103MLINKS+=	archive_read.3 archive_read_next_header.3
104MLINKS+=	archive_read.3 archive_read_open.3
105MLINKS+=	archive_read.3 archive_read_open_fd.3
106MLINKS+=	archive_read.3 archive_read_open_file.3
107MLINKS+=	archive_read.3 archive_read_set_bytes_per_block.3
108MLINKS+=	archive_read.3 archive_read_support_compression_all.3
109MLINKS+=	archive_read.3 archive_read_support_compression_bzip2.3
110MLINKS+=	archive_read.3 archive_read_support_compression_compress.3
111MLINKS+=	archive_read.3 archive_read_support_compression_gzip.3
112MLINKS+=	archive_read.3 archive_read_support_compression_none.3
113MLINKS+=	archive_read.3 archive_read_support_format_all.3
114MLINKS+=	archive_read.3 archive_read_support_format_cpio.3
115MLINKS+=	archive_read.3 archive_read_support_format_tar.3
116MLINKS+=	archive_util.3 archive_compression.3
117MLINKS+=	archive_util.3 archive_compression_name.3
118MLINKS+=	archive_util.3 archive_errno.3
119MLINKS+=	archive_util.3 archive_error_string.3
120MLINKS+=	archive_util.3 archive_format.3
121MLINKS+=	archive_util.3 archive_format_name.3
122MLINKS+=	archive_write.3 archive_write_data.3
123MLINKS+=	archive_write.3 archive_write_finish.3
124MLINKS+=	archive_write.3 archive_write_header.3
125MLINKS+=	archive_write.3 archive_write_new.3
126MLINKS+=	archive_write.3 archive_write_open.3
127MLINKS+=	archive_write.3 archive_write_open_fd.3
128MLINKS+=	archive_write.3 archive_write_open_file.3
129MLINKS+=	archive_write.3 archive_write_prepare.3
130MLINKS+=	archive_write.3 archive_write_set_bytes_per_block.3
131MLINKS+=	archive_write.3 archive_write_set_bytes_in_last_block.3
132MLINKS+=	archive_write.3 archive_write_set_callbacks.3
133MLINKS+=	archive_write.3 archive_write_set_compression_bzip2.3
134MLINKS+=	archive_write.3 archive_write_set_compression_gzip.3
135MLINKS+=	archive_write.3 archive_write_set_format_pax.3
136MLINKS+=	archive_write.3 archive_write_set_format_shar.3
137MLINKS+=	archive_write.3 archive_write_set_format_ustar.3
138MLINKS+=	libarchive.3 archive.3
139
140.include <bsd.lib.mk>
141