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