summaryrefslogtreecommitdiffstats
path: root/usr.sbin/xntpd/ntptrace
diff options
context:
space:
mode:
authorrgrimes <rgrimes@FreeBSD.org>1993-12-22 11:34:09 +0000
committerrgrimes <rgrimes@FreeBSD.org>1993-12-22 11:34:09 +0000
commit060fd6a230297aa3565055cef55d42bf5a2e91f1 (patch)
treea5765c5229f9b74952f9dc9da72b39017ec0d12a /usr.sbin/xntpd/ntptrace
parent86565b770f3ec4c77894f88071767becd69f198b (diff)
downloadFreeBSD-src-060fd6a230297aa3565055cef55d42bf5a2e91f1.zip
FreeBSD-src-060fd6a230297aa3565055cef55d42bf5a2e91f1.tar.gz
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.
Diffstat (limited to 'usr.sbin/xntpd/ntptrace')
-rw-r--r--usr.sbin/xntpd/ntptrace/Makefile14
1 files changed, 11 insertions, 3 deletions
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
OpenPOWER on IntegriCloud