30 lines
533 B
Makefile
Raw Normal View History

1993-12-21 19:46:16 +00:00
#
# $Id: Makefile,v 1.4 1994/10/03 23:51:22 phk Exp $
1993-12-21 19:46:16 +00:00
#
CFLAGS+= -I${.CURDIR}/../include
.if exists(${.OBJDIR}/../lib)
LDADD+= -L${.OBJDIR}/../lib
DPADD+= -L${.OBJDIR}/../lib/libntp.a
.else
LDADD+= -L${.CURDIR}/../lib
1993-12-21 19:46:16 +00:00
DPADD+= -L${.CURDIR}/../lib/libntp.a
.endif
LDADD+= -lntp
1993-12-21 19:46:16 +00:00
PROG= ntpq
MAN8= ${.CURDIR}/../doc/ntpq.8
CLEANFILES+= .version version.c
BINDIR= /usr/bin
1993-12-21 19:46:16 +00:00
SRCS= ntpq.c ntpq_ops.c version.c
beforedepend: version.c
version.c: ${.CURDIR}/../VERSION
sh -e ${.CURDIR}/../scripts/mkversion ntpq
1993-12-21 19:46:16 +00:00
.include <bsd.prog.mk>