From 060fd6a230297aa3565055cef55d42bf5a2e91f1 Mon Sep 17 00:00:00 2001 From: rgrimes Date: Wed, 22 Dec 1993 11:34:09 +0000 Subject: 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. --- usr.sbin/xntpd/ntptrace/Makefile | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) (limited to 'usr.sbin/xntpd/ntptrace') diff --git a/usr.sbin/xntpd/ntptrace/Makefile b/usr.sbin/xntpd/ntptrace/Makefile index 193d83f..57f3051 100644 --- a/usr.sbin/xntpd/ntptrace/Makefile +++ b/usr.sbin/xntpd/ntptrace/Makefile @@ -1,14 +1,22 @@ # -# $Id: Makefile,v 1.1 1993/12/21 19:46:16 wollman Exp $ +# $Id: Makefile,v 1.1 1993/12/21 19:50:40 wollman Exp $ # CFLAGS+= -I${.CURDIR}/../include -LDADD+= -L${.CURDIR}/../lib -lntp + +.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= ntptrace MAN8= ${.CURDIR}/../doc/ntptrace.8 -CLEANFILES+= version.c +CLEANFILES+= .version version.c SRCS= ntptrace.c version.c -- cgit v1.1