export CWD=`pwd`
mkdir -p $CWD/debian/tmp
export CTN_TARGET=$CWD/debian/tmp
export DICOM_ROOT=$CWD
export DICOM_BIN=$CTN_TARGET/bin
export DICOM_LIB=$DICOM_ROOT/lib/ctn-mysql
export DICOM_LIBSRC=$DICOM_ROOT/libsrc
export DICOM_INCLUDE=$DICOM_ROOT/include 
export DICOM_MAKE=$DICOM_ROOT/debian/ctnmake.debian.mysql.options.full

export MYSQL_LIB=/usr/lib
export MYSQL_INCLUDE=/usr/include/mysql

gcc debian/test-endian.c -o debian/test-endian
export TEST_ENDIAN=`./debian/test-endian`
rm debian/test-endian
echo "TEST_ENDIAN: $TEST_ENDIAN" 
#export ARCHITECTURE=LITTLE_ENDIAN_ARCHITECTURE
export ARCHITECTURE=$TEST_ENDIAN

export OS=LINUX
export CC=gcc
export XCC=gcc
export DBLINK=gcc
export INSTALL=install
export INSTALLUID="install -m 4775"
export INSTALLINCLUDE="install -c -m 444 "
export CI="echo Use ci on a sun"
export CO="echo Use co on a sun"
export INDENT="Use indent on a sun"
export LINTOPTIONS=$DICOM_ROOT/lint/minimal.lnt
export RANLIB=ranlib
export LEX=flex

