Home My Page Projects Code Snippets Project Openings SML/NJ
Summary Activity Forums Tracker Lists Tasks Docs Surveys News SCM Files

SCM Repository

[smlnj] Diff of /config/releases/release-110.60/install.sh
ViewVC logotype

Diff of /config/releases/release-110.60/install.sh

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 814, Tue May 1 15:44:45 2001 UTC revision 829, Mon May 14 15:30:56 2001 UTC
# Line 35  Line 35 
35  #  #
36  MAKE=make  MAKE=make
37    
38    #
39    # Make sure we don't have any unpleasant surprises due to the installing
40    # user's process environment:
41    #
42    unset CM_PATHCONFIG
43    
44  SHELL=/bin/sh  SHELL=/bin/sh
45  echo $this: Using shell $SHELL.  echo $this: Using shell $SHELL.
46    
# Line 56  Line 62 
62  SRCDIR=$ROOT/src                # where the source tree is rooted  SRCDIR=$ROOT/src                # where the source tree is rooted
63  LIBDIR=$INSTALLDIR/lib          # where libraries live  LIBDIR=$INSTALLDIR/lib          # where libraries live
64  LIBLIST=$ROOT/liblist           # list of commands to stabilize libraries  LIBLIST=$ROOT/liblist           # list of commands to stabilize libraries
65    LATESTANDALONES=$ROOT/latestandalones # standalone programs to be built late
66  LIBMOVESCRIPT=$ROOT/libmove     # a temporary script  LIBMOVESCRIPT=$ROOT/libmove     # a temporary script
67  LOCALPATHCONFIG=$INSTALLDIR/pathconfig # a temporary pathconfig file  LOCALPATHCONFIG=$INSTALLDIR/pathconfig # a temporary pathconfig file
68    
# Line 78  Line 85 
85  tmpfiles=""  tmpfiles=""
86  tmpfiles="$tmpfiles $ROOT/preloads.standard"  tmpfiles="$tmpfiles $ROOT/preloads.standard"
87  tmpfiles="$tmpfiles $LIBLIST"  tmpfiles="$tmpfiles $LIBLIST"
88    tmpfiles="$tmpfiles $LATESTANDALONES"
89  tmpfiles="$tmpfiles $LOCALPATHCONFIG"  tmpfiles="$tmpfiles $LOCALPATHCONFIG"
90  tmpfiles="$tmpfiles $LIBMOVESCRIPT"  tmpfiles="$tmpfiles $LIBMOVESCRIPT"
91  tmpfiles="$tmpfiles $PCEDITTMP"  tmpfiles="$tmpfiles $PCEDITTMP"
# Line 381  Line 389 
389          echo $this: Building $TARGET.          echo $this: Building $TARGET.
390          unpack $2 $SRCDIR $1 $1          unpack $2 $SRCDIR $1 $1
391          cd $SRCDIR/$1          cd $SRCDIR/$1
392          ./build          # build it, but make sure we don't pick up some (unrelated)
393            # local path configuration...
394            CM_LOCAL_PATHCONFIG=/dev/null ./build
395          if [ -r $TARGETLOC ] ; then          if [ -r $TARGETLOC ] ; then
396              mv $TARGETLOC $HEAPDIR/$TARGET              mv $TARGETLOC $HEAPDIR/$TARGET
397              if [ ! -f $BINDIR/$1 ] ; then              if [ ! -f $BINDIR/$1 ] ; then
# Line 594  Line 604 
604          standalone ml-burg ML-Burg          standalone ml-burg ML-Burg
605          echo ml-burg $TOOLDIR >>$CM_PATHCONFIG_DEFAULT          echo ml-burg $TOOLDIR >>$CM_PATHCONFIG_DEFAULT
606          ;;          ;;
607          ml-nlffigen)
608            echo standalone ml-nlffigen ML-NLFFI-Gen >>$LATESTANDALONES
609            echo ml-nlffigen $TOOLDIR >>$CM_PATHCONFIG_DEFAULT
610            ;;
611        smlnj-lib)        smlnj-lib)
612          unpack "SML/NJ Library" $SRCDIR smlnj-lib smlnj-lib          unpack "SML/NJ Library" $SRCDIR smlnj-lib smlnj-lib
613    
# Line 627  Line 641 
641          unpack EXene $SRCDIR eXene eXene          unpack EXene $SRCDIR eXene eXene
642          reglib eXene.cm eXene          reglib eXene.cm eXene
643          ;;          ;;
644          ckit)
645            unpack "C-Kit" $ROOT ckit ckit
646            reglib ckit-lib.cm ../ckit/src
647            ;;
648          ml-nlffi-lib)
649            unpack "NLFFI Library" $SRCDIR ml-nlffi-lib ml-nlffi-lib
650            reglib memory.cm ml-nlffi-lib/memory
651            reglib c-int.cm ml-nlffi-lib/internals
652            reglib c.cm ml-nlffi-lib
653            ;;
654        doc)        doc)
655          unpack Doc $ROOT doc doc          unpack Doc $ROOT doc doc
656          cd $ROOT/doc          cd $ROOT/doc
# Line 663  Line 687 
687  fi  fi
688    
689  #  #
690    # Build "late" standalone programs (i.e., those that must be built
691    # after libraries are already in place):
692    #
693    
694    if [ -r $LATESTANDALONES ] ; then
695        echo $this: Building late standalone programs.
696        . $LATESTANDALONES
697    fi
698    
699    #
700  # Finally, remove duplicate entries from pathconfig file...  # Finally, remove duplicate entries from pathconfig file...
701  #  #
702  if [ -f $CM_PATHCONFIG_DEFAULT ] ; then  if [ -f $CM_PATHCONFIG_DEFAULT ] ; then

Legend:
Removed from v.814  
changed lines
  Added in v.829

root@smlnj-gforge.cs.uchicago.edu
ViewVC Help
Powered by ViewVC 1.0.0