1993-12-21 20:38:27 +00:00
|
|
|
#
|
1997-02-22 16:15:28 +00:00
|
|
|
# $Id$
|
1993-12-21 20:38:27 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
CFLAGS+= -I${.CURDIR}/../include
|
1993-12-22 11:34:09 +00:00
|
|
|
|
1996-06-24 04:26:21 +00:00
|
|
|
.if exists(${.OBJDIR}/../lib)
|
|
|
|
LDADD+= -L${.OBJDIR}/../lib
|
1997-01-10 05:24:55 +00:00
|
|
|
DPADD+= ${.OBJDIR}/../lib/libntp.a
|
1993-12-22 11:34:09 +00:00
|
|
|
.else
|
|
|
|
LDADD+= -L${.CURDIR}/../lib
|
1997-01-10 05:24:55 +00:00
|
|
|
DPADD+= ${.CURDIR}/../lib/libntp.a
|
1993-12-22 11:34:09 +00:00
|
|
|
.endif
|
|
|
|
|
|
|
|
LDADD+= -lntp
|
1993-12-21 20:38:27 +00:00
|
|
|
|
|
|
|
PROG= xntpdc
|
|
|
|
MAN8= ${.CURDIR}/../doc/xntpdc.8
|
1993-12-22 11:34:09 +00:00
|
|
|
CLEANFILES+= .version version.c
|
1993-12-21 20:38:27 +00:00
|
|
|
|
|
|
|
SRCS= ntpdc.c ntpdc_ops.c version.c
|
|
|
|
|
|
|
|
beforedepend: version.c
|
|
|
|
|
|
|
|
version.c: ${.CURDIR}/../VERSION
|
1994-10-03 23:51:34 +00:00
|
|
|
sh -e ${.CURDIR}/../scripts/mkversion xntpdc
|
1993-12-21 20:38:27 +00:00
|
|
|
|
|
|
|
.include <bsd.prog.mk>
|