cc5592707f
This is the second part of the commit (the third -- link in usr.sbin/Makefile) will be done after a more complete review by phk & obrien. NOTE: the number of drivers included in the default configuration is very minimal, mainly local clocks and the one I use RAWDCF. Anyone wanting to have a more complete version will find recompilation very easy. It builds and runs on both alpha & i386. It also does survive "make world". Reviewed by: phk, obrien (partly)
38 lines
1.1 KiB
Makefile
38 lines
1.1 KiB
Makefile
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
.PATH: ${.CURDIR}/../../../contrib/ntp/ntpd
|
|
|
|
CFLAGS+= -I${.CURDIR}/../../../contrib/ntp/include -I${.CURDIR}/../
|
|
|
|
DPADD= ${LIBPARSE} ${LIBNTP} ${LIBM} ${LIBKVM}
|
|
LDADD= ${LIBPARSE} ${LIBNTP} ${LIBM} ${LIBKVM}
|
|
|
|
PROG= ntpd
|
|
NOMAN= yes
|
|
CLEANFILES+= .version version.c
|
|
|
|
SRCS= map_vme.c ntp_config.c \
|
|
ntp_control.c ntp_filegen.c ntp_intres.c \
|
|
ntp_io.c ntp_loopfilter.c ntp_monitor.c \
|
|
ntp_peer.c ntp_proto.c ntp_refclock.c \
|
|
ntp_request.c ntp_restrict.c ntp_timer.c \
|
|
ntp_util.c ntpd.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_gpsvme.c refclock_heath.c \
|
|
refclock_hpgps.c refclock_irig.c refclock_jupiter.c \
|
|
refclock_leitch.c refclock_local.c refclock_msfees.c \
|
|
refclock_mx4200.c refclock_nmea.c refclock_oncore.c \
|
|
refclock_palisade.c refclock_parse.c refclock_pst.c \
|
|
refclock_ptbacts.c refclock_shm.c refclock_tpro.c \
|
|
refclock_trak.c refclock_true.c refclock_usno.c \
|
|
refclock_wwvb.c version.c
|
|
|
|
version.c:
|
|
sh -e ${.CURDIR}/../scripts/mkver ntpd
|
|
|
|
.include <bsd.prog.mk>
|