1999-12-13 14:09:56 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
2006-03-17 18:54:44 +00:00
|
|
|
NO_MAN=
|
|
|
|
|
|
|
|
.include <bsd.own.mk>
|
|
|
|
|
2001-07-20 06:20:32 +00:00
|
|
|
.PATH: ${.CURDIR}/../../../contrib/ntp/ntpd
|
1999-12-13 14:09:56 +00:00
|
|
|
|
2001-08-29 15:03:54 +00:00
|
|
|
PROG= ntpd
|
2008-08-22 16:00:48 +00:00
|
|
|
SRCS= cmd_args.c ntp_config.c \
|
2001-08-29 15:03:54 +00:00
|
|
|
ntp_control.c ntp_crypto.c ntp_filegen.c \
|
|
|
|
ntp_intres.c ntp_io.c ntp_loopfilter.c \
|
|
|
|
ntp_monitor.c ntp_peer.c ntp_proto.c \
|
2002-10-29 20:20:36 +00:00
|
|
|
ntp_refclock.c ntp_request.c \
|
2001-08-29 15:03:54 +00:00
|
|
|
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_fg.c refclock_gpsvme.c refclock_heath.c \
|
|
|
|
refclock_hopfpci.c refclock_hopfser.c refclock_hpgps.c \
|
|
|
|
refclock_irig.c refclock_jupiter.c refclock_leitch.c \
|
|
|
|
refclock_local.c refclock_msfees.c refclock_mx4200.c \
|
2002-11-04 19:44:26 +00:00
|
|
|
refclock_neoclock4x.c refclock_nmea.c refclock_oncore.c \
|
|
|
|
refclock_palisade.c refclock_parse.c refclock_pcf.c \
|
2008-08-22 16:00:48 +00:00
|
|
|
refclock_pst.c refclock_ripencc.c \
|
2002-11-04 19:44:26 +00:00
|
|
|
refclock_shm.c refclock_tpro.c refclock_trak.c refclock_true.c \
|
2008-08-22 16:00:48 +00:00
|
|
|
refclock_ulink.c refclock_wwv.c \
|
|
|
|
refclock_wwvb.c ntpd-opts.c \
|
2001-08-29 15:03:54 +00:00
|
|
|
version.c
|
1999-12-13 14:09:56 +00:00
|
|
|
|
2008-08-22 16:00:48 +00:00
|
|
|
CFLAGS+= -I${.CURDIR}/../../../contrib/ntp/include -I${.CURDIR}/../ \
|
|
|
|
-I${.CURDIR}/../../../contrib/ntp/libopts -I${.CURDIR}
|
2000-01-01 23:58:01 +00:00
|
|
|
|
2008-08-22 16:00:48 +00:00
|
|
|
DPADD= ${LIBPARSE} ${LIBNTP} ${LIBM} ${LIBMD} ${LIBRT} ${LIBOPTS}
|
|
|
|
LDADD= ${LIBPARSE} ${LIBNTP} -lm -lmd -lrt ${LIBOPTS}
|
2004-07-22 09:10:52 +00:00
|
|
|
|
2006-03-17 18:54:44 +00:00
|
|
|
.if ${MK_OPENSSL} != "no" && !defined(RELEASE_CRUNCH)
|
2004-07-22 09:10:52 +00:00
|
|
|
DPADD+= ${LIBCRYPTO}
|
|
|
|
LDADD+= -lcrypto
|
|
|
|
.endif
|
2000-01-01 23:58:01 +00:00
|
|
|
|
|
|
|
CLEANFILES+= .version version.c
|
|
|
|
|
1999-12-13 14:09:56 +00:00
|
|
|
version.c:
|
|
|
|
sh -e ${.CURDIR}/../scripts/mkver ntpd
|
|
|
|
|
|
|
|
.include <bsd.prog.mk>
|