freebsd-dev/usr.sbin/xntpd/ntpdate/Makefile
Bruce Evans 15d0bb0b98 Use foo/bar.a' instead of -Lfoo -lbar' for linking to static internal
libraries so that `ld -f' in can create correct dependencies for
yet-to-be-built libraries.

Get the default BINDIR correctly (by including ../Makefile.inc recursively.
1998-03-07 09:46:17 +00:00

22 lines
365 B
Makefile

#
# $Id: Makefile,v 1.8 1997/02/22 16:14:26 peter Exp $
#
CFLAGS+= -I${.CURDIR}/../include
DPADD= ${LIBNTP}
LDADD= ${LIBNTP}
PROG= ntpdate
MAN8= ${.CURDIR}/../doc/ntpdate.8
CLEANFILES+= .version version.c
SRCS= ntpdate.c version.c
beforedepend: version.c
version.c: ${.CURDIR}/../VERSION
sh -e ${.CURDIR}/../scripts/mkversion ntpdate
.include <bsd.prog.mk>