Makefile revision 280849
1# $FreeBSD: head/usr.sbin/ntp/ntpq/Makefile 280849 2015-03-30 13:30:15Z cy $ 2 3MAN= 4 5.include <src.opts.mk> 6.include <bsd.own.mk> 7 8.PATH: ${.CURDIR}/../../../contrib/ntp/ntpq 9 10BINDIR= /usr/bin 11 12PROG= ntpq 13SRCS= ntpq.c ntpq-opts.c ntpq-subs.c version.c 14 15CFLAGS+= -I${.CURDIR}/../../../contrib/ntp/include \ 16 -I${.CURDIR}/../../../contrib/ntp/include \ 17 -I${.CURDIR}/../../../contrib/ntp/lib/isc/include \ 18 -I${.CURDIR}/../../../contrib/ntp/lib/isc/unix/include \ 19 -I${.CURDIR}/../../../contrib/ntp/lib/isc/pthreads/include \ 20 -I${.CURDIR}/../../../contrib/ntp/lib/isc/${NTP_ATOMIC}/include \ 21 -I${.CURDIR}/../../../contrib/ntp/sntp/libopts \ 22 -I${.CURDIR}/../ 23 24LIBADD+= edit md ntp opts m pthread 25 26.if ${MK_OPENSSL} != "no" 27LIBADD+= ssl crypto 28.endif 29 30CFLAGS+= -DHAVE_LIBEDIT -DHAVE_READLINE_READLINE_H \ 31 -I${DESTDIR}/${INCLUDEDIR}/edit 32 33CLEANFILES+= .version version.c 34 35version.c: 36 sh -e ${.CURDIR}/../scripts/mkver ntpq 37 38.include <bsd.prog.mk> 39