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