summaryrefslogtreecommitdiffstats
path: root/usr.sbin/pcvt/kcon/Makefile
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1998-03-07 08:55:00 +0000
committerbde <bde@FreeBSD.org>1998-03-07 08:55:00 +0000
commit6682846885f7b3347088fca27d9c55c86426311e (patch)
tree2d8dfb6b69578f3b240ed91f714ecc557fb116f9 /usr.sbin/pcvt/kcon/Makefile
parent1bc27d95394df5d8e70e98c32a02cafeb0930aea (diff)
downloadFreeBSD-src-6682846885f7b3347088fca27d9c55c86426311e.zip
FreeBSD-src-6682846885f7b3347088fca27d9c55c86426311e.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.
Diffstat (limited to 'usr.sbin/pcvt/kcon/Makefile')
-rw-r--r--usr.sbin/pcvt/kcon/Makefile11
1 files changed, 4 insertions, 7 deletions
diff --git a/usr.sbin/pcvt/kcon/Makefile b/usr.sbin/pcvt/kcon/Makefile
index 5b58298..77a9f26 100644
--- a/usr.sbin/pcvt/kcon/Makefile
+++ b/usr.sbin/pcvt/kcon/Makefile
@@ -3,15 +3,12 @@ DEVICE= /dev/ttyv0
CFLAGS+= -I${.CURDIR}/../keycap -DKEYB_DEVICE=\"${DEVICE}\"
.if exists(${.OBJDIR}/../keycap)
-LIBDESTDIR= ${.OBJDIR}/../keycap
+LIBKEYCAP= ${.OBJDIR}/../keycap/libkeycap.a
.else
-LIBDESTDIR= ${.CURDIR}/../keycap
+LIBKEYCAP= ${.CURDIR}/../keycap/libkeycap.a
.endif
-# the -Lfoo could be omitted if libkeycap.a were installed before
-# making those programs here
-
-DPADD = ${LIBDESTDIR}/libkeycap.a
-LDADD = -L${LIBDESTDIR} -lkeycap
+DPADD= ${LIBKEYCAP}
+LDADD= ${LIBKEYCAP}
.include <bsd.prog.mk>
OpenPOWER on IntegriCloud