summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ntp/Makefile.inc
blob: 845d28ac55cbd9de7f7d329f46b0f01d438e6f29 (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
# $FreeBSD$

DEFS_LOCAL= -DPARSE -DHAVE_CONFIG_H
NTPDEFS=   -DSYS_FREEBSD
# CLOCKDEFS=
#	-DLOCAL_CLOCK -DPST -DWWVB -DAS2201 -DGOES -DGPSTM -DOMEGA \
#	-DLEITCH -DTRAK -DACTS -DATOM -DDATUM -DHEATH -DMSFEES \
#	-DMX4200 -DNMEA -DBOEDER
CFLAGS+= ${NTPDEFS} ${DEFS_LOCAL} ${CLOCKDEFS}

.if !defined(NO_CRYPT) && !defined(NO_OPENSSL) && !defined(RELEASE_CRUNCH)
CFLAGS+= -DOPENSSL
.endif

.if exists(${.OBJDIR}/../libparse)
LIBPARSE=	${.OBJDIR}/../libparse/libparse.a
.else
LIBPARSE=	${.CURDIR}/../libparse/libparse.a
.endif

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

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