blob: eacf270b7410650739700bb926e47b7cec0e512d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
#
# $FreeBSD$
#
CFLAGS+= -I${.CURDIR}/../include
.if exists(${.OBJDIR}/../lib)
LDADD+= -L${.OBJDIR}/../lib
DPADD+= ${.OBJDIR}/../lib/libntp.a
.else
LDADD+= -L${.CURDIR}/../lib
DPADD+= ${.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>
|