source: main/trunk/greenstone2/runtime-src/packages/security/CASCADE-MAKE/OWASPCPP.sh@ 28866

Last change on this file since 28866 was 28866, checked in by ak19, 10 years ago

Replacing owasp-esapi-for-c package and dependencies with the owasp-esapi-for-c++ package and dependencies. Part 2.

  • Property svn:executable set to *
File size: 444 bytes
Line 
1#!/bin/bash
2
3cd $securitydir/$compiledir
4
5# If doing a make clean or distclean
6if [ "x$1" != "x" ]; then
7 make -f GNUmakefile $*
8 exit 0
9fi
10
11# else, make and make install
12cxxflags="-I$installdir -I$installdir/include"
13ldflags="-L$installdir/lib"
14
15CXXFLAGS=$cxxflags LDFLAGS=$ldflags prefix=$installdir make -f GNUmakefile static
16CXXFLAGS=$cxxflags LDFLAGS=$ldflags prefix=$installdir make -f GNUmakefile install static
17
18
19cd $securitydir
Note: See TracBrowser for help on using the repository browser.