1 2SHLIBDIR?= /lib 3 4.include <src.opts.mk> 5 6PACKAGE= runtime 7 8SHLIB_MAJOR= 1 9INCSDIR?= ${INCLUDEDIR}/casper 10 11.if ${MK_CASPER} != "no" 12SHLIB= cap_fileargs 13 14SRCS= cap_fileargs.c 15.endif 16 17INCS= cap_fileargs.h 18 19LIBADD= nv 20 21CFLAGS+=-I${.CURDIR} 22 23HAS_TESTS= 24SUBDIR.${MK_TESTS}+= tests 25 26MAN+= cap_fileargs.3 27 28MLINKS+=cap_fileargs.3 libcap_fileargs.3 29MLINKS+=cap_fileargs.3 fileargs_cinit.3 30MLINKS+=cap_fileargs.3 fileargs_cinitnv.3 31MLINKS+=cap_fileargs.3 fileargs_fopen.3 32MLINKS+=cap_fileargs.3 fileargs_free.3 33MLINKS+=cap_fileargs.3 fileargs_init.3 34MLINKS+=cap_fileargs.3 fileargs_initnv.3 35MLINKS+=cap_fileargs.3 fileargs_lstat.3 36MLINKS+=cap_fileargs.3 fileargs_open.3 37MLINKS+=cap_fileargs.3 fileargs_realpath.3 38 39.include <bsd.lib.mk> 40