1993-12-21 20:16:18 +00:00
|
|
|
#
|
1997-01-10 05:24:55 +00:00
|
|
|
# $Id: Makefile,v 1.4 1996/06/24 04:26:17 jkh Exp $
|
1993-12-21 20:16:18 +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:16:18 +00:00
|
|
|
|
|
|
|
PROG= tickadj
|
|
|
|
MAN8= ${.CURDIR}/../doc/tickadj.8
|
1993-12-22 11:34:09 +00:00
|
|
|
CLEANFILES+= .version version.c
|
1993-12-21 20:16:18 +00:00
|
|
|
|
|
|
|
SRCS= tickadj.c version.c
|
|
|
|
|
|
|
|
beforedepend: version.c
|
|
|
|
|
|
|
|
version.c: ${.CURDIR}/../VERSION
|
1994-10-03 23:51:34 +00:00
|
|
|
sh -e ${.CURDIR}/../scripts/mkversion tickadj
|
1993-12-21 20:16:18 +00:00
|
|
|
|
|
|
|
.include <bsd.prog.mk>
|