freebsd-nq/usr.sbin/xntpd/ntpq/Makefile
Jordan K. Hubbard cd9a2f5c28 Bring in my changes for removing the pestilent obj links (unless you
really want them) from /usr/src.  This is the final version of the
patches, incorporating the feedback I've received from -current.
1996-06-24 04:26:21 +00:00

30 lines
533 B
Makefile

#
# $Id: Makefile,v 1.4 1994/10/03 23:51:22 phk Exp $
#
CFLAGS+= -I${.CURDIR}/../include
.if exists(${.OBJDIR}/../lib)
LDADD+= -L${.OBJDIR}/../lib
DPADD+= -L${.OBJDIR}/../lib/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 version.c
BINDIR= /usr/bin
SRCS= ntpq.c ntpq_ops.c version.c
beforedepend: version.c
version.c: ${.CURDIR}/../VERSION
sh -e ${.CURDIR}/../scripts/mkversion ntpq
.include <bsd.prog.mk>