blob: 254307496296b794fa3dd149fbfc244a4d9861b5 (
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
|
#
# $Id: Makefile,v 1.3 1994/10/03 23:51:34 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= xntpdc
MAN8= ${.CURDIR}/../doc/xntpdc.8
CLEANFILES+= .version version.c
SRCS= ntpdc.c ntpdc_ops.c version.c
beforedepend: version.c
version.c: ${.CURDIR}/../VERSION
sh -e ${.CURDIR}/../scripts/mkversion xntpdc
.include <bsd.prog.mk>
|