mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-21 11:13:30 +00:00
276da39af9
Approved by: roberto, delphij Security: VuXML: 0d0f3050-1f69-11e5-9ba9-d050996490d0 Security: http://bugs.ntp.org/show_bug.cgi?id=2853 Security: https://www.kb.cert.org/vuls/id/668167 Security: http://support.ntp.org/bin/view/Main/SecurityNotice#June_2015_NTP_Security_Vulnerabi
53 lines
1.7 KiB
Makefile
53 lines
1.7 KiB
Makefile
# $FreeBSD$
|
|
|
|
MAN=
|
|
|
|
.include <src.opts.mk>
|
|
|
|
.PATH: ${.CURDIR}/../../../contrib/ntp/ntpd \
|
|
${.OBJDIR}
|
|
|
|
PROG= ntpd
|
|
|
|
SRCS= cmd_args.c ntp_config.c ntp_control.c ntp_crypto.c ntp_filegen.c \
|
|
ntp_io.c ntp_leapsec.c ntp_loopfilter.c ntp_monitor.c ntp_parser.c \
|
|
ntp_peer.c ntp_proto.c ntp_refclock.c ntp_request.c ntp_restrict.c \
|
|
ntp_scanner.c ntp_signd.c ntp_timer.c ntp_util.c ntpd-opts.c ntpd.c \
|
|
rc_cmdlength.c \
|
|
refclock_acts.c refclock_arbiter.c refclock_arc.c refclock_as2201.c \
|
|
refclock_atom.c refclock_bancomm.c refclock_chronolog.c \
|
|
refclock_chu.c refclock_conf.c refclock_datum.c refclock_dumbclock.c \
|
|
refclock_fg.c refclock_gpsdjson.c refclock_gpsvme.c refclock_heath.c \
|
|
refclock_hopfpci.c refclock_hopfser.c refclock_hpgps.c \
|
|
refclock_irig.c refclock_jjy.c refclock_jupiter.c refclock_leitch.c \
|
|
refclock_local.c refclock_nmea.c refclock_neoclock4x.c \
|
|
refclock_oncore.c refclock_palisade.c \
|
|
refclock_parse.c refclock_pcf.c refclock_pst.c refclock_ripencc.c \
|
|
refclock_shm.c refclock_tpro.c refclock_true.c refclock_tsyncpci.c \
|
|
refclock_tt560.c refclock_ulink.c refclock_wwv.c refclock_wwvb.c \
|
|
refclock_zyfer.c version.c
|
|
|
|
CFLAGS+= -I${.CURDIR}/../../../contrib/ntp/ntpd \
|
|
-I${.CURDIR}/../../../contrib/ntp/include \
|
|
-I${.CURDIR}/../../../contrib/ntp/lib/isc/include \
|
|
-I${.CURDIR}/../../../contrib/ntp/lib/isc/pthreads/include \
|
|
-I${.CURDIR}/../../../contrib/ntp/lib/isc/unix/include \
|
|
-I${.CURDIR}/../../../contrib/ntp/sntp/libopts \
|
|
-I${.CURDIR}/../ \
|
|
-I${.CURDIR}
|
|
|
|
LIBADD= parse ntp m opts pthread
|
|
|
|
.if ${MK_OPENSSL} != "no"
|
|
LIBADD+= crypto
|
|
.else
|
|
LIBADD+= md
|
|
.endif
|
|
|
|
CLEANFILES+= .version version.c
|
|
|
|
version.c:
|
|
sh -e ${.CURDIR}/../scripts/mkver ntpd
|
|
|
|
.include <bsd.prog.mk>
|