PageRenderTime 26ms CodeModel.GetById 17ms app.highlight 4ms RepoModel.GetById 2ms app.codeStats 0ms

/usr.bin/dig/Makefile

https://bitbucket.org/freebsd/freebsd-head/
Makefile | 28 lines | 18 code | 9 blank | 1 comment | 1 complexity | 8dd4eda964882eafc762e0fbca1172ff MD5 | raw file
 1# $FreeBSD$
 2
 3BIND_DIR=	${.CURDIR}/../../contrib/bind9
 4LIB_BIND_REL=	../../lib/bind
 5LIB_BIND_DIR=	${.CURDIR}/${LIB_BIND_REL}
 6SRCDIR=		${BIND_DIR}/bin/dig
 7
 8.include	"${LIB_BIND_DIR}/config.mk"
 9
10PROG=		dig
11
12.PATH: ${SRCDIR}
13SRCS+=		dig.c dighost.c
14
15CFLAGS+=	-I${SRCDIR}/include
16CFLAGS+=	-I${BIND_DIR}/lib/isc/${ISC_ATOMIC_ARCH}/include
17
18.if ${MK_BIND_IDN} == "yes"
19CFLAGS+=	-DWITH_IDN -I/usr/local/include
20CFLAGS+=	-L/usr/local/lib -lidnkit -R/usr/local/lib -liconv
21.endif
22
23WARNS?=		1
24
25DPADD+=		${BIND_DPADD} ${CRYPTO_DPADD} ${PTHREAD_DPADD}
26LDADD+=		${BIND_LDADD} ${CRYPTO_LDADD} ${PTHREAD_LDADD}
27
28.include <bsd.prog.mk>