root/gs2-extensions/gnome-lib/trunk/src/packages/CASCADE-MAKE/LIBPNG.sh @ 32972

Revision 32972, 0.8 KB (checked in by ak19, 18 months ago)

Experimental change to see if generating libpng.a without libpng.so produces fully statically linked wvware binaries.

  • Property svn:executable set to *
Line 
1#!/bin/bash
2
3package=libpng
4version=-1.5.0
5
6progname=$0
7
8source ../cascade-make/lib/cascade-lib.bash GEXTGNOME ../.. $*
9
10prefix=$GEXTGNOME_INSTALLED
11
12export CFLAGS="$CFLAGS -I$GEXTGNOME_INSTALLED/include"
13export CPPFLAGS="$CPPFLAGS -I$GEXTGNOME_INSTALLED/include"
14export CXXFLAGS="$CXXFLAGS -I$GEXTGNOME_INSTALLED/include"
15export LDFLAGS="$LDFLAGS -L$GEXTGNOME_INSTALLED/lib"
16
17echo GSDLOS = $GSDLOS
18
19if [ $GSDLOS != "darwin" ] ; then
20
21opt_run_untar $force_untar $auto_untar $package $version
22opt_run_configure $force_config $auto_config $package $version $prefix --enable-static --disable-shared
23
24opt_run_make $compile $package $version
25opt_run_make $install $package $version "install"
26opt_run_make $clean $package $version "clean"
27opt_run_make $distclean $package $version "distclean"
28
29opt_run_tarclean $tarclean $package $version
30
31fi
Note: See TracBrowser for help on using the browser.