Rev 3076 | Blame | Last modification | View Log | Download | RSS feed
#!/bin/sh## ${R_HOME}/bin/SHLIB# @configure_input@VERSION="0.1-2"USAGE_MSG="Usage: R SHLIB [-o lib] obj_1 ... obj_n"lib=OBJS=DEBUG=falseMAKE=${MAKE-@MAKE@}while test -n "${1}"; doif ${DEBUG}; thenecho "$0 -- DEBUG: arg = \`${1}'";ficase ${1} in-h|--help|-\?)echo "${USAGE_MSG}"; exit 0 ;;-V|--version)echo "${VERSION}"; exit 0 ;;--debug)DEBUG=true ;;-o)lib=${2}; shift ;;*.?)if test -z "${lib}"; thenlib="`echo ${1} | sed 's/\.[^\.][^\.]*$/.@SHLIBEXT@/'`"fiOBJS="${OBJS} `echo ${1} | sed 's/\.[^\.][^\.]*$/.o/'`";;esacshiftdone${MAKE} -f ${R_HOME}/etc/Makeconf SHLIB="${lib}" OBJS="${OBJS}"### Local Variables: ***### mode: sh ***### sh-indent: 2 ***### End: ***