xref: /freebsd/usr.sbin/ntp/ntp-keygen/Makefile (revision f4b37ed0f8b307b1f3f0f630ca725d68f1dff30d)
1# $FreeBSD$
2
3MAN=
4
5.include <src.opts.mk>
6
7.PATH:	${.CURDIR}/../../../contrib/ntp/util \
8	${.CURDIR}/../../../contrib/ntp/ntpd
9
10PROG=	ntp-keygen
11SRCS=	ntp-keygen.c ntp-keygen-opts.c
12
13CFLAGS+= -I${.CURDIR}/../../../contrib/ntp/include \
14	-I${.CURDIR}/../../../contrib/ntp/include \
15	-I${.CURDIR}/../../../contrib/ntp/lib/isc/include \
16	-I${.CURDIR}/../../../contrib/ntp/lib/isc/unix/include \
17	-I${.CURDIR}/../../../contrib/ntp/lib/isc/pthreads/include \
18	-I${.CURDIR}/../../../contrib/ntp/lib/isc/${NTP_ATOMIC}/include \
19	-I${.CURDIR}/../../../contrib/ntp/sntp/libopts \
20	-I${.CURDIR}/../../../lib/libc/${MACHINE_ARCH} \
21	-I${.CURDIR}/../
22
23LIBADD+=	ntp opts pthread
24
25.if ${MK_OPENSSL} != "no"
26LIBADD+=	crypto
27.endif
28
29.include <bsd.prog.mk>
30