xref: /freebsd/lib/libc/posix1e/Makefile.inc (revision f5147e312f43a9050468de539aeafa072caa1a60)
1# $FreeBSD$
2
3.PATH: ${LIBC_SRCTOP}/posix1e
4
5CFLAGS+=-D_ACL_PRIVATE
6
7# Copy kern/subr_acl_nfs4.c to the libc object directory.
8subr_acl_nfs4.c: ${SRCTOP}/sys/kern/subr_acl_nfs4.c
9	cat ${.ALLSRC} > ${.TARGET}
10
11SRCS+=	acl_branding.c			\
12	acl_calc_mask.c			\
13	acl_copy.c			\
14	acl_delete.c			\
15	acl_delete_entry.c		\
16	acl_entry.c			\
17	acl_flag.c			\
18	acl_free.c			\
19	acl_from_text.c			\
20	acl_from_text_nfs4.c		\
21	acl_get.c			\
22	acl_id_to_name.c		\
23	acl_init.c			\
24	acl_perm.c			\
25	acl_set.c			\
26	acl_strip.c			\
27	acl_support.c			\
28	acl_support_nfs4.c		\
29	acl_to_text.c			\
30	acl_to_text_nfs4.c		\
31	acl_valid.c			\
32	extattr.c			\
33	mac.c				\
34	mac_exec.c			\
35	mac_get.c			\
36	mac_set.c			\
37	subr_acl_nfs4.c
38.if ${MK_SYMVER} == yes
39SRCS+=	acl_compat.c
40.endif
41
42SYM_MAPS+=${LIBC_SRCTOP}/posix1e/Symbol.map
43
44MAN+=	acl.3				\
45	acl_add_flag_np.3		\
46	acl_add_perm.3			\
47	acl_calc_mask.3			\
48	acl_clear_flags_np.3		\
49	acl_clear_perms.3		\
50	acl_copy_entry.3		\
51	acl_create_entry.3		\
52	acl_delete.3			\
53	acl_delete_entry.3		\
54	acl_delete_flag_np.3		\
55	acl_delete_perm.3		\
56	acl_dup.3			\
57	acl_free.3			\
58	acl_from_text.3			\
59	acl_get.3			\
60	acl_get_brand_np.3		\
61	acl_get_entry.3			\
62	acl_get_entry_type_np.3		\
63	acl_get_flagset_np.3		\
64	acl_get_flag_np.3		\
65	acl_get_permset.3		\
66	acl_get_perm_np.3		\
67	acl_get_qualifier.3		\
68	acl_get_tag_type.3		\
69	acl_init.3			\
70	acl_is_trivial_np.3		\
71	acl_set.3			\
72	acl_set_entry_type_np.3		\
73	acl_set_flagset_np.3		\
74	acl_set_permset.3		\
75	acl_set_qualifier.3		\
76	acl_set_tag_type.3		\
77	acl_strip_np.3			\
78	acl_to_text.3			\
79	acl_valid.3			\
80	extattr.3			\
81	mac.3				\
82	mac.conf.5			\
83	mac_free.3			\
84	mac_is_present.3		\
85	mac_get.3			\
86	mac_prepare.3			\
87	mac_set.3			\
88	mac_text.3			\
89	posix1e.3
90
91MLINKS+=acl_create_entry.3 acl_create_entry_np.3\
92	acl_delete.3 acl_delete_def_file.3	\
93	acl_delete.3 acl_delete_file_np.3	\
94	acl_delete.3 acl_delete_fd_np.3		\
95	acl_delete_entry.3 acl_delete_entry_np.3\
96	acl_get.3 acl_get_file.3		\
97	acl_get.3 acl_get_fd.3			\
98	acl_get.3 acl_get_fd_np.3		\
99	acl_get.3 acl_get_link_np.3		\
100	acl_set.3 acl_set_file.3		\
101	acl_set.3 acl_set_fd.3			\
102	acl_set.3 acl_set_fd_np.3		\
103	acl_set.3 acl_set_link_np.3		\
104	acl_to_text.3 acl_to_text_np.3		\
105	acl_valid.3 acl_valid_file_np.3		\
106	acl_valid.3 acl_valid_fd_np.3		\
107	extattr.3 extattr_namespace_to_string.3	\
108	extattr.3 extattr_string_to_namespace.3 \
109	mac_get.3 mac_get_fd.3			\
110	mac_get.3 mac_get_file.3		\
111	mac_get.3 mac_get_link.3		\
112	mac_get.3 mac_get_peer.3		\
113	mac_get.3 mac_get_pid.3			\
114	mac_get.3 mac_get_proc.3		\
115	mac_prepare.3 mac_prepare_file_label.3	\
116	mac_prepare.3 mac_prepare_ifnet_label.3	\
117	mac_prepare.3 mac_prepare_process_label.3	\
118	mac_prepare.3 mac_prepare_type.3	\
119	mac_set.3 mac_set_fd.3			\
120	mac_set.3 mac_set_file.3		\
121	mac_set.3 mac_set_link.3		\
122	mac_set.3 mac_set_proc.3		\
123	mac_text.3 mac_from_text.3		\
124	mac_text.3 mac_to_text.3
125
126CLEANFILES+=	subr_acl_nfs4.c
127