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

Last change on this file since 26625 was 26625, checked in by davidb, 9 years ago

Cross-compilation support added (mingw under Linux)

  • Property svn:executable set to *
File size: 853 bytes
Line 
1#!/bin/bash
2
3source ../cascade-make/lib/cascade-lib.bash GEXTGNOME .. $*
4
5if [ "x$CROSSCONFIGURE_ARGS" = "x" ] ; then
6 # regular compile for host machine
7
8 pkglist="LIBZ LIBBZ2 EXPAT LIBPNG READLINE XMLPARSER INTLTOOL GETTEXT PKG-CONFIG LIBXML GLIB LIBGSF"
9else
10 pkglist="LIBZ LIBBZ2 EXPAT LIBPNG READLINE INTLTOOL LIBICONV GETTEXT LIBXML GLIB LIBGSF"
11fi
12
13for d in $pkglist; do
14
15 echo " Running CASCADE-MAKE/$d.sh"
16
17 ./CASCADE-MAKE/$d.sh $*
18
19 if [ $? != 0 ] ; then
20 echo "Error encountered running CASCADE-MAKE/$d.sh"
21 exit 1
22 fi
23done
24
25if [ $install = "1" ] ; then
26 touch "$GEXTGNOME_INSTALLED/lib/pkgconfig/.fixed-prefix.awk"
27fi
28
29if [ $makedist = "1" ] ; then
30 rm -f "$GEXTGNOME_INSTALLED/lib/pkgconfig/.fixed-prefix.awk"
31 lalist=`find $GEXTGNOME_INSTALLED/lib -name "*.la"`
32 if [ -n "$lalist" ] ; then
33 rm -f $lalist
34 fi
35fi
Note: See TracBrowser for help on using the repository browser.