1 2SHLIBDIR?= /lib 3 4.include <src.opts.mk> 5 6PACKAGE=libcasper 7 8SHLIB_MAJOR= 1 9INCSDIR?= ${INCLUDEDIR}/casper 10 11.if ${MK_CASPER} != "no" 12SHLIB= cap_net 13 14SRCS= cap_net.c 15.endif 16 17INCS= cap_net.h 18 19LIBADD= nv 20 21CFLAGS+=-I${.CURDIR} 22CFLAGS+=-DWITH_CASPER 23 24HAS_TESTS= 25SUBDIR.${MK_TESTS}+= tests 26 27MAN+= cap_net.3 28 29MLINKS+=cap_net.3 libcap_net.3 30MLINKS+=cap_net.3 cap_bind.3 31MLINKS+=cap_net.3 cap_connect.3 32MLINKS+=cap_net.3 cap_net_free.3 33MLINKS+=cap_net.3 cap_net_limit.3 34MLINKS+=cap_net.3 cap_net_limit_addr2name.3 35MLINKS+=cap_net.3 cap_net_limit_addr2name_family.3 36MLINKS+=cap_net.3 cap_net_limit_bind.3 37MLINKS+=cap_net.3 cap_net_limit_connect.3 38MLINKS+=cap_net.3 cap_net_limit_init.3 39MLINKS+=cap_net.3 cap_net_limit_name2addr.3 40MLINKS+=cap_net.3 cap_net_limit_name2addr_family.3 41MLINKS+=cap_net.3 cap_getaddrinfo.3 42MLINKS+=cap_net.3 cap_gethostbyaddr.3 43MLINKS+=cap_net.3 cap_gethostbyname.3 44MLINKS+=cap_net.3 cap_gethostbyname2.3 45MLINKS+=cap_net.3 cap_getnameinfo.3 46 47.include <bsd.lib.mk> 48