source: gs3-extensions/audioDB/trunk/src/devel.bash@ 24325

Last change on this file since 24325 was 24311, checked in by davidb, 12 years ago

Supporting packages for audioDB

  • Property svn:executable set to *
File size: 894 bytes
Line 
1#!/bin/bash
2
3if [ -d cascade-make ] ; then
4 source cascade-make/lib/cascade-lib.bash GEXT_AUDIODB . $*
5fi
6
7if [ -z $GEXT_AUDIODB ] ; then
8 source setup.bash
9fi
10
11if [ -z $GEXTAUDIODB_DEVEL ] ; then
12 # Set environment variable so we can tell devel.bash has been sourced
13 export GEXTAUDIODB_DEVEL=$GEXT_AUDIODB
14
15 export PATH="$GEXTAUDIODB_INSTALLED/bin:$PATH"
16 export CFLAGS="-I$GEXTAUDIODB_INSTALLED/include $CFLAGS"
17 export CPPFLAGS="-I$GEXTAUDIODB_INSTALLED/include $CPPFLAGS"
18 export CXXFLAGS="-I$GEXTAUDIODB_INSTALLED/include $CXXFLAGS"
19 export LDFLAGS="-L$GEXTAUDIODB_INSTALLED/lib $LDFLAGS"
20 export PKG_CONFIG_PATH="$GEXTAUDIODB_INSTALLED/lib/pkgconfig:$PKG_CONFIG_PATH"
21
22 echo "+Your environment is now setup to compile with the audioDB Support Library"
23
24else
25 echo "+Your environment is already setup to compile with the audioDB Support Library"
26fi
Note: See TracBrowser for help on using the repository browser.