diff options
| author | Manuel Traut <manut@mecka.net> | 2012-05-30 11:57:57 +0200 |
|---|---|---|
| committer | Manuel Traut <manut@mecka.net> | 2012-05-30 11:57:57 +0200 |
| commit | 853760b6af8b189ec7181069efc94ae243a04fad (patch) | |
| tree | d374f76221d3bca0fbbb871b32a1923cedd0a849 | |
| parent | ebad692ca114ae9d9017f3a3d39fabf2d33bd26e (diff) | |
add buildscript for acetao
- building acetao is highly configurable.
- for the use with distributed-io we can strip it further done (TODO)
Signed-off-by: Manuel Traut <manut@mecka.net>
| -rwxr-xr-x | deps/build-acetao.sh | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/deps/build-acetao.sh b/deps/build-acetao.sh new file mode 100755 index 0000000..54d3e8e --- /dev/null +++ b/deps/build-acetao.sh @@ -0,0 +1,33 @@ +#!/bin/bash + +cd acetao +cp bin/MakeProjectCreator/modules/* ../MPC/modules/ + +ACE_ROOT=`pwd` +MPC_ROOT=`pwd`/../MPC +LD_LIBRARY_PATH=$ACE_ROOT/lib:$LD_LIBRARY_PATH + +export ACE_ROOT=$ACE_ROOT +export TAO_ROOT=$TAO_ROOT + +echo '#include "ace/config-linux.h"' > ace/config.h +echo include $ACE_ROOT/include/makeinclude/platform_linux.GNU > \ + include/makeinclude/platform_macros.GNU +echo "INSTALL_PREFIX = /usr" >> include/makeinclude/platform_macros.GNU +echo "LDFLAGS += -fPIC" >> include/makeinclude/platform_macros.GNU +echo "CFLAGS += -fPIC" >> include/makeinclude/platform_macros.GNU +echo "CXXFLAGS += -fPIC" >> include/makeinclude/platform_macros.GNU +unlink MPC +ln -s ../MPC MPC + +unlink TAO +ln -s ../TAO TAO +TAO_ROOT=`pwd`/TAO + +echo ACE: $ACE_ROOT TAO: $TAO_ROOT + +$ACE_ROOT/bin/mwc.pl -type gnuace TAO/TAO_ACE.mwc +make -j9 +cd TAO +$ACE_ROOT/bin/mwc.pl -type gnuace TAO/TAO.mwc +make -j9 |
