summaryrefslogtreecommitdiff
path: root/usr.sbin/ntpd/Makefile
diff options
context:
space:
mode:
authorPeter Hessler <phessler@cvs.openbsd.org>2013-10-04 14:28:17 +0000
committerPeter Hessler <phessler@cvs.openbsd.org>2013-10-04 14:28:17 +0000
commita6e856b03df7e6aecaa4278fc3ca7de70f5840c6 (patch)
treeeeb67fb8f4cf639510eb57158d3b01ad783804db /usr.sbin/ntpd/Makefile
parentff8348fd479c183d58291bd1a8f9ec56dc8b33bc (diff)
Add ntpctl(8), which allows us to query the locally running ntpd(8) process
diff from Mike Miller <mmiller mgm51 com> (many thanks!) OK phessler@, henning@, todd@
Diffstat (limited to 'usr.sbin/ntpd/Makefile')
-rw-r--r--usr.sbin/ntpd/Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/usr.sbin/ntpd/Makefile b/usr.sbin/ntpd/Makefile
index 2557960d87d..e77935f8b2c 100644
--- a/usr.sbin/ntpd/Makefile
+++ b/usr.sbin/ntpd/Makefile
@@ -1,8 +1,9 @@
-# $OpenBSD: Makefile,v 1.11 2010/05/26 16:44:32 nicm Exp $
+# $OpenBSD: Makefile,v 1.12 2013/10/04 14:28:15 phessler Exp $
PROG= ntpd
SRCS= ntpd.c log.c ntp.c ntp_msg.c parse.y config.c \
- server.c client.c sensors.c util.c ntp_dns.c
+ server.c client.c sensors.c util.c ntp_dns.c \
+ control.c
CFLAGS+= -Wall -I${.CURDIR}
CFLAGS+= -Wstrict-prototypes -Wmissing-prototypes
CFLAGS+= -Wmissing-declarations
@@ -11,6 +12,7 @@ CFLAGS+= -Wsign-compare
YFLAGS=
LDADD+= -lutil
DPADD+= ${LIBUTIL}
-MAN= ntpd.8 ntpd.conf.5
+LINKS= ${BINDIR}/ntpd ${BINDIR}/ntpctl
+MAN= ntpd.8 ntpd.conf.5 ntpctl.8
.include <bsd.prog.mk>