1# $FreeBSD$ 2 3MAN= 4 5.include <src.opts.mk> 6 7.PATH: ${.CURDIR}/../../../contrib/ntp/ntpd 8 9PROG= ntpd 10SRCS= cmd_args.c ntp_config.c \ 11 ntp_control.c ntp_crypto.c ntp_filegen.c \ 12 ntp_intres.c ntp_io.c ntp_loopfilter.c \ 13 ntp_monitor.c ntp_peer.c ntp_proto.c \ 14 ntp_refclock.c ntp_request.c \ 15 ntp_restrict.c ntp_timer.c ntp_util.c \ 16 ntpd.c refclock_acts.c refclock_arbiter.c \ 17 refclock_arc.c refclock_as2201.c refclock_atom.c \ 18 refclock_bancomm.c refclock_chronolog.c refclock_chu.c \ 19 refclock_conf.c refclock_datum.c refclock_dumbclock.c \ 20 refclock_fg.c refclock_gpsvme.c refclock_heath.c \ 21 refclock_hopfpci.c refclock_hopfser.c refclock_hpgps.c \ 22 refclock_irig.c refclock_jupiter.c refclock_leitch.c \ 23 refclock_local.c refclock_msfees.c refclock_mx4200.c \ 24 refclock_neoclock4x.c refclock_nmea.c refclock_oncore.c \ 25 refclock_palisade.c refclock_parse.c refclock_pcf.c \ 26 refclock_pst.c refclock_ripencc.c \ 27 refclock_shm.c refclock_tpro.c refclock_trak.c refclock_true.c \ 28 refclock_ulink.c refclock_wwv.c \ 29 refclock_wwvb.c ntpd-opts.c \ 30 version.c 31 32CFLAGS+= -I${.CURDIR}/../../../contrib/ntp/include -I${.CURDIR}/../ \ 33 -I${.CURDIR}/../../../contrib/ntp/libopts -I${.CURDIR} 34 35LIBADD= parse ntp m rt opts md 36 37.if ${MK_OPENSSL} != "no" 38LIBADD+= crypto 39.endif 40 41CLEANFILES+= .version version.c 42 43version.c: 44 sh -e ${.CURDIR}/../scripts/mkver ntpd 45 46.include <bsd.prog.mk> 47