source: gs2-extensions/gnome-lib/trunk/src/packages/CASCADE-MAKE/GLIB.sh@ 23026

Last change on this file since 23026 was 22943, checked in by sjm84, 14 years ago

Several parts of the gnome-lib are no longer statically complied on Mac

  • Property svn:executable set to *
File size: 870 bytes
Line 
1#!/bin/bash
2
3package=glib
4version=-2.24.2
5
6progname=$0
7
8source ../cascade-make/lib/cascade-lib.bash
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
17opt_run_untar $force_untar $auto_untar $package $version
18if [ "$GSDLOS" = "darwin" ] ; then
19 opt_run_configure $force_config $auto_config $package $version $prefix
20else
21 opt_run_configure $force_config $auto_config $package $version $prefix --enable-static --disable-shared
22fi
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
Note: See TracBrowser for help on using the repository browser.