Files
harbour-core/harbour/contrib/hbfimage/make_gcc.sh
Marek Paliwoda 2c7e7230c8 2008-02-15 09:47 UTC+0100 Marek Paliwoda (mpaliwoda at interia pl)
* harbour/contrib/hbfimage/make_gcc.sh
    ! Fixed CFLAGS settings from a proper FREEIMAGE_INC envvar

  * harbour/contrib/hbziparch/make_vc.bat
    ! Disabled warnings about functions considered "depreciated" by MS

  * harbour/contrib/mtpl_gcc.mak
  * harbour/contrib/mtpl_gcc.sh
    ! Fixed HB_ARCHITECTIRE, CC and LD envvar settings

  * harbour/contrib/mtpl_vc.mak
    ! Forced CPP mode compilation for a ".cpp.obj" rule
2008-02-15 08:47:48 +00:00

25 lines
664 B
Bash
Executable File

#!/bin/sh
#
# $Id$
#
if [ "${FREEIMAGE_INC}" == "" ]
then
echo "---------------------------------------------------------------"
echo "IMPORTANT: You will need FreeImage package installed and this"
echo " envvar to be set to successfully build this library:"
echo " export FREEIMAGE_INC=C:/FreeImage/source"
echo " or"
echo " export FREEIMAGE_INC=/usr/include/freeimage"
echo "---------------------------------------------------------------"
exit 1
fi
export CFLAGS=""
for I in ${FREEIMAGE_INC}; do
CFLAGS="${CFLAGS} -I${I}"
done
../mtpl_gcc.sh $1 $2 $3 $4 $5 $6 $7 $8 $9
unset CFLAGS