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