#
# This is the "link.sh" for the Oracle CLISP module
#

${MAKE-make} clisp-module \
  CC="${CC}" CPPFLAGS="${CPPFLAGS}" CFLAGS="${CFLAGS}" \
  CLISP_LINKKIT="$absolute_linkkitdir" CLISP="${CLISP}"

NEW_FILES="oracle.o oiface.o orafns.o"

# Get additional libs for Oracle client.  This may be
# system specific and require some tweaking.
NEW_LIBS="${NEW_FILES} -L ${ORACLE_HOME}/lib -lclntsh -ldl -lpthread -lm"

NEW_MODULES="oracle"
TO_LOAD="oracle"

