5477372324
MFC after: 1 week Sponsored by: DARPA, AFRL
32 lines
699 B
Makefile
32 lines
699 B
Makefile
# $FreeBSD$
|
|
|
|
.include <src.opts.mk>
|
|
|
|
.PATH: ${SRCTOP}/contrib/ntp/sntp
|
|
|
|
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/lib/isc/include \
|
|
-I${SRCTOP}/contrib/ntp/lib/isc/unix/include \
|
|
-I${SRCTOP}/contrib/ntp/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
|
|
|
|
.if ${MK_OPENSSL} != "no"
|
|
LIBADD+= crypto
|
|
.else
|
|
LIBADD+= md
|
|
.endif
|
|
|
|
.include <bsd.prog.mk>
|