diff options
Diffstat (limited to 'unix/mkpkg.sh')
-rw-r--r-- | unix/mkpkg.sh | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/unix/mkpkg.sh b/unix/mkpkg.sh new file mode 100644 index 00000000..bf3a5476 --- /dev/null +++ b/unix/mkpkg.sh @@ -0,0 +1,27 @@ +# Bootstrap the UNIX bootstrap utilities and host system interface. +# Note - the environment variables HSI_CF and HSI_FF (compile/link flags) +# are required for the bootstrap; these are defined in hlib$irafuser.csh. +# +# USAGE: `sh -x mkpkg.sh >& spool' to bootstrap the IRAF HSI. + +# Set the HSI architecture. +sh -x setarch.sh + +echo "----------------------- OS -----------------------------" +echo "+"; echo "+" +(cd os; sh -x mkpkg.sh) +echo "----------------------- F2C ----------------------------" +echo "+"; echo "+" +(cd f2c; sh -x mkpkg.sh) +echo "----------------------- BOOT ---------------------------" +echo "+"; echo "+" +(cd boot; sh -x mkpkg.sh) +#echo "----------------------- SHLIB --------------------------" +#echo "+"; echo "+" +#(cd shlib; sh -x mkpkg.sh) +echo "----------------------- GDEV ---------------------------" +(cd gdev; sh -x mkpkg.sh) + +# Install the newly created executables. +echo "install HSI executables in $host/bin.$MACH" +mv -f hlib/*.e bin.$MACH |