e01fe39f04
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
22 lines
539 B
Makefile
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"
|