summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ntp/sntp/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/ntp/sntp/Makefile')
-rw-r--r--usr.sbin/ntp/sntp/Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/usr.sbin/ntp/sntp/Makefile b/usr.sbin/ntp/sntp/Makefile
index f7a9eb9..3bc9084 100644
--- a/usr.sbin/ntp/sntp/Makefile
+++ b/usr.sbin/ntp/sntp/Makefile
@@ -7,9 +7,10 @@ NO_MAN=
SRCS= internet.c main.c socket.c timing.c unix.c
CFLAGS+= -I${.CURDIR}/../../../contrib/ntp/include -I${.CURDIR}/../ \
- -DPACKAGE=\"sntp\" -DVERSION=\"1.6\"
+ -DPACKAGE=\"sntp\" -DVERSION=\"1.6\" \
+ -I${.CURDIR}/../../../contrib/ntp/libopts
-DPADD= ${LIBM}
-LDADD= -lm
+DPADD= ${LIBM} ${LIBOPTS}
+LDADD= -lm ${LIBOPTS}
.include <bsd.prog.mk>
OpenPOWER on IntegriCloud