source: gs2-extensions/imagemagick/trunk/src/packages/CASCADE-MAKE/IMAGEMAGICK.sh@ 27196

Last change on this file since 27196 was 27196, checked in by ak19, 11 years ago

Imagemagick src code failed to compile on Rata when CC flags are set to use clang compiler, as this is not found. Dr Bainbridge found the change to clang had helped ensure successful compilation on different mac machines earlier, but has decided that using the default gcc may yet be the way to proceed if imagemagick successfully with this on Rata which it did.

  • Property svn:executable set to *
File size: 917 bytes
Line 
1#!/bin/bash
2
3package=ImageMagick
4version=-6.8.2-9
5
6progname=$0
7
8source ../cascade-make/lib/cascade-lib.bash GEXTIMAGEMAGICK ../.. $*
9
10prefix=$GEXTIMAGEMAGICK_INSTALLED
11
12export CFLAGS="$CFLAGS -I$GEXTIMAGEMAGICK_INSTALLED/include"
13export CPPFLAGS="$CPPFLAGS -I$GEXTIMAGEMAGICK_INSTALLED/include"
14export CXXFLAGS="$CXXFLAGS -I$GEXTIMAGEMAGICK_INSTALLED/include"
15export LDFLAGS="$LDFLAGS -L$GEXTIMAGEMAGICK_INSTALLED/lib"
16export LD_LIBRARY_PATH="$GEXTIMAGEMAGICK_INSTALLED/lib"
17
18#if [ "x$GSDLOS" = "xdarwin" ] ; then
19# CROSSCONFIGURE_VARS="CC=clang"
20#fi
21
22opt_run_untar $force_untar $auto_untar $package $version
23opt_run_configure $force_config $auto_config $package $version $prefix
24
25opt_run_make $compile $package $version
26opt_run_make $install $package $version "install"
27opt_run_make $clean $package $version "clean"
28opt_run_make $distclean $package $version "distclean"
29
30opt_run_tarclean $tarclean $package $version
Note: See TracBrowser for help on using the repository browser.