bakeconf.xml
author daniel
Thu, 04 Apr 2013 16:38:29 +0200
changeset 182 e6182d2e18a8
parent 180 94bf9c3659d0
child 184 40268847effa
permissions -rw-r--r--
Removes ns3.16 configuration
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
173
d49216989153 add description built from net-next-sim kernel (by make testbin)
Hajime Tazaki <tazaki@nict.go.jp>
parents: 172
diff changeset
    60
    <module name="dce-quagga-inkernel">
d49216989153 add description built from net-next-sim kernel (by make testbin)
Hajime Tazaki <tazaki@nict.go.jp>
parents: 172
diff changeset
    61
      <source type="mercurial">
d49216989153 add description built from net-next-sim kernel (by make testbin)
Hajime Tazaki <tazaki@nict.go.jp>
parents: 172
diff changeset
    62
	<attribute name="url" value="http://code.nsnam.org/thehajime/ns-3-dce-quagga"/>
d49216989153 add description built from net-next-sim kernel (by make testbin)
Hajime Tazaki <tazaki@nict.go.jp>
parents: 172
diff changeset
    63
	<attribute name="module_directory" value="dce/myscripts/ns-3-dce-quagga/"/>
d49216989153 add description built from net-next-sim kernel (by make testbin)
Hajime Tazaki <tazaki@nict.go.jp>
parents: 172
diff changeset
    64
      </source>
d49216989153 add description built from net-next-sim kernel (by make testbin)
Hajime Tazaki <tazaki@nict.go.jp>
parents: 172
diff changeset
    65
      <depends_on name="dce-linux-inkernel" optional="False"/>
d49216989153 add description built from net-next-sim kernel (by make testbin)
Hajime Tazaki <tazaki@nict.go.jp>
parents: 172
diff changeset
    66
      <depends_on name="quagga" optional="False"/>
d49216989153 add description built from net-next-sim kernel (by make testbin)
Hajime Tazaki <tazaki@nict.go.jp>
parents: 172
diff changeset
    67
      <depends_on name="iputils" optional="False"/>
d49216989153 add description built from net-next-sim kernel (by make testbin)
Hajime Tazaki <tazaki@nict.go.jp>
parents: 172
diff changeset
    68
      <build type="none">
d49216989153 add description built from net-next-sim kernel (by make testbin)
Hajime Tazaki <tazaki@nict.go.jp>
parents: 172
diff changeset
    69
      </build>
d49216989153 add description built from net-next-sim kernel (by make testbin)
Hajime Tazaki <tazaki@nict.go.jp>
parents: 172
diff changeset
    70
    </module>
d49216989153 add description built from net-next-sim kernel (by make testbin)
Hajime Tazaki <tazaki@nict.go.jp>
parents: 172
diff changeset
    71
d49216989153 add description built from net-next-sim kernel (by make testbin)
Hajime Tazaki <tazaki@nict.go.jp>
parents: 172
diff changeset
    72
    <module name="dce-umip-inkernel">
d49216989153 add description built from net-next-sim kernel (by make testbin)
Hajime Tazaki <tazaki@nict.go.jp>
parents: 172
diff changeset
    73
      <source type="mercurial">
d49216989153 add description built from net-next-sim kernel (by make testbin)
Hajime Tazaki <tazaki@nict.go.jp>
parents: 172
diff changeset
    74
	<attribute name="url" value="http://code.nsnam.org/thehajime/ns-3-dce-umip"/>
d49216989153 add description built from net-next-sim kernel (by make testbin)
Hajime Tazaki <tazaki@nict.go.jp>
parents: 172
diff changeset
    75
	<attribute name="module_directory" value="dce/myscripts/ns-3-dce-umip/"/>
d49216989153 add description built from net-next-sim kernel (by make testbin)
Hajime Tazaki <tazaki@nict.go.jp>
parents: 172
diff changeset
    76
      </source>
d49216989153 add description built from net-next-sim kernel (by make testbin)
Hajime Tazaki <tazaki@nict.go.jp>
parents: 172
diff changeset
    77
      <depends_on name="dce-linux-inkernel" optional="False"/>
d49216989153 add description built from net-next-sim kernel (by make testbin)
Hajime Tazaki <tazaki@nict.go.jp>
parents: 172
diff changeset
    78
      <depends_on name="dce-quagga-inkernel" optional="False"/>
d49216989153 add description built from net-next-sim kernel (by make testbin)
Hajime Tazaki <tazaki@nict.go.jp>
parents: 172
diff changeset
    79
      <depends_on name="umip" optional="False"/>
d49216989153 add description built from net-next-sim kernel (by make testbin)
Hajime Tazaki <tazaki@nict.go.jp>
parents: 172
diff changeset
    80
      <build type="none">
d49216989153 add description built from net-next-sim kernel (by make testbin)
Hajime Tazaki <tazaki@nict.go.jp>
parents: 172
diff changeset
    81
      </build>
d49216989153 add description built from net-next-sim kernel (by make testbin)
Hajime Tazaki <tazaki@nict.go.jp>
parents: 172
diff changeset
    82
    </module>
d49216989153 add description built from net-next-sim kernel (by make testbin)
Hajime Tazaki <tazaki@nict.go.jp>
parents: 172
diff changeset
    83
d49216989153 add description built from net-next-sim kernel (by make testbin)
Hajime Tazaki <tazaki@nict.go.jp>
parents: 172
diff changeset
    84
    <module name="dce-linux-inkernel">
d49216989153 add description built from net-next-sim kernel (by make testbin)
Hajime Tazaki <tazaki@nict.go.jp>
parents: 172
diff changeset
    85
      <source type="mercurial">
d49216989153 add description built from net-next-sim kernel (by make testbin)
Hajime Tazaki <tazaki@nict.go.jp>
parents: 172
diff changeset
    86
	<attribute name="url" value="http://code.nsnam.org/ns-3-dce"/>
d49216989153 add description built from net-next-sim kernel (by make testbin)
Hajime Tazaki <tazaki@nict.go.jp>
parents: 172
diff changeset
    87
	<attribute name="module_directory" value="dce"/>
d49216989153 add description built from net-next-sim kernel (by make testbin)
Hajime Tazaki <tazaki@nict.go.jp>
parents: 172
diff changeset
    88
      </source>
d49216989153 add description built from net-next-sim kernel (by make testbin)
Hajime Tazaki <tazaki@nict.go.jp>
parents: 172
diff changeset
    89
      <depends_on name="elf-loader" optional="False"/>
d49216989153 add description built from net-next-sim kernel (by make testbin)
Hajime Tazaki <tazaki@nict.go.jp>
parents: 172
diff changeset
    90
      <depends_on name="iproute" optional="False"/>
d49216989153 add description built from net-next-sim kernel (by make testbin)
Hajime Tazaki <tazaki@nict.go.jp>
parents: 172
diff changeset
    91
      <depends_on name="iperf" optional="True"/>
d49216989153 add description built from net-next-sim kernel (by make testbin)
Hajime Tazaki <tazaki@nict.go.jp>
parents: 172
diff changeset
    92
      <depends_on name="ccnx" optional="True"/>
d49216989153 add description built from net-next-sim kernel (by make testbin)
Hajime Tazaki <tazaki@nict.go.jp>
parents: 172
diff changeset
    93
      <depends_on name="ns-3-dev-dce" optional="False"/>
d49216989153 add description built from net-next-sim kernel (by make testbin)
Hajime Tazaki <tazaki@nict.go.jp>
parents: 172
diff changeset
    94
      <build type="waf" objdir="yes" sourcedir="dce">
d49216989153 add description built from net-next-sim kernel (by make testbin)
Hajime Tazaki <tazaki@nict.go.jp>
parents: 172
diff changeset
    95
	<!-- assume the bake.py build is executed under arch/sim/test/buildtop/ -->
d49216989153 add description built from net-next-sim kernel (by make testbin)
Hajime Tazaki <tazaki@nict.go.jp>
parents: 172
diff changeset
    96
	<attribute name="configure_arguments" value="configure --prefix=$INSTALLDIR --with-ns3=$INSTALLDIR --with-elf-loader=$INSTALLDIR/lib --enable-kernel-stack=$SRCDIR/../../../../../"/>
d49216989153 add description built from net-next-sim kernel (by make testbin)
Hajime Tazaki <tazaki@nict.go.jp>
parents: 172
diff changeset
    97
      </build>
d49216989153 add description built from net-next-sim kernel (by make testbin)
Hajime Tazaki <tazaki@nict.go.jp>
parents: 172
diff changeset
    98
    </module>
d49216989153 add description built from net-next-sim kernel (by make testbin)
Hajime Tazaki <tazaki@nict.go.jp>
parents: 172
diff changeset
    99
171
57267a24d3e5 add mptcp build
Hajime Tazaki <tazaki@nict.go.jp>
parents: 169
diff changeset
   100
    <module name="mptcp_v0.86">
57267a24d3e5 add mptcp build
Hajime Tazaki <tazaki@nict.go.jp>
parents: 169
diff changeset
   101
      <source type="git">
57267a24d3e5 add mptcp build
Hajime Tazaki <tazaki@nict.go.jp>
parents: 169
diff changeset
   102
        <attribute name="url" value="git://github.com/multipath-tcp/mptcp"/>
57267a24d3e5 add mptcp build
Hajime Tazaki <tazaki@nict.go.jp>
parents: 169
diff changeset
   103
        <attribute name="module_directory" value="mptcp"/>
57267a24d3e5 add mptcp build
Hajime Tazaki <tazaki@nict.go.jp>
parents: 169
diff changeset
   104
        <attribute name="revision" value="mptcp_v0.86"/>
57267a24d3e5 add mptcp build
Hajime Tazaki <tazaki@nict.go.jp>
parents: 169
diff changeset
   105
      </source>
57267a24d3e5 add mptcp build
Hajime Tazaki <tazaki@nict.go.jp>
parents: 169
diff changeset
   106
      <build type="make" objdir="no">
57267a24d3e5 add mptcp build
Hajime Tazaki <tazaki@nict.go.jp>
parents: 169
diff changeset
   107
	<attribute name="pre_installation" value="cd $SRCDIR;git remote add dce git://github.com/thehajime/net-next-sim.git; git fetch dce; git merge dce/sim-ns3-3.5.0-branch; echo 'CONFIG_MPTCP=y' >> arch/sim/defconfig; sed 's/CONFIG_SYN_COOKIES=y/\#CONFIG_SYN_COOKIES=y/' arch/sim/defconfig >a; mv a arch/sim/defconfig"/>
57267a24d3e5 add mptcp build
Hajime Tazaki <tazaki@nict.go.jp>
parents: 169
diff changeset
   108
        <attribute name="configure_arguments" value="defconfig ARCH=sim"/>
57267a24d3e5 add mptcp build
Hajime Tazaki <tazaki@nict.go.jp>
parents: 169
diff changeset
   109
        <attribute name="build_arguments" value="library ARCH=sim"/>
57267a24d3e5 add mptcp build
Hajime Tazaki <tazaki@nict.go.jp>
parents: 169
diff changeset
   110
        <attribute name="no_installation" value="True"/>
57267a24d3e5 add mptcp build
Hajime Tazaki <tazaki@nict.go.jp>
parents: 169
diff changeset
   111
        <attribute name="post_installation" value="mkdir -p $INSTALLDIR/bin_dce; cd $INSTALLDIR/bin_dce; cp $SRCDIR/libsim-linux3.5.7.so ./libsim-linux3.5.7-mptcp.so; ln -s -f libsim-linux3.5.7-mptcp.so liblinux.so"/>
57267a24d3e5 add mptcp build
Hajime Tazaki <tazaki@nict.go.jp>
parents: 169
diff changeset
   112
      </build>
57267a24d3e5 add mptcp build
Hajime Tazaki <tazaki@nict.go.jp>
parents: 169
diff changeset
   113
    </module>
57267a24d3e5 add mptcp build
Hajime Tazaki <tazaki@nict.go.jp>
parents: 169
diff changeset
   114
57267a24d3e5 add mptcp build
Hajime Tazaki <tazaki@nict.go.jp>
parents: 169
diff changeset
   115
    <module name="iproute-mptcp">
57267a24d3e5 add mptcp build
Hajime Tazaki <tazaki@nict.go.jp>
parents: 169
diff changeset
   116
      <source type="git">
57267a24d3e5 add mptcp build
Hajime Tazaki <tazaki@nict.go.jp>
parents: 169
diff changeset
   117
        <attribute name="url" value="git://github.com/multipath-tcp/iproute-mptcp.git"/>
57267a24d3e5 add mptcp build
Hajime Tazaki <tazaki@nict.go.jp>
parents: 169
diff changeset
   118
        <attribute name="module_directory" value="iproute-mptcp"/>
57267a24d3e5 add mptcp build
Hajime Tazaki <tazaki@nict.go.jp>
parents: 169
diff changeset
   119
        <attribute name="revision" value="49687a0dff890bf753a06357959b8bbab18b9d2a"/>
57267a24d3e5 add mptcp build
Hajime Tazaki <tazaki@nict.go.jp>
parents: 169
diff changeset
   120
      </source>
57267a24d3e5 add mptcp build
Hajime Tazaki <tazaki@nict.go.jp>
parents: 169
diff changeset
   121
      <depends_on name="libdb-dev" optional="False"/>
57267a24d3e5 add mptcp build
Hajime Tazaki <tazaki@nict.go.jp>
parents: 169
diff changeset
   122
      <depends_on name="bison" optional="False"/>
57267a24d3e5 add mptcp build
Hajime Tazaki <tazaki@nict.go.jp>
parents: 169
diff changeset
   123
      <depends_on name="flex" optional="False"/>
57267a24d3e5 add mptcp build
Hajime Tazaki <tazaki@nict.go.jp>
parents: 169
diff changeset
   124
      <depends_on name="libsysfs-dev" optional="False"/>
57267a24d3e5 add mptcp build
Hajime Tazaki <tazaki@nict.go.jp>
parents: 169
diff changeset
   125
      <depends_on name="libssl-dev" optional="False"/>
57267a24d3e5 add mptcp build
Hajime Tazaki <tazaki@nict.go.jp>
parents: 169
diff changeset
   126
      <build type="make" objdir="yes">
57267a24d3e5 add mptcp build
Hajime Tazaki <tazaki@nict.go.jp>
parents: 169
diff changeset
   127
	<attribute name="patch" value="$SRCDIR/../dce/utils/iproute-mptcp.patch"/>
57267a24d3e5 add mptcp build
Hajime Tazaki <tazaki@nict.go.jp>
parents: 169
diff changeset
   128
	<attribute name="pre_installation" value="$SRCDIR/configure"/>
57267a24d3e5 add mptcp build
Hajime Tazaki <tazaki@nict.go.jp>
parents: 169
diff changeset
   129
	<attribute name="LDFLAGS" value="-pie"/>
57267a24d3e5 add mptcp build
Hajime Tazaki <tazaki@nict.go.jp>
parents: 169
diff changeset
   130
	<attribute name="ignore_predefined_flags" value="True"/>
57267a24d3e5 add mptcp build
Hajime Tazaki <tazaki@nict.go.jp>
parents: 169
diff changeset
   131
        <attribute name="install_arguments" value="DESTDIR=$INSTALLDIR" />
57267a24d3e5 add mptcp build
Hajime Tazaki <tazaki@nict.go.jp>
parents: 169
diff changeset
   132
	<attribute name="build_arguments" value="CCOPTS+=-fpic CCOPTS+=-D_GNU_SOURCE CCOPTS+=-O0 CCOPTS+=-U_FORTIFY_SOURCE LDFLAGS=-pie DEFINES+=-I$SRCDIR/../mptcp/include"/>
57267a24d3e5 add mptcp build
Hajime Tazaki <tazaki@nict.go.jp>
parents: 169
diff changeset
   133
      </build>
57267a24d3e5 add mptcp build
Hajime Tazaki <tazaki@nict.go.jp>
parents: 169
diff changeset
   134
    </module>
57267a24d3e5 add mptcp build
Hajime Tazaki <tazaki@nict.go.jp>
parents: 169
diff changeset
   135
57267a24d3e5 add mptcp build
Hajime Tazaki <tazaki@nict.go.jp>
parents: 169
diff changeset
   136
    <module name="dce-linux-mptcp">
57267a24d3e5 add mptcp build
Hajime Tazaki <tazaki@nict.go.jp>
parents: 169
diff changeset
   137
      <source type="mercurial">
57267a24d3e5 add mptcp build
Hajime Tazaki <tazaki@nict.go.jp>
parents: 169
diff changeset
   138
	<attribute name="url" value="http://code.nsnam.org/ns-3-dce"/>
57267a24d3e5 add mptcp build
Hajime Tazaki <tazaki@nict.go.jp>
parents: 169
diff changeset
   139
 	<attribute name="module_directory" value="dce"/>
57267a24d3e5 add mptcp build
Hajime Tazaki <tazaki@nict.go.jp>
parents: 169
diff changeset
   140
     </source>
57267a24d3e5 add mptcp build
Hajime Tazaki <tazaki@nict.go.jp>
parents: 169
diff changeset
   141
       <depends_on name="elf-loader" optional="False"/>
57267a24d3e5 add mptcp build
Hajime Tazaki <tazaki@nict.go.jp>
parents: 169
diff changeset
   142
       <depends_on name="mptcp_v0.86" optional="False"/>
57267a24d3e5 add mptcp build
Hajime Tazaki <tazaki@nict.go.jp>
parents: 169
diff changeset
   143
       <depends_on name="iproute-mptcp" optional="False"/>
57267a24d3e5 add mptcp build
Hajime Tazaki <tazaki@nict.go.jp>
parents: 169
diff changeset
   144
       <depends_on name="iperf" optional="True"/>
57267a24d3e5 add mptcp build
Hajime Tazaki <tazaki@nict.go.jp>
parents: 169
diff changeset
   145
       <depends_on name="ns-3-dev-dce" optional="False"/>
57267a24d3e5 add mptcp build
Hajime Tazaki <tazaki@nict.go.jp>
parents: 169
diff changeset
   146
      <build type="waf" objdir="yes" sourcedir="dce">
57267a24d3e5 add mptcp build
Hajime Tazaki <tazaki@nict.go.jp>
parents: 169
diff changeset
   147
	<attribute name="configure_arguments" value="configure --prefix=$INSTALLDIR --with-ns3=$INSTALLDIR --with-elf-loader=$INSTALLDIR/lib --enable-kernel-stack=$SRCDIR/../mptcp/arch"/>
57267a24d3e5 add mptcp build
Hajime Tazaki <tazaki@nict.go.jp>
parents: 169
diff changeset
   148
      </build>
57267a24d3e5 add mptcp build
Hajime Tazaki <tazaki@nict.go.jp>
parents: 169
diff changeset
   149
    </module>
57267a24d3e5 add mptcp build
Hajime Tazaki <tazaki@nict.go.jp>
parents: 169
diff changeset
   150
173
d49216989153 add description built from net-next-sim kernel (by make testbin)
Hajime Tazaki <tazaki@nict.go.jp>
parents: 172
diff changeset
   151
    <module name="dce-linux-mptcp-inkernel">
d49216989153 add description built from net-next-sim kernel (by make testbin)
Hajime Tazaki <tazaki@nict.go.jp>
parents: 172
diff changeset
   152
      <source type="mercurial">
d49216989153 add description built from net-next-sim kernel (by make testbin)
Hajime Tazaki <tazaki@nict.go.jp>
parents: 172
diff changeset
   153
	<attribute name="url" value="http://code.nsnam.org/ns-3-dce"/>
d49216989153 add description built from net-next-sim kernel (by make testbin)
Hajime Tazaki <tazaki@nict.go.jp>
parents: 172
diff changeset
   154
	<attribute name="module_directory" value="dce"/>
d49216989153 add description built from net-next-sim kernel (by make testbin)
Hajime Tazaki <tazaki@nict.go.jp>
parents: 172
diff changeset
   155
      </source>
d49216989153 add description built from net-next-sim kernel (by make testbin)
Hajime Tazaki <tazaki@nict.go.jp>
parents: 172
diff changeset
   156
      <depends_on name="elf-loader" optional="False"/>
d49216989153 add description built from net-next-sim kernel (by make testbin)
Hajime Tazaki <tazaki@nict.go.jp>
parents: 172
diff changeset
   157
      <depends_on name="iproute-mptcp" optional="False"/>
d49216989153 add description built from net-next-sim kernel (by make testbin)
Hajime Tazaki <tazaki@nict.go.jp>
parents: 172
diff changeset
   158
      <depends_on name="iperf" optional="True"/>
d49216989153 add description built from net-next-sim kernel (by make testbin)
Hajime Tazaki <tazaki@nict.go.jp>
parents: 172
diff changeset
   159
      <depends_on name="ns-3-dev-dce" optional="False"/>
d49216989153 add description built from net-next-sim kernel (by make testbin)
Hajime Tazaki <tazaki@nict.go.jp>
parents: 172
diff changeset
   160
      <build type="waf" objdir="yes" sourcedir="dce">
d49216989153 add description built from net-next-sim kernel (by make testbin)
Hajime Tazaki <tazaki@nict.go.jp>
parents: 172
diff changeset
   161
	<!-- assume the bake.py build is executed under arch/sim/test/buildtop/ -->
d49216989153 add description built from net-next-sim kernel (by make testbin)
Hajime Tazaki <tazaki@nict.go.jp>
parents: 172
diff changeset
   162
	<attribute name="configure_arguments" value="configure --prefix=$INSTALLDIR --with-ns3=$INSTALLDIR --with-elf-loader=$INSTALLDIR/lib --enable-kernel-stack=$SRCDIR/../../../../../"/>
d49216989153 add description built from net-next-sim kernel (by make testbin)
Hajime Tazaki <tazaki@nict.go.jp>
parents: 172
diff changeset
   163
      </build>
d49216989153 add description built from net-next-sim kernel (by make testbin)
Hajime Tazaki <tazaki@nict.go.jp>
parents: 172
diff changeset
   164
    </module>
d49216989153 add description built from net-next-sim kernel (by make testbin)
Hajime Tazaki <tazaki@nict.go.jp>
parents: 172
diff changeset
   165
167
739d70ae5e53 Bug 1610 - bake should check for libpcap-dev before building ccnx
Hajime Tazaki <tazaki@nict.go.jp>
parents: 166
diff changeset
   166
    <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
   167
      <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
   168
        <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
   169
        <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
   170
        <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
   171
        <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
   172
        <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
   173
      </source>
739d70ae5e53 Bug 1610 - bake should check for libpcap-dev before building ccnx
Hajime Tazaki <tazaki@nict.go.jp>
parents: 166
diff changeset
   174
      <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
   175
      </build>
739d70ae5e53 Bug 1610 - bake should check for libpcap-dev before building ccnx
Hajime Tazaki <tazaki@nict.go.jp>
parents: 166
diff changeset
   176
    </module>
739d70ae5e53 Bug 1610 - bake should check for libpcap-dev before building ccnx
Hajime Tazaki <tazaki@nict.go.jp>
parents: 166
diff changeset
   177
121
161cb0e74bb8 Config file for DCE with ccnx
daniel
parents: 117
diff changeset
   178
    <module name="ccnx">
161cb0e74bb8 Config file for DCE with ccnx
daniel
parents: 117
diff changeset
   179
      <source type="archive">
161cb0e74bb8 Config file for DCE with ccnx
daniel
parents: 117
diff changeset
   180
	<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
   181
	<attribute name="extract_directory" value="ccnx-0.6.2"/>
161cb0e74bb8 Config file for DCE with ccnx
daniel
parents: 117
diff changeset
   182
      </source>
167
739d70ae5e53 Bug 1610 - bake should check for libpcap-dev before building ccnx
Hajime Tazaki <tazaki@nict.go.jp>
parents: 166
diff changeset
   183
      <depends_on name="libpcap-dev" optional="False"/>
121
161cb0e74bb8 Config file for DCE with ccnx
daniel
parents: 117
diff changeset
   184
      <build type="make" objdir="yes">
124
8fe5ba0938c6 Fix for the configuration file and Unrecognized option
daniel
parents: 123
diff changeset
   185
	<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
   186
	<attribute name="build_arguments" value="MORE_LDLIBS=-pie"/>
161cb0e74bb8 Config file for DCE with ccnx
daniel
parents: 117
diff changeset
   187
        <attribute name="new_variable" value="INSTALL_BASE=$INSTALLDIR" />
161cb0e74bb8 Config file for DCE with ccnx
daniel
parents: 117
diff changeset
   188
      </build>
161cb0e74bb8 Config file for DCE with ccnx
daniel
parents: 117
diff changeset
   189
     </module>
161cb0e74bb8 Config file for DCE with ccnx
daniel
parents: 117
diff changeset
   190
117
0a5182f04b00 DCE tutorial changes
daniel
parents: 115
diff changeset
   191
    <module name="iperf">
0a5182f04b00 DCE tutorial changes
daniel
parents: 115
diff changeset
   192
      <source type="archive">
0a5182f04b00 DCE tutorial changes
daniel
parents: 115
diff changeset
   193
	<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
   194
	<attribute name="extract_directory" value="iperf-2.0.5"/>
0a5182f04b00 DCE tutorial changes
daniel
parents: 115
diff changeset
   195
      </source>
0a5182f04b00 DCE tutorial changes
daniel
parents: 115
diff changeset
   196
      <build type="make" objdir="yes">
0a5182f04b00 DCE tutorial changes
daniel
parents: 115
diff changeset
   197
	<attribute name="pre_installation" value="cd $SRCDIR;./configure --prefix=$INSTALLDIR"/>
0a5182f04b00 DCE tutorial changes
daniel
parents: 115
diff changeset
   198
	<attribute name="patch" value="$SRCDIR/../dce/utils/iperf_4_dce.patch"/>
0a5182f04b00 DCE tutorial changes
daniel
parents: 115
diff changeset
   199
      </build>
0a5182f04b00 DCE tutorial changes
daniel
parents: 115
diff changeset
   200
     </module>
0a5182f04b00 DCE tutorial changes
daniel
parents: 115
diff changeset
   201
166
383536a8c68f Bug 1611 - bake dependency on iproute missing
Hajime Tazaki <tazaki@nict.go.jp>
parents: 165
diff changeset
   202
    <module name="libdb-dev">
383536a8c68f Bug 1611 - bake dependency on iproute missing
Hajime Tazaki <tazaki@nict.go.jp>
parents: 165
diff changeset
   203
      <source type="system_dependency">
383536a8c68f Bug 1611 - bake dependency on iproute missing
Hajime Tazaki <tazaki@nict.go.jp>
parents: 165
diff changeset
   204
        <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
   205
        <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
   206
        <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
   207
        <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
   208
        <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
   209
      </source>
383536a8c68f Bug 1611 - bake dependency on iproute missing
Hajime Tazaki <tazaki@nict.go.jp>
parents: 165
diff changeset
   210
      <build type="none" objdir="no">
383536a8c68f Bug 1611 - bake dependency on iproute missing
Hajime Tazaki <tazaki@nict.go.jp>
parents: 165
diff changeset
   211
      </build>
383536a8c68f Bug 1611 - bake dependency on iproute missing
Hajime Tazaki <tazaki@nict.go.jp>
parents: 165
diff changeset
   212
    </module>
383536a8c68f Bug 1611 - bake dependency on iproute missing
Hajime Tazaki <tazaki@nict.go.jp>
parents: 165
diff changeset
   213
383536a8c68f Bug 1611 - bake dependency on iproute missing
Hajime Tazaki <tazaki@nict.go.jp>
parents: 165
diff changeset
   214
    <module name="bison">
383536a8c68f Bug 1611 - bake dependency on iproute missing
Hajime Tazaki <tazaki@nict.go.jp>
parents: 165
diff changeset
   215
      <source type="system_dependency">
383536a8c68f Bug 1611 - bake dependency on iproute missing
Hajime Tazaki <tazaki@nict.go.jp>
parents: 165
diff changeset
   216
        <attribute name="dependency_test" value="bison"/>
383536a8c68f Bug 1611 - bake dependency on iproute missing
Hajime Tazaki <tazaki@nict.go.jp>
parents: 165
diff changeset
   217
        <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
   218
        <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
   219
        <attribute name="name_yum" value="bison"/>
383536a8c68f Bug 1611 - bake dependency on iproute missing
Hajime Tazaki <tazaki@nict.go.jp>
parents: 165
diff changeset
   220
        <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
   221
      </source>
383536a8c68f Bug 1611 - bake dependency on iproute missing
Hajime Tazaki <tazaki@nict.go.jp>
parents: 165
diff changeset
   222
      <build type="none" objdir="no">
383536a8c68f Bug 1611 - bake dependency on iproute missing
Hajime Tazaki <tazaki@nict.go.jp>
parents: 165
diff changeset
   223
      </build>
383536a8c68f Bug 1611 - bake dependency on iproute missing
Hajime Tazaki <tazaki@nict.go.jp>
parents: 165
diff changeset
   224
    </module>
383536a8c68f Bug 1611 - bake dependency on iproute missing
Hajime Tazaki <tazaki@nict.go.jp>
parents: 165
diff changeset
   225
383536a8c68f Bug 1611 - bake dependency on iproute missing
Hajime Tazaki <tazaki@nict.go.jp>
parents: 165
diff changeset
   226
    <module name="flex">
383536a8c68f Bug 1611 - bake dependency on iproute missing
Hajime Tazaki <tazaki@nict.go.jp>
parents: 165
diff changeset
   227
      <source type="system_dependency">
383536a8c68f Bug 1611 - bake dependency on iproute missing
Hajime Tazaki <tazaki@nict.go.jp>
parents: 165
diff changeset
   228
        <attribute name="dependency_test" value="flex"/>
383536a8c68f Bug 1611 - bake dependency on iproute missing
Hajime Tazaki <tazaki@nict.go.jp>
parents: 165
diff changeset
   229
        <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
   230
        <attribute name="sudoer_install" value="True"/>
383536a8c68f Bug 1611 - bake dependency on iproute missing
Hajime Tazaki <tazaki@nict.go.jp>
parents: 165
diff changeset
   231
        <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
   232
        <attribute name="name_yum" value="flex"/>
383536a8c68f Bug 1611 - bake dependency on iproute missing
Hajime Tazaki <tazaki@nict.go.jp>
parents: 165
diff changeset
   233
        <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
   234
      </source>
383536a8c68f Bug 1611 - bake dependency on iproute missing
Hajime Tazaki <tazaki@nict.go.jp>
parents: 165
diff changeset
   235
      <build type="none" objdir="no">
383536a8c68f Bug 1611 - bake dependency on iproute missing
Hajime Tazaki <tazaki@nict.go.jp>
parents: 165
diff changeset
   236
      </build>
383536a8c68f Bug 1611 - bake dependency on iproute missing
Hajime Tazaki <tazaki@nict.go.jp>
parents: 165
diff changeset
   237
    </module>
383536a8c68f Bug 1611 - bake dependency on iproute missing
Hajime Tazaki <tazaki@nict.go.jp>
parents: 165
diff changeset
   238
168
4e8765f518d1 Add more package dependencies for elf-loader, quagga, umip
Hajime Tazaki <tazaki@nict.go.jp>
parents: 167
diff changeset
   239
    <module name="libsysfs-dev">
4e8765f518d1 Add more package dependencies for elf-loader, quagga, umip
Hajime Tazaki <tazaki@nict.go.jp>
parents: 167
diff changeset
   240
      <source type="system_dependency">
4e8765f518d1 Add more package dependencies for elf-loader, quagga, umip
Hajime Tazaki <tazaki@nict.go.jp>
parents: 167
diff changeset
   241
        <attribute name="dependency_test" value="libsysfs.h"/>
4e8765f518d1 Add more package dependencies for elf-loader, quagga, umip
Hajime Tazaki <tazaki@nict.go.jp>
parents: 167
diff changeset
   242
        <attribute name="try_to_install" value="True"/>
4e8765f518d1 Add more package dependencies for elf-loader, quagga, umip
Hajime Tazaki <tazaki@nict.go.jp>
parents: 167
diff changeset
   243
        <attribute name="name_apt-get" value="libsysfs-dev"/>
4e8765f518d1 Add more package dependencies for elf-loader, quagga, umip
Hajime Tazaki <tazaki@nict.go.jp>
parents: 167
diff changeset
   244
        <attribute name="name_yum" value="libsysfs-devel"/>
4e8765f518d1 Add more package dependencies for elf-loader, quagga, umip
Hajime Tazaki <tazaki@nict.go.jp>
parents: 167
diff changeset
   245
        <attribute name="more_information" value="Didn't find libsysfs-dev package; please install it."/>
4e8765f518d1 Add more package dependencies for elf-loader, quagga, umip
Hajime Tazaki <tazaki@nict.go.jp>
parents: 167
diff changeset
   246
      </source>
4e8765f518d1 Add more package dependencies for elf-loader, quagga, umip
Hajime Tazaki <tazaki@nict.go.jp>
parents: 167
diff changeset
   247
      <build type="none" objdir="no">
4e8765f518d1 Add more package dependencies for elf-loader, quagga, umip
Hajime Tazaki <tazaki@nict.go.jp>
parents: 167
diff changeset
   248
      </build>
4e8765f518d1 Add more package dependencies for elf-loader, quagga, umip
Hajime Tazaki <tazaki@nict.go.jp>
parents: 167
diff changeset
   249
    </module>
4e8765f518d1 Add more package dependencies for elf-loader, quagga, umip
Hajime Tazaki <tazaki@nict.go.jp>
parents: 167
diff changeset
   250
4e8765f518d1 Add more package dependencies for elf-loader, quagga, umip
Hajime Tazaki <tazaki@nict.go.jp>
parents: 167
diff changeset
   251
    <module name="libssl-dev">
4e8765f518d1 Add more package dependencies for elf-loader, quagga, umip
Hajime Tazaki <tazaki@nict.go.jp>
parents: 167
diff changeset
   252
      <source type="system_dependency">
4e8765f518d1 Add more package dependencies for elf-loader, quagga, umip
Hajime Tazaki <tazaki@nict.go.jp>
parents: 167
diff changeset
   253
        <attribute name="dependency_test" value="md5.h"/>
4e8765f518d1 Add more package dependencies for elf-loader, quagga, umip
Hajime Tazaki <tazaki@nict.go.jp>
parents: 167
diff changeset
   254
        <attribute name="try_to_install" value="True"/>
4e8765f518d1 Add more package dependencies for elf-loader, quagga, umip
Hajime Tazaki <tazaki@nict.go.jp>
parents: 167
diff changeset
   255
        <attribute name="name_apt-get" value="libssl-dev"/>
4e8765f518d1 Add more package dependencies for elf-loader, quagga, umip
Hajime Tazaki <tazaki@nict.go.jp>
parents: 167
diff changeset
   256
        <attribute name="name_yum" value="openssl-devel"/>
4e8765f518d1 Add more package dependencies for elf-loader, quagga, umip
Hajime Tazaki <tazaki@nict.go.jp>
parents: 167
diff changeset
   257
        <attribute name="more_information" value="Didn't find libssl-dev package; please install it."/>
4e8765f518d1 Add more package dependencies for elf-loader, quagga, umip
Hajime Tazaki <tazaki@nict.go.jp>
parents: 167
diff changeset
   258
      </source>
4e8765f518d1 Add more package dependencies for elf-loader, quagga, umip
Hajime Tazaki <tazaki@nict.go.jp>
parents: 167
diff changeset
   259
      <build type="none" objdir="no">
4e8765f518d1 Add more package dependencies for elf-loader, quagga, umip
Hajime Tazaki <tazaki@nict.go.jp>
parents: 167
diff changeset
   260
      </build>
4e8765f518d1 Add more package dependencies for elf-loader, quagga, umip
Hajime Tazaki <tazaki@nict.go.jp>
parents: 167
diff changeset
   261
    </module>
4e8765f518d1 Add more package dependencies for elf-loader, quagga, umip
Hajime Tazaki <tazaki@nict.go.jp>
parents: 167
diff changeset
   262
117
0a5182f04b00 DCE tutorial changes
daniel
parents: 115
diff changeset
   263
     <module name="iproute">
67
1d85f4b247f3 Update on the unit test
Daniel Camara <daniel.camara@inria.fr>
parents:
diff changeset
   264
      <source type="archive">
94
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
   265
	<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
   266
      </source>
166
383536a8c68f Bug 1611 - bake dependency on iproute missing
Hajime Tazaki <tazaki@nict.go.jp>
parents: 165
diff changeset
   267
      <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
   268
      <depends_on name="bison" optional="False"/>
383536a8c68f Bug 1611 - bake dependency on iproute missing
Hajime Tazaki <tazaki@nict.go.jp>
parents: 165
diff changeset
   269
      <depends_on name="flex" optional="False"/>
168
4e8765f518d1 Add more package dependencies for elf-loader, quagga, umip
Hajime Tazaki <tazaki@nict.go.jp>
parents: 167
diff changeset
   270
      <depends_on name="libsysfs-dev" optional="False"/>
4e8765f518d1 Add more package dependencies for elf-loader, quagga, umip
Hajime Tazaki <tazaki@nict.go.jp>
parents: 167
diff changeset
   271
      <depends_on name="libssl-dev" optional="False"/>
94
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
   272
      <build type="make" objdir="yes">
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
   273
	<attribute name="pre_installation" value="$SRCDIR/configure"/>
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
   274
	<attribute name="LDFLAGS" value="-pie"/>
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
   275
	<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
   276
         <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
   277
	<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
   278
      </build>
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
   279
     </module>
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
   280
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
   281
    <module name="ns-3-dev-dce">
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
   282
      <source type="mercurial">
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
   283
	<attribute name="url" value="http://code.nsnam.org/ns-3-dev"/>
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
   284
      </source>
175
f1d2351af8e8 change pybindgen-user to optional
Hajime Tazaki <tazaki@nict.go.jp>
parents: 173
diff changeset
   285
      <depends_on name="pybindgen-user" optional="True"/>
94
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
   286
      <build type="waf" objdir="yes">
172
00239e0c959b add pybindgen build for dce
Hajime Tazaki <tazaki@nict.go.jp>
parents: 171
diff changeset
   287
	<attribute name="patch" value="$SRCDIR/../dce/utils/pyviz-install.patch"/>
00239e0c959b add pybindgen build for dce
Hajime Tazaki <tazaki@nict.go.jp>
parents: 171
diff changeset
   288
	<attribute name="configure_arguments" value="configure --prefix=$INSTALLDIR --enable-tests --with-pybindgen=$SRCDIR/../pybindgen-user"/>
94
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
   289
      </build>
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
   290
    </module>
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
   291
158
877c6c57c249 Obsolete ns-3-linux with net-next-sim repository
Hajime Tazaki <tazaki@nict.go.jp>
parents: 157
diff changeset
   292
     <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
   293
       <source type="git">
877c6c57c249 Obsolete ns-3-linux with net-next-sim repository
Hajime Tazaki <tazaki@nict.go.jp>
parents: 157
diff changeset
   294
         <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
   295
         <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
   296
         <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
   297
       </source>
877c6c57c249 Obsolete ns-3-linux with net-next-sim repository
Hajime Tazaki <tazaki@nict.go.jp>
parents: 157
diff changeset
   298
       <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
   299
         <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
   300
         <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
   301
         <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
   302
         <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
   303
       </build>
877c6c57c249 Obsolete ns-3-linux with net-next-sim repository
Hajime Tazaki <tazaki@nict.go.jp>
parents: 157
diff changeset
   304
     </module>
877c6c57c249 Obsolete ns-3-linux with net-next-sim repository
Hajime Tazaki <tazaki@nict.go.jp>
parents: 157
diff changeset
   305
877c6c57c249 Obsolete ns-3-linux with net-next-sim repository
Hajime Tazaki <tazaki@nict.go.jp>
parents: 157
diff changeset
   306
     <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
   307
       <source type="git">
877c6c57c249 Obsolete ns-3-linux with net-next-sim repository
Hajime Tazaki <tazaki@nict.go.jp>
parents: 157
diff changeset
   308
         <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
   309
         <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
   310
         <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
   311
       </source>
877c6c57c249 Obsolete ns-3-linux with net-next-sim repository
Hajime Tazaki <tazaki@nict.go.jp>
parents: 157
diff changeset
   312
       <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
   313
         <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
   314
         <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
   315
         <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
   316
         <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
   317
       </build>
877c6c57c249 Obsolete ns-3-linux with net-next-sim repository
Hajime Tazaki <tazaki@nict.go.jp>
parents: 157
diff changeset
   318
     </module>
877c6c57c249 Obsolete ns-3-linux with net-next-sim repository
Hajime Tazaki <tazaki@nict.go.jp>
parents: 157
diff changeset
   319
877c6c57c249 Obsolete ns-3-linux with net-next-sim repository
Hajime Tazaki <tazaki@nict.go.jp>
parents: 157
diff changeset
   320
     <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
   321
       <source type="git">
877c6c57c249 Obsolete ns-3-linux with net-next-sim repository
Hajime Tazaki <tazaki@nict.go.jp>
parents: 157
diff changeset
   322
         <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
   323
         <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
   324
         <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
   325
       </source>
877c6c57c249 Obsolete ns-3-linux with net-next-sim repository
Hajime Tazaki <tazaki@nict.go.jp>
parents: 157
diff changeset
   326
       <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
   327
         <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
   328
         <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
   329
         <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
   330
         <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
   331
       </build>
877c6c57c249 Obsolete ns-3-linux with net-next-sim repository
Hajime Tazaki <tazaki@nict.go.jp>
parents: 157
diff changeset
   332
     </module>
94
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
   333
155
95e97e9298cc wget and thttpd added, for DCE
daniel
parents: 152
diff changeset
   334
     <module name="wget">
95e97e9298cc wget and thttpd added, for DCE
daniel
parents: 152
diff changeset
   335
      <source type="archive">
163
c3442238b27c fix broken wget build
Hajime Tazaki <tazaki@nict.go.jp>
parents: 162
diff changeset
   336
        <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
   337
        <attribute name="extract_directory" value="wget-1.14"/>
155
95e97e9298cc wget and thttpd added, for DCE
daniel
parents: 152
diff changeset
   338
      </source>
95e97e9298cc wget and thttpd added, for DCE
daniel
parents: 152
diff changeset
   339
      <build type="make" objdir="yes">
163
c3442238b27c fix broken wget build
Hajime Tazaki <tazaki@nict.go.jp>
parents: 162
diff changeset
   340
        <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
   341
      </build>
95e97e9298cc wget and thttpd added, for DCE
daniel
parents: 152
diff changeset
   342
     </module>
95e97e9298cc wget and thttpd added, for DCE
daniel
parents: 152
diff changeset
   343
95e97e9298cc wget and thttpd added, for DCE
daniel
parents: 152
diff changeset
   344
    <module name="thttpd">
95e97e9298cc wget and thttpd added, for DCE
daniel
parents: 152
diff changeset
   345
      <source type="archive">
95e97e9298cc wget and thttpd added, for DCE
daniel
parents: 152
diff changeset
   346
    <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
   347
    <attribute name="extract_directory" value="thttpd-2.25b"/>
95e97e9298cc wget and thttpd added, for DCE
daniel
parents: 152
diff changeset
   348
      </source>
95e97e9298cc wget and thttpd added, for DCE
daniel
parents: 152
diff changeset
   349
      <build type="make" objdir="yes">
95e97e9298cc wget and thttpd added, for DCE
daniel
parents: 152
diff changeset
   350
    <attribute name="pre_installation" value="cd $SRCDIR;./configure --prefix=$INSTALLDIR"/>
95e97e9298cc wget and thttpd added, for DCE
daniel
parents: 152
diff changeset
   351
    <attribute name="patch" value="$SRCDIR/../dce/myscripts/httpd/dce-thttpd.patch"/>
95e97e9298cc wget and thttpd added, for DCE
daniel
parents: 152
diff changeset
   352
         <attribute name="install_arguments" value="-n" />
95e97e9298cc wget and thttpd added, for DCE
daniel
parents: 152
diff changeset
   353
    <attribute name="build_arguments" value="thttpd"/>
95e97e9298cc wget and thttpd added, for DCE
daniel
parents: 152
diff changeset
   354
         <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
   355
      </build>
95e97e9298cc wget and thttpd added, for DCE
daniel
parents: 152
diff changeset
   356
     </module>
95e97e9298cc wget and thttpd added, for DCE
daniel
parents: 152
diff changeset
   357
95e97e9298cc wget and thttpd added, for DCE
daniel
parents: 152
diff changeset
   358
145
b5a6ad566c40 Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents: 144
diff changeset
   359
     <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
   360
       <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
   361
	 <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
   362
       </source>
b5a6ad566c40 Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents: 144
diff changeset
   363
       <!-- 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
   364
       <build type="inline"  classname="IputilsModuleBuild">
161
c263cd42307a fix patching process of iputils
Hajime Tazaki <tazaki@nict.go.jp>
parents: 158
diff changeset
   365
	 <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
   366
	 <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
   367
	 <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
   368
    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
   369
        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
   370
    def build(self, env, jobs):
161
c263cd42307a fix patching process of iputils
Hajime Tazaki <tazaki@nict.go.jp>
parents: 158
diff changeset
   371
           if self.attribute('patch').value != '':
c263cd42307a fix patching process of iputils
Hajime Tazaki <tazaki@nict.go.jp>
parents: 158
diff changeset
   372
               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
   373
           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
   374
           '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
   375
           '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
   376
           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
   377
           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
   378
           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
   379
           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
   380
           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
   381
    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
   382
           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
   383
    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
   384
           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
   385
       </build>
b5a6ad566c40 Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents: 144
diff changeset
   386
     </module>
b5a6ad566c40 Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents: 144
diff changeset
   387
b5a6ad566c40 Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents: 144
diff changeset
   388
     <!-- 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
   389
     <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
   390
       <source type="mercurial">
151
fc41a7a57685 remove local file path from quagga/umip repository... (sorry)
Hajime Tazaki <tazaki@nict.go.jp>
parents: 150
diff changeset
   391
	 <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
   392
	 <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
   393
       </source>
b5a6ad566c40 Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents: 144
diff changeset
   394
       <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
   395
       <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
   396
       <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
   397
       <build type="none">
d0ee485ade65 Bug 1593 - support DCE sub-module under myscripts directory
Hajime Tazaki <tazaki@nict.go.jp>
parents: 149
diff changeset
   398
	 <!-- 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
   399
       </build>
b5a6ad566c40 Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents: 144
diff changeset
   400
     </module>
b5a6ad566c40 Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents: 144
diff changeset
   401
b5a6ad566c40 Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents: 144
diff changeset
   402
     <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
   403
       <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
   404
         <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
   405
       </source>
b5a6ad566c40 Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents: 144
diff changeset
   406
       <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
   407
         <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
   408
         <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
   409
         <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
   410
         <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
   411
       </build>
b5a6ad566c40 Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents: 144
diff changeset
   412
     </module>
b5a6ad566c40 Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents: 144
diff changeset
   413
b5a6ad566c40 Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents: 144
diff changeset
   414
    <!-- 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
   415
    <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
   416
      <source type="mercurial">
151
fc41a7a57685 remove local file path from quagga/umip repository... (sorry)
Hajime Tazaki <tazaki@nict.go.jp>
parents: 150
diff changeset
   417
	<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
   418
	<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
   419
      </source>
150
d0ee485ade65 Bug 1593 - support DCE sub-module under myscripts directory
Hajime Tazaki <tazaki@nict.go.jp>
parents: 149
diff changeset
   420
       <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
   421
       <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
   422
       <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
   423
      <build type="none">
d0ee485ade65 Bug 1593 - support DCE sub-module under myscripts directory
Hajime Tazaki <tazaki@nict.go.jp>
parents: 149
diff changeset
   424
	<!-- 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
   425
     </build>
b5a6ad566c40 Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents: 144
diff changeset
   426
    </module>
b5a6ad566c40 Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents: 144
diff changeset
   427
168
4e8765f518d1 Add more package dependencies for elf-loader, quagga, umip
Hajime Tazaki <tazaki@nict.go.jp>
parents: 167
diff changeset
   428
    <module name="indent">
4e8765f518d1 Add more package dependencies for elf-loader, quagga, umip
Hajime Tazaki <tazaki@nict.go.jp>
parents: 167
diff changeset
   429
      <source type="system_dependency">
4e8765f518d1 Add more package dependencies for elf-loader, quagga, umip
Hajime Tazaki <tazaki@nict.go.jp>
parents: 167
diff changeset
   430
        <attribute name="dependency_test" value="indent"/>
4e8765f518d1 Add more package dependencies for elf-loader, quagga, umip
Hajime Tazaki <tazaki@nict.go.jp>
parents: 167
diff changeset
   431
        <attribute name="try_to_install" value="True"/>
4e8765f518d1 Add more package dependencies for elf-loader, quagga, umip
Hajime Tazaki <tazaki@nict.go.jp>
parents: 167
diff changeset
   432
        <attribute name="name_apt-get" value="indent"/>
4e8765f518d1 Add more package dependencies for elf-loader, quagga, umip
Hajime Tazaki <tazaki@nict.go.jp>
parents: 167
diff changeset
   433
        <attribute name="name_yum" value="indent"/>
4e8765f518d1 Add more package dependencies for elf-loader, quagga, umip
Hajime Tazaki <tazaki@nict.go.jp>
parents: 167
diff changeset
   434
        <attribute name="more_information" value="The indent tool is not installed, try to install them (indent)"/>
4e8765f518d1 Add more package dependencies for elf-loader, quagga, umip
Hajime Tazaki <tazaki@nict.go.jp>
parents: 167
diff changeset
   435
      </source>
4e8765f518d1 Add more package dependencies for elf-loader, quagga, umip
Hajime Tazaki <tazaki@nict.go.jp>
parents: 167
diff changeset
   436
      <build type="none" objdir="no">
4e8765f518d1 Add more package dependencies for elf-loader, quagga, umip
Hajime Tazaki <tazaki@nict.go.jp>
parents: 167
diff changeset
   437
      </build>
4e8765f518d1 Add more package dependencies for elf-loader, quagga, umip
Hajime Tazaki <tazaki@nict.go.jp>
parents: 167
diff changeset
   438
    </module>
4e8765f518d1 Add more package dependencies for elf-loader, quagga, umip
Hajime Tazaki <tazaki@nict.go.jp>
parents: 167
diff changeset
   439
4e8765f518d1 Add more package dependencies for elf-loader, quagga, umip
Hajime Tazaki <tazaki@nict.go.jp>
parents: 167
diff changeset
   440
    <module name="gawk">
4e8765f518d1 Add more package dependencies for elf-loader, quagga, umip
Hajime Tazaki <tazaki@nict.go.jp>
parents: 167
diff changeset
   441
      <source type="system_dependency">
4e8765f518d1 Add more package dependencies for elf-loader, quagga, umip
Hajime Tazaki <tazaki@nict.go.jp>
parents: 167
diff changeset
   442
        <attribute name="dependency_test" value="gawk"/>
4e8765f518d1 Add more package dependencies for elf-loader, quagga, umip
Hajime Tazaki <tazaki@nict.go.jp>
parents: 167
diff changeset
   443
        <attribute name="try_to_install" value="True"/>
4e8765f518d1 Add more package dependencies for elf-loader, quagga, umip
Hajime Tazaki <tazaki@nict.go.jp>
parents: 167
diff changeset
   444
        <attribute name="sudoer_install" value="True"/>
4e8765f518d1 Add more package dependencies for elf-loader, quagga, umip
Hajime Tazaki <tazaki@nict.go.jp>
parents: 167
diff changeset
   445
        <attribute name="name_apt-get" value="gawk"/>
4e8765f518d1 Add more package dependencies for elf-loader, quagga, umip
Hajime Tazaki <tazaki@nict.go.jp>
parents: 167
diff changeset
   446
        <attribute name="name_yum" value="gawk"/>
4e8765f518d1 Add more package dependencies for elf-loader, quagga, umip
Hajime Tazaki <tazaki@nict.go.jp>
parents: 167
diff changeset
   447
        <attribute name="more_information" value="The gawk is not installed, try to install them (gawk)"/>
4e8765f518d1 Add more package dependencies for elf-loader, quagga, umip
Hajime Tazaki <tazaki@nict.go.jp>
parents: 167
diff changeset
   448
      </source>
4e8765f518d1 Add more package dependencies for elf-loader, quagga, umip
Hajime Tazaki <tazaki@nict.go.jp>
parents: 167
diff changeset
   449
      <build type="none" objdir="no">
4e8765f518d1 Add more package dependencies for elf-loader, quagga, umip
Hajime Tazaki <tazaki@nict.go.jp>
parents: 167
diff changeset
   450
      </build>
4e8765f518d1 Add more package dependencies for elf-loader, quagga, umip
Hajime Tazaki <tazaki@nict.go.jp>
parents: 167
diff changeset
   451
    </module>
4e8765f518d1 Add more package dependencies for elf-loader, quagga, umip
Hajime Tazaki <tazaki@nict.go.jp>
parents: 167
diff changeset
   452
145
b5a6ad566c40 Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents: 144
diff changeset
   453
     <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
   454
       <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
   455
	<!-- 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
   456
	<!-- 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
   457
	<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
   458
	<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
   459
       </source>
168
4e8765f518d1 Add more package dependencies for elf-loader, quagga, umip
Hajime Tazaki <tazaki@nict.go.jp>
parents: 167
diff changeset
   460
       <depends_on name="indent" 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
   461
       <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
   462
	 <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
   463
         <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
   464
         <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
   465
       </build>
b5a6ad566c40 Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents: 144
diff changeset
   466
     </module>
b5a6ad566c40 Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents: 144
diff changeset
   467
94
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
   468
    <module name="click">
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
   469
      <source type="git">
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
   470
	<attribute name="url" value="git://read.cs.ucla.edu/git/click"/>
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
   471
	<attribute name="revision" value="724412626833df5c13384be5cce4da52c601371f"/>
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
   472
67
1d85f4b247f3 Update on the unit test
Daniel Camara <daniel.camara@inria.fr>
parents:
diff changeset
   473
      </source>
1d85f4b247f3 Update on the unit test
Daniel Camara <daniel.camara@inria.fr>
parents:
diff changeset
   474
      <build type="autotools" objdir="yes">
113
bbe081376846 Version for code review.
daniel
parents: 112
diff changeset
   475
	<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
   476
	<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
   477
      </build>
162
30abc1bdeeab Tom's patch for show list of bin directories
tomh@tomh.org
parents: 161
diff changeset
   478
67
1d85f4b247f3 Update on the unit test
Daniel Camara <daniel.camara@inria.fr>
parents:
diff changeset
   479
    </module>
1d85f4b247f3 Update on the unit test
Daniel Camara <daniel.camara@inria.fr>
parents:
diff changeset
   480
112
7d1a0938bb80 added dependency for openflow and improoved the error messages and exception handling
daniel
parents: 108
diff changeset
   481
    <module name="libxml2-dev">
7d1a0938bb80 added dependency for openflow and improoved the error messages and exception handling
daniel
parents: 108
diff changeset
   482
      <source type="system_dependency">
179
8372330f1eca Fix for bug 1618
daniel
parents: 175
diff changeset
   483
	<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
   484
	<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
   485
	<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
   486
	<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
   487
	<attribute name="name_apt-get" value="libxml2-dev"/>
152
f98efdbe6dd7 fix typo
Tom Henderson <tomh@tomh.org>
parents: 151
diff changeset
   488
	<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
   489
      </source>
7d1a0938bb80 added dependency for openflow and improoved the error messages and exception handling
daniel
parents: 108
diff changeset
   490
      <build type="none" objdir="no">
7d1a0938bb80 added dependency for openflow and improoved the error messages and exception handling
daniel
parents: 108
diff changeset
   491
      </build>
7d1a0938bb80 added dependency for openflow and improoved the error messages and exception handling
daniel
parents: 108
diff changeset
   492
    </module>
7d1a0938bb80 added dependency for openflow and improoved the error messages and exception handling
daniel
parents: 108
diff changeset
   493
67
1d85f4b247f3 Update on the unit test
Daniel Camara <daniel.camara@inria.fr>
parents:
diff changeset
   494
    <module name="openflow-ns3">
1d85f4b247f3 Update on the unit test
Daniel Camara <daniel.camara@inria.fr>
parents:
diff changeset
   495
      <source type="mercurial">
94
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
   496
	<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
   497
      </source>
94
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
   498
      <build type="waf" objdir="yes">
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
   499
	<attribute name="configure_arguments" value="configure --prefix=$INSTALLDIR"/>
157
cf71758d6fb8 Bug fix for dependencies and error messages improovement.
daniel
parents: 156
diff changeset
   500
      </build>
112
7d1a0938bb80 added dependency for openflow and improoved the error messages and exception handling
daniel
parents: 108
diff changeset
   501
	<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
   502
    </module>
bf151f3f1479 Add more tests and small changes in the Environment and build modules
Daniel Camara <daniel.camara@inria.fr>
parents: 67
diff changeset
   503
67
1d85f4b247f3 Update on the unit test
Daniel Camara <daniel.camara@inria.fr>
parents:
diff changeset
   504
    <module name="gccxml-ns3">
1d85f4b247f3 Update on the unit test
Daniel Camara <daniel.camara@inria.fr>
parents:
diff changeset
   505
      <source type="cvs">
1d85f4b247f3 Update on the unit test
Daniel Camara <daniel.camara@inria.fr>
parents:
diff changeset
   506
	<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
   507
	<attribute name="module" value="gccxml"/>
1d85f4b247f3 Update on the unit test
Daniel Camara <daniel.camara@inria.fr>
parents:
diff changeset
   508
	<attribute name="date" value="2009-09-21"/>
1d85f4b247f3 Update on the unit test
Daniel Camara <daniel.camara@inria.fr>
parents:
diff changeset
   509
      </source>
1d85f4b247f3 Update on the unit test
Daniel Camara <daniel.camara@inria.fr>
parents:
diff changeset
   510
      <build type="cmake" objdir="yes">
1d85f4b247f3 Update on the unit test
Daniel Camara <daniel.camara@inria.fr>
parents:
diff changeset
   511
      </build>
1d85f4b247f3 Update on the unit test
Daniel Camara <daniel.camara@inria.fr>
parents:
diff changeset
   512
    </module>
1d85f4b247f3 Update on the unit test
Daniel Camara <daniel.camara@inria.fr>
parents:
diff changeset
   513
1d85f4b247f3 Update on the unit test
Daniel Camara <daniel.camara@inria.fr>
parents:
diff changeset
   514
    <module name="pygccxml">
1d85f4b247f3 Update on the unit test
Daniel Camara <daniel.camara@inria.fr>
parents:
diff changeset
   515
      <source type="archive">
75
d26cc0acef36 Fix download pointeter for pygccxml
dcamara
parents: 71
diff changeset
   516
	<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
   517
      </source>
1d85f4b247f3 Update on the unit test
Daniel Camara <daniel.camara@inria.fr>
parents:
diff changeset
   518
      <build type="python" objdir="yes">
1d85f4b247f3 Update on the unit test
Daniel Camara <daniel.camara@inria.fr>
parents:
diff changeset
   519
      </build>
94
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
   520
      <depends_on name="gccxml-ns3" optional="True"/>
67
1d85f4b247f3 Update on the unit test
Daniel Camara <daniel.camara@inria.fr>
parents:
diff changeset
   521
    </module>
1d85f4b247f3 Update on the unit test
Daniel Camara <daniel.camara@inria.fr>
parents:
diff changeset
   522
1d85f4b247f3 Update on the unit test
Daniel Camara <daniel.camara@inria.fr>
parents:
diff changeset
   523
    <module name="pybindgen">
1d85f4b247f3 Update on the unit test
Daniel Camara <daniel.camara@inria.fr>
parents:
diff changeset
   524
      <source type="bazaar">
1d85f4b247f3 Update on the unit test
Daniel Camara <daniel.camara@inria.fr>
parents:
diff changeset
   525
	<attribute name="url" value="https://launchpad.net/pybindgen"/>
94
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
   526
	<attribute name="revision" value="revno:809"/>
67
1d85f4b247f3 Update on the unit test
Daniel Camara <daniel.camara@inria.fr>
parents:
diff changeset
   527
      </source>
1d85f4b247f3 Update on the unit test
Daniel Camara <daniel.camara@inria.fr>
parents:
diff changeset
   528
      <build type="waf" objdir="yes">
95
507f5a81853c small correction on the config file
daniel
parents: 94
diff changeset
   529
	<attribute name="configure_arguments" value="configure --prefix=$INSTALLDIR"/>
67
1d85f4b247f3 Update on the unit test
Daniel Camara <daniel.camara@inria.fr>
parents:
diff changeset
   530
	<attribute name="build_arguments" value="--generate-version"/>
1d85f4b247f3 Update on the unit test
Daniel Camara <daniel.camara@inria.fr>
parents:
diff changeset
   531
      </build>
1d85f4b247f3 Update on the unit test
Daniel Camara <daniel.camara@inria.fr>
parents:
diff changeset
   532
      <depends_on name="pygccxml" optional="True"/>
113
bbe081376846 Version for code review.
daniel
parents: 112
diff changeset
   533
      <depends_on name="gccxml-ns3" optional="False"/>
67
1d85f4b247f3 Update on the unit test
Daniel Camara <daniel.camara@inria.fr>
parents:
diff changeset
   534
    </module>
1d85f4b247f3 Update on the unit test
Daniel Camara <daniel.camara@inria.fr>
parents:
diff changeset
   535
172
00239e0c959b add pybindgen build for dce
Hajime Tazaki <tazaki@nict.go.jp>
parents: 171
diff changeset
   536
    <module name="pybindgen-user">
00239e0c959b add pybindgen build for dce
Hajime Tazaki <tazaki@nict.go.jp>
parents: 171
diff changeset
   537
      <source type="bazaar">
00239e0c959b add pybindgen build for dce
Hajime Tazaki <tazaki@nict.go.jp>
parents: 171
diff changeset
   538
	<attribute name="url" value="https://launchpad.net/pybindgen"/>
00239e0c959b add pybindgen build for dce
Hajime Tazaki <tazaki@nict.go.jp>
parents: 171
diff changeset
   539
	<attribute name="revision" value="revno:809"/>
00239e0c959b add pybindgen build for dce
Hajime Tazaki <tazaki@nict.go.jp>
parents: 171
diff changeset
   540
      </source>
00239e0c959b add pybindgen build for dce
Hajime Tazaki <tazaki@nict.go.jp>
parents: 171
diff changeset
   541
      <build type="waf" objdir="yes">
00239e0c959b add pybindgen build for dce
Hajime Tazaki <tazaki@nict.go.jp>
parents: 171
diff changeset
   542
	<attribute name="configure_arguments" value="configure --prefix=$INSTALLDIR --disable-pygccxml"/>
00239e0c959b add pybindgen build for dce
Hajime Tazaki <tazaki@nict.go.jp>
parents: 171
diff changeset
   543
	<attribute name="build_arguments" value="--generate-version"/>
00239e0c959b add pybindgen build for dce
Hajime Tazaki <tazaki@nict.go.jp>
parents: 171
diff changeset
   544
      </build>
00239e0c959b add pybindgen build for dce
Hajime Tazaki <tazaki@nict.go.jp>
parents: 171
diff changeset
   545
    </module>
00239e0c959b add pybindgen build for dce
Hajime Tazaki <tazaki@nict.go.jp>
parents: 171
diff changeset
   546
94
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
   547
67
1d85f4b247f3 Update on the unit test
Daniel Camara <daniel.camara@inria.fr>
parents:
diff changeset
   548
    <module name="nsc">
1d85f4b247f3 Update on the unit test
Daniel Camara <daniel.camara@inria.fr>
parents:
diff changeset
   549
      <source type="mercurial">
1d85f4b247f3 Update on the unit test
Daniel Camara <daniel.camara@inria.fr>
parents:
diff changeset
   550
	<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
   551
      </source>
1d85f4b247f3 Update on the unit test
Daniel Camara <daniel.camara@inria.fr>
parents:
diff changeset
   552
      <!-- 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
   553
      <build type="inline"  classname="NscModuleBuild">
94
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
   554
	<attribute name="supported_os" value="linux;linux2"/>
67
1d85f4b247f3 Update on the unit test
Daniel Camara <daniel.camara@inria.fr>
parents:
diff changeset
   555
	<code>class NscModuleBuild(InlineModuleBuild):
1d85f4b247f3 Update on the unit test
Daniel Camara <daniel.camara@inria.fr>
parents:
diff changeset
   556
    def __init__(self):
1d85f4b247f3 Update on the unit test
Daniel Camara <daniel.camara@inria.fr>
parents:
diff changeset
   557
        InlineModuleBuild.__init__(self)
1d85f4b247f3 Update on the unit test
Daniel Camara <daniel.camara@inria.fr>
parents:
diff changeset
   558
    def build(self, env, jobs):
135
d8a8fd0bf76b Fix for Jenkins, added imports of os and shutil for nsc.
daniel
parents: 126
diff changeset
   559
        import os
d8a8fd0bf76b Fix for Jenkins, added imports of os and shutil for nsc.
daniel
parents: 126
diff changeset
   560
        import shutil
94
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
   561
67
1d85f4b247f3 Update on the unit test
Daniel Camara <daniel.camara@inria.fr>
parents:
diff changeset
   562
        env.run(['python', os.path.join(env.srcdir, 'scons.py'), 
94
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
   563
                 '-j', str(jobs), 'prefix=' + env.installdir, 'install'],
126
1b36d79934ff Fix for NSC configuration
daniel
parents: 125
diff changeset
   564
                directory=env.srcdir )
1b36d79934ff Fix for NSC configuration
daniel
parents: 125
diff changeset
   565
        srcLib = os.path.join(env.srcdir, 'lib')
1b36d79934ff Fix for NSC configuration
daniel
parents: 125
diff changeset
   566
        files = os.listdir(srcLib)
1b36d79934ff Fix for NSC configuration
daniel
parents: 125
diff changeset
   567
        destination = os.path.join(env.installdir, 'lib')
1b36d79934ff Fix for NSC configuration
daniel
parents: 125
diff changeset
   568
        for file in files:
135
d8a8fd0bf76b Fix for Jenkins, added imports of os and shutil for nsc.
daniel
parents: 126
diff changeset
   569
             try:
d8a8fd0bf76b Fix for Jenkins, added imports of os and shutil for nsc.
daniel
parents: 126
diff changeset
   570
                 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
   571
             except Exception as e:
d8a8fd0bf76b Fix for Jenkins, added imports of os and shutil for nsc.
daniel
parents: 126
diff changeset
   572
                 print ("   > Error executing copy : " + str(e) + "\n")
d8a8fd0bf76b Fix for Jenkins, added imports of os and shutil for nsc.
daniel
parents: 126
diff changeset
   573
       
67
1d85f4b247f3 Update on the unit test
Daniel Camara <daniel.camara@inria.fr>
parents:
diff changeset
   574
    def clean(self, env):
1d85f4b247f3 Update on the unit test
Daniel Camara <daniel.camara@inria.fr>
parents:
diff changeset
   575
        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
   576
                directory=env.srcdir)
1d85f4b247f3 Update on the unit test
Daniel Camara <daniel.camara@inria.fr>
parents:
diff changeset
   577
    def check_version(self, env):
1d85f4b247f3 Update on the unit test
Daniel Camara <daniel.camara@inria.fr>
parents:
diff changeset
   578
        return True</code>
1d85f4b247f3 Update on the unit test
Daniel Camara <daniel.camara@inria.fr>
parents:
diff changeset
   579
      </build>
1d85f4b247f3 Update on the unit test
Daniel Camara <daniel.camara@inria.fr>
parents:
diff changeset
   580
    </module>
1d85f4b247f3 Update on the unit test
Daniel Camara <daniel.camara@inria.fr>
parents:
diff changeset
   581
    
94
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
   582
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
   583
    <module name="qt4">
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
   584
      <source type="system_dependency">
180
94bf9c3659d0 Fix qt checking files
daniel
parents: 179
diff changeset
   585
	<attribute name="dependency_test" value="(qmake or qmake-qt4)"/>
94
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
   586
	<attribute name="try_to_install" value="True"/>
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
   587
	<attribute name="name_yum" value="qt4-devel"/>
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
   588
	<attribute name="name_apt-get" value="qt4-dev-tools"/>
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
   589
	<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
   590
      </source>
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
   591
      <build type="none" objdir="no">
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
   592
      </build>
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
   593
    </module>
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
   594
168
4e8765f518d1 Add more package dependencies for elf-loader, quagga, umip
Hajime Tazaki <tazaki@nict.go.jp>
parents: 167
diff changeset
   595
    <module name="libc-debug">
4e8765f518d1 Add more package dependencies for elf-loader, quagga, umip
Hajime Tazaki <tazaki@nict.go.jp>
parents: 167
diff changeset
   596
      <source type="system_dependency">
4e8765f518d1 Add more package dependencies for elf-loader, quagga, umip
Hajime Tazaki <tazaki@nict.go.jp>
parents: 167
diff changeset
   597
        <attribute name="try_to_install" value="False"/> <!-- should be fixed -->
4e8765f518d1 Add more package dependencies for elf-loader, quagga, umip
Hajime Tazaki <tazaki@nict.go.jp>
parents: 167
diff changeset
   598
        <attribute name="name_apt-get" value="libc6-dbg"/>
4e8765f518d1 Add more package dependencies for elf-loader, quagga, umip
Hajime Tazaki <tazaki@nict.go.jp>
parents: 167
diff changeset
   599
        <attribute name="name_yum" value="glibc-debuginfo"/>
4e8765f518d1 Add more package dependencies for elf-loader, quagga, umip
Hajime Tazaki <tazaki@nict.go.jp>
parents: 167
diff changeset
   600
        <attribute name="more_information" value="Didn't find libc debug package; please install it."/>
4e8765f518d1 Add more package dependencies for elf-loader, quagga, umip
Hajime Tazaki <tazaki@nict.go.jp>
parents: 167
diff changeset
   601
      </source>
4e8765f518d1 Add more package dependencies for elf-loader, quagga, umip
Hajime Tazaki <tazaki@nict.go.jp>
parents: 167
diff changeset
   602
      <build type="none" objdir="no">
4e8765f518d1 Add more package dependencies for elf-loader, quagga, umip
Hajime Tazaki <tazaki@nict.go.jp>
parents: 167
diff changeset
   603
      </build>
4e8765f518d1 Add more package dependencies for elf-loader, quagga, umip
Hajime Tazaki <tazaki@nict.go.jp>
parents: 167
diff changeset
   604
    </module>
4e8765f518d1 Add more package dependencies for elf-loader, quagga, umip
Hajime Tazaki <tazaki@nict.go.jp>
parents: 167
diff changeset
   605
94
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
   606
    <module name="elf-loader">
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
   607
      <source type="mercurial">
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
   608
	<attribute name="url" value="http://code.nsnam.org/mathieu/elf-loader"/>
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
   609
      </source>
168
4e8765f518d1 Add more package dependencies for elf-loader, quagga, umip
Hajime Tazaki <tazaki@nict.go.jp>
parents: 167
diff changeset
   610
      <!-- depends_on name="libc-debug" optional="False"/ -->
94
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
   611
      <build type="make" objdir="no">
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
   612
	<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
   613
	<attribute name="install_arguments" value="PREFIX=$INSTALLDIR"/>
94
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
   614
      </build>
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
   615
    </module>
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
   616
132
a10bff9fc51d change net_anim to netanim
Tom Henderson <tomh@tomh.org>
parents: 131
diff changeset
   617
    <module name="netanim">
94
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
   618
      <source type="mercurial">
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
   619
	<attribute name="url" value="http://code.nsnam.org/netanim"/>
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
   620
      </source>
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
   621
      <build type="make" objdir="no">
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
   622
	<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
   623
      </build>
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
   624
      <depends_on name="qt4" optional="False"/>
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
   625
    </module>
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
   626
124
8fe5ba0938c6 Fix for the configuration file and Unrecognized option
daniel
parents: 123
diff changeset
   627
  <module name="ns-3-allinone">
8fe5ba0938c6 Fix for the configuration file and Unrecognized option
daniel
parents: 123
diff changeset
   628
      <source type="mercurial">
8fe5ba0938c6 Fix for the configuration file and Unrecognized option
daniel
parents: 123
diff changeset
   629
	<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
   630
      </source>
132
a10bff9fc51d change net_anim to netanim
Tom Henderson <tomh@tomh.org>
parents: 131
diff changeset
   631
      <depends_on name="netanim" optional="True"/>
124
8fe5ba0938c6 Fix for the configuration file and Unrecognized option
daniel
parents: 123
diff changeset
   632
      <depends_on name="nsc" optional="True"/>
8fe5ba0938c6 Fix for the configuration file and Unrecognized option
daniel
parents: 123
diff changeset
   633
      <depends_on name="pybindgen" optional="True"/>
8fe5ba0938c6 Fix for the configuration file and Unrecognized option
daniel
parents: 123
diff changeset
   634
      <depends_on name="click" optional="True"/>
8fe5ba0938c6 Fix for the configuration file and Unrecognized option
daniel
parents: 123
diff changeset
   635
      <depends_on name="openflow-ns3" optional="True"/>
8fe5ba0938c6 Fix for the configuration file and Unrecognized option
daniel
parents: 123
diff changeset
   636
      <build type="waf" objdir="yes">
8fe5ba0938c6 Fix for the configuration file and Unrecognized option
daniel
parents: 123
diff changeset
   637
	<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
   638
      </build>
8fe5ba0938c6 Fix for the configuration file and Unrecognized option
daniel
parents: 123
diff changeset
   639
  </module>
8fe5ba0938c6 Fix for the configuration file and Unrecognized option
daniel
parents: 123
diff changeset
   640
94
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
   641
  <module name="ns-3-dev">
67
1d85f4b247f3 Update on the unit test
Daniel Camara <daniel.camara@inria.fr>
parents:
diff changeset
   642
      <source type="mercurial">
1d85f4b247f3 Update on the unit test
Daniel Camara <daniel.camara@inria.fr>
parents:
diff changeset
   643
	<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
   644
      </source>
124
8fe5ba0938c6 Fix for the configuration file and Unrecognized option
daniel
parents: 123
diff changeset
   645
      <build type="waf" objdir="yes">
8fe5ba0938c6 Fix for the configuration file and Unrecognized option
daniel
parents: 123
diff changeset
   646
	<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
   647
      </build>
8fe5ba0938c6 Fix for the configuration file and Unrecognized option
daniel
parents: 123
diff changeset
   648
  </module>
182
e6182d2e18a8 Removes ns3.16 configuration
daniel
parents: 180
diff changeset
   649
<!--
179
8372330f1eca Fix for bug 1618
daniel
parents: 175
diff changeset
   650
  <module name="ns-3.16">
124
8fe5ba0938c6 Fix for the configuration file and Unrecognized option
daniel
parents: 123
diff changeset
   651
      <source type="mercurial">
8fe5ba0938c6 Fix for the configuration file and Unrecognized option
daniel
parents: 123
diff changeset
   652
	<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
   653
      </source>
132
a10bff9fc51d change net_anim to netanim
Tom Henderson <tomh@tomh.org>
parents: 131
diff changeset
   654
      <depends_on name="netanim" optional="True"/>
67
1d85f4b247f3 Update on the unit test
Daniel Camara <daniel.camara@inria.fr>
parents:
diff changeset
   655
      <depends_on name="nsc" optional="True"/>
1d85f4b247f3 Update on the unit test
Daniel Camara <daniel.camara@inria.fr>
parents:
diff changeset
   656
      <depends_on name="pybindgen" optional="True"/>
94
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
   657
      <depends_on name="click" optional="True"/>
67
1d85f4b247f3 Update on the unit test
Daniel Camara <daniel.camara@inria.fr>
parents:
diff changeset
   658
      <depends_on name="openflow-ns3" optional="True"/>
1d85f4b247f3 Update on the unit test
Daniel Camara <daniel.camara@inria.fr>
parents:
diff changeset
   659
      <build type="waf" objdir="yes">
131
03cd83e69d8a ns-3.16 doesn't exist yet
Tom Henderson <tomh@tomh.org>
parents: 126
diff changeset
   660
	<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
   661
      </build>
94
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
   662
  </module>
182
e6182d2e18a8 Removes ns3.16 configuration
daniel
parents: 180
diff changeset
   663
-->
67
1d85f4b247f3 Update on the unit test
Daniel Camara <daniel.camara@inria.fr>
parents:
diff changeset
   664
  </modules>
1d85f4b247f3 Update on the unit test
Daniel Camara <daniel.camara@inria.fr>
parents:
diff changeset
   665
1d85f4b247f3 Update on the unit test
Daniel Camara <daniel.camara@inria.fr>
parents:
diff changeset
   666
  <predefined name="dbg">
94
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
   667
    <append name="CFLAGS" value="-g"/>
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
   668
    <append name="CXXFLAGS" value="-g"/>
115
cdc42f30aa2a Fix for the configuration file
daniel
parents: 113
diff changeset
   669
    <configuration objdir="dbg"/>
cdc42f30aa2a Fix for the configuration file
daniel
parents: 113
diff changeset
   670
    <configuration installdir="build_dbg"/>
67
1d85f4b247f3 Update on the unit test
Daniel Camara <daniel.camara@inria.fr>
parents:
diff changeset
   671
  </predefined>
115
cdc42f30aa2a Fix for the configuration file
daniel
parents: 113
diff changeset
   672
67
1d85f4b247f3 Update on the unit test
Daniel Camara <daniel.camara@inria.fr>
parents:
diff changeset
   673
  <predefined name="opt">
1d85f4b247f3 Update on the unit test
Daniel Camara <daniel.camara@inria.fr>
parents:
diff changeset
   674
    <configuration objdir="opt"/>
115
cdc42f30aa2a Fix for the configuration file
daniel
parents: 113
diff changeset
   675
    <configuration installdir="build_opt"/>
94
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
   676
<!--   <append name="configure_arguments" value=" -d optimized"/> -->
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
   677
    <append name="CFLAGS" value="-O3"/>
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
   678
    <append name="CXXFLAGS" value="-O3"/>
67
1d85f4b247f3 Update on the unit test
Daniel Camara <daniel.camara@inria.fr>
parents:
diff changeset
   679
  </predefined>
94
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
   680
  
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
   681
  <predefined name="ns3">
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
   682
    <enable name="ns-3-dev"/>
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
   683
    <!--    <configuration installdir="." sourcedir="../source"/> -->
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
   684
    <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
   685
  </predefined>
94
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
   686
104
5106eb22e0d3 new configurarion
daniel
parents: 95
diff changeset
   687
  <predefined name="ns3-min">
5106eb22e0d3 new configurarion
daniel
parents: 95
diff changeset
   688
    <enable name="ns-3-dev"/>
108
246e724cb1f2 Automatic resource file saving
daniel
parents: 104
diff changeset
   689
    <append module="ns-3-dev" name="configure_arguments" value=" --enable-modules=core,network,wifi"/> -->
104
5106eb22e0d3 new configurarion
daniel
parents: 95
diff changeset
   690
  </predefined>
5106eb22e0d3 new configurarion
daniel
parents: 95
diff changeset
   691
67
1d85f4b247f3 Update on the unit test
Daniel Camara <daniel.camara@inria.fr>
parents:
diff changeset
   692
</configuration>