diff options
Diffstat (limited to 'usr.sbin/ntp/sntp')
| -rw-r--r-- | usr.sbin/ntp/sntp/Makefile | 28 | ||||
| -rw-r--r-- | usr.sbin/ntp/sntp/Makefile.depend | 21 | ||||
| -rw-r--r-- | usr.sbin/ntp/sntp/Makefile.depend.options | 5 |
3 files changed, 54 insertions, 0 deletions
diff --git a/usr.sbin/ntp/sntp/Makefile b/usr.sbin/ntp/sntp/Makefile new file mode 100644 index 000000000000..628ef77d6e47 --- /dev/null +++ b/usr.sbin/ntp/sntp/Makefile @@ -0,0 +1,28 @@ +.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 \ + sntp-opts.c sntp.c utilities.c + +CFLAGS+= -I${SRCTOP}/contrib/ntp/include \ + -I${SRCTOP}/contrib/ntp/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 md ntp ntpevent pthread + +.if ${MK_OPENSSL} != "no" +LIBADD+= crypto +.endif + +.include <bsd.prog.mk> diff --git a/usr.sbin/ntp/sntp/Makefile.depend b/usr.sbin/ntp/sntp/Makefile.depend new file mode 100644 index 000000000000..fdd3beeaa837 --- /dev/null +++ b/usr.sbin/ntp/sntp/Makefile.depend @@ -0,0 +1,21 @@ +# Autogenerated - do NOT edit! + +DIRDEPS = \ + include \ + include/arpa \ + include/xlocale \ + lib/${CSU_DIR} \ + lib/libc \ + lib/libcompiler_rt \ + lib/libthr \ + lib/msun \ + usr.sbin/ntp/libntp \ + usr.sbin/ntp/libntpevent \ + usr.sbin/ntp/libopts \ + + +.include <dirdeps.mk> + +.if ${DEP_RELDIR} == ${_DEP_RELDIR} +# local dependencies - needed for -jN in clean tree +.endif diff --git a/usr.sbin/ntp/sntp/Makefile.depend.options b/usr.sbin/ntp/sntp/Makefile.depend.options new file mode 100644 index 000000000000..b374d7a1fd52 --- /dev/null +++ b/usr.sbin/ntp/sntp/Makefile.depend.options @@ -0,0 +1,5 @@ +# This file is not autogenerated - take care! + +DIRDEPS_OPTIONS= OPENSSL + +.include <dirdeps-options.mk> |
