25 lines
472 B
Makefile
25 lines
472 B
Makefile
|
# $FreeBSD$
|
||
|
|
||
|
BIND_DIR= ${.CURDIR}/../../contrib/bind9
|
||
|
LIB_BIND_REL= ../../lib/bind
|
||
|
LIB_BIND_DIR= ${.CURDIR}/${LIB_BIND_REL}
|
||
|
SRCDIR= ${BIND_DIR}/bin/tools
|
||
|
|
||
|
.include "${LIB_BIND_DIR}/config.mk"
|
||
|
|
||
|
PROG= genrandom
|
||
|
|
||
|
.PATH: ${SRCDIR}
|
||
|
SRCS+= genrandom.c
|
||
|
|
||
|
CFLAGS+= -I${SRCDIR}/unix/include -I${SRCDIR}/include
|
||
|
|
||
|
DPADD+= ${BIND_DPADD} ${CRYPTO_DPADD} ${PTHREAD_DPADD}
|
||
|
LDADD+= ${BIND_LDADD} ${CRYPTO_LDADD} ${PTHREAD_LDADD}
|
||
|
|
||
|
WARNS?= 3
|
||
|
|
||
|
MAN= genrandom.8
|
||
|
|
||
|
.include <bsd.prog.mk>
|