blob: 54d3e8ede599d51c2223e45efd1cdc735a0b94ab (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
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
|