source: gs2-extensions/parallel-building/trunk/src/packages/CASCADE-MAKE/TINYXML.sh@ 24837

Last change on this file since 24837 was 24837, checked in by jmt12, 12 years ago

Make (rather time-consuming) compilation of these libraries conditional on their compiled libraries not already existing

  • Property svn:executable set to *
File size: 771 bytes
Line 
1#!/bin/bash
2
3package=tinyxml-gs
4version=-2.6.2
5
6progname=$0
7
8source ../cascade-make/lib/cascade-lib.bash GEXTPARALLELBUILDING ../.. $*
9
10prefix=$GEXTPARALLELBUILDING_INSTALLED
11
12opt_run_untar $force_untar $auto_untar $package $version
13opt_run_configure $force_config $auto_config $package $version $prefix
14
15# Only compile if necessary - we don't edit these source files.
16if [ ! -e "$GEXTPARALLELBUILDING_INSTALLED/lib/libtinyxml.a" ]
17 then
18 opt_run_make $compile $package $version
19 else
20 echo "TinyXML library already compiled => no need to recompile"
21fi
22
23opt_run_make $install $package $version "install"
24opt_run_make $clean $package $version "clean"
25opt_run_make $distclean $package $version "distclean"
26
27opt_run_tarclean $tarclean $package $version
28
29
30
31
32
Note: See TracBrowser for help on using the repository browser.