freebsd-nq/usr.sbin/xntpd/ntpdate/Makefile
Rodney W. Grimes 7ff741fe60 Needed to change the LDADD+= and DPADD+= depending on if obj directories
are used or not.

Add .verions to the CLEANFILES+= on those Makefiles that create a version.c
file.

Remove reference to nonexistent file ref_omega.c in one Makefile.

Fix copy of authdes.c.expot so that it works with or without obj directories.

No compiles both with and without obj directories.
1993-12-22 11:34:09 +00:00

29 lines
527 B
Makefile

#
# $Id: Makefile,v 1.2 1993/12/21 21:06:30 wollman Exp $
#
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
DPADD+= -L${.CURDIR}/../lib/libntp.a
.endif
LDADD+= -lntp
PROG= ntpdate
MAN8= ${.CURDIR}/../doc/ntpdate.8
CLEANFILES+= .version version.c
SRCS= ntpdate.c version.c
beforedepend: version.c
version.c: ${.CURDIR}/../VERSION
${.CURDIR}/../scripts/mkversion ntpdate
.include <bsd.prog.mk>