diff options
author | Ben Huntsman <BHuntsman@mail2.cu-portland.edu> | 2020-05-04 19:52:02 -0700 |
---|---|---|
committer | Russ Cox <rsc@swtch.com> | 2020-05-07 20:36:03 -0400 |
commit | 4982d4ebc3bd4924d73f2f2ad584309e9ec97435 (patch) | |
tree | 64391bc34075ce7fe5d9a2f6ad50c71f27e428c3 /src | |
parent | c3c9c7b6ae7c6a8bf9c6d040d3af89e020fd92de (diff) | |
download | plan9port-4982d4ebc3bd4924d73f2f2ad584309e9ec97435.tar.gz plan9port-4982d4ebc3bd4924d73f2f2ad584309e9ec97435.tar.bz2 plan9port-4982d4ebc3bd4924d73f2f2ad584309e9ec97435.zip |
all: update build scripts to fix AIX XL/C compatibility
Diffstat (limited to 'src')
-rw-r--r-- | src/cmd/mkfile | 2 | ||||
-rw-r--r-- | src/mk.AIX-power | 2 | ||||
-rw-r--r-- | src/mkmk.sh | 6 |
3 files changed, 8 insertions, 2 deletions
diff --git a/src/cmd/mkfile b/src/cmd/mkfile index bc8b5a0d..2d0c657e 100644 --- a/src/cmd/mkfile +++ b/src/cmd/mkfile @@ -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 diff --git a/src/mk.AIX-power b/src/mk.AIX-power new file mode 100644 index 00000000..39f8ee8a --- /dev/null +++ b/src/mk.AIX-power @@ -0,0 +1,2 @@ +INSTALL=installbsd + diff --git a/src/mkmk.sh b/src/mkmk.sh index dae87ddf..0d52d3f9 100644 --- a/src/mkmk.sh +++ b/src/mkmk.sh @@ -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 .. |