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