aboutsummaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorJordan K. Hubbard <jkh@FreeBSD.org>1995-08-05 23:21:39 +0000
committerJordan K. Hubbard <jkh@FreeBSD.org>1995-08-05 23:21:39 +0000
commit0d189a30f2f7458b3de6a35f705ed903e35acfc6 (patch)
tree640426b480478d5257bc1b118153cd0ec6e14918 /usr.bin
parent76f9ae3bfe950530725b4dcca37d9e466c103486 (diff)
Notes
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/tn3270/tn3270/Makefile12
1 files changed, 9 insertions, 3 deletions
diff --git a/usr.bin/tn3270/tn3270/Makefile b/usr.bin/tn3270/tn3270/Makefile
index 14ef94541597d..1cba4a284128f 100644
--- a/usr.bin/tn3270/tn3270/Makefile
+++ b/usr.bin/tn3270/tn3270/Makefile
@@ -30,11 +30,17 @@ DEPSRCS+= genbsubs.c globals.c system.c termout.c
DEPSRCS+= commands.c main.c network.c ring.c sys_bsd.c telnet.c terminal.c
DEPSRCS+= tn3270.c utilities.c
+.if exists(${.CURDIR}/../tools/mkastosc/obj)
+MKASTOSCDIR= ${.CURDIR}/../tools/mkastosc/obj
+.else
+MKASTOSCDIR= ${.CURDIR}/../tools/mkastosc
+.endif
+
astosc.o: astosc.OUT
CLEANFILES+= astosc.OUT 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} ${MKASTOSCDIR}/mkastosc
+ ${MKASTOSCDIR}/mkastosc \
${.CURDIR}/../ctlr/hostctlr.h \
${.CURDIR}/../ctlr/function.h < ${.CURDIR}/../ctlr/${KBD} \
> ${.TARGET}
@@ -63,7 +69,7 @@ kbd.OUT: ${.CURDIR}/../tools/mkhits/obj/mkhits
# default.map
# kbd.out
-${.CURDIR}/../tools/mkastosc/obj/mkastosc:
+${MKASTOSCDIR}/mkastosc:
cd ${.CURDIR}/../tools/mkastosc; make
${.CURDIR}/../tools/mkastods/obj/mkastods:
cd ${.CURDIR}/../tools/mkastods; make