diff options
author | bde <bde@FreeBSD.org> | 1996-09-05 17:16:10 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 1996-09-05 17:16:10 +0000 |
commit | 11546f4616454e8fe6b6b85898bc2f22f9930985 (patch) | |
tree | 235e8fcbe852dee096eebfd2c176b6d10c0afa2c /usr.sbin/pcvt/kcon | |
parent | 38fd8fd26ef8cf2f925107c1267dd58f6e623be9 (diff) | |
download | FreeBSD-src-11546f4616454e8fe6b6b85898bc2f22f9930985.zip FreeBSD-src-11546f4616454e8fe6b6b85898bc2f22f9930985.tar.gz |
Fixed DPADD.
Diffstat (limited to 'usr.sbin/pcvt/kcon')
-rw-r--r-- | usr.sbin/pcvt/kcon/Makefile | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/usr.sbin/pcvt/kcon/Makefile b/usr.sbin/pcvt/kcon/Makefile index dee4f45..5b58298 100644 --- a/usr.sbin/pcvt/kcon/Makefile +++ b/usr.sbin/pcvt/kcon/Makefile @@ -2,9 +2,16 @@ PROG= kcon DEVICE= /dev/ttyv0 CFLAGS+= -I${.CURDIR}/../keycap -DKEYB_DEVICE=\"${DEVICE}\" +.if exists(${.OBJDIR}/../keycap) +LIBDESTDIR= ${.OBJDIR}/../keycap +.else +LIBDESTDIR= ${.CURDIR}/../keycap +.endif + # the -Lfoo could be omitted if libkeycap.a were installed before # making those programs here -LDADD = -L${.CURDIR}/../keycap -L${.OBJDIR}/../keycap -lkeycap +DPADD = ${LIBDESTDIR}/libkeycap.a +LDADD = -L${LIBDESTDIR} -lkeycap .include <bsd.prog.mk> |