]> CyberLeo.Net >> Repos - FreeBSD/releng/9.2.git/blob - usr.sbin/ntp/ntp-keygen/Makefile
- Copy stable/9 to releng/9.2 as part of the 9.2-RELEASE cycle.
[FreeBSD/releng/9.2.git] / usr.sbin / ntp / ntp-keygen / Makefile
1 # $FreeBSD$
2
3 NO_MAN=
4
5 .include <bsd.own.mk>
6
7 .PATH: ${.CURDIR}/../../../contrib/ntp/util \
8        ${.CURDIR}/../../../contrib/ntp/ntpd
9
10 PROG=   ntp-keygen
11 SRCS=   ntp-keygen.c ntp-keygen-opts.c
12
13 CFLAGS+= -I${.CURDIR}/../../../contrib/ntp/include -I${.CURDIR}/../ \
14         -I${.CURDIR}/../../../contrib/ntp/libopts
15
16 DPADD=  ${LIBNTP} ${LIBOPTS}
17 LDADD=  ${LIBNTP} ${LIBOPTS}
18
19 .if ${MK_OPENSSL} != "no" && !defined(RELEASE_CRUNCH)
20 DPADD+= ${LIBMD} ${LIBCRYPTO}
21 LDADD+= -lmd -lcrypto
22 .endif
23
24 .include <bsd.prog.mk>