bakeconf.xml
author Hajime Tazaki <tazaki@nict.go.jp>
Tue, 26 Mar 2013 19:26:15 +0900
changeset 167 739d70ae5e53
parent 166 383536a8c68f
child 168 4e8765f518d1
permissions -rw-r--r--
Bug 1610 - bake should check for libpcap-dev before building ccnx
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
67
1d85f4b247f3 Update on the unit test
Daniel Camara <daniel.camara@inria.fr>
parents:
diff changeset
     1
<configuration>
1d85f4b247f3 Update on the unit test
Daniel Camara <daniel.camara@inria.fr>
parents:
diff changeset
     2
  <modules>
1d85f4b247f3 Update on the unit test
Daniel Camara <daniel.camara@inria.fr>
parents:
diff changeset
     3
94
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
     4
    <module name="dce-ns3">
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
     5
      <source type="mercurial">
149
240a51b3466f change ns-3-dce source, add ccnx/iperf for dce-linux
Hajime Tazaki <tazaki@nict.go.jp>
parents: 145
diff changeset
     6
	<attribute name="url" value="http://code.nsnam.org/ns-3-dce"/>
94
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
     7
 	<attribute name="module_directory" value="dce"/>
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
     8
      </source>
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
     9
       <depends_on name="ns-3-dev-dce" optional="False"/>
145
b5a6ad566c40 Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents: 144
diff changeset
    10
       <depends_on name="elf-loader" optional="False"/>
117
0a5182f04b00 DCE tutorial changes
daniel
parents: 115
diff changeset
    11
       <depends_on name="iperf" optional="True"/>
123
51268e619149 Config file for DCE with ccnx
daniel
parents: 122
diff changeset
    12
       <depends_on name="ccnx" optional="True"/>
155
95e97e9298cc wget and thttpd added, for DCE
daniel
parents: 152
diff changeset
    13
       <depends_on name="wget" optional="True"/>
95e97e9298cc wget and thttpd added, for DCE
daniel
parents: 152
diff changeset
    14
       <depends_on name="thttpd" optional="True"/>
94
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
    15
      <build type="waf" objdir="build">
145
b5a6ad566c40 Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents: 144
diff changeset
    16
	<attribute name="configure_arguments" value="configure --with-ns3=$INSTALLDIR --with-elf-loader=$INSTALLDIR/lib --prefix=$INSTALLDIR"/>
150
d0ee485ade65 Bug 1593 - support DCE sub-module under myscripts directory
Hajime Tazaki <tazaki@nict.go.jp>
parents: 149
diff changeset
    17
	<!-- attribute name="post_installation" value="cd $SRCDIR; ./test.py" -->
94
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
    18
     </build>
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
    19
    </module>
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
    20
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
    21
    <module name="dce-linux">
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
    22
      <source type="mercurial">
149
240a51b3466f change ns-3-dce source, add ccnx/iperf for dce-linux
Hajime Tazaki <tazaki@nict.go.jp>
parents: 145
diff changeset
    23
	<attribute name="url" value="http://code.nsnam.org/ns-3-dce"/>
94
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
    24
 	<attribute name="module_directory" value="dce"/>
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
    25
     </source>
145
b5a6ad566c40 Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents: 144
diff changeset
    26
       <depends_on name="elf-loader" optional="False"/>
158
877c6c57c249 Obsolete ns-3-linux with net-next-sim repository
Hajime Tazaki <tazaki@nict.go.jp>
parents: 157
diff changeset
    27
       <depends_on name="net-next-sim-2.6.36" optional="False"/>
145
b5a6ad566c40 Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents: 144
diff changeset
    28
       <depends_on name="iproute" optional="False"/>
149
240a51b3466f change ns-3-dce source, add ccnx/iperf for dce-linux
Hajime Tazaki <tazaki@nict.go.jp>
parents: 145
diff changeset
    29
       <depends_on name="iperf" optional="True"/>
240a51b3466f change ns-3-dce source, add ccnx/iperf for dce-linux
Hajime Tazaki <tazaki@nict.go.jp>
parents: 145
diff changeset
    30
       <depends_on name="ccnx" optional="True"/>
155
95e97e9298cc wget and thttpd added, for DCE
daniel
parents: 152
diff changeset
    31
       <depends_on name="wget" optional="True"/>
95e97e9298cc wget and thttpd added, for DCE
daniel
parents: 152
diff changeset
    32
       <depends_on name="thttpd" optional="True"/>
94
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
    33
       <depends_on name="ns-3-dev-dce" optional="False"/>
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
    34
      <build type="waf" objdir="yes" sourcedir="dce">
158
877c6c57c249 Obsolete ns-3-linux with net-next-sim repository
Hajime Tazaki <tazaki@nict.go.jp>
parents: 157
diff changeset
    35
	<attribute name="configure_arguments" value="configure --prefix=$INSTALLDIR --with-ns3=$INSTALLDIR --with-elf-loader=$INSTALLDIR/lib --enable-kernel-stack=$SRCDIR/../net-next-sim-2.6.36/arch"/>
150
d0ee485ade65 Bug 1593 - support DCE sub-module under myscripts directory
Hajime Tazaki <tazaki@nict.go.jp>
parents: 149
diff changeset
    36
	<!-- attribute name="post_installation" value="cd $SRCDIR; ./test.py"/ -->
94
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
    37
      </build>
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
    38
    </module>
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
    39
165
407ac88340c5 add dce-linux-gcov for coverage test
Hajime Tazaki <tazaki@nict.go.jp>
parents: 163
diff changeset
    40
    <module name="dce-linux-gcov">
407ac88340c5 add dce-linux-gcov for coverage test
Hajime Tazaki <tazaki@nict.go.jp>
parents: 163
diff changeset
    41
      <source type="mercurial">
407ac88340c5 add dce-linux-gcov for coverage test
Hajime Tazaki <tazaki@nict.go.jp>
parents: 163
diff changeset
    42
	<attribute name="url" value="http://code.nsnam.org/ns-3-dce"/>
407ac88340c5 add dce-linux-gcov for coverage test
Hajime Tazaki <tazaki@nict.go.jp>
parents: 163
diff changeset
    43
 	<attribute name="module_directory" value="dce"/>
407ac88340c5 add dce-linux-gcov for coverage test
Hajime Tazaki <tazaki@nict.go.jp>
parents: 163
diff changeset
    44
     </source>
407ac88340c5 add dce-linux-gcov for coverage test
Hajime Tazaki <tazaki@nict.go.jp>
parents: 163
diff changeset
    45
       <depends_on name="elf-loader" optional="False"/>
407ac88340c5 add dce-linux-gcov for coverage test
Hajime Tazaki <tazaki@nict.go.jp>
parents: 163
diff changeset
    46
       <depends_on name="net-next-sim-2.6.36" optional="False"/>
407ac88340c5 add dce-linux-gcov for coverage test
Hajime Tazaki <tazaki@nict.go.jp>
parents: 163
diff changeset
    47
       <depends_on name="iproute" optional="False"/>
407ac88340c5 add dce-linux-gcov for coverage test
Hajime Tazaki <tazaki@nict.go.jp>
parents: 163
diff changeset
    48
       <depends_on name="iperf" optional="True"/>
407ac88340c5 add dce-linux-gcov for coverage test
Hajime Tazaki <tazaki@nict.go.jp>
parents: 163
diff changeset
    49
       <depends_on name="ccnx" optional="True"/>
407ac88340c5 add dce-linux-gcov for coverage test
Hajime Tazaki <tazaki@nict.go.jp>
parents: 163
diff changeset
    50
       <depends_on name="wget" optional="True"/>
407ac88340c5 add dce-linux-gcov for coverage test
Hajime Tazaki <tazaki@nict.go.jp>
parents: 163
diff changeset
    51
       <depends_on name="thttpd" optional="True"/>
407ac88340c5 add dce-linux-gcov for coverage test
Hajime Tazaki <tazaki@nict.go.jp>
parents: 163
diff changeset
    52
       <depends_on name="dce-quagga" optional="False"/>
407ac88340c5 add dce-linux-gcov for coverage test
Hajime Tazaki <tazaki@nict.go.jp>
parents: 163
diff changeset
    53
       <depends_on name="dce-umip" optional="False"/>
407ac88340c5 add dce-linux-gcov for coverage test
Hajime Tazaki <tazaki@nict.go.jp>
parents: 163
diff changeset
    54
       <depends_on name="ns-3-dev-dce" optional="False"/>
407ac88340c5 add dce-linux-gcov for coverage test
Hajime Tazaki <tazaki@nict.go.jp>
parents: 163
diff changeset
    55
      <build type="waf" objdir="yes" sourcedir="dce">
407ac88340c5 add dce-linux-gcov for coverage test
Hajime Tazaki <tazaki@nict.go.jp>
parents: 163
diff changeset
    56
	<attribute name="configure_arguments" value="configure --prefix=$INSTALLDIR --with-ns3=$INSTALLDIR --with-elf-loader=$INSTALLDIR/lib --enable-kernel-stack=$SRCDIR/../net-next-sim-2.6.36/arch --enable-gcov"/>
407ac88340c5 add dce-linux-gcov for coverage test
Hajime Tazaki <tazaki@nict.go.jp>
parents: 163
diff changeset
    57
      </build>
407ac88340c5 add dce-linux-gcov for coverage test
Hajime Tazaki <tazaki@nict.go.jp>
parents: 163
diff changeset
    58
    </module>
407ac88340c5 add dce-linux-gcov for coverage test
Hajime Tazaki <tazaki@nict.go.jp>
parents: 163
diff changeset
    59
167
739d70ae5e53 Bug 1610 - bake should check for libpcap-dev before building ccnx
Hajime Tazaki <tazaki@nict.go.jp>
parents: 166
diff changeset
    60
    <module name="libpcap-dev">
739d70ae5e53 Bug 1610 - bake should check for libpcap-dev before building ccnx
Hajime Tazaki <tazaki@nict.go.jp>
parents: 166
diff changeset
    61
      <source type="system_dependency">
739d70ae5e53 Bug 1610 - bake should check for libpcap-dev before building ccnx
Hajime Tazaki <tazaki@nict.go.jp>
parents: 166
diff changeset
    62
        <attribute name="dependency_test" value="pcap.h"/>
739d70ae5e53 Bug 1610 - bake should check for libpcap-dev before building ccnx
Hajime Tazaki <tazaki@nict.go.jp>
parents: 166
diff changeset
    63
        <attribute name="try_to_install" value="True"/>
739d70ae5e53 Bug 1610 - bake should check for libpcap-dev before building ccnx
Hajime Tazaki <tazaki@nict.go.jp>
parents: 166
diff changeset
    64
        <attribute name="name_apt-get" value="libpcap-dev"/>
739d70ae5e53 Bug 1610 - bake should check for libpcap-dev before building ccnx
Hajime Tazaki <tazaki@nict.go.jp>
parents: 166
diff changeset
    65
        <attribute name="name_yum" value="libpcap-devel"/>
739d70ae5e53 Bug 1610 - bake should check for libpcap-dev before building ccnx
Hajime Tazaki <tazaki@nict.go.jp>
parents: 166
diff changeset
    66
        <attribute name="more_information" value="Didn't find libpcap-dev package; please install it."/>
739d70ae5e53 Bug 1610 - bake should check for libpcap-dev before building ccnx
Hajime Tazaki <tazaki@nict.go.jp>
parents: 166
diff changeset
    67
      </source>
739d70ae5e53 Bug 1610 - bake should check for libpcap-dev before building ccnx
Hajime Tazaki <tazaki@nict.go.jp>
parents: 166
diff changeset
    68
      <build type="none" objdir="no">
739d70ae5e53 Bug 1610 - bake should check for libpcap-dev before building ccnx
Hajime Tazaki <tazaki@nict.go.jp>
parents: 166
diff changeset
    69
      </build>
739d70ae5e53 Bug 1610 - bake should check for libpcap-dev before building ccnx
Hajime Tazaki <tazaki@nict.go.jp>
parents: 166
diff changeset
    70
    </module>
739d70ae5e53 Bug 1610 - bake should check for libpcap-dev before building ccnx
Hajime Tazaki <tazaki@nict.go.jp>
parents: 166
diff changeset
    71
121
161cb0e74bb8 Config file for DCE with ccnx
daniel
parents: 117
diff changeset
    72
    <module name="ccnx">
161cb0e74bb8 Config file for DCE with ccnx
daniel
parents: 117
diff changeset
    73
      <source type="archive">
161cb0e74bb8 Config file for DCE with ccnx
daniel
parents: 117
diff changeset
    74
	<attribute name="url" value="http://www.ccnx.org/releases/ccnx-0.6.2.tar.gz"/>
161cb0e74bb8 Config file for DCE with ccnx
daniel
parents: 117
diff changeset
    75
	<attribute name="extract_directory" value="ccnx-0.6.2"/>
161cb0e74bb8 Config file for DCE with ccnx
daniel
parents: 117
diff changeset
    76
      </source>
167
739d70ae5e53 Bug 1610 - bake should check for libpcap-dev before building ccnx
Hajime Tazaki <tazaki@nict.go.jp>
parents: 166
diff changeset
    77
      <depends_on name="libpcap-dev" optional="False"/>
121
161cb0e74bb8 Config file for DCE with ccnx
daniel
parents: 117
diff changeset
    78
      <build type="make" objdir="yes">
124
8fe5ba0938c6 Fix for the configuration file and Unrecognized option
daniel
parents: 123
diff changeset
    79
	<attribute name="pre_installation" value="cd $SRCDIR;INSTALL_BASE=$INSTALLDIR ./configure;mkdir $INSTALLDIR/include;mkdir $INSTALLDIR/lib;mkdir $INSTALLDIR/bin"/>
121
161cb0e74bb8 Config file for DCE with ccnx
daniel
parents: 117
diff changeset
    80
	<attribute name="build_arguments" value="MORE_LDLIBS=-pie"/>
161cb0e74bb8 Config file for DCE with ccnx
daniel
parents: 117
diff changeset
    81
        <attribute name="new_variable" value="INSTALL_BASE=$INSTALLDIR" />
161cb0e74bb8 Config file for DCE with ccnx
daniel
parents: 117
diff changeset
    82
      </build>
161cb0e74bb8 Config file for DCE with ccnx
daniel
parents: 117
diff changeset
    83
     </module>
161cb0e74bb8 Config file for DCE with ccnx
daniel
parents: 117
diff changeset
    84
117
0a5182f04b00 DCE tutorial changes
daniel
parents: 115
diff changeset
    85
    <module name="iperf">
0a5182f04b00 DCE tutorial changes
daniel
parents: 115
diff changeset
    86
      <source type="archive">
0a5182f04b00 DCE tutorial changes
daniel
parents: 115
diff changeset
    87
	<attribute name="url" value="http://iperf.fr/download/iperf_2.0.5/iperf-2.0.5-source.tar.gz"/>
0a5182f04b00 DCE tutorial changes
daniel
parents: 115
diff changeset
    88
	<attribute name="extract_directory" value="iperf-2.0.5"/>
0a5182f04b00 DCE tutorial changes
daniel
parents: 115
diff changeset
    89
      </source>
0a5182f04b00 DCE tutorial changes
daniel
parents: 115
diff changeset
    90
      <build type="make" objdir="yes">
0a5182f04b00 DCE tutorial changes
daniel
parents: 115
diff changeset
    91
	<attribute name="pre_installation" value="cd $SRCDIR;./configure --prefix=$INSTALLDIR"/>
0a5182f04b00 DCE tutorial changes
daniel
parents: 115
diff changeset
    92
	<attribute name="patch" value="$SRCDIR/../dce/utils/iperf_4_dce.patch"/>
0a5182f04b00 DCE tutorial changes
daniel
parents: 115
diff changeset
    93
      </build>
0a5182f04b00 DCE tutorial changes
daniel
parents: 115
diff changeset
    94
     </module>
0a5182f04b00 DCE tutorial changes
daniel
parents: 115
diff changeset
    95
166
383536a8c68f Bug 1611 - bake dependency on iproute missing
Hajime Tazaki <tazaki@nict.go.jp>
parents: 165
diff changeset
    96
    <module name="libdb-dev">
383536a8c68f Bug 1611 - bake dependency on iproute missing
Hajime Tazaki <tazaki@nict.go.jp>
parents: 165
diff changeset
    97
      <source type="system_dependency">
383536a8c68f Bug 1611 - bake dependency on iproute missing
Hajime Tazaki <tazaki@nict.go.jp>
parents: 165
diff changeset
    98
        <attribute name="dependency_test" value="db_185.h"/>
383536a8c68f Bug 1611 - bake dependency on iproute missing
Hajime Tazaki <tazaki@nict.go.jp>
parents: 165
diff changeset
    99
        <attribute name="try_to_install" value="True"/>
383536a8c68f Bug 1611 - bake dependency on iproute missing
Hajime Tazaki <tazaki@nict.go.jp>
parents: 165
diff changeset
   100
        <attribute name="name_apt-get" value="libdb4.8-dev"/>
383536a8c68f Bug 1611 - bake dependency on iproute missing
Hajime Tazaki <tazaki@nict.go.jp>
parents: 165
diff changeset
   101
        <attribute name="name_yum" value="libdb-devel"/>
383536a8c68f Bug 1611 - bake dependency on iproute missing
Hajime Tazaki <tazaki@nict.go.jp>
parents: 165
diff changeset
   102
        <attribute name="more_information" value="Didn't find libdb-dev package; please install it."/>
383536a8c68f Bug 1611 - bake dependency on iproute missing
Hajime Tazaki <tazaki@nict.go.jp>
parents: 165
diff changeset
   103
      </source>
383536a8c68f Bug 1611 - bake dependency on iproute missing
Hajime Tazaki <tazaki@nict.go.jp>
parents: 165
diff changeset
   104
      <build type="none" objdir="no">
383536a8c68f Bug 1611 - bake dependency on iproute missing
Hajime Tazaki <tazaki@nict.go.jp>
parents: 165
diff changeset
   105
      </build>
383536a8c68f Bug 1611 - bake dependency on iproute missing
Hajime Tazaki <tazaki@nict.go.jp>
parents: 165
diff changeset
   106
    </module>
383536a8c68f Bug 1611 - bake dependency on iproute missing
Hajime Tazaki <tazaki@nict.go.jp>
parents: 165
diff changeset
   107
383536a8c68f Bug 1611 - bake dependency on iproute missing
Hajime Tazaki <tazaki@nict.go.jp>
parents: 165
diff changeset
   108
    <module name="bison">
383536a8c68f Bug 1611 - bake dependency on iproute missing
Hajime Tazaki <tazaki@nict.go.jp>
parents: 165
diff changeset
   109
      <source type="system_dependency">
383536a8c68f Bug 1611 - bake dependency on iproute missing
Hajime Tazaki <tazaki@nict.go.jp>
parents: 165
diff changeset
   110
        <attribute name="dependency_test" value="bison"/>
383536a8c68f Bug 1611 - bake dependency on iproute missing
Hajime Tazaki <tazaki@nict.go.jp>
parents: 165
diff changeset
   111
        <attribute name="try_to_install" value="True"/>
383536a8c68f Bug 1611 - bake dependency on iproute missing
Hajime Tazaki <tazaki@nict.go.jp>
parents: 165
diff changeset
   112
        <attribute name="name_apt-get" value="bison"/>
383536a8c68f Bug 1611 - bake dependency on iproute missing
Hajime Tazaki <tazaki@nict.go.jp>
parents: 165
diff changeset
   113
        <attribute name="name_yum" value="bison"/>
383536a8c68f Bug 1611 - bake dependency on iproute missing
Hajime Tazaki <tazaki@nict.go.jp>
parents: 165
diff changeset
   114
        <attribute name="more_information" value="The bison tool is not installed, try to install them (bison)"/>
383536a8c68f Bug 1611 - bake dependency on iproute missing
Hajime Tazaki <tazaki@nict.go.jp>
parents: 165
diff changeset
   115
      </source>
383536a8c68f Bug 1611 - bake dependency on iproute missing
Hajime Tazaki <tazaki@nict.go.jp>
parents: 165
diff changeset
   116
      <build type="none" objdir="no">
383536a8c68f Bug 1611 - bake dependency on iproute missing
Hajime Tazaki <tazaki@nict.go.jp>
parents: 165
diff changeset
   117
      </build>
383536a8c68f Bug 1611 - bake dependency on iproute missing
Hajime Tazaki <tazaki@nict.go.jp>
parents: 165
diff changeset
   118
    </module>
383536a8c68f Bug 1611 - bake dependency on iproute missing
Hajime Tazaki <tazaki@nict.go.jp>
parents: 165
diff changeset
   119
383536a8c68f Bug 1611 - bake dependency on iproute missing
Hajime Tazaki <tazaki@nict.go.jp>
parents: 165
diff changeset
   120
    <module name="flex">
383536a8c68f Bug 1611 - bake dependency on iproute missing
Hajime Tazaki <tazaki@nict.go.jp>
parents: 165
diff changeset
   121
      <source type="system_dependency">
383536a8c68f Bug 1611 - bake dependency on iproute missing
Hajime Tazaki <tazaki@nict.go.jp>
parents: 165
diff changeset
   122
        <attribute name="dependency_test" value="flex"/>
383536a8c68f Bug 1611 - bake dependency on iproute missing
Hajime Tazaki <tazaki@nict.go.jp>
parents: 165
diff changeset
   123
        <attribute name="try_to_install" value="True"/>
383536a8c68f Bug 1611 - bake dependency on iproute missing
Hajime Tazaki <tazaki@nict.go.jp>
parents: 165
diff changeset
   124
        <attribute name="sudoer_install" value="True"/>
383536a8c68f Bug 1611 - bake dependency on iproute missing
Hajime Tazaki <tazaki@nict.go.jp>
parents: 165
diff changeset
   125
        <attribute name="name_apt-get" value="flex"/>
383536a8c68f Bug 1611 - bake dependency on iproute missing
Hajime Tazaki <tazaki@nict.go.jp>
parents: 165
diff changeset
   126
        <attribute name="name_yum" value="flex"/>
383536a8c68f Bug 1611 - bake dependency on iproute missing
Hajime Tazaki <tazaki@nict.go.jp>
parents: 165
diff changeset
   127
        <attribute name="more_information" value="The flex tool is not installed, try to install them (flex)"/>
383536a8c68f Bug 1611 - bake dependency on iproute missing
Hajime Tazaki <tazaki@nict.go.jp>
parents: 165
diff changeset
   128
      </source>
383536a8c68f Bug 1611 - bake dependency on iproute missing
Hajime Tazaki <tazaki@nict.go.jp>
parents: 165
diff changeset
   129
      <build type="none" objdir="no">
383536a8c68f Bug 1611 - bake dependency on iproute missing
Hajime Tazaki <tazaki@nict.go.jp>
parents: 165
diff changeset
   130
      </build>
383536a8c68f Bug 1611 - bake dependency on iproute missing
Hajime Tazaki <tazaki@nict.go.jp>
parents: 165
diff changeset
   131
    </module>
383536a8c68f Bug 1611 - bake dependency on iproute missing
Hajime Tazaki <tazaki@nict.go.jp>
parents: 165
diff changeset
   132
117
0a5182f04b00 DCE tutorial changes
daniel
parents: 115
diff changeset
   133
     <module name="iproute">
67
1d85f4b247f3 Update on the unit test
Daniel Camara <daniel.camara@inria.fr>
parents:
diff changeset
   134
      <source type="archive">
94
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
   135
	<attribute name="url" value="http://www.linuxgrill.com/anonymous/iproute2/NEW-OSDL/iproute2-2.6.38.tar.bz2"/>
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
   136
      </source>
166
383536a8c68f Bug 1611 - bake dependency on iproute missing
Hajime Tazaki <tazaki@nict.go.jp>
parents: 165
diff changeset
   137
      <depends_on name="libdb-dev" optional="False"/>
383536a8c68f Bug 1611 - bake dependency on iproute missing
Hajime Tazaki <tazaki@nict.go.jp>
parents: 165
diff changeset
   138
      <depends_on name="bison" optional="False"/>
383536a8c68f Bug 1611 - bake dependency on iproute missing
Hajime Tazaki <tazaki@nict.go.jp>
parents: 165
diff changeset
   139
      <depends_on name="flex" optional="False"/>
94
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
   140
      <build type="make" objdir="yes">
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
   141
	<attribute name="pre_installation" value="$SRCDIR/configure"/>
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
   142
	<attribute name="LDFLAGS" value="-pie"/>
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
   143
	<attribute name="ignore_predefined_flags" value="True"/>
145
b5a6ad566c40 Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents: 144
diff changeset
   144
         <attribute name="install_arguments" value="DESTDIR=$INSTALLDIR" />
b5a6ad566c40 Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents: 144
diff changeset
   145
	<attribute name="build_arguments" value="CCOPTS+=-fpic CCOPTS+=-D_GNU_SOURCE CCOPTS+=-O0 CCOPTS+=-U_FORTIFY_SOURCE LDFLAGS=-pie"/>
94
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
   146
      </build>
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
   147
     </module>
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
   148
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
   149
    <module name="ns-3-dev-dce">
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
   150
      <source type="mercurial">
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
   151
	<attribute name="url" value="http://code.nsnam.org/ns-3-dev"/>
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
   152
      </source>
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
   153
      <build type="waf" objdir="yes">
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
   154
	<attribute name="configure_arguments" value="configure --prefix=$INSTALLDIR --enable-tests"/>
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
   155
      </build>
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
   156
    </module>
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
   157
158
877c6c57c249 Obsolete ns-3-linux with net-next-sim repository
Hajime Tazaki <tazaki@nict.go.jp>
parents: 157
diff changeset
   158
     <module name="net-next-sim-2.6.36">
877c6c57c249 Obsolete ns-3-linux with net-next-sim repository
Hajime Tazaki <tazaki@nict.go.jp>
parents: 157
diff changeset
   159
       <source type="git">
877c6c57c249 Obsolete ns-3-linux with net-next-sim repository
Hajime Tazaki <tazaki@nict.go.jp>
parents: 157
diff changeset
   160
         <attribute name="url" value="https://github.com/thehajime/net-next-sim.git"/>
877c6c57c249 Obsolete ns-3-linux with net-next-sim repository
Hajime Tazaki <tazaki@nict.go.jp>
parents: 157
diff changeset
   161
         <attribute name="module_directory" value="net-next-sim-2.6.36"/>
877c6c57c249 Obsolete ns-3-linux with net-next-sim repository
Hajime Tazaki <tazaki@nict.go.jp>
parents: 157
diff changeset
   162
         <attribute name="revision" value="sim-ns3-2.6.36-branch"/>
877c6c57c249 Obsolete ns-3-linux with net-next-sim repository
Hajime Tazaki <tazaki@nict.go.jp>
parents: 157
diff changeset
   163
       </source>
877c6c57c249 Obsolete ns-3-linux with net-next-sim repository
Hajime Tazaki <tazaki@nict.go.jp>
parents: 157
diff changeset
   164
       <build type="make" objdir="no">
877c6c57c249 Obsolete ns-3-linux with net-next-sim repository
Hajime Tazaki <tazaki@nict.go.jp>
parents: 157
diff changeset
   165
         <attribute name="configure_arguments" value="defconfig ARCH=sim"/>
877c6c57c249 Obsolete ns-3-linux with net-next-sim repository
Hajime Tazaki <tazaki@nict.go.jp>
parents: 157
diff changeset
   166
         <attribute name="build_arguments" value="library ARCH=sim"/>
877c6c57c249 Obsolete ns-3-linux with net-next-sim repository
Hajime Tazaki <tazaki@nict.go.jp>
parents: 157
diff changeset
   167
         <attribute name="no_installation" value="True"/>
877c6c57c249 Obsolete ns-3-linux with net-next-sim repository
Hajime Tazaki <tazaki@nict.go.jp>
parents: 157
diff changeset
   168
         <attribute name="post_installation" value="mkdir -p $INSTALLDIR/bin_dce; cd $INSTALLDIR/bin_dce; cp $SRCDIR/libsim-linux2.6.36.so ./; ln -s -f libsim-linux2.6.36.so liblinux.so"/>
877c6c57c249 Obsolete ns-3-linux with net-next-sim repository
Hajime Tazaki <tazaki@nict.go.jp>
parents: 157
diff changeset
   169
       </build>
877c6c57c249 Obsolete ns-3-linux with net-next-sim repository
Hajime Tazaki <tazaki@nict.go.jp>
parents: 157
diff changeset
   170
     </module>
877c6c57c249 Obsolete ns-3-linux with net-next-sim repository
Hajime Tazaki <tazaki@nict.go.jp>
parents: 157
diff changeset
   171
877c6c57c249 Obsolete ns-3-linux with net-next-sim repository
Hajime Tazaki <tazaki@nict.go.jp>
parents: 157
diff changeset
   172
     <module name="net-next-sim-3.4.0">
877c6c57c249 Obsolete ns-3-linux with net-next-sim repository
Hajime Tazaki <tazaki@nict.go.jp>
parents: 157
diff changeset
   173
       <source type="git">
877c6c57c249 Obsolete ns-3-linux with net-next-sim repository
Hajime Tazaki <tazaki@nict.go.jp>
parents: 157
diff changeset
   174
         <attribute name="url" value="https://github.com/thehajime/net-next-sim.git"/>
877c6c57c249 Obsolete ns-3-linux with net-next-sim repository
Hajime Tazaki <tazaki@nict.go.jp>
parents: 157
diff changeset
   175
         <attribute name="module_directory" value="net-next-sim-3.4.0"/>
877c6c57c249 Obsolete ns-3-linux with net-next-sim repository
Hajime Tazaki <tazaki@nict.go.jp>
parents: 157
diff changeset
   176
         <attribute name="revision" value="sim-ns3-3.4.0-branch"/>
877c6c57c249 Obsolete ns-3-linux with net-next-sim repository
Hajime Tazaki <tazaki@nict.go.jp>
parents: 157
diff changeset
   177
       </source>
877c6c57c249 Obsolete ns-3-linux with net-next-sim repository
Hajime Tazaki <tazaki@nict.go.jp>
parents: 157
diff changeset
   178
       <build type="make" objdir="no">
877c6c57c249 Obsolete ns-3-linux with net-next-sim repository
Hajime Tazaki <tazaki@nict.go.jp>
parents: 157
diff changeset
   179
         <attribute name="configure_arguments" value="defconfig ARCH=sim"/>
877c6c57c249 Obsolete ns-3-linux with net-next-sim repository
Hajime Tazaki <tazaki@nict.go.jp>
parents: 157
diff changeset
   180
         <attribute name="build_arguments" value="library ARCH=sim"/>
877c6c57c249 Obsolete ns-3-linux with net-next-sim repository
Hajime Tazaki <tazaki@nict.go.jp>
parents: 157
diff changeset
   181
         <attribute name="no_installation" value="True"/>
877c6c57c249 Obsolete ns-3-linux with net-next-sim repository
Hajime Tazaki <tazaki@nict.go.jp>
parents: 157
diff changeset
   182
         <attribute name="post_installation" value="mkdir -p $INSTALLDIR/bin_dce; cd $INSTALLDIR/bin_dce; cp $SRCDIR/libsim-linux3.4.0.so ./; ln -s -f libsim-linux3.4.0.so liblinux.so"/>
877c6c57c249 Obsolete ns-3-linux with net-next-sim repository
Hajime Tazaki <tazaki@nict.go.jp>
parents: 157
diff changeset
   183
       </build>
877c6c57c249 Obsolete ns-3-linux with net-next-sim repository
Hajime Tazaki <tazaki@nict.go.jp>
parents: 157
diff changeset
   184
     </module>
877c6c57c249 Obsolete ns-3-linux with net-next-sim repository
Hajime Tazaki <tazaki@nict.go.jp>
parents: 157
diff changeset
   185
877c6c57c249 Obsolete ns-3-linux with net-next-sim repository
Hajime Tazaki <tazaki@nict.go.jp>
parents: 157
diff changeset
   186
     <module name="net-next-sim-3.7.0">
877c6c57c249 Obsolete ns-3-linux with net-next-sim repository
Hajime Tazaki <tazaki@nict.go.jp>
parents: 157
diff changeset
   187
       <source type="git">
877c6c57c249 Obsolete ns-3-linux with net-next-sim repository
Hajime Tazaki <tazaki@nict.go.jp>
parents: 157
diff changeset
   188
         <attribute name="url" value="https://github.com/thehajime/net-next-sim.git"/>
877c6c57c249 Obsolete ns-3-linux with net-next-sim repository
Hajime Tazaki <tazaki@nict.go.jp>
parents: 157
diff changeset
   189
         <attribute name="module_directory" value="net-next-sim-3.7.0"/>
877c6c57c249 Obsolete ns-3-linux with net-next-sim repository
Hajime Tazaki <tazaki@nict.go.jp>
parents: 157
diff changeset
   190
         <attribute name="revision" value="sim-ns3-3.7.0-branch"/>
877c6c57c249 Obsolete ns-3-linux with net-next-sim repository
Hajime Tazaki <tazaki@nict.go.jp>
parents: 157
diff changeset
   191
       </source>
877c6c57c249 Obsolete ns-3-linux with net-next-sim repository
Hajime Tazaki <tazaki@nict.go.jp>
parents: 157
diff changeset
   192
       <build type="make" objdir="no">
877c6c57c249 Obsolete ns-3-linux with net-next-sim repository
Hajime Tazaki <tazaki@nict.go.jp>
parents: 157
diff changeset
   193
         <attribute name="configure_arguments" value="defconfig ARCH=sim"/>
877c6c57c249 Obsolete ns-3-linux with net-next-sim repository
Hajime Tazaki <tazaki@nict.go.jp>
parents: 157
diff changeset
   194
         <attribute name="build_arguments" value="library ARCH=sim"/>
877c6c57c249 Obsolete ns-3-linux with net-next-sim repository
Hajime Tazaki <tazaki@nict.go.jp>
parents: 157
diff changeset
   195
         <attribute name="no_installation" value="True"/>
877c6c57c249 Obsolete ns-3-linux with net-next-sim repository
Hajime Tazaki <tazaki@nict.go.jp>
parents: 157
diff changeset
   196
         <attribute name="post_installation" value="mkdir -p $INSTALLDIR/bin_dce; cd $INSTALLDIR/bin_dce; cp $SRCDIR/libsim-linux3.7.0.so ./; ln -s -f libsim-linux3.7.0.so liblinux.so"/>
877c6c57c249 Obsolete ns-3-linux with net-next-sim repository
Hajime Tazaki <tazaki@nict.go.jp>
parents: 157
diff changeset
   197
       </build>
877c6c57c249 Obsolete ns-3-linux with net-next-sim repository
Hajime Tazaki <tazaki@nict.go.jp>
parents: 157
diff changeset
   198
     </module>
94
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
   199
155
95e97e9298cc wget and thttpd added, for DCE
daniel
parents: 152
diff changeset
   200
     <module name="wget">
95e97e9298cc wget and thttpd added, for DCE
daniel
parents: 152
diff changeset
   201
      <source type="archive">
163
c3442238b27c fix broken wget build
Hajime Tazaki <tazaki@nict.go.jp>
parents: 162
diff changeset
   202
        <attribute name="url" value="http://ftp.gnu.org/gnu/wget/wget-1.14.tar.gz"/>
c3442238b27c fix broken wget build
Hajime Tazaki <tazaki@nict.go.jp>
parents: 162
diff changeset
   203
        <attribute name="extract_directory" value="wget-1.14"/>
155
95e97e9298cc wget and thttpd added, for DCE
daniel
parents: 152
diff changeset
   204
      </source>
95e97e9298cc wget and thttpd added, for DCE
daniel
parents: 152
diff changeset
   205
      <build type="make" objdir="yes">
163
c3442238b27c fix broken wget build
Hajime Tazaki <tazaki@nict.go.jp>
parents: 162
diff changeset
   206
        <attribute name="pre_installation" value="cd $SRCDIR; CFLAGS=-fPIC LDFLAGS=-pie ./configure --disable-opie --disable-digest --disable-ntlm --disable-largefile --disable-threads --disable-nls --disable-rpath --disable-iri --without-ssl --without-zlib --without-libiconv-prefix --without-libintl-prefix --without-libpth-prefix --without-included-regex --prefix=$INSTALLDIR"/>
155
95e97e9298cc wget and thttpd added, for DCE
daniel
parents: 152
diff changeset
   207
      </build>
95e97e9298cc wget and thttpd added, for DCE
daniel
parents: 152
diff changeset
   208
     </module>
95e97e9298cc wget and thttpd added, for DCE
daniel
parents: 152
diff changeset
   209
95e97e9298cc wget and thttpd added, for DCE
daniel
parents: 152
diff changeset
   210
    <module name="thttpd">
95e97e9298cc wget and thttpd added, for DCE
daniel
parents: 152
diff changeset
   211
      <source type="archive">
95e97e9298cc wget and thttpd added, for DCE
daniel
parents: 152
diff changeset
   212
    <attribute name="url" value="http://www.acme.com/software/thttpd/thttpd-2.25b.tar.gz"/>
95e97e9298cc wget and thttpd added, for DCE
daniel
parents: 152
diff changeset
   213
    <attribute name="extract_directory" value="thttpd-2.25b"/>
95e97e9298cc wget and thttpd added, for DCE
daniel
parents: 152
diff changeset
   214
      </source>
95e97e9298cc wget and thttpd added, for DCE
daniel
parents: 152
diff changeset
   215
      <build type="make" objdir="yes">
95e97e9298cc wget and thttpd added, for DCE
daniel
parents: 152
diff changeset
   216
    <attribute name="pre_installation" value="cd $SRCDIR;./configure --prefix=$INSTALLDIR"/>
95e97e9298cc wget and thttpd added, for DCE
daniel
parents: 152
diff changeset
   217
    <attribute name="patch" value="$SRCDIR/../dce/myscripts/httpd/dce-thttpd.patch"/>
95e97e9298cc wget and thttpd added, for DCE
daniel
parents: 152
diff changeset
   218
         <attribute name="install_arguments" value="-n" />
95e97e9298cc wget and thttpd added, for DCE
daniel
parents: 152
diff changeset
   219
    <attribute name="build_arguments" value="thttpd"/>
95e97e9298cc wget and thttpd added, for DCE
daniel
parents: 152
diff changeset
   220
         <attribute name="post_installation" value="cd $SRCDIR; mkdir $INSTALLDIR/bin_dce; /bin/cp -f thttpd-2.25b/thttpd  $INSTALLDIR/bin_dce"/>
95e97e9298cc wget and thttpd added, for DCE
daniel
parents: 152
diff changeset
   221
      </build>
95e97e9298cc wget and thttpd added, for DCE
daniel
parents: 152
diff changeset
   222
     </module>
95e97e9298cc wget and thttpd added, for DCE
daniel
parents: 152
diff changeset
   223
95e97e9298cc wget and thttpd added, for DCE
daniel
parents: 152
diff changeset
   224
145
b5a6ad566c40 Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents: 144
diff changeset
   225
     <module name="iputils">
b5a6ad566c40 Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents: 144
diff changeset
   226
       <source type="archive">
b5a6ad566c40 Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents: 144
diff changeset
   227
	 <attribute name="url" value="http://www.skbuff.net/iputils/iputils-s20101006.tar.bz2"/>
b5a6ad566c40 Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents: 144
diff changeset
   228
       </source>
b5a6ad566c40 Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents: 144
diff changeset
   229
       <!-- note: iputils does not have 'make install' -->
b5a6ad566c40 Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents: 144
diff changeset
   230
       <build type="inline"  classname="IputilsModuleBuild">
161
c263cd42307a fix patching process of iputils
Hajime Tazaki <tazaki@nict.go.jp>
parents: 158
diff changeset
   231
	 <attribute name="patch" value="$SRCDIR/../dce/myscripts/ns-3-dce-quagga/utils/iputils-ping6.patch"/>
145
b5a6ad566c40 Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents: 144
diff changeset
   232
	 <attribute name="supported_os" value="linux;linux2"/>
b5a6ad566c40 Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents: 144
diff changeset
   233
	 <code>class IputilsModuleBuild(InlineModuleBuild):
b5a6ad566c40 Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents: 144
diff changeset
   234
    def __init__(self):
b5a6ad566c40 Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents: 144
diff changeset
   235
        InlineModuleBuild.__init__(self)
b5a6ad566c40 Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents: 144
diff changeset
   236
    def build(self, env, jobs):
161
c263cd42307a fix patching process of iputils
Hajime Tazaki <tazaki@nict.go.jp>
parents: 158
diff changeset
   237
           if self.attribute('patch').value != '':
c263cd42307a fix patching process of iputils
Hajime Tazaki <tazaki@nict.go.jp>
parents: 158
diff changeset
   238
               self.threat_patch(env)
145
b5a6ad566c40 Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents: 144
diff changeset
   239
           env.run(['make', 'CFLAGS=-fpic', 'CFLAGS+=-D_GNU_SOURCE', 'CFLAGS+=-g',
b5a6ad566c40 Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents: 144
diff changeset
   240
           'CFLAGS+=-Wstrict-prototypes', 'CFLAGS+=-Wall', 'LDFLAGS=-pie', 
b5a6ad566c40 Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents: 144
diff changeset
   241
           'ping', 'ping6', '-j', str(jobs)],
b5a6ad566c40 Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents: 144
diff changeset
   242
           directory=env.srcdir)
b5a6ad566c40 Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents: 144
diff changeset
   243
           env.run(['mkdir', '-p' , env.installdir + '/bin_dce/'],
b5a6ad566c40 Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents: 144
diff changeset
   244
           directory=env.srcdir)
b5a6ad566c40 Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents: 144
diff changeset
   245
           env.run(['cp', 'ping', 'ping6', env.installdir + '/bin_dce'],
b5a6ad566c40 Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents: 144
diff changeset
   246
           directory=env.srcdir)
b5a6ad566c40 Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents: 144
diff changeset
   247
    def clean(self, env):
b5a6ad566c40 Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents: 144
diff changeset
   248
           env.run(['make', 'clean'], directory=env.srcdir)
b5a6ad566c40 Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents: 144
diff changeset
   249
    def check_version(self, env):
b5a6ad566c40 Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents: 144
diff changeset
   250
           return True</code>
b5a6ad566c40 Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents: 144
diff changeset
   251
       </build>
b5a6ad566c40 Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents: 144
diff changeset
   252
     </module>
b5a6ad566c40 Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents: 144
diff changeset
   253
b5a6ad566c40 Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents: 144
diff changeset
   254
     <!-- umip related modules -->
b5a6ad566c40 Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents: 144
diff changeset
   255
     <module name="dce-umip">
b5a6ad566c40 Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents: 144
diff changeset
   256
       <source type="mercurial">
151
fc41a7a57685 remove local file path from quagga/umip repository... (sorry)
Hajime Tazaki <tazaki@nict.go.jp>
parents: 150
diff changeset
   257
	 <attribute name="url" value="http://code.nsnam.org/thehajime/ns-3-dce-umip"/>
150
d0ee485ade65 Bug 1593 - support DCE sub-module under myscripts directory
Hajime Tazaki <tazaki@nict.go.jp>
parents: 149
diff changeset
   258
	 <attribute name="module_directory" value="dce/myscripts/ns-3-dce-umip/"/>
145
b5a6ad566c40 Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents: 144
diff changeset
   259
       </source>
b5a6ad566c40 Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents: 144
diff changeset
   260
       <depends_on name="dce-linux" optional="False"/>
b5a6ad566c40 Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents: 144
diff changeset
   261
       <depends_on name="dce-quagga" optional="False"/>
b5a6ad566c40 Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents: 144
diff changeset
   262
       <depends_on name="umip" optional="False"/>
150
d0ee485ade65 Bug 1593 - support DCE sub-module under myscripts directory
Hajime Tazaki <tazaki@nict.go.jp>
parents: 149
diff changeset
   263
       <build type="none">
d0ee485ade65 Bug 1593 - support DCE sub-module under myscripts directory
Hajime Tazaki <tazaki@nict.go.jp>
parents: 149
diff changeset
   264
	 <!-- attribute name="configure_arguments" value="configure -prefix=$INSTALLDIR"/ -->
145
b5a6ad566c40 Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents: 144
diff changeset
   265
       </build>
b5a6ad566c40 Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents: 144
diff changeset
   266
     </module>
b5a6ad566c40 Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents: 144
diff changeset
   267
b5a6ad566c40 Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents: 144
diff changeset
   268
     <module name="umip">
b5a6ad566c40 Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents: 144
diff changeset
   269
       <source type="git">
b5a6ad566c40 Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents: 144
diff changeset
   270
         <attribute name="url" value="git://git.umip.org/umip.git"/>
b5a6ad566c40 Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents: 144
diff changeset
   271
       </source>
b5a6ad566c40 Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents: 144
diff changeset
   272
       <build type="autotools" objdir="no">
b5a6ad566c40 Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents: 144
diff changeset
   273
         <attribute name="maintainer" value="yes" />
b5a6ad566c40 Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents: 144
diff changeset
   274
         <attribute name="configure_arguments" value="./configure CFLAGS=-fPIC  LDFLAGS=-pie --prefix=$INSTALLDIR --enable-vt --with-builtin-crypto"/>
b5a6ad566c40 Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents: 144
diff changeset
   275
         <attribute name="install_arguments" value="-n" />
b5a6ad566c40 Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents: 144
diff changeset
   276
         <attribute name="post_installation" value="cd $SRCDIR; mkdir $INSTALLDIR/bin_dce; /bin/cp -f src/mip6d  $INSTALLDIR/bin_dce"/>
b5a6ad566c40 Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents: 144
diff changeset
   277
       </build>
b5a6ad566c40 Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents: 144
diff changeset
   278
     </module>
b5a6ad566c40 Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents: 144
diff changeset
   279
b5a6ad566c40 Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents: 144
diff changeset
   280
    <!-- quagga related modules -->
b5a6ad566c40 Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents: 144
diff changeset
   281
    <module name="dce-quagga">
b5a6ad566c40 Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents: 144
diff changeset
   282
      <source type="mercurial">
151
fc41a7a57685 remove local file path from quagga/umip repository... (sorry)
Hajime Tazaki <tazaki@nict.go.jp>
parents: 150
diff changeset
   283
	<attribute name="url" value="http://code.nsnam.org/thehajime/ns-3-dce-quagga"/>
161
c263cd42307a fix patching process of iputils
Hajime Tazaki <tazaki@nict.go.jp>
parents: 158
diff changeset
   284
	<attribute name="module_directory" value="dce/myscripts/ns-3-dce-quagga/"/>
145
b5a6ad566c40 Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents: 144
diff changeset
   285
      </source>
150
d0ee485ade65 Bug 1593 - support DCE sub-module under myscripts directory
Hajime Tazaki <tazaki@nict.go.jp>
parents: 149
diff changeset
   286
       <depends_on name="dce-linux" optional="False"/>
145
b5a6ad566c40 Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents: 144
diff changeset
   287
       <depends_on name="quagga" optional="False"/>
b5a6ad566c40 Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents: 144
diff changeset
   288
       <depends_on name="iputils" optional="False"/>
150
d0ee485ade65 Bug 1593 - support DCE sub-module under myscripts directory
Hajime Tazaki <tazaki@nict.go.jp>
parents: 149
diff changeset
   289
      <build type="none">
d0ee485ade65 Bug 1593 - support DCE sub-module under myscripts directory
Hajime Tazaki <tazaki@nict.go.jp>
parents: 149
diff changeset
   290
	<!-- attribute name="configure_arguments" value="configure -prefix=$INSTALLDIR"/ -->
145
b5a6ad566c40 Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents: 144
diff changeset
   291
     </build>
b5a6ad566c40 Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents: 144
diff changeset
   292
    </module>
b5a6ad566c40 Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents: 144
diff changeset
   293
b5a6ad566c40 Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents: 144
diff changeset
   294
     <module name="quagga">
b5a6ad566c40 Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents: 144
diff changeset
   295
       <source type="archive">
b5a6ad566c40 Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents: 144
diff changeset
   296
	<!-- some of mirror sever of gnu.org isn't available.. -->
b5a6ad566c40 Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents: 144
diff changeset
   297
	<!-- attribute name="url" value="http://download.savannah.gnu.org/releases/quagga/quagga-0.99.20.tar.gz"/ -->
b5a6ad566c40 Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents: 144
diff changeset
   298
	<attribute name="url" value="http://pkgs.fedoraproject.org/lookaside/pkgs/quagga/quagga-0.99.20.tar.gz/64cc29394eb8a4e24649d19dac868f64/quagga-0.99.20.tar.gz"/>
b5a6ad566c40 Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents: 144
diff changeset
   299
	<attribute name="extract_directory" value="quagga-0.99.20"/>
b5a6ad566c40 Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents: 144
diff changeset
   300
       </source>
b5a6ad566c40 Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents: 144
diff changeset
   301
       <build type="make" objdir="yes">
b5a6ad566c40 Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents: 144
diff changeset
   302
	 <attribute name="pre_installation" value="cd $SRCDIR; CFLAGS='-fPIC -g' LDFLAGS=-pie ./configure --disable-shared --enable-static --disable-user --disable-group --disable-capabilities --prefix=$INSTALLDIR"/>
b5a6ad566c40 Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents: 144
diff changeset
   303
         <attribute name="install_arguments" value="-n" />
b5a6ad566c40 Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents: 144
diff changeset
   304
         <attribute name="post_installation" value="cd $SRCDIR; mkdir $INSTALLDIR/bin_dce; /bin/cp zebra/zebra $INSTALLDIR/bin_dce;/bin/cp ripd/ripd $INSTALLDIR/bin_dce;/bin/cp ripngd/ripngd $INSTALLDIR/bin_dce;/bin/cp ospfd/ospfd $INSTALLDIR/bin_dce;/bin/cp ospf6d/ospf6d $INSTALLDIR/bin_dce;/bin/cp bgpd/bgpd $INSTALLDIR/bin_dce"/>
b5a6ad566c40 Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents: 144
diff changeset
   305
       </build>
b5a6ad566c40 Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents: 144
diff changeset
   306
     </module>
b5a6ad566c40 Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents: 144
diff changeset
   307
94
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
   308
    <module name="click">
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
   309
      <source type="git">
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
   310
	<attribute name="url" value="git://read.cs.ucla.edu/git/click"/>
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
   311
	<attribute name="revision" value="724412626833df5c13384be5cce4da52c601371f"/>
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
   312
67
1d85f4b247f3 Update on the unit test
Daniel Camara <daniel.camara@inria.fr>
parents:
diff changeset
   313
      </source>
1d85f4b247f3 Update on the unit test
Daniel Camara <daniel.camara@inria.fr>
parents:
diff changeset
   314
      <build type="autotools" objdir="yes">
113
bbe081376846 Version for code review.
daniel
parents: 112
diff changeset
   315
	<attribute name="configure_arguments" value="../configure --prefix=$INSTALLDIR --exec-prefix=$INSTALLDIR -enable-userlevel --disable-linuxmodule --enable-nsclick --enable-wifi"/>
136
2fb43f8c5d98 fix for Click and error message
daniel
parents: 135
diff changeset
   316
	<attribute name="post_installation" value="mkdir $INSTALLDIR/lib; cp -r $OBJDIR/include $INSTALLDIR/lib/."/> 
67
1d85f4b247f3 Update on the unit test
Daniel Camara <daniel.camara@inria.fr>
parents:
diff changeset
   317
      </build>
162
30abc1bdeeab Tom's patch for show list of bin directories
tomh@tomh.org
parents: 161
diff changeset
   318
67
1d85f4b247f3 Update on the unit test
Daniel Camara <daniel.camara@inria.fr>
parents:
diff changeset
   319
    </module>
1d85f4b247f3 Update on the unit test
Daniel Camara <daniel.camara@inria.fr>
parents:
diff changeset
   320
112
7d1a0938bb80 added dependency for openflow and improoved the error messages and exception handling
daniel
parents: 108
diff changeset
   321
    <module name="libxml2-dev">
7d1a0938bb80 added dependency for openflow and improoved the error messages and exception handling
daniel
parents: 108
diff changeset
   322
      <source type="system_dependency">
157
cf71758d6fb8 Bug fix for dependencies and error messages improovement.
daniel
parents: 156
diff changeset
   323
	<attribute name="dependency_test" value="xmlIO.h"/>
112
7d1a0938bb80 added dependency for openflow and improoved the error messages and exception handling
daniel
parents: 108
diff changeset
   324
	<attribute name="try_to_install" value="True"/>
7d1a0938bb80 added dependency for openflow and improoved the error messages and exception handling
daniel
parents: 108
diff changeset
   325
	<attribute name="name_yum" value="libxml2-devel"/>
7d1a0938bb80 added dependency for openflow and improoved the error messages and exception handling
daniel
parents: 108
diff changeset
   326
	<attribute name="name_yast" value="libxml2-devel"/>
7d1a0938bb80 added dependency for openflow and improoved the error messages and exception handling
daniel
parents: 108
diff changeset
   327
	<attribute name="name_apt-get" value="libxml2-dev"/>
152
f98efdbe6dd7 fix typo
Tom Henderson <tomh@tomh.org>
parents: 151
diff changeset
   328
	<attribute name="more_information" value="Didn't find the libxml2-dev library, try to install it!"/>
112
7d1a0938bb80 added dependency for openflow and improoved the error messages and exception handling
daniel
parents: 108
diff changeset
   329
      </source>
7d1a0938bb80 added dependency for openflow and improoved the error messages and exception handling
daniel
parents: 108
diff changeset
   330
      <build type="none" objdir="no">
7d1a0938bb80 added dependency for openflow and improoved the error messages and exception handling
daniel
parents: 108
diff changeset
   331
      </build>
7d1a0938bb80 added dependency for openflow and improoved the error messages and exception handling
daniel
parents: 108
diff changeset
   332
    </module>
7d1a0938bb80 added dependency for openflow and improoved the error messages and exception handling
daniel
parents: 108
diff changeset
   333
67
1d85f4b247f3 Update on the unit test
Daniel Camara <daniel.camara@inria.fr>
parents:
diff changeset
   334
    <module name="openflow-ns3">
1d85f4b247f3 Update on the unit test
Daniel Camara <daniel.camara@inria.fr>
parents:
diff changeset
   335
      <source type="mercurial">
94
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
   336
	<attribute name="url" value="http://code.nsnam.org/jpelkey3/openflow"/>
67
1d85f4b247f3 Update on the unit test
Daniel Camara <daniel.camara@inria.fr>
parents:
diff changeset
   337
      </source>
94
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
   338
      <build type="waf" objdir="yes">
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
   339
	<attribute name="configure_arguments" value="configure --prefix=$INSTALLDIR"/>
157
cf71758d6fb8 Bug fix for dependencies and error messages improovement.
daniel
parents: 156
diff changeset
   340
      </build>
112
7d1a0938bb80 added dependency for openflow and improoved the error messages and exception handling
daniel
parents: 108
diff changeset
   341
	<depends_on name="libxml2-dev" optional="False"/>
71
bf151f3f1479 Add more tests and small changes in the Environment and build modules
Daniel Camara <daniel.camara@inria.fr>
parents: 67
diff changeset
   342
    </module>
bf151f3f1479 Add more tests and small changes in the Environment and build modules
Daniel Camara <daniel.camara@inria.fr>
parents: 67
diff changeset
   343
67
1d85f4b247f3 Update on the unit test
Daniel Camara <daniel.camara@inria.fr>
parents:
diff changeset
   344
    <module name="gccxml-ns3">
1d85f4b247f3 Update on the unit test
Daniel Camara <daniel.camara@inria.fr>
parents:
diff changeset
   345
      <source type="cvs">
1d85f4b247f3 Update on the unit test
Daniel Camara <daniel.camara@inria.fr>
parents:
diff changeset
   346
	<attribute name="root" value=":pserver:anoncvs:@www.gccxml.org:/cvsroot/GCC_XML"/>
1d85f4b247f3 Update on the unit test
Daniel Camara <daniel.camara@inria.fr>
parents:
diff changeset
   347
	<attribute name="module" value="gccxml"/>
1d85f4b247f3 Update on the unit test
Daniel Camara <daniel.camara@inria.fr>
parents:
diff changeset
   348
	<attribute name="date" value="2009-09-21"/>
1d85f4b247f3 Update on the unit test
Daniel Camara <daniel.camara@inria.fr>
parents:
diff changeset
   349
      </source>
1d85f4b247f3 Update on the unit test
Daniel Camara <daniel.camara@inria.fr>
parents:
diff changeset
   350
      <build type="cmake" objdir="yes">
1d85f4b247f3 Update on the unit test
Daniel Camara <daniel.camara@inria.fr>
parents:
diff changeset
   351
      </build>
1d85f4b247f3 Update on the unit test
Daniel Camara <daniel.camara@inria.fr>
parents:
diff changeset
   352
    </module>
1d85f4b247f3 Update on the unit test
Daniel Camara <daniel.camara@inria.fr>
parents:
diff changeset
   353
1d85f4b247f3 Update on the unit test
Daniel Camara <daniel.camara@inria.fr>
parents:
diff changeset
   354
    <module name="pygccxml">
1d85f4b247f3 Update on the unit test
Daniel Camara <daniel.camara@inria.fr>
parents:
diff changeset
   355
      <source type="archive">
75
d26cc0acef36 Fix download pointeter for pygccxml
dcamara
parents: 71
diff changeset
   356
	<attribute name="url" value="http://downloads.sourceforge.net/project/pygccxml/pygccxml/pygccxml-1.0/pygccxml-1.0.0.zip"/>
67
1d85f4b247f3 Update on the unit test
Daniel Camara <daniel.camara@inria.fr>
parents:
diff changeset
   357
      </source>
1d85f4b247f3 Update on the unit test
Daniel Camara <daniel.camara@inria.fr>
parents:
diff changeset
   358
      <build type="python" objdir="yes">
1d85f4b247f3 Update on the unit test
Daniel Camara <daniel.camara@inria.fr>
parents:
diff changeset
   359
      </build>
94
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
   360
      <depends_on name="gccxml-ns3" optional="True"/>
67
1d85f4b247f3 Update on the unit test
Daniel Camara <daniel.camara@inria.fr>
parents:
diff changeset
   361
    </module>
1d85f4b247f3 Update on the unit test
Daniel Camara <daniel.camara@inria.fr>
parents:
diff changeset
   362
1d85f4b247f3 Update on the unit test
Daniel Camara <daniel.camara@inria.fr>
parents:
diff changeset
   363
    <module name="pybindgen">
1d85f4b247f3 Update on the unit test
Daniel Camara <daniel.camara@inria.fr>
parents:
diff changeset
   364
      <source type="bazaar">
1d85f4b247f3 Update on the unit test
Daniel Camara <daniel.camara@inria.fr>
parents:
diff changeset
   365
	<attribute name="url" value="https://launchpad.net/pybindgen"/>
94
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
   366
	<attribute name="revision" value="revno:809"/>
67
1d85f4b247f3 Update on the unit test
Daniel Camara <daniel.camara@inria.fr>
parents:
diff changeset
   367
      </source>
1d85f4b247f3 Update on the unit test
Daniel Camara <daniel.camara@inria.fr>
parents:
diff changeset
   368
      <build type="waf" objdir="yes">
95
507f5a81853c small correction on the config file
daniel
parents: 94
diff changeset
   369
	<attribute name="configure_arguments" value="configure --prefix=$INSTALLDIR"/>
67
1d85f4b247f3 Update on the unit test
Daniel Camara <daniel.camara@inria.fr>
parents:
diff changeset
   370
	<attribute name="build_arguments" value="--generate-version"/>
1d85f4b247f3 Update on the unit test
Daniel Camara <daniel.camara@inria.fr>
parents:
diff changeset
   371
      </build>
1d85f4b247f3 Update on the unit test
Daniel Camara <daniel.camara@inria.fr>
parents:
diff changeset
   372
      <depends_on name="pygccxml" optional="True"/>
113
bbe081376846 Version for code review.
daniel
parents: 112
diff changeset
   373
      <depends_on name="gccxml-ns3" optional="False"/>
67
1d85f4b247f3 Update on the unit test
Daniel Camara <daniel.camara@inria.fr>
parents:
diff changeset
   374
    </module>
1d85f4b247f3 Update on the unit test
Daniel Camara <daniel.camara@inria.fr>
parents:
diff changeset
   375
94
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
   376
67
1d85f4b247f3 Update on the unit test
Daniel Camara <daniel.camara@inria.fr>
parents:
diff changeset
   377
    <module name="nsc">
1d85f4b247f3 Update on the unit test
Daniel Camara <daniel.camara@inria.fr>
parents:
diff changeset
   378
      <source type="mercurial">
1d85f4b247f3 Update on the unit test
Daniel Camara <daniel.camara@inria.fr>
parents:
diff changeset
   379
	<attribute name="url" value="https://secure.wand.net.nz/mercurial/nsc"/>
1d85f4b247f3 Update on the unit test
Daniel Camara <daniel.camara@inria.fr>
parents:
diff changeset
   380
      </source>
1d85f4b247f3 Update on the unit test
Daniel Camara <daniel.camara@inria.fr>
parents:
diff changeset
   381
      <!-- problem: scons has no generic command-line support for builddir and installdir -->
1d85f4b247f3 Update on the unit test
Daniel Camara <daniel.camara@inria.fr>
parents:
diff changeset
   382
      <build type="inline"  classname="NscModuleBuild">
94
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
   383
	<attribute name="supported_os" value="linux;linux2"/>
67
1d85f4b247f3 Update on the unit test
Daniel Camara <daniel.camara@inria.fr>
parents:
diff changeset
   384
	<code>class NscModuleBuild(InlineModuleBuild):
1d85f4b247f3 Update on the unit test
Daniel Camara <daniel.camara@inria.fr>
parents:
diff changeset
   385
    def __init__(self):
1d85f4b247f3 Update on the unit test
Daniel Camara <daniel.camara@inria.fr>
parents:
diff changeset
   386
        InlineModuleBuild.__init__(self)
1d85f4b247f3 Update on the unit test
Daniel Camara <daniel.camara@inria.fr>
parents:
diff changeset
   387
    def build(self, env, jobs):
135
d8a8fd0bf76b Fix for Jenkins, added imports of os and shutil for nsc.
daniel
parents: 126
diff changeset
   388
        import os
d8a8fd0bf76b Fix for Jenkins, added imports of os and shutil for nsc.
daniel
parents: 126
diff changeset
   389
        import shutil
94
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
   390
67
1d85f4b247f3 Update on the unit test
Daniel Camara <daniel.camara@inria.fr>
parents:
diff changeset
   391
        env.run(['python', os.path.join(env.srcdir, 'scons.py'), 
94
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
   392
                 '-j', str(jobs), 'prefix=' + env.installdir, 'install'],
126
1b36d79934ff Fix for NSC configuration
daniel
parents: 125
diff changeset
   393
                directory=env.srcdir )
1b36d79934ff Fix for NSC configuration
daniel
parents: 125
diff changeset
   394
        srcLib = os.path.join(env.srcdir, 'lib')
1b36d79934ff Fix for NSC configuration
daniel
parents: 125
diff changeset
   395
        files = os.listdir(srcLib)
1b36d79934ff Fix for NSC configuration
daniel
parents: 125
diff changeset
   396
        destination = os.path.join(env.installdir, 'lib')
1b36d79934ff Fix for NSC configuration
daniel
parents: 125
diff changeset
   397
        for file in files:
135
d8a8fd0bf76b Fix for Jenkins, added imports of os and shutil for nsc.
daniel
parents: 126
diff changeset
   398
             try:
d8a8fd0bf76b Fix for Jenkins, added imports of os and shutil for nsc.
daniel
parents: 126
diff changeset
   399
                 shutil.copy2(os.path.join(srcLib, file), destination)
d8a8fd0bf76b Fix for Jenkins, added imports of os and shutil for nsc.
daniel
parents: 126
diff changeset
   400
             except Exception as e:
d8a8fd0bf76b Fix for Jenkins, added imports of os and shutil for nsc.
daniel
parents: 126
diff changeset
   401
                 print ("   > Error executing copy : " + str(e) + "\n")
d8a8fd0bf76b Fix for Jenkins, added imports of os and shutil for nsc.
daniel
parents: 126
diff changeset
   402
       
67
1d85f4b247f3 Update on the unit test
Daniel Camara <daniel.camara@inria.fr>
parents:
diff changeset
   403
    def clean(self, env):
1d85f4b247f3 Update on the unit test
Daniel Camara <daniel.camara@inria.fr>
parents:
diff changeset
   404
        env.run(['python', os.path.join(env.srcdir, 'scons.py'), '-c'],
1d85f4b247f3 Update on the unit test
Daniel Camara <daniel.camara@inria.fr>
parents:
diff changeset
   405
                directory=env.srcdir)
1d85f4b247f3 Update on the unit test
Daniel Camara <daniel.camara@inria.fr>
parents:
diff changeset
   406
    def check_version(self, env):
1d85f4b247f3 Update on the unit test
Daniel Camara <daniel.camara@inria.fr>
parents:
diff changeset
   407
        return True</code>
1d85f4b247f3 Update on the unit test
Daniel Camara <daniel.camara@inria.fr>
parents:
diff changeset
   408
      </build>
1d85f4b247f3 Update on the unit test
Daniel Camara <daniel.camara@inria.fr>
parents:
diff changeset
   409
    </module>
1d85f4b247f3 Update on the unit test
Daniel Camara <daniel.camara@inria.fr>
parents:
diff changeset
   410
    
94
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
   411
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
   412
    <module name="qt4">
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
   413
      <source type="system_dependency">
162
30abc1bdeeab Tom's patch for show list of bin directories
tomh@tomh.org
parents: 161
diff changeset
   414
	<attribute name="dependency_test" value="(qmakea or qmake-qt4a)"/>
94
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
   415
	<attribute name="try_to_install" value="True"/>
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
   416
	<attribute name="name_yum" value="qt4-devel"/>
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
   417
	<attribute name="name_apt-get" value="qt4-dev-tools"/>
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
   418
	<attribute name="more_information" value="Didn't find QT 4, download and install it from http://qt.nokia.com/downloads/"/>
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
   419
      </source>
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
   420
      <build type="none" objdir="no">
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
   421
      </build>
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
   422
    </module>
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
   423
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
   424
    <module name="elf-loader">
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
   425
      <source type="mercurial">
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
   426
	<attribute name="url" value="http://code.nsnam.org/mathieu/elf-loader"/>
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
   427
      </source>
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
   428
      <build type="make" objdir="no">
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
   429
	<attribute name="configure_arguments" value="vdl-config.h"/>
145
b5a6ad566c40 Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents: 144
diff changeset
   430
	<attribute name="install_arguments" value="PREFIX=$INSTALLDIR"/>
94
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
   431
      </build>
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
   432
    </module>
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
   433
132
a10bff9fc51d change net_anim to netanim
Tom Henderson <tomh@tomh.org>
parents: 131
diff changeset
   434
    <module name="netanim">
94
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
   435
      <source type="mercurial">
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
   436
	<attribute name="url" value="http://code.nsnam.org/netanim"/>
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
   437
      </source>
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
   438
      <build type="make" objdir="no">
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
   439
	<attribute name="pre_installation" value="cd $SRCDIR;qmake NetAnim.pro or cd $SRCDIR;qmake-qt4 NetAnim.pro or cd $SRCDIR;qmake -spec macx-g++ NetAnim.pro"/>
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
   440
      </build>
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
   441
      <depends_on name="qt4" optional="False"/>
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
   442
    </module>
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
   443
124
8fe5ba0938c6 Fix for the configuration file and Unrecognized option
daniel
parents: 123
diff changeset
   444
  <module name="ns-3-allinone">
8fe5ba0938c6 Fix for the configuration file and Unrecognized option
daniel
parents: 123
diff changeset
   445
      <source type="mercurial">
8fe5ba0938c6 Fix for the configuration file and Unrecognized option
daniel
parents: 123
diff changeset
   446
	<attribute name="url" value="http://code.nsnam.org/ns-3-dev"/>
8fe5ba0938c6 Fix for the configuration file and Unrecognized option
daniel
parents: 123
diff changeset
   447
      </source>
132
a10bff9fc51d change net_anim to netanim
Tom Henderson <tomh@tomh.org>
parents: 131
diff changeset
   448
      <depends_on name="netanim" optional="True"/>
124
8fe5ba0938c6 Fix for the configuration file and Unrecognized option
daniel
parents: 123
diff changeset
   449
      <depends_on name="nsc" optional="True"/>
8fe5ba0938c6 Fix for the configuration file and Unrecognized option
daniel
parents: 123
diff changeset
   450
      <depends_on name="pybindgen" optional="True"/>
8fe5ba0938c6 Fix for the configuration file and Unrecognized option
daniel
parents: 123
diff changeset
   451
      <depends_on name="click" optional="True"/>
8fe5ba0938c6 Fix for the configuration file and Unrecognized option
daniel
parents: 123
diff changeset
   452
      <depends_on name="openflow-ns3" optional="True"/>
8fe5ba0938c6 Fix for the configuration file and Unrecognized option
daniel
parents: 123
diff changeset
   453
      <build type="waf" objdir="yes">
8fe5ba0938c6 Fix for the configuration file and Unrecognized option
daniel
parents: 123
diff changeset
   454
	<attribute name="configure_arguments" value="configure --prefix=$INSTALLDIR --enable-examples --enable-tests --with-nsclick=$SRCDIR/click --with-pybindgen=$SRCDIR/pybindgen --with-openflow=$SRCDIR/openflow-ns3 --with-nsc=$SRCDIR/nsc"/>
8fe5ba0938c6 Fix for the configuration file and Unrecognized option
daniel
parents: 123
diff changeset
   455
      </build>
8fe5ba0938c6 Fix for the configuration file and Unrecognized option
daniel
parents: 123
diff changeset
   456
  </module>
8fe5ba0938c6 Fix for the configuration file and Unrecognized option
daniel
parents: 123
diff changeset
   457
94
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
   458
  <module name="ns-3-dev">
67
1d85f4b247f3 Update on the unit test
Daniel Camara <daniel.camara@inria.fr>
parents:
diff changeset
   459
      <source type="mercurial">
1d85f4b247f3 Update on the unit test
Daniel Camara <daniel.camara@inria.fr>
parents:
diff changeset
   460
	<attribute name="url" value="http://code.nsnam.org/ns-3-dev"/>
1d85f4b247f3 Update on the unit test
Daniel Camara <daniel.camara@inria.fr>
parents:
diff changeset
   461
      </source>
124
8fe5ba0938c6 Fix for the configuration file and Unrecognized option
daniel
parents: 123
diff changeset
   462
      <build type="waf" objdir="yes">
8fe5ba0938c6 Fix for the configuration file and Unrecognized option
daniel
parents: 123
diff changeset
   463
	<attribute name="configure_arguments" value="configure --prefix=$INSTALLDIR --enable-examples --enable-tests"/>
8fe5ba0938c6 Fix for the configuration file and Unrecognized option
daniel
parents: 123
diff changeset
   464
      </build>
8fe5ba0938c6 Fix for the configuration file and Unrecognized option
daniel
parents: 123
diff changeset
   465
  </module>
8fe5ba0938c6 Fix for the configuration file and Unrecognized option
daniel
parents: 123
diff changeset
   466
131
03cd83e69d8a ns-3.16 doesn't exist yet
Tom Henderson <tomh@tomh.org>
parents: 126
diff changeset
   467
<!--
124
8fe5ba0938c6 Fix for the configuration file and Unrecognized option
daniel
parents: 123
diff changeset
   468
  <module name="ns-3-16">
8fe5ba0938c6 Fix for the configuration file and Unrecognized option
daniel
parents: 123
diff changeset
   469
      <source type="mercurial">
8fe5ba0938c6 Fix for the configuration file and Unrecognized option
daniel
parents: 123
diff changeset
   470
	<attribute name="url" value="http://code.nsnam.org/ns-3.16"/>
8fe5ba0938c6 Fix for the configuration file and Unrecognized option
daniel
parents: 123
diff changeset
   471
      </source>
132
a10bff9fc51d change net_anim to netanim
Tom Henderson <tomh@tomh.org>
parents: 131
diff changeset
   472
      <depends_on name="netanim" optional="True"/>
67
1d85f4b247f3 Update on the unit test
Daniel Camara <daniel.camara@inria.fr>
parents:
diff changeset
   473
      <depends_on name="nsc" optional="True"/>
1d85f4b247f3 Update on the unit test
Daniel Camara <daniel.camara@inria.fr>
parents:
diff changeset
   474
      <depends_on name="pybindgen" optional="True"/>
94
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
   475
      <depends_on name="click" optional="True"/>
67
1d85f4b247f3 Update on the unit test
Daniel Camara <daniel.camara@inria.fr>
parents:
diff changeset
   476
      <depends_on name="openflow-ns3" optional="True"/>
1d85f4b247f3 Update on the unit test
Daniel Camara <daniel.camara@inria.fr>
parents:
diff changeset
   477
      <build type="waf" objdir="yes">
131
03cd83e69d8a ns-3.16 doesn't exist yet
Tom Henderson <tomh@tomh.org>
parents: 126
diff changeset
   478
	<attribute name="configure_arguments" value="configure \-\-prefix=$INSTALLDIR \-\-enable-examples \-\-enable-tests \-\-with-nsclick=$SRCDIR/click \-\-with-pybindgen=$SRCDIR/pybindgen \-\-with-openflow=$SRCDIR/openflow-ns3 \-\-with-nsc=$SRCDIR/nsc"/>
67
1d85f4b247f3 Update on the unit test
Daniel Camara <daniel.camara@inria.fr>
parents:
diff changeset
   479
      </build>
94
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
   480
  </module>
131
03cd83e69d8a ns-3.16 doesn't exist yet
Tom Henderson <tomh@tomh.org>
parents: 126
diff changeset
   481
-->
67
1d85f4b247f3 Update on the unit test
Daniel Camara <daniel.camara@inria.fr>
parents:
diff changeset
   482
1d85f4b247f3 Update on the unit test
Daniel Camara <daniel.camara@inria.fr>
parents:
diff changeset
   483
  </modules>
1d85f4b247f3 Update on the unit test
Daniel Camara <daniel.camara@inria.fr>
parents:
diff changeset
   484
1d85f4b247f3 Update on the unit test
Daniel Camara <daniel.camara@inria.fr>
parents:
diff changeset
   485
  <predefined name="dbg">
94
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
   486
    <append name="CFLAGS" value="-g"/>
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
   487
    <append name="CXXFLAGS" value="-g"/>
115
cdc42f30aa2a Fix for the configuration file
daniel
parents: 113
diff changeset
   488
    <configuration objdir="dbg"/>
cdc42f30aa2a Fix for the configuration file
daniel
parents: 113
diff changeset
   489
    <configuration installdir="build_dbg"/>
67
1d85f4b247f3 Update on the unit test
Daniel Camara <daniel.camara@inria.fr>
parents:
diff changeset
   490
  </predefined>
115
cdc42f30aa2a Fix for the configuration file
daniel
parents: 113
diff changeset
   491
67
1d85f4b247f3 Update on the unit test
Daniel Camara <daniel.camara@inria.fr>
parents:
diff changeset
   492
  <predefined name="opt">
1d85f4b247f3 Update on the unit test
Daniel Camara <daniel.camara@inria.fr>
parents:
diff changeset
   493
    <configuration objdir="opt"/>
115
cdc42f30aa2a Fix for the configuration file
daniel
parents: 113
diff changeset
   494
    <configuration installdir="build_opt"/>
94
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
   495
<!--   <append name="configure_arguments" value=" -d optimized"/> -->
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
   496
    <append name="CFLAGS" value="-O3"/>
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
   497
    <append name="CXXFLAGS" value="-O3"/>
67
1d85f4b247f3 Update on the unit test
Daniel Camara <daniel.camara@inria.fr>
parents:
diff changeset
   498
  </predefined>
94
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
   499
  
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
   500
  <predefined name="ns3">
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
   501
    <enable name="ns-3-dev"/>
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
   502
    <!--    <configuration installdir="." sourcedir="../source"/> -->
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
   503
    <append module="ns-3-dev" name="configure_arguments" value="--enable-examples --enable-tests"/>
67
1d85f4b247f3 Update on the unit test
Daniel Camara <daniel.camara@inria.fr>
parents:
diff changeset
   504
  </predefined>
94
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
   505
104
5106eb22e0d3 new configurarion
daniel
parents: 95
diff changeset
   506
  <predefined name="ns3-min">
5106eb22e0d3 new configurarion
daniel
parents: 95
diff changeset
   507
    <enable name="ns-3-dev"/>
108
246e724cb1f2 Automatic resource file saving
daniel
parents: 104
diff changeset
   508
    <append module="ns-3-dev" name="configure_arguments" value=" --enable-modules=core,network,wifi"/> -->
104
5106eb22e0d3 new configurarion
daniel
parents: 95
diff changeset
   509
  </predefined>
5106eb22e0d3 new configurarion
daniel
parents: 95
diff changeset
   510
67
1d85f4b247f3 Update on the unit test
Daniel Camara <daniel.camara@inria.fr>
parents:
diff changeset
   511
</configuration>