blob: 13e695813bcf12b144801fd9376a2ad50437a06e (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
SHLIBDIR?= /lib
.include <src.opts.mk>
SHLIB_MAJOR= 1
INCSDIR?= ${INCLUDEDIR}/casper
.if ${MK_CASPER} != "no"
SHLIB= cap_grp
SRCS= cap_grp.c
.endif
INCS= cap_grp.h
LIBADD= nv
CFLAGS+=-I${.CURDIR}
HAS_TESTS=
SUBDIR.${MK_TESTS}+= tests
MAN+= cap_grp.3
MLINKS+=cap_grp.3 libcap_grp.3
MLINKS+=cap_grp.3 cap_getgrent.3
MLINKS+=cap_grp.3 cap_getgrnam.3
MLINKS+=cap_grp.3 cap_getgrgid.3
MLINKS+=cap_grp.3 cap_getgrent_r.3
MLINKS+=cap_grp.3 cap_getgrnam_r.3
MLINKS+=cap_grp.3 cap_getgrgid_r.3
MLINKS+=cap_grp.3 cap_setgroupent.3
MLINKS+=cap_grp.3 cap_setgrent.3
MLINKS+=cap_grp.3 cap_endgrent.3
MLINKS+=cap_grp.3 cap_grp_limit_cmds.3
MLINKS+=cap_grp.3 cap_grp_limit_fields.3
MLINKS+=cap_grp.3 cap_grp_limit_groups.3
.include <bsd.lib.mk>
# GCC 13 complains incorrectly about free after failed realloc: GCC bug #110501
CFLAGS.cap_grp.c+= ${NO_WUSE_AFTER_FREE}
|