1999-08-28 01:08:13 +00:00
|
|
|
# $FreeBSD$
|
1994-09-22 21:51:49 +00:00
|
|
|
|
2004-09-21 19:01:48 +00:00
|
|
|
BIND_DIR= ${.CURDIR}/../../contrib/bind9
|
2004-09-24 13:42:00 +00:00
|
|
|
LIB_BIND_REL= ../../lib/bind
|
|
|
|
LIB_BIND_DIR= ${.CURDIR}/${LIB_BIND_REL}
|
2004-09-21 19:01:48 +00:00
|
|
|
SRCDIR= ${BIND_DIR}/bin/dig
|
1996-08-29 21:51:42 +00:00
|
|
|
|
2004-09-21 19:01:48 +00:00
|
|
|
.include "${LIB_BIND_DIR}/config.mk"
|
1994-09-22 21:51:49 +00:00
|
|
|
|
2004-09-21 19:01:48 +00:00
|
|
|
PROG= dig
|
|
|
|
|
|
|
|
.PATH: ${SRCDIR}
|
|
|
|
SRCS+= dig.c dighost.c
|
|
|
|
|
|
|
|
CFLAGS+= -I${SRCDIR}/include
|
2007-06-02 23:19:58 +00:00
|
|
|
CFLAGS+= -I${BIND_DIR}/lib/isc/${ISC_ATOMIC_ARCH}/include
|
2004-09-21 19:01:48 +00:00
|
|
|
|
2007-06-02 23:19:58 +00:00
|
|
|
DPADD+= ${BIND_DPADD} ${CRYPTO_DPADD} ${PTHREAD_DPADD}
|
|
|
|
LDADD+= ${BIND_LDADD} ${CRYPTO_LDADD} ${PTHREAD_LDADD}
|
2004-09-21 19:01:48 +00:00
|
|
|
|
1994-09-22 21:51:49 +00:00
|
|
|
.include <bsd.prog.mk>
|