#!/bin/sh # /***************************************************************/ # /* */ # /* alzam libsql modu */ # /* */ # /***************************************************************/ # LIBSQL_NAME="libsql" # // allow alzam to use this module : uncomment it if you wish alzam use it! # ALZAM_MODULES="$ALZAM_MODULES libsql" # // env. for lib sql LIBSQL_SRC_PATH="$WORK_PATH/""$LIBSQL_NAME""$SCOL_VERSION" LIBSQL_SHARED_LIB="$LIBSQL_NAME""$SCOL_VERSION""$SCOL_RELEASE"".so" # // module implementation function libsql_setFlags () { LIBSQL_CFLAGS="-pipe -I $USM_SRC_PATH" LIBSQL_LFLAGS=" " } function libsql () { libsql_setFlags; CFLAGS="$LIBSQL_CFLAGS" LFLAGS="$LIBSQL_LFLAGS" SRC_PATH="$LIBSQL_SRC_PATH" TARGET_PATH="$LIBSQL_SRC_PATH" TARGET_SCOL_PATH="$SCOL_PLUGINS_PATH" TARGET_MAKE="gcc -shared" TARGET="$LIBSQL_SHARED_LIB" }