all: update build scripts to fix AIX XL/C compatibility
This commit is contained in:
parent
c3c9c7b6ae
commit
4982d4ebc3
6 changed files with 35 additions and 11 deletions
|
|
@ -27,7 +27,7 @@ $PLAN9/bin/lex: $PLAN9/bin/yacc
|
|||
|
||||
# This should not be necessary.
|
||||
$PLAN9/bin/yacc: $O.yacc
|
||||
install -c $O.yacc $PLAN9/bin/yacc
|
||||
$INSTALL -c $O.yacc $PLAN9/bin/yacc
|
||||
$O.yacc: yacc.$O
|
||||
$LD -o $target $prereq
|
||||
yacc.$O: yacc.c
|
||||
|
|
|
|||
2
src/mk.AIX-power
Normal file
2
src/mk.AIX-power
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
INSTALL=installbsd
|
||||
|
||||
|
|
@ -211,5 +211,9 @@ echo cd `pwd`
|
|||
9c word.c
|
||||
9c unix.c
|
||||
9l -o o.mk arc.o archive.o bufblock.o env.o file.o graph.o job.o lex.o main.o match.o mk.o parse.o recipe.o rc.o rule.o run.o sh.o shell.o shprint.o symtab.o var.o varsub.o word.o unix.o
|
||||
install o.mk $PLAN9/bin/mk
|
||||
if [ `uname` = AIX ]; then
|
||||
installbsd o.mk $PLAN9/bin/mk
|
||||
else
|
||||
install o.mk $PLAN9/bin/mk
|
||||
fi
|
||||
cd ..
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue