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/ntpq | |
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/ntpq')
-rw-r--r-- | usr.sbin/xntpd/ntpq/Makefile | 13 |
1 files changed, 3 insertions, 10 deletions
diff --git a/usr.sbin/xntpd/ntpq/Makefile b/usr.sbin/xntpd/ntpq/Makefile index ea643d2..446a55b 100644 --- a/usr.sbin/xntpd/ntpq/Makefile +++ b/usr.sbin/xntpd/ntpq/Makefile @@ -1,18 +1,11 @@ # -# $Id$ +# $Id: Makefile,v 1.8 1997/02/22 16:14:28 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= ntpq MAN8= ${.CURDIR}/../doc/ntpq.8 |