summaryrefslogtreecommitdiffstats
path: root/usr.sbin/xntpd/Makefile.inc
blob: cecc8ecb5b5b7ac5f369502d52c5360ef2ee5f1d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#	$Id$

DEFS_LOCAL=-DREFCLOCK -DPARSE -DUDP_WILDCARD_DELIVERY
NTPDEFS=   -DSYS_FREEBSD -DSYS_44BSD
AUTHDEFS=  -DMD5
CLOCKDEFS= -DLOCAL_CLOCK -DPST -DWWVB -DAS2201 -DGOES -DGPSTM -DOMEGA \
	-DLEITCH -DTRAK -DACTS -DATOM -DDATUM -DHEATH -DMSFEES \
	-DMX4200 -DNMEA -DBOEDER
CFLAGS+= ${NTPDEFS} ${DEFS_LOCAL} ${AUTHDEFS} ${CLOCKDEFS} ${COPTS}

.if exists(${.OBJDIR}/../lib)
LIBNTP=	${.OBJDIR}/../lib/libntp.a
.else
LIBNTP=	${.CURDIR}/../lib/libntp.a
.endif

.if !defined(NOCRYPT) && exists(${.CURDIR}/../../../secure/usr.sbin/xntpd/lib)
AUTHDEFS+=	-DDES
.endif

.include "../Makefile.inc"
OpenPOWER on IntegriCloud