NetBSD/external/bsd/ntp/bin/ntpq/Makefile

25 lines
529 B
Makefile

# $NetBSD: Makefile,v 1.7 2013/12/28 03:19:43 christos Exp $
.include <bsd.own.mk>
PROG= ntpq
MAN= ntpq.8
BINDIR= /usr/sbin
SRCS= ntpq.c \
ntpq-subs.c \
ntpq-opts.c
LDADD+= -L${LIBNTP} -lntp -L${LIBOPTS} -lopts -L${LIBISC} -liscntp -ledit -lterminfo -lm
#DPADD+= ${LIBISC}/libiscntp.a ${LIBOPTS}/libopts.a ${LIBNTP}/libntp.a ${LIBEDIT} ${LIBTERMINFO} ${LIBM}
.include "${.CURDIR}/../Makefile.inc"
DIST=${IDIST}/ntpq
CPPFLAGS+=-I${IDIST}/include -I${IDIST}/sntp/libopts
.PATH: ${DIST}
.include <bsd.prog.mk>