summaryrefslogtreecommitdiffstats
path: root/usr.sbin/xntpd/ntptrace
diff options
context:
space:
mode:
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