summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ntp/Makefile.inc
diff options
context:
space:
mode:
authorroberto <roberto@FreeBSD.org>1999-12-13 14:09:56 +0000
committerroberto <roberto@FreeBSD.org>1999-12-13 14:09:56 +0000
commit2c4532a5b204bf46ef9bed83b39fad4796af075f (patch)
tree24b9c349b4d68d37c1d8135507f472611002728c /usr.sbin/ntp/Makefile.inc
parent51419295b1881d06d16787b11610eb01251cae2a (diff)
downloadFreeBSD-src-2c4532a5b204bf46ef9bed83b39fad4796af075f.zip
FreeBSD-src-2c4532a5b204bf46ef9bed83b39fad4796af075f.tar.gz
Please welcome the brand new ntp4 daemon & utilities in the FreeBSD tree.
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)
Diffstat (limited to 'usr.sbin/ntp/Makefile.inc')
-rw-r--r--usr.sbin/ntp/Makefile.inc25
1 files changed, 25 insertions, 0 deletions
diff --git a/usr.sbin/ntp/Makefile.inc b/usr.sbin/ntp/Makefile.inc
new file mode 100644
index 0000000..d815266
--- /dev/null
+++ b/usr.sbin/ntp/Makefile.inc
@@ -0,0 +1,25 @@
+# $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"
OpenPOWER on IntegriCloud