aboutsummaryrefslogtreecommitdiff
path: root/contrib/xntpd/xntpdc/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/xntpd/xntpdc/Makefile')
-rw-r--r--contrib/xntpd/xntpdc/Makefile28
1 files changed, 28 insertions, 0 deletions
diff --git a/contrib/xntpd/xntpdc/Makefile b/contrib/xntpd/xntpdc/Makefile
new file mode 100644
index 000000000000..b5b78be48bc7
--- /dev/null
+++ b/contrib/xntpd/xntpdc/Makefile
@@ -0,0 +1,28 @@
+#
+# $Id: Makefile,v 1.2 1993/12/22 11:34:00 rgrimes Exp $
+#
+
+CFLAGS+= -I${.CURDIR}/../include
+
+.if exists(${.CURDIR}/../lib/obj)
+LDADD+= -L${.CURDIR}/../lib/obj
+DPADD+= -L${.CURDIR}/../lib/obj/libntp.a
+.else
+LDADD+= -L${.CURDIR}/../lib
+DPADD+= -L${.CURDIR}/../lib/libntp.a
+.endif
+
+LDADD+= -lntp
+
+PROG= xntpdc
+MAN8= ${.CURDIR}/../doc/xntpdc.8
+CLEANFILES+= .version version.c
+
+SRCS= ntpdc.c ntpdc_ops.c version.c
+
+beforedepend: version.c
+
+version.c: ${.CURDIR}/../VERSION
+ ${.CURDIR}/../scripts/mkversion xntpdc
+
+.include <bsd.prog.mk>