* 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
25 lines
664 B
Bash
Executable File
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
|