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