summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ntp/ntpdc/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/ntp/ntpdc/Makefile')
-rw-r--r--usr.sbin/ntp/ntpdc/Makefile21
1 files changed, 21 insertions, 0 deletions
diff --git a/usr.sbin/ntp/ntpdc/Makefile b/usr.sbin/ntp/ntpdc/Makefile
new file mode 100644
index 0000000..bd6311f
--- /dev/null
+++ b/usr.sbin/ntp/ntpdc/Makefile
@@ -0,0 +1,21 @@
+#
+# $FreeBSD$
+#
+
+.PATH: ${.CURDIR}/../../../contrib/ntp/ntpdc
+
+CFLAGS+= -I${.CURDIR}/../../../contrib/ntp/include -I${.CURDIR}/../
+
+DPADD= ${LIBNTP} ${LIBKVM}
+LDADD= ${LIBNTP} ${LIBKVM}
+
+PROG= ntpdc
+NOMAN= yes
+CLEANFILES+= .version version.c
+
+SRCS= ntpdc.c ntpdc_ops.c version.c
+
+version.c:
+ sh -e ${.CURDIR}/../scripts/mkver ntpdc
+
+.include <bsd.prog.mk>
OpenPOWER on IntegriCloud