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