Reference to obj dir hardcoded in this file replaced with

a more intelligent macro.  I hate the obj link mechanism, I tell you, I hate
it! :-)
This commit is contained in:
Jordan K. Hubbard 1995-08-05 23:21:39 +00:00
parent 76f9ae3bfe
commit 0d189a30f2
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=9945

View File

@ -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