freebsd-dev/lib/bind/lwres/Makefile
Dag-Erling Smørgrav 11d9d041cf Clean up and comment config.mk. Centralize more stuff. Bitch if
POSIX threads libraries are not available.  Add crypto support if
the crypto libraries are available.  Build dnssec-{keygen,signzone}
if crypto is available.

Submitted by:	(in part) dougb@
2004-09-22 12:13:58 +00:00

41 lines
1.1 KiB
Makefile

# $FreeBSD$
BIND_DIR= ${.CURDIR}/../../../contrib/bind9
LIB_BIND_DIR= ${.CURDIR}/..
SRCDIR= ${BIND_DIR}/lib/lwres
.include "${LIB_BIND_DIR}/config.mk"
LIB= lwres
.PATH: ${SRCDIR}
SRCS+= context.c gai_strerror.c getaddrinfo.c gethost.c \
getipnode.c getnameinfo.c getrrset.c herror.c \
lwbuffer.c lwconfig.c lwpacket.c lwresutil.c \
lwres_gabn.c lwres_gnba.c lwres_grbn.c lwres_noop.c \
lwinetaton.c lwinetpton.c lwinetntop.c print.c
CFLAGS+= -I${SRCDIR}/unix/include -I${SRCDIR}/include
CFLAGS+= -I${.CURDIR} -I${.CURDIR}/..
DPADD= ${PTHREAD_DPADD}
LDADD= ${PTHREAD_LDADD}
INCS= ${SRCDIR}/include/lwres/context.h \
${SRCDIR}/include/lwres/int.h \
${SRCDIR}/include/lwres/ipv6.h \
${SRCDIR}/include/lwres/lang.h \
${SRCDIR}/include/lwres/list.h \
${SRCDIR}/include/lwres/lwbuffer.h \
${SRCDIR}/include/lwres/lwpacket.h \
${SRCDIR}/include/lwres/lwres.h \
${SRCDIR}/include/lwres/result.h \
${SRCDIR}/include/lwres/version.h \
${SRCDIR}/unix/include/lwres/net.h \
lwres/netdb.h \
lwres/platform.h
INCSDIR= ${INCLUDEDIR}/lwres
.include <bsd.lib.mk>