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