freebsd-nq/usr.sbin/ntp/Makefile.inc
Colin Percival d37df47d31 Join the 21st century: Cryptography is no longer an optional component
of releases.  The -DNOCRYPT build option still exists for anyone who
really wants to build non-cryptographic binaries, but the "crypto"
release distribution is now part of "base", and anyone installing from a
release will get cryptographic binaries.

Approved by:	re (scottl), markm
Discussed on:	freebsd-current, in late April 2004
2004-08-06 07:27:08 +00:00

28 lines
672 B
Makefile

# $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(NOCRYPT) && !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"