summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ntp/Makefile.inc
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/ntp/Makefile.inc')
-rw-r--r--usr.sbin/ntp/Makefile.inc23
1 files changed, 23 insertions, 0 deletions
diff --git a/usr.sbin/ntp/Makefile.inc b/usr.sbin/ntp/Makefile.inc
new file mode 100644
index 0000000..5095e89
--- /dev/null
+++ b/usr.sbin/ntp/Makefile.inc
@@ -0,0 +1,23 @@
+# $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
+
+WARNS?= 0
+
+.include "../Makefile.inc"
OpenPOWER on IntegriCloud