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/util | |
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/util')
-rw-r--r-- | usr.sbin/xntpd/util/Makefile | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/usr.sbin/xntpd/util/Makefile b/usr.sbin/xntpd/util/Makefile index a030fc8..ce9e1fd 100644 --- a/usr.sbin/xntpd/util/Makefile +++ b/usr.sbin/xntpd/util/Makefile @@ -1,14 +1,22 @@ # -# $Id: Makefile,v 1.1 1993/12/21 19:50:40 wollman Exp $ +# $Id: Makefile,v 1.1 1993/12/21 20:16:18 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= tickadj MAN8= ${.CURDIR}/../doc/tickadj.8 -CLEANFILES+= version.c +CLEANFILES+= .version version.c SRCS= tickadj.c version.c |