aboutsummaryrefslogtreecommitdiff
path: root/unix/mkpkg.sh
blob: bf3a54764eeeb6762a2abe3c0f282e2dfe400841 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
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