1993-12-21 19:50:40 +00:00
|
|
|
#
|
1994-10-03 23:51:34 +00:00
|
|
|
# $Id: Makefile,v 1.2 1993/12/22 11:33:14 rgrimes Exp $
|
1993-12-21 19:50:40 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
CFLAGS+= -I${.CURDIR}/../include
|
1993-12-22 11:34:09 +00:00
|
|
|
|
|
|
|
.if exists(${.CURDIR}/../lib/obj)
|
|
|
|
LDADD+= -L${.CURDIR}/../lib/obj
|
|
|
|
DPADD+= -L${.CURDIR}/../lib/obj/libntp.a
|
|
|
|
.else
|
|
|
|
LDADD+= -L${.CURDIR}/../lib
|
1993-12-21 19:50:40 +00:00
|
|
|
DPADD+= -L${.CURDIR}/../lib/libntp.a
|
1993-12-22 11:34:09 +00:00
|
|
|
.endif
|
|
|
|
|
|
|
|
LDADD+= -lntp
|
1993-12-21 19:50:40 +00:00
|
|
|
|
|
|
|
PROG= ntptrace
|
|
|
|
MAN8= ${.CURDIR}/../doc/ntptrace.8
|
1993-12-22 11:34:09 +00:00
|
|
|
CLEANFILES+= .version version.c
|
1993-12-21 19:50:40 +00:00
|
|
|
|
|
|
|
SRCS= ntptrace.c version.c
|
|
|
|
|
|
|
|
beforedepend: version.c
|
|
|
|
|
|
|
|
version.c: ${.CURDIR}/../VERSION
|
1994-10-03 23:51:34 +00:00
|
|
|
sh -e ${.CURDIR}/../scripts/mkversion ntptrace
|
1993-12-21 19:50:40 +00:00
|
|
|
|
|
|
|
.include <bsd.prog.mk>
|