freebsd-nq/usr.sbin/xntpd/ntpdate/Makefile

29 lines
533 B
Makefile
Raw Normal View History

1993-12-21 19:40:50 +00:00
#
# $Id: Makefile,v 1.3 1993/12/22 11:32:56 rgrimes Exp $
1993-12-21 19:40:50 +00:00
#
CFLAGS+= -I${.CURDIR}/../include
.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:40:50 +00:00
DPADD+= -L${.CURDIR}/../lib/libntp.a
.endif
LDADD+= -lntp
1993-12-21 19:40:50 +00:00
PROG= ntpdate
MAN8= ${.CURDIR}/../doc/ntpdate.8
CLEANFILES+= .version version.c
1993-12-21 19:40:50 +00:00
SRCS= ntpdate.c version.c
beforedepend: version.c
version.c: ${.CURDIR}/../VERSION
sh -e ${.CURDIR}/../scripts/mkversion ntpdate
1993-12-21 19:40:50 +00:00
.include <bsd.prog.mk>