/[cmucl]/src/tools/create-target.sh
ViewVC logotype

Diff of /src/tools/create-target.sh

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

revision 1.7.4.2 by agoncharov, Tue Mar 31 03:02:22 2009 UTC revision 1.14 by rtoy, Wed Dec 22 02:12:52 2010 UTC
# Line 26  if [ $# = 1 ]; then Line 26  if [ $# = 1 ]; then
26      # Only target directory given.  Try to deduce the lisp-variant      # Only target directory given.  Try to deduce the lisp-variant
27      TARGET_DIR="$1"      TARGET_DIR="$1"
28      case `uname -s` in      case `uname -s` in
29      SunOS) LISP_VARIANT=sun4_solaris_gcc ;;      SunOS)
30            case `uname -m` in
31              i86pc) LISP_VARIANT=x86_solaris_sunc ;;
32              sun*) LISP_VARIANT=sparc_gcc ;;
33            esac
34            ;;
35      Linux) LISP_VARIANT=x86_linux ;;      Linux) LISP_VARIANT=x86_linux ;;
36      Darwin) case `uname -m` in      Darwin) case `uname -m` in
37              ppc) LISP_VARIANT=ppc_darwin ;;              ppc) LISP_VARIANT=ppc_darwin ;;
# Line 70  if [ "$MOTIF_VARIANT" = "" ]; then Line 75  if [ "$MOTIF_VARIANT" = "" ]; then
75        NetBSD*) MOTIF_VARIANT=NetBSD ;;        NetBSD*) MOTIF_VARIANT=NetBSD ;;
76        OpenBSD*) MOTIF_VARIANT=OpenBSD ;;        OpenBSD*) MOTIF_VARIANT=OpenBSD ;;
77        *_darwin) MOTIF_VARIANT=Darwin ;;        *_darwin) MOTIF_VARIANT=Darwin ;;
78        sun4_solaris*) MOTIF_VARIANT=solaris ;;        sun4_solaris_gcc|sparc_gcc) MOTIF_VARIANT=solaris ;;
79          sun4_solaris_sunc|sparc_sunc|x86_solaris_sunc) MOTIF_VARIANT=solaris_sunc ;;
80        sun4c*) MOTIF_VARIANT=sun4c_411 ;;        sun4c*) MOTIF_VARIANT=sun4c_411 ;;
81        hp700*) MOTIF_VARIANT=hpux_cc ;;        hp700*) MOTIF_VARIANT=hpux_cc ;;
82        pmax_mach) MOTIF_VARIANT=pmax_mach ;;        pmax_mach) MOTIF_VARIANT=pmax_mach ;;
# Line 111  cat $SETENV/base-features.lisp > $TARGET Line 117  cat $SETENV/base-features.lisp > $TARGET
117  # Put in some platform specific items  # Put in some platform specific items
118  case $LISP_VARIANT in  case $LISP_VARIANT in
119    *linux*)    *linux*)
120        case $LISP_VARIANT in        gcname=":gencgc"
         *_gencgc*) gcname=":gencgc" ;;  
         *) gcname=":cgc" ;;  
       esac  
121        sed "s;@@gcname@@;$gcname;" $SETENV/linux-features.lisp >> $TARGET/setenv.lisp        sed "s;@@gcname@@;$gcname;" $SETENV/linux-features.lisp >> $TARGET/setenv.lisp
122        ;;        ;;
123    *OpenBSD*)    *OpenBSD*)
# Line 125  case $LISP_VARIANT in Line 128  case $LISP_VARIANT in
128        sed "s;@@gcname@@;$gcname;" $SETENV/openbsd-features.lisp >> $TARGET/setenv.lisp        sed "s;@@gcname@@;$gcname;" $SETENV/openbsd-features.lisp >> $TARGET/setenv.lisp
129        ;;        ;;
130    *FreeBSD*|*freebsd*)    *FreeBSD*|*freebsd*)
131          gcname=":gencgc"        gcname=":gencgc"
132          sed "s;@@gcname@@;$gcname;" $SETENV/freebsd-features.lisp >> $TARGET/setenv.lisp        sed "s;@@gcname@@;$gcname;" $SETENV/freebsd-features.lisp >> $TARGET/setenv.lisp
133        ;;        ;;
134    *solaris*)    *solaris*)
135        cat $SETENV/solaris-features.lisp >> $TARGET/setenv.lisp        cat $SETENV/solaris-features.lisp >> $TARGET/setenv.lisp

Legend:
Removed from v.1.7.4.2  
changed lines
  Added in v.1.14

  ViewVC Help
Powered by ViewVC 1.1.5