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_fileargs 12 13SRCS= cap_fileargs.c 14.endif 15 16INCS= cap_fileargs.h 17 18LIBADD= nv 19 20CFLAGS+=-I${.CURDIR} 21 22HAS_TESTS= 23SUBDIR.${MK_TESTS}+= tests 24 25MAN+= cap_fileargs.3 26 27MLINKS+=cap_fileargs.3 libcap_fileargs.3 28MLINKS+=cap_fileargs.3 fileargs_cinit.3 29MLINKS+=cap_fileargs.3 fileargs_cinitnv.3 30MLINKS+=cap_fileargs.3 fileargs_fopen.3 31MLINKS+=cap_fileargs.3 fileargs_free.3 32MLINKS+=cap_fileargs.3 fileargs_init.3 33MLINKS+=cap_fileargs.3 fileargs_initnv.3 34MLINKS+=cap_fileargs.3 fileargs_lstat.3 35MLINKS+=cap_fileargs.3 fileargs_open.3 36MLINKS+=cap_fileargs.3 fileargs_realpath.3 37 38.include <bsd.lib.mk> 39