aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/ntp/sntp
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/ntp/sntp')
-rw-r--r--usr.sbin/ntp/sntp/Makefile13
-rw-r--r--usr.sbin/ntp/sntp/Makefile.depend1
-rw-r--r--usr.sbin/ntp/sntp/Makefile.depend.options1
3 files changed, 5 insertions, 10 deletions
diff --git a/usr.sbin/ntp/sntp/Makefile b/usr.sbin/ntp/sntp/Makefile
index 11a9a5af8e9d..628ef77d6e47 100644
--- a/usr.sbin/ntp/sntp/Makefile
+++ b/usr.sbin/ntp/sntp/Makefile
@@ -1,9 +1,8 @@
-# $FreeBSD$
-
.include <src.opts.mk>
.PATH: ${SRCTOP}/contrib/ntp/sntp
+PACKAGE=ntp
PROG= sntp
MAN=
SRCS= crypto.c kod_management.c log.c main.c networking.c \
@@ -11,21 +10,19 @@ SRCS= crypto.c kod_management.c log.c main.c networking.c \
CFLAGS+= -I${SRCTOP}/contrib/ntp/include \
-I${SRCTOP}/contrib/ntp/include \
- -I${SRCTOP}/contrib/ntp/lib/isc/include \
- -I${SRCTOP}/contrib/ntp/lib/isc/unix/include \
- -I${SRCTOP}/contrib/ntp/lib/isc/pthreads/include \
+ -I${SRCTOP}/contrib/ntp/libntp/lib/isc/include \
+ -I${SRCTOP}/contrib/ntp/libntp/lib/isc/unix/include \
+ -I${SRCTOP}/contrib/ntp/libntp/lib/isc/pthreads/include \
-I${SRCTOP}/contrib/ntp/sntp \
-I${SRCTOP}/contrib/ntp/sntp/libopts \
-I${SRCTOP}/contrib/ntp/sntp/libevent/include \
-I${.CURDIR:H}/libntpevent \
-I${.CURDIR:H}
-LIBADD= m opts ntp ntpevent pthread
+LIBADD= m opts md ntp ntpevent pthread
.if ${MK_OPENSSL} != "no"
LIBADD+= crypto
-.else
-LIBADD+= md
.endif
.include <bsd.prog.mk>
diff --git a/usr.sbin/ntp/sntp/Makefile.depend b/usr.sbin/ntp/sntp/Makefile.depend
index c859ede595b8..fdd3beeaa837 100644
--- a/usr.sbin/ntp/sntp/Makefile.depend
+++ b/usr.sbin/ntp/sntp/Makefile.depend
@@ -1,4 +1,3 @@
-# $FreeBSD$
# Autogenerated - do NOT edit!
DIRDEPS = \
diff --git a/usr.sbin/ntp/sntp/Makefile.depend.options b/usr.sbin/ntp/sntp/Makefile.depend.options
index fa96b2506b2c..b374d7a1fd52 100644
--- a/usr.sbin/ntp/sntp/Makefile.depend.options
+++ b/usr.sbin/ntp/sntp/Makefile.depend.options
@@ -1,4 +1,3 @@
-# $FreeBSD$
# This file is not autogenerated - take care!
DIRDEPS_OPTIONS= OPENSSL