Makefile revision 220370
1# $FreeBSD: head/usr.sbin/ntp/ntpq/Makefile 220370 2011-04-05 18:41:01Z obrien $ 2 3NO_MAN= 4 5.include <bsd.own.mk> 6 7.PATH: ${.CURDIR}/../../../contrib/ntp/ntpq 8 9BINDIR= /usr/bin 10 11PROG= ntpq 12SRCS= ntpq.c ntpq-opts.c ntpq-subs.c version.c 13 14CFLAGS+= -I${.CURDIR}/../../../contrib/ntp/include -I${.CURDIR}/../ \ 15 -I${.CURDIR}/../../../contrib/ntp/libopts 16 17DPADD= ${LIBNTP} ${LIBM} ${LIBMD} ${LIBOPTS} 18LDADD= ${LIBNTP} -lm -lmd ${LIBOPTS} 19 20DPADD+= ${LIBEDIT} ${LIBTERMCAP} 21LDADD+= -ledit -ltermcap 22CFLAGS+= -DHAVE_LIBEDIT -DHAVE_READLINE_READLINE_H \ 23 -I${DESTDIR}/${INCLUDEDIR}/edit 24 25CLEANFILES+= .version version.c 26 27version.c: 28 sh -e ${.CURDIR}/../scripts/mkver ntpq 29 30.include <bsd.prog.mk> 31