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 /sml/trunk/src/system/makeml
ViewVC logotype

Diff of /sml/trunk/src/system/makeml

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

revision 514, Thu Dec 16 08:32:57 1999 UTC revision 515, Sun Jan 9 09:59:14 2000 UTC
# Line 1  Line 1 
1  #!/bin/sh  #!/bin/sh
2  #  #
3    
   
4  ARCH=sparc  ARCH=sparc
5  OPSYS=solaris  OPSYS=solaris
6  RUN_DIR=../../bin/.run  RUN_DIR=../../bin/.run
# Line 12  Line 11 
11  MODE=""  MODE=""
12  BOOT_DIR=""  BOOT_DIR=""
13  rebuilt=no  rebuilt=no
14    bare=no
15    
16  #  #
17  # Set CM_PATHCONFIG_DEFAULT to ../../lib/pathconfig  # Set CM_PATHCONFIG_DEFAULT to ../../lib/pathconfig
# Line 56  Line 56 
56  do  do
57    arg=$1; shift    arg=$1; shift
58    case $arg in    case $arg in
59      -bare) MODE="@SMLbare" ;;      -bare)
60            bare=yes
61            MODE="@SMLbare"
62            ;;
63      -rebuild)      -rebuild)
64        if [ "$#" = "0" ]; then        if [ "$#" = "0" ]; then
65          echo "makeml: missing argument for \"-rebuild\" option"          echo "makeml: missing argument for \"-rebuild\" option"
# Line 110  Line 113 
113      @SML*)      @SML*)
114        RUN_ARGS="$RUN_ARGS $arg"        RUN_ARGS="$RUN_ARGS $arg"
115      ;;      ;;
116      *) echo "makeml: unknown argument \"$arg\""      *)
117            echo "makeml: unknown argument \"$arg\""
118         exit 1         exit 1
119      ;;      ;;
120    esac    esac
# Line 163  Line 167 
167  # Now move the libraries, generate the pathconfig file, and delete the bootdir.  # Now move the libraries, generate the pathconfig file, and delete the bootdir.
168  #  #
169    
170    if [ $bare = no ] ; then
171  LIB_DIR=`pwd`/${HEAP_IMAGE}.lib  LIB_DIR=`pwd`/${HEAP_IMAGE}.lib
172    
173  rm -rf $LIB_DIR  rm -rf $LIB_DIR
# Line 177  Line 182 
182    
183  cd ..  cd ..
184  rm -r $BOOT_DIR  rm -r $BOOT_DIR
185    fi

Legend:
Removed from v.514  
changed lines
  Added in v.515

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