Makefile (416ba5c74546f32a993436a99516d35008e9f384) Makefile (af6a5351a1fdb1130f18be6c782c4d48916eb971)
1# $FreeBSD$
2
3.include <src.opts.mk>
4
1# $FreeBSD$
2
3.include <src.opts.mk>
4
5.PATH: ${.CURDIR}/../../../contrib/ntp/ntpdate
5.PATH: ${SRCTOP}/contrib/ntp/ntpdate
6
7PROG= ntpdate
8MAN=
9SRCS= ntpdate.c version.c
10
6
7PROG= ntpdate
8MAN=
9SRCS= ntpdate.c version.c
10
11CFLAGS+= -I${.CURDIR}/../../../contrib/ntp/include \
12 -I${.CURDIR}/../../../contrib/ntp/lib/isc/include/ \
13 -I${.CURDIR}/../../../contrib/ntp/lib/isc/unix/include/ \
14 -I${.CURDIR}/../../../contrib/ntp/lib/isc/pthreads/include \
15 -I${.CURDIR}/../
11CFLAGS+= -I${SRCTOP}/contrib/ntp/include \
12 -I${SRCTOP}/contrib/ntp/lib/isc/include/ \
13 -I${SRCTOP}/contrib/ntp/lib/isc/unix/include/ \
14 -I${SRCTOP}/contrib/ntp/lib/isc/pthreads/include \
15 -I${.CURDIR:H}
16
17LIBADD= ntp m pthread
18
19.if ${MK_OPENSSL} != "no"
20LIBADD+= crypto
21.else
22LIBADD+= md
23.endif
24
25CLEANFILES+= .version version.c
26
27version.c:
28 sh -e ${.CURDIR}/../scripts/mkver ntpdate
29
30.include <bsd.prog.mk>
16
17LIBADD= ntp m pthread
18
19.if ${MK_OPENSSL} != "no"
20LIBADD+= crypto
21.else
22LIBADD+= md
23.endif
24
25CLEANFILES+= .version version.c
26
27version.c:
28 sh -e ${.CURDIR}/../scripts/mkver ntpdate
29
30.include <bsd.prog.mk>