root/gs2-extensions/gnome-lib/trunk/src/devel.bash @ 23026

Revision 23026, 0.7 KB (checked in by sjm84, 9 years ago)

Updating the gnome-lib extension to use the new folder structure

Line 
1#!/bin/bash
2
3if [ "x$GEXTGNOME" = "x" ] ; then
4    source setup.bash
5fi
6
7if [ "x$GEXTGNOME_DEVEL" = "x" ] ; then
8    # Set environment variable so we can tell devel.bash has been sourced
9    export GEXTGNOME_DEVEL=$GEXTGNOME
10   
11    export PATH="$GEXTGNOME_INSTALLED/bin:$PATH"
12    export CFLAGS="-I$GEXTGNOME_INSTALLED/include $CFLAGS"
13    export CPPFLAGS="-I$GEXTGNOME_INSTALLED/include $CPPFLAGS"
14    export CXXFLAGS="-I$GEXTGNOME_INSTALLED/include $CXXFLAGS"
15    export LDFLAGS="-L$GEXTGNOME_INSTALLED/lib $LDFLAGS"
16   
17    echo "+Your environment is now setup to compile with the Gnome Support Library"
18else
19    echo "+Your environment is already setup to compile with the Gnome Support Library"
20fi
Note: See TracBrowser for help on using the browser.