diff options
author | jkh <jkh@FreeBSD.org> | 1995-08-05 23:21:39 +0000 |
---|---|---|
committer | jkh <jkh@FreeBSD.org> | 1995-08-05 23:21:39 +0000 |
commit | 8d694298cad8f7b52bde0934f2f58d18accd12e6 (patch) | |
tree | 640426b480478d5257bc1b118153cd0ec6e14918 /usr.bin | |
parent | 5ec1f8dfb45af7eadf27c33ef5c1df301df43add (diff) | |
download | FreeBSD-src-8d694298cad8f7b52bde0934f2f58d18accd12e6.zip FreeBSD-src-8d694298cad8f7b52bde0934f2f58d18accd12e6.tar.gz |
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! :-)
Diffstat (limited to 'usr.bin')
-rw-r--r-- | usr.bin/tn3270/tn3270/Makefile | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/usr.bin/tn3270/tn3270/Makefile b/usr.bin/tn3270/tn3270/Makefile index 14ef945..1cba4a2 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 |