freebsd-dev/usr.sbin/xntpd/ntptrace/Makefile
1994-10-03 23:51:34 +00:00

29 lines
537 B
Makefile

#
# $Id: Makefile,v 1.2 1993/12/22 11:33:14 rgrimes Exp $
#
CFLAGS+= -I${.CURDIR}/../include
.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= ntptrace
MAN8= ${.CURDIR}/../doc/ntptrace.8
CLEANFILES+= .version version.c
SRCS= ntptrace.c version.c
beforedepend: version.c
version.c: ${.CURDIR}/../VERSION
sh -e ${.CURDIR}/../scripts/mkversion ntptrace
.include <bsd.prog.mk>