freebsd-skq/usr.sbin/ntp/Makefile.inc
roberto e01fe39f04 Update the various files to sync with vendor import of 4.2.4p5.
sntp includes a copy of libopts in itself in vendor code, rewrite the
Makefile to compile and use only one copy.  It is an internal library, not
installed.

MFC after:	2 weeks
2008-08-22 16:00:48 +00:00

22 lines
539 B
Makefile

# $FreeBSD$
.include <bsd.own.mk>
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 ${MK_OPENSSL} != "no" && !defined(RELEASE_CRUNCH)
CFLAGS+= -DOPENSSL
.endif
LIBOPTS= ${.OBJDIR}/../libopts/libopts.a
LIBPARSE= ${.OBJDIR}/../libparse/libparse.a
LIBNTP= ${.OBJDIR}/../libntp/libntp.a
.include "../Makefile.inc"