The R Project SVN R

Rev

Rev 20534 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 20534 Rev 23868
Line 2... Line 2...
2
#
2
#
3
# ${R_HOME}/bin/SHLIB
3
# ${R_HOME}/bin/SHLIB
4
 
4
 
5
# @configure_input@
5
# @configure_input@
6
 
6
 
7
revision='$Revision: 1.27 $'
7
revision='$Revision: 1.28 $'
8
version=`set - ${revision}; echo ${2}`
8
version=`set - ${revision}; echo ${2}`
9
version="R shared library builder ${version}
9
version="R shared library builder ${version}
10
 
10
 
11
Copyright (C) 2000 The R Core Development Team.
11
Copyright (C) 2000-2003 The R Core Development Team.
12
This is free software; see the GNU General Public Licence version 2
12
This is free software; see the GNU General Public Licence version 2
13
or later for copying conditions.  There is NO warranty."
13
or later for copying conditions.  There is NO warranty."
14
 
14
 
15
usage="Usage: R CMD SHLIB [options] files
15
usage="Usage: R CMD SHLIB [options] files
16
 
16
 
Line 90... Line 90...
90
  else
90
  else
91
    makeargs="${makeargs} SHLIB_LIBADD='\$(FLIBS) ${shlib_libadd}'"
91
    makeargs="${makeargs} SHLIB_LIBADD='\$(FLIBS) ${shlib_libadd}'"
92
  fi
92
  fi
93
fi
93
fi
94
 
94
 
95
if test -f ${R_HOME}/bin/libR@SHLIB_EXT@; then
95
if test -f ${R_HOME}/bin/libR@DYLIB_EXT@; then
96
  LIBR="-L${R_HOME}/bin -lR"
96
  LIBR="-L${R_HOME}/bin -lR"
97
else
97
else
98
  LIBR=
98
  LIBR=
99
fi
99
fi
100
makeargs="${makeargs} LIBR=\"${LIBR}\""
100
makeargs="${makeargs} LIBR=\"${LIBR}\""