2c4532a5b2
This is the second part of the commit (the third -- link in usr.sbin/Makefile) will be done after a more complete review by phk & obrien. NOTE: the number of drivers included in the default configuration is very minimal, mainly local clocks and the one I use RAWDCF. Anyone wanting to have a more complete version will find recompilation very easy. It builds and runs on both alpha & i386. It also does survive "make world". Reviewed by: phk, obrien (partly)
26 lines
591 B
Makefile
26 lines
591 B
Makefile
# $FreeBSD$
|
|
#
|
|
MAINTAINER= roberto
|
|
|
|
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 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"
|