summaryrefslogtreecommitdiffstats
path: root/usr.bin
diff options
context:
space:
mode:
authorjkh <jkh@FreeBSD.org>1996-05-03 03:15:58 +0000
committerjkh <jkh@FreeBSD.org>1996-05-03 03:15:58 +0000
commit3a53f501cf1bb06222b5edb9e855e31d9b5377c5 (patch)
tree30eb0e562f232b3a8aabec4aa140901a74106536 /usr.bin
parent365cd3914b6a49bf08750e724f3c3acb6b722cbe (diff)
downloadFreeBSD-src-3a53f501cf1bb06222b5edb9e855e31d9b5377c5.zip
FreeBSD-src-3a53f501cf1bb06222b5edb9e855e31d9b5377c5.tar.gz
Look conditionally in obj/ for mktoasc.
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/tn3270/mset/Makefile11
1 files changed, 8 insertions, 3 deletions
diff --git a/usr.bin/tn3270/mset/Makefile b/usr.bin/tn3270/mset/Makefile
index 753dd2f..04fb8b9 100644
--- a/usr.bin/tn3270/mset/Makefile
+++ b/usr.bin/tn3270/mset/Makefile
@@ -14,16 +14,21 @@ CLEANFILES+= astosc.OUT astosc.out
DEPSRCS+= astosc.OUT map3270.c mset.c
+.if exists(${.CURDIR}/../tools/mkastosc/obj)
+MKOBJ=${.CURDIR}/../tools/mkastosc/obj
+.else
+MKOBJ=${.CURDIR}/../tools/mkastosc
+.endif
+
astosc.o: astosc.OUT
astosc.OUT: ${.CURDIR}/../ctlr/hostctlr.h ${.CURDIR}/../ctlr/function.h
-astosc.OUT: ${.CURDIR}/../ctlr/${KBD} ${.CURDIR}/../tools/mkastosc/obj/mkastosc
- ${.CURDIR}/../tools/mkastosc/obj/mkastosc \
+astosc.OUT: ${.CURDIR}/../ctlr/${KBD} ${MKOBJ}/mkastosc ${MKOBJ}/mkastosc
${.CURDIR}/../ctlr/hostctlr.h ${.CURDIR}/../ctlr/function.h \
< ${.CURDIR}/../ctlr/${KBD} > ${.TARGET}
rm -f astosc.out; ln -s astosc.OUT astosc.out
# astosc.out
-${.CURDIR}/../tools/mkastosc/obj/mkastosc:
+${MKOBJ}/mkastosc:
cd ${.CURDIR}/../tools/mkastosc; make
depend: .depend
OpenPOWER on IntegriCloud