source: gs2-extensions/xpdf-tools/trunk/src/devel.bash@ 32227

Last change on this file since 32227 was 32227, checked in by ak19, 6 years ago

First attempt at compiling up xpdf-tools and the cmake that it needs. Haven't yet tried compiling against the FreeType, libpng and zlib libraries needed for xpdf-tools, but at present the compile sequence runs successfully to completion and generates the binaries in the trunk/src/linux/bin folder.

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