freebsd-skq/usr.sbin/ntp/ntpq/Makefile
Baptiste Daroussin 97889d2e15 Remove useless extra definition of libedit flags
Note that all the line editor part is done in the libntp
2019-09-12 15:44:53 +00:00

37 lines
700 B
Makefile

# $FreeBSD$
MAN=
.include <src.opts.mk>
.PATH: ${SRCTOP}/contrib/ntp/ntpq
BINDIR= /usr/bin
PROG= ntpq
SRCS= ntpq.c ntpq-opts.c ntpq-subs.c version.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/lib/isc/${NTP_ATOMIC}/include \
-I${SRCTOP}/contrib/ntp/sntp/libopts \
-I${.CURDIR:H}
LIBADD+= edit ntp opts m pthread
.if ${MK_OPENSSL} != "no"
LIBADD+= crypto
.else
LIBADD+= md
.endif
CLEANFILES+= .version version.c
version.c:
sh -e ${.CURDIR:H}/scripts/mkver ntpq
.include <bsd.prog.mk>