diff options
author | bde <bde@FreeBSD.org> | 1998-03-07 09:46:17 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 1998-03-07 09:46:17 +0000 |
commit | adad8e3b30af68187200b507357e3fcf43100f33 (patch) | |
tree | f6d250a819369feea99b47c546189a0b338a047d /usr.sbin/xntpd/util | |
parent | c21943079af6285bee92785769644542de555f3f (diff) | |
download | FreeBSD-src-adad8e3b30af68187200b507357e3fcf43100f33.zip FreeBSD-src-adad8e3b30af68187200b507357e3fcf43100f33.tar.gz |
Use `foo/bar.a' instead of `-Lfoo -lbar' for linking to static internal
libraries so that `ld -f' in can create correct dependencies for
yet-to-be-built libraries.
Get the default BINDIR correctly (by including ../Makefile.inc recursively.
Diffstat (limited to 'usr.sbin/xntpd/util')
-rw-r--r-- | usr.sbin/xntpd/util/Makefile | 13 |
1 files changed, 3 insertions, 10 deletions
diff --git a/usr.sbin/xntpd/util/Makefile b/usr.sbin/xntpd/util/Makefile index e14a1c0..719f9b4 100644 --- a/usr.sbin/xntpd/util/Makefile +++ b/usr.sbin/xntpd/util/Makefile @@ -1,18 +1,11 @@ # -# $Id$ +# $Id: Makefile,v 1.7 1997/02/22 16:14:37 peter Exp $ # CFLAGS+= -I${.CURDIR}/../include -.if exists(${.OBJDIR}/../lib) -LDADD+= -L${.OBJDIR}/../lib -DPADD+= ${.OBJDIR}/../lib/libntp.a -.else -LDADD+= -L${.CURDIR}/../lib -DPADD+= ${.CURDIR}/../lib/libntp.a -.endif - -LDADD+= -lntp +DPADD= ${LIBNTP} +LDADD= ${LIBNTP} PROG= tickadj MAN8= ${.CURDIR}/../doc/tickadj.8 |