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