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

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

esapi test code expects SafeInt header file to be located inside a safeint folder in installed/include

  • Property svn:executable set to *
File size: 474 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 -I$installdir/include/safeint"
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.