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