Makefile (b5ff185e19f6013ca565b2a15bc2d6abce933f46) 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/ntpd \
7.PATH: ${SRCTOP}/contrib/ntp/ntpd \
8 ${.OBJDIR}
9
10PROG= ntpd
11
12SRCS= cmd_args.c ntp_config.c ntp_control.c ntp_crypto.c ntp_filegen.c \
13 ntp_io.c ntp_leapsec.c ntp_loopfilter.c ntp_monitor.c ntp_parser.c \
14 ntp_peer.c ntp_proto.c ntp_refclock.c ntp_request.c ntp_restrict.c \
15 ntp_scanner.c ntp_signd.c ntp_timer.c ntp_util.c ntpd-opts.c ntpd.c \

--- 6 unchanged lines hidden (view full) ---

22 refclock_irig.c refclock_jjy.c refclock_jupiter.c refclock_leitch.c \
23 refclock_local.c refclock_nmea.c refclock_neoclock4x.c \
24 refclock_oncore.c refclock_palisade.c \
25 refclock_parse.c refclock_pcf.c refclock_pst.c refclock_ripencc.c \
26 refclock_shm.c refclock_tpro.c refclock_true.c refclock_tsyncpci.c \
27 refclock_tt560.c refclock_ulink.c refclock_wwv.c refclock_wwvb.c \
28 refclock_zyfer.c version.c
29
8 ${.OBJDIR}
9
10PROG= ntpd
11
12SRCS= cmd_args.c ntp_config.c ntp_control.c ntp_crypto.c ntp_filegen.c \
13 ntp_io.c ntp_leapsec.c ntp_loopfilter.c ntp_monitor.c ntp_parser.c \
14 ntp_peer.c ntp_proto.c ntp_refclock.c ntp_request.c ntp_restrict.c \
15 ntp_scanner.c ntp_signd.c ntp_timer.c ntp_util.c ntpd-opts.c ntpd.c \

--- 6 unchanged lines hidden (view full) ---

22 refclock_irig.c refclock_jjy.c refclock_jupiter.c refclock_leitch.c \
23 refclock_local.c refclock_nmea.c refclock_neoclock4x.c \
24 refclock_oncore.c refclock_palisade.c \
25 refclock_parse.c refclock_pcf.c refclock_pst.c refclock_ripencc.c \
26 refclock_shm.c refclock_tpro.c refclock_true.c refclock_tsyncpci.c \
27 refclock_tt560.c refclock_ulink.c refclock_wwv.c refclock_wwvb.c \
28 refclock_zyfer.c version.c
29
30CFLAGS+= -I${.CURDIR}/../../../contrib/ntp/ntpd \
31 -I${.CURDIR}/../../../contrib/ntp/include \
32 -I${.CURDIR}/../../../contrib/ntp/lib/isc/include \
33 -I${.CURDIR}/../../../contrib/ntp/lib/isc/pthreads/include \
34 -I${.CURDIR}/../../../contrib/ntp/lib/isc/unix/include \
35 -I${.CURDIR}/../../../contrib/ntp/sntp/libopts \
36 -I${.CURDIR}/../ \
30CFLAGS+= -I${SRCTOP}/contrib/ntp/ntpd \
31 -I${SRCTOP}/contrib/ntp/include \
32 -I${SRCTOP}/contrib/ntp/lib/isc/include \
33 -I${SRCTOP}/contrib/ntp/lib/isc/pthreads/include \
34 -I${SRCTOP}/contrib/ntp/lib/isc/unix/include \
35 -I${SRCTOP}/contrib/ntp/sntp/libopts \
36 -I${.CURDIR:H} \
37 -I${.CURDIR}
38
39LIBADD= parse ntp m opts pthread
40
41.if ${MK_OPENSSL} != "no"
42LIBADD+= crypto
43.else
44LIBADD+= md
45.endif
46
47CLEANFILES+= .version version.c
48
37 -I${.CURDIR}
38
39LIBADD= parse ntp m opts pthread
40
41.if ${MK_OPENSSL} != "no"
42LIBADD+= crypto
43.else
44LIBADD+= md
45.endif
46
47CLEANFILES+= .version version.c
48
49version.c:
50 sh -e ${.CURDIR}/../scripts/mkver ntpd
49version.c:
50 sh -e ${.CURDIR:H}/scripts/mkver ntpd
51
52.include <bsd.prog.mk>
51
52.include <bsd.prog.mk>