diff options
Diffstat (limited to 'usr.sbin/xntpd/ntpq/Makefile')
-rw-r--r-- | usr.sbin/xntpd/ntpq/Makefile | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/usr.sbin/xntpd/ntpq/Makefile b/usr.sbin/xntpd/ntpq/Makefile index 95a56aa..4fc41c4 100644 --- a/usr.sbin/xntpd/ntpq/Makefile +++ b/usr.sbin/xntpd/ntpq/Makefile @@ -1,14 +1,22 @@ # -# $Id: Makefile,v 1.1 1993/12/21 19:46:16 wollman Exp $ +# $Id: Makefile,v 1.2 1993/12/21 21:06:32 wollman Exp $ # CFLAGS+= -I${.CURDIR}/../include -LDADD+= -L${.CURDIR}/../lib -lntp + +.if exists(${.CURDIR}/../lib/obj) +LDADD+= -L${.CURDIR}/../lib/obj +DPADD+= -L${.CURDIR}/../lib/obj/libntp.a +.else +LDADD+= -L${.CURDIR}/../lib DPADD+= -L${.CURDIR}/../lib/libntp.a +.endif + +LDADD+= -lntp PROG= ntpq MAN8= ${.CURDIR}/../doc/ntpq.8 -CLEANFILES+= version.c +CLEANFILES+= .version version.c BINDIR= /usr/bin SRCS= ntpq.c ntpq_ops.c version.c |