mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-11-16 15:44:04 +01:00
Look conditionally in obj/ for mktoasc.
This commit is contained in:
parent
153ee7bd86
commit
0cef8c965e
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=15567
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user