1# $FreeBSD$ 2 3SHLIBDIR?= /lib/casper 4 5.include <src.opts.mk> 6 7PACKAGE= runtime 8 9SHLIB_MAJOR= 2 10INCSDIR?= ${INCLUDEDIR}/casper 11 12.if ${MK_CASPER} != "no" 13SHLIB= cap_dns 14 15SRCS= cap_dns.c 16.endif 17 18INCS= cap_dns.h 19 20LIBADD= nv 21 22CFLAGS+=-I${.CURDIR} 23 24HAS_TESTS= 25SUBDIR.${MK_TESTS}+= tests 26 27MAN+= cap_dns.3 28 29MLINKS+=cap_dns.3 libcap_dns.3 30MLINKS+=cap_dns.3 cap_gethostbyname.3 31MLINKS+=cap_dns.3 cap_gethostbyname2.3 32MLINKS+=cap_dns.3 cap_gethostbyaddr.3 33MLINKS+=cap_dns.3 cap_getaddrinfo.3 34MLINKS+=cap_dns.3 cap_getnameinfo.3 35MLINKS+=cap_dns.3 cap_dns_type_limit.3 36MLINKS+=cap_dns.3 cap_dns_family_limit.3 37 38.include <bsd.lib.mk> 39