diff options
author | rgrimes <rgrimes@FreeBSD.org> | 1993-12-22 11:34:09 +0000 |
---|---|---|
committer | rgrimes <rgrimes@FreeBSD.org> | 1993-12-22 11:34:09 +0000 |
commit | 060fd6a230297aa3565055cef55d42bf5a2e91f1 (patch) | |
tree | a5765c5229f9b74952f9dc9da72b39017ec0d12a /usr.sbin/xntpd/authstuff | |
parent | 86565b770f3ec4c77894f88071767becd69f198b (diff) | |
download | FreeBSD-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/authstuff')
-rw-r--r-- | usr.sbin/xntpd/authstuff/Makefile | 17 |
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= |