summaryrefslogtreecommitdiffstats
path: root/usr.sbin/xntpd/xntpdc/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/xntpd/xntpdc/Makefile')
-rw-r--r--usr.sbin/xntpd/xntpdc/Makefile14
1 files changed, 11 insertions, 3 deletions
diff --git a/usr.sbin/xntpd/xntpdc/Makefile b/usr.sbin/xntpd/xntpdc/Makefile
index cb09569..4f40d70 100644
--- a/usr.sbin/xntpd/xntpdc/Makefile
+++ b/usr.sbin/xntpd/xntpdc/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 20:36:45 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= xntpdc
MAN8= ${.CURDIR}/../doc/xntpdc.8
-CLEANFILES+= version.c
+CLEANFILES+= .version version.c
SRCS= ntpdc.c ntpdc_ops.c version.c
OpenPOWER on IntegriCloud