Ignore:
Timestamp:
Jun 8, 2004, 10:52:15 AM (17 years ago)
Author:
orlov
Message:
  • Improved makefiles.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • to-imperative/trunk/configure

    r1429 r1434  
    5252    shift
    5353    if [ -z "$1" ]; then help; fi
    54     gmp_inc="-I$1"
     54    gmp_inc="-I'$1'"
    5555    ;;
    5656  -gmp_lib)
    5757    shift
    5858    if [ -z "$1" ]; then help; fi
    59     gmp_lib="-L$1"
     59    gmp_lib="-L'$1'"
    6060    ;;
    6161  -wflags)
     
    207207
    208208LDFLAGS += $gmp_lib
    209 #RF_LDFLAGS += -L${main_dir}/library -L${main_dir}/runtime
    210 #RF_LDFLAGS += -L${main_dir}/libp++
    211 #RF_LDLIBS += -lrf -lrfrt -lp++ -lsupc++ -lgmp
    212209LDLIBS += -lsupc++ -lgmp
    213210EOF
    214211
     212
     213cat >rfp.sh <<EOF
     214#!/bin/bash
     215
     216[ -z "\$cxx" ] && cxx="$cxx"
     217[ -z "\$rfpc" ] && rfpc="$install_dir/bin/rfpc"
     218
     219cflags="\$cflags -I'$install_dir/include' -I'$install_dir/include/rfrt'"
     220cflags="\$cflags -I'$install_dir/include/libp++' $gmp_inc"
     221cflags="\$cflags $wflags $dflags -DALL_INLINE $oflags -c"
     222ldflags="\$ldflags -L'$install_dir/lib' $gmp_lib"
     223ldlibs="\$ldlibs -lrf -lrfrt -lp++ -lsupc++ -lgmp"
     224EOF
     225
     226cat >>rfp.sh <rfp.in
     227
Note: See TracChangeset for help on using the changeset viewer.