From 853760b6af8b189ec7181069efc94ae243a04fad Mon Sep 17 00:00:00 2001 From: Manuel Traut Date: Wed, 30 May 2012 11:57:57 +0200 Subject: 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 --- deps/build-acetao.sh | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100755 deps/build-acetao.sh 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 -- cgit v1.2.3