blob: 6ab7cd0774bab89bfd3ba8f1febb305cedaffcc3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
|
#
# $Id: Makefile,v 1.6 1994/09/30 00:34:17 wollman Exp $
#
CFLAGS+= -I${.CURDIR}/../include
.if exists(${.CURDIR}/../lib/obj)
LDADD+= -L${.CURDIR}/../lib/obj
DPADD+= ${.CURDIR}/../lib/obj/libntp.a
.else
LDADD+= -L${.CURDIR}/../lib
DPADD+= ${.CURDIR}/../lib/libntp.a
.endif
.if exists(${.CURDIR}/../parse/obj)
LDADD+= -L${.CURDIR}/../parse/obj
DPADD+= ${.CURDIR}/../parse/obj/libparse.a
.else
LDADD+= -L${.CURDIR}/../parse
DPADD+= ${.CURDIR}/../parse/libparse.a
.endif
LDADD+= -lntp -lparse -lkvm
PROG= xntpd
MAN8= ${.CURDIR}/../doc/xntpd.8
CLEANFILES+= .version version.c
SRCS= ntp_config.c ntp_control.c ntp_io.c ntp_leap.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_unixclock.c ntp_util.c ntpd.c ntp_intres.c \
ntp_filegen.c version.c
# refclocks
SRCS+= refclock_acts.c refclock_as2201.c refclock_atom.c refclock_chu.c \
refclock_conf.c refclock_datum.c refclock_goes.c refclock_gpstm.c \
refclock_heath.c refclock_leitch.c refclock_local.c refclock_moto.c \
refclock_msfees.c refclock_mx4200.c refclock_nmea.c refclock_omega.c \
refclock_parse.c refclock_pst.c refclock_trak.c refclock_wwvb.c
beforedepend: version.c
version.c: ${.CURDIR}/../VERSION
sh -e ${.CURDIR}/../scripts/mkversion xntpd
.include <bsd.prog.mk>
|