source: gs2-extensions/echoprint/trunk/src/packages/CASCADE-MAKE.sh@ 28347

Last change on this file since 28347 was 28347, checked in by davidb, 7 years ago

BZip package added to server side of compilation

  • Property svn:executable set to *
File size: 911 bytes
Line 
1#!/bin/bash
2
3source ../cascade-make/lib/cascade-lib.bash GEXT_ECHOPRINT .. $*
4
5CMAKE_LIBRARY_PATH=$GEXTECHOPRINT_INSTALLED
6LD_LIBRARY_PATH=$GEXTECHOPRINT_INSTALLED
7echo "Using CMAKE_LIBRARY_PATH:";
8echo $CMAKE_LIBRARY_PATH;
9echo "Using LD_LIBRARY_PATH:";
10echo $LD_LIBRARY_PATH;
11
12
13arg1=$1 && shift
14
15packlist="ZLIB BZIP2"
16if [ "x$arg1" != "x" ] ; then
17
18 if [ $arg1 == "client" -o $arg1 == "all" ] ; then
19 packlist="$packlist CMAKE BOOST TAGLIB"
20 elif [ $arg1 = "server" -o $arg1 = "all" ] ; then
21 packlist="$packlist TOKYO-CABINET TOKYO-TYRANT"
22 else
23 echo "Warning: Unrecognized command '$1'" >&2
24 fi
25
26else
27 echo "Usage: ./CASCADE-MADE.sh client|server|all [install|clean|distclean|tarclean]" >&2
28fi
29
30
31for d in $packlist ; do
32 echo " Running CASCADE-MAKE/$d.sh"
33
34 ./CASCADE-MAKE/$d.sh $*
35
36 if [ $? != 0 ] ; then
37 echo "Error encountered running CASCADE-MAKE/$d.sh"
38 exit 1
39 fi
40done
Note: See TracBrowser for help on using the repository browser.