1SHLIBDIR?= /lib 2 3.include <src.opts.mk> 4 5PACKAGE= runtime 6 7SHLIB_MAJOR= 1 8INCSDIR?= ${INCLUDEDIR}/casper 9 10.if ${MK_CASPER} != "no" 11SHLIB= cap_pwd 12 13SRCS= cap_pwd.c 14.endif 15 16INCS= cap_pwd.h 17 18LIBADD= nv 19 20CFLAGS+=-I${.CURDIR} 21 22HAS_TESTS= 23SUBDIR.${MK_TESTS}+= tests 24 25MAN+= cap_pwd.3 26 27MLINKS+=cap_pwd.3 libcap_pwd.3 28MLINKS+=cap_pwd.3 cap_getpwent.3 29MLINKS+=cap_pwd.3 cap_getpwnam.3 30MLINKS+=cap_pwd.3 cap_getpwuid.3 31MLINKS+=cap_pwd.3 cap_getpwent_r.3 32MLINKS+=cap_pwd.3 cap_getpwnam_r.3 33MLINKS+=cap_pwd.3 cap_getpwuid_r.3 34MLINKS+=cap_pwd.3 cap_setpassent.3 35MLINKS+=cap_pwd.3 cap_setpwent.3 36MLINKS+=cap_pwd.3 cap_endpwent.3 37MLINKS+=cap_pwd.3 cap_pwd_limit_cmds.3 38MLINKS+=cap_pwd.3 cap_pwd_limit_fields.3 39MLINKS+=cap_pwd.3 cap_pwd_limit_users.3 40 41.include <bsd.lib.mk> 42 43# GCC 13 complains incorrectly about free after failed realloc: GCC bug #110501 44CFLAGS.cap_pwd.c+= ${NO_WUSE_AFTER_FREE} 45