summaryrefslogtreecommitdiffstats
path: root/usr.sbin/xntpd/authstuff/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/xntpd/authstuff/Makefile')
-rw-r--r--usr.sbin/xntpd/authstuff/Makefile17
1 files changed, 13 insertions, 4 deletions
diff --git a/usr.sbin/xntpd/authstuff/Makefile b/usr.sbin/xntpd/authstuff/Makefile
index 2920264..79b2d9d 100644
--- a/usr.sbin/xntpd/authstuff/Makefile
+++ b/usr.sbin/xntpd/authstuff/Makefile
@@ -1,15 +1,24 @@
#
-# $Id$
+# $Id: Makefile,v 1.1 1993/12/21 21:06:20 wollman Exp $
#
# Most of the programs in this directory are completely useless for the
# NTP configuration that we provide by default.
# We provide the `md5' program as a public service.
-PROG= md5
-LDADD+= -L${.CURDIR}/../lib -lntp
-DPADD+= ${.CURDIR}/../lib/libntp.a
CFLAGS+= -I${.CURDIR}/../include
+.if exists(${.CURDIR}/../lib/obj)
+LDADD+= -L${.CURDIR}/../lib/obj
+DPADD+= ${.CURDIR}/../lib/obj/libntp.a
+.else
+LDADD+= -L${.CURDIR}/../lib
+DPADD+= ${.CURDIR}/../lib/libntp.a
+.endif
+
+LDADD+= -lntp
+
+PROG= md5
+
SRCS= md5driver.c
NOMAN=
OpenPOWER on IntegriCloud