adad8e3b30
libraries so that `ld -f' in can create correct dependencies for yet-to-be-built libraries. Get the default BINDIR correctly (by including ../Makefile.inc recursively.
24 lines
622 B
Makefile
24 lines
622 B
Makefile
.if !defined(BEEN_HERE)
|
|
BEEN_HERE=1
|
|
|
|
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"
|
|
.endif
|