bakeconf.xml
author daniel
Mon, 29 Apr 2013 08:52:45 +0200
changeset 231 285677de3009
parent 230 3979607c5f45
child 235 23a273db602f
permissions -rw-r--r--
Requires --sudo for system dependencies modules installation (Bug 1637)
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
227
706945b08360 Revert from wrong configuration change
daniel
parents: 226
diff changeset
     4
    <module name="dce-ns3-dev">
94
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
     5
      <source type="mercurial">
210
9f23b7abe961 rollback of the changes on the config for Hajime
daniel
parents: 209
diff changeset
     6
        <attribute name="url" value="http://code.nsnam.org/ns-3-dce"/>
9f23b7abe961 rollback of the changes on the config for Hajime
daniel
parents: 209
diff changeset
     7
        <attribute name="module_directory" value="ns-3-dce"/>
94
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
     8
      </source>
227
706945b08360 Revert from wrong configuration change
daniel
parents: 226
diff changeset
     9
       <depends_on name="ns-3-dev" optional="False"/>
188
ef5aac0a8c17 let elf-loader optional
Hajime Tazaki <tazaki@nict.go.jp>
parents: 187
diff changeset
    10
       <depends_on name="elf-loader" optional="True"/>
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">
218
be483ada1abe add supported_os attribute to dce related modules
Hajime Tazaki <tazaki@nict.go.jp>
parents: 217
diff changeset
    16
        <attribute name="supported_os" value="linux;linux2"/>
210
9f23b7abe961 rollback of the changes on the config for Hajime
daniel
parents: 209
diff changeset
    17
        <attribute name="configure_arguments" value="configure --with-ns3=$INSTALLDIR --with-elf-loader=$INSTALLDIR/lib --prefix=$INSTALLDIR"/>
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
227
706945b08360 Revert from wrong configuration change
daniel
parents: 226
diff changeset
    21
    <module name="dce-linux-dev">
94
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
    22
      <source type="mercurial">
210
9f23b7abe961 rollback of the changes on the config for Hajime
daniel
parents: 209
diff changeset
    23
        <attribute name="url" value="http://code.nsnam.org/ns-3-dce"/>
9f23b7abe961 rollback of the changes on the config for Hajime
daniel
parents: 209
diff changeset
    24
        <attribute name="module_directory" value="ns-3-dce"/>
94
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
    25
     </source>
188
ef5aac0a8c17 let elf-loader optional
Hajime Tazaki <tazaki@nict.go.jp>
parents: 187
diff changeset
    26
       <depends_on name="elf-loader" optional="True"/>
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"/>
227
706945b08360 Revert from wrong configuration change
daniel
parents: 226
diff changeset
    33
       <depends_on name="ns-3-dev" optional="False"/>
187
dfb54fb4e9e7 rename module directory of dce to ns-3-dce under source directory
Hajime Tazaki <tazaki@nict.go.jp>
parents: 186
diff changeset
    34
      <build type="waf" objdir="yes" sourcedir="ns-3-dce">
218
be483ada1abe add supported_os attribute to dce related modules
Hajime Tazaki <tazaki@nict.go.jp>
parents: 217
diff changeset
    35
        <attribute name="supported_os" value="linux;linux2"/>
210
9f23b7abe961 rollback of the changes on the config for Hajime
daniel
parents: 209
diff changeset
    36
        <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"/>
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
227
706945b08360 Revert from wrong configuration change
daniel
parents: 226
diff changeset
    40
    <module name="dce-linux-dev-gcov">
165
407ac88340c5 add dce-linux-gcov for coverage test
Hajime Tazaki <tazaki@nict.go.jp>
parents: 163
diff changeset
    41
      <source type="mercurial">
210
9f23b7abe961 rollback of the changes on the config for Hajime
daniel
parents: 209
diff changeset
    42
        <attribute name="url" value="http://code.nsnam.org/ns-3-dce"/>
9f23b7abe961 rollback of the changes on the config for Hajime
daniel
parents: 209
diff changeset
    43
        <attribute name="module_directory" value="ns-3-dce"/>
165
407ac88340c5 add dce-linux-gcov for coverage test
Hajime Tazaki <tazaki@nict.go.jp>
parents: 163
diff changeset
    44
     </source>
188
ef5aac0a8c17 let elf-loader optional
Hajime Tazaki <tazaki@nict.go.jp>
parents: 187
diff changeset
    45
       <depends_on name="elf-loader" optional="True"/>
165
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"/>
227
706945b08360 Revert from wrong configuration change
daniel
parents: 226
diff changeset
    52
       <depends_on name="dce-quagga-dev" optional="False"/>
706945b08360 Revert from wrong configuration change
daniel
parents: 226
diff changeset
    53
       <depends_on name="dce-umip-dev" optional="False"/>
706945b08360 Revert from wrong configuration change
daniel
parents: 226
diff changeset
    54
       <depends_on name="ns-3-dev" optional="False"/>
187
dfb54fb4e9e7 rename module directory of dce to ns-3-dce under source directory
Hajime Tazaki <tazaki@nict.go.jp>
parents: 186
diff changeset
    55
      <build type="waf" objdir="yes" sourcedir="ns-3-dce">
218
be483ada1abe add supported_os attribute to dce related modules
Hajime Tazaki <tazaki@nict.go.jp>
parents: 217
diff changeset
    56
        <attribute name="supported_os" value="linux;linux2"/>
210
9f23b7abe961 rollback of the changes on the config for Hajime
daniel
parents: 209
diff changeset
    57
        <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"/>
165
407ac88340c5 add dce-linux-gcov for coverage test
Hajime Tazaki <tazaki@nict.go.jp>
parents: 163
diff changeset
    58
      </build>
407ac88340c5 add dce-linux-gcov for coverage test
Hajime Tazaki <tazaki@nict.go.jp>
parents: 163
diff changeset
    59
    </module>
407ac88340c5 add dce-linux-gcov for coverage test
Hajime Tazaki <tazaki@nict.go.jp>
parents: 163
diff changeset
    60
173
d49216989153 add description built from net-next-sim kernel (by make testbin)
Hajime Tazaki <tazaki@nict.go.jp>
parents: 172
diff changeset
    61
    <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
    62
      <source type="mercurial">
210
9f23b7abe961 rollback of the changes on the config for Hajime
daniel
parents: 209
diff changeset
    63
        <attribute name="url" value="http://code.nsnam.org/ns-3-dce"/>
9f23b7abe961 rollback of the changes on the config for Hajime
daniel
parents: 209
diff changeset
    64
        <attribute name="module_directory" value="ns-3-dce"/>
9f23b7abe961 rollback of the changes on the config for Hajime
daniel
parents: 209
diff changeset
    65
        <attribute name="revision" value="dce-1.0-rc1"/>
173
d49216989153 add description built from net-next-sim kernel (by make testbin)
Hajime Tazaki <tazaki@nict.go.jp>
parents: 172
diff changeset
    66
      </source>
188
ef5aac0a8c17 let elf-loader optional
Hajime Tazaki <tazaki@nict.go.jp>
parents: 187
diff changeset
    67
      <depends_on name="elf-loader" optional="True"/>
173
d49216989153 add description built from net-next-sim kernel (by make testbin)
Hajime Tazaki <tazaki@nict.go.jp>
parents: 172
diff changeset
    68
      <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
    69
      <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
    70
      <depends_on name="ccnx" optional="True"/>
227
706945b08360 Revert from wrong configuration change
daniel
parents: 226
diff changeset
    71
      <depends_on name="ns-3.17" optional="False"/>
187
dfb54fb4e9e7 rename module directory of dce to ns-3-dce under source directory
Hajime Tazaki <tazaki@nict.go.jp>
parents: 186
diff changeset
    72
      <build type="waf" objdir="yes" sourcedir="ns-3-dce">
218
be483ada1abe add supported_os attribute to dce related modules
Hajime Tazaki <tazaki@nict.go.jp>
parents: 217
diff changeset
    73
        <attribute name="supported_os" value="linux;linux2"/>
210
9f23b7abe961 rollback of the changes on the config for Hajime
daniel
parents: 209
diff changeset
    74
        <!-- assume the bake.py build is executed under arch/sim/test/buildtop/ -->
9f23b7abe961 rollback of the changes on the config for Hajime
daniel
parents: 209
diff changeset
    75
        <attribute name="configure_arguments" value="configure --prefix=$INSTALLDIR --with-ns3=$INSTALLDIR --with-elf-loader=$INSTALLDIR/lib --enable-kernel-stack=$SRCDIR/../../../../../"/>
173
d49216989153 add description built from net-next-sim kernel (by make testbin)
Hajime Tazaki <tazaki@nict.go.jp>
parents: 172
diff changeset
    76
      </build>
d49216989153 add description built from net-next-sim kernel (by make testbin)
Hajime Tazaki <tazaki@nict.go.jp>
parents: 172
diff changeset
    77
    </module>
d49216989153 add description built from net-next-sim kernel (by make testbin)
Hajime Tazaki <tazaki@nict.go.jp>
parents: 172
diff changeset
    78
171
57267a24d3e5 add mptcp build
Hajime Tazaki <tazaki@nict.go.jp>
parents: 169
diff changeset
    79
    <module name="mptcp_v0.86">
57267a24d3e5 add mptcp build
Hajime Tazaki <tazaki@nict.go.jp>
parents: 169
diff changeset
    80
      <source type="git">
57267a24d3e5 add mptcp build
Hajime Tazaki <tazaki@nict.go.jp>
parents: 169
diff changeset
    81
        <attribute name="url" value="git://github.com/multipath-tcp/mptcp"/>
57267a24d3e5 add mptcp build
Hajime Tazaki <tazaki@nict.go.jp>
parents: 169
diff changeset
    82
        <attribute name="module_directory" value="mptcp"/>
57267a24d3e5 add mptcp build
Hajime Tazaki <tazaki@nict.go.jp>
parents: 169
diff changeset
    83
        <attribute name="revision" value="mptcp_v0.86"/>
57267a24d3e5 add mptcp build
Hajime Tazaki <tazaki@nict.go.jp>
parents: 169
diff changeset
    84
      </source>
57267a24d3e5 add mptcp build
Hajime Tazaki <tazaki@nict.go.jp>
parents: 169
diff changeset
    85
      <build type="make" objdir="no">
218
be483ada1abe add supported_os attribute to dce related modules
Hajime Tazaki <tazaki@nict.go.jp>
parents: 217
diff changeset
    86
        <attribute name="supported_os" value="linux;linux2"/>
210
9f23b7abe961 rollback of the changes on the config for Hajime
daniel
parents: 209
diff changeset
    87
        <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"/>
171
57267a24d3e5 add mptcp build
Hajime Tazaki <tazaki@nict.go.jp>
parents: 169
diff changeset
    88
        <attribute name="configure_arguments" value="defconfig ARCH=sim"/>
57267a24d3e5 add mptcp build
Hajime Tazaki <tazaki@nict.go.jp>
parents: 169
diff changeset
    89
        <attribute name="build_arguments" value="library ARCH=sim"/>
57267a24d3e5 add mptcp build
Hajime Tazaki <tazaki@nict.go.jp>
parents: 169
diff changeset
    90
        <attribute name="no_installation" value="True"/>
57267a24d3e5 add mptcp build
Hajime Tazaki <tazaki@nict.go.jp>
parents: 169
diff changeset
    91
        <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
    92
      </build>
57267a24d3e5 add mptcp build
Hajime Tazaki <tazaki@nict.go.jp>
parents: 169
diff changeset
    93
    </module>
57267a24d3e5 add mptcp build
Hajime Tazaki <tazaki@nict.go.jp>
parents: 169
diff changeset
    94
57267a24d3e5 add mptcp build
Hajime Tazaki <tazaki@nict.go.jp>
parents: 169
diff changeset
    95
    <module name="iproute-mptcp">
57267a24d3e5 add mptcp build
Hajime Tazaki <tazaki@nict.go.jp>
parents: 169
diff changeset
    96
      <source type="git">
57267a24d3e5 add mptcp build
Hajime Tazaki <tazaki@nict.go.jp>
parents: 169
diff changeset
    97
        <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
    98
        <attribute name="module_directory" value="iproute-mptcp"/>
57267a24d3e5 add mptcp build
Hajime Tazaki <tazaki@nict.go.jp>
parents: 169
diff changeset
    99
        <attribute name="revision" value="49687a0dff890bf753a06357959b8bbab18b9d2a"/>
57267a24d3e5 add mptcp build
Hajime Tazaki <tazaki@nict.go.jp>
parents: 169
diff changeset
   100
      </source>
57267a24d3e5 add mptcp build
Hajime Tazaki <tazaki@nict.go.jp>
parents: 169
diff changeset
   101
      <depends_on name="libdb-dev" optional="False"/>
57267a24d3e5 add mptcp build
Hajime Tazaki <tazaki@nict.go.jp>
parents: 169
diff changeset
   102
      <depends_on name="bison" optional="False"/>
57267a24d3e5 add mptcp build
Hajime Tazaki <tazaki@nict.go.jp>
parents: 169
diff changeset
   103
      <depends_on name="flex" optional="False"/>
57267a24d3e5 add mptcp build
Hajime Tazaki <tazaki@nict.go.jp>
parents: 169
diff changeset
   104
      <depends_on name="libsysfs-dev" optional="False"/>
57267a24d3e5 add mptcp build
Hajime Tazaki <tazaki@nict.go.jp>
parents: 169
diff changeset
   105
      <depends_on name="libssl-dev" optional="False"/>
57267a24d3e5 add mptcp build
Hajime Tazaki <tazaki@nict.go.jp>
parents: 169
diff changeset
   106
      <build type="make" objdir="yes">
218
be483ada1abe add supported_os attribute to dce related modules
Hajime Tazaki <tazaki@nict.go.jp>
parents: 217
diff changeset
   107
        <attribute name="supported_os" value="linux;linux2"/>
210
9f23b7abe961 rollback of the changes on the config for Hajime
daniel
parents: 209
diff changeset
   108
        <attribute name="patch" value="$SRCDIR/../ns-3-dce/utils/iproute-mptcp.patch"/>
9f23b7abe961 rollback of the changes on the config for Hajime
daniel
parents: 209
diff changeset
   109
        <attribute name="pre_installation" value="$SRCDIR/configure"/>
9f23b7abe961 rollback of the changes on the config for Hajime
daniel
parents: 209
diff changeset
   110
        <attribute name="LDFLAGS" value="-pie"/>
9f23b7abe961 rollback of the changes on the config for Hajime
daniel
parents: 209
diff changeset
   111
        <attribute name="ignore_predefined_flags" value="True"/>
171
57267a24d3e5 add mptcp build
Hajime Tazaki <tazaki@nict.go.jp>
parents: 169
diff changeset
   112
        <attribute name="install_arguments" value="DESTDIR=$INSTALLDIR" />
210
9f23b7abe961 rollback of the changes on the config for Hajime
daniel
parents: 209
diff changeset
   113
        <attribute name="build_arguments" value="CCOPTS+=-fpic CCOPTS+=-D_GNU_SOURCE CCOPTS+=-O0 CCOPTS+=-U_FORTIFY_SOURCE LDFLAGS=-pie DEFINES+=-I$SRCDIR/../mptcp/include"/>
171
57267a24d3e5 add mptcp build
Hajime Tazaki <tazaki@nict.go.jp>
parents: 169
diff changeset
   114
      </build>
57267a24d3e5 add mptcp build
Hajime Tazaki <tazaki@nict.go.jp>
parents: 169
diff changeset
   115
    </module>
57267a24d3e5 add mptcp build
Hajime Tazaki <tazaki@nict.go.jp>
parents: 169
diff changeset
   116
57267a24d3e5 add mptcp build
Hajime Tazaki <tazaki@nict.go.jp>
parents: 169
diff changeset
   117
    <module name="dce-linux-mptcp">
57267a24d3e5 add mptcp build
Hajime Tazaki <tazaki@nict.go.jp>
parents: 169
diff changeset
   118
      <source type="mercurial">
210
9f23b7abe961 rollback of the changes on the config for Hajime
daniel
parents: 209
diff changeset
   119
        <attribute name="url" value="http://code.nsnam.org/ns-3-dce"/>
9f23b7abe961 rollback of the changes on the config for Hajime
daniel
parents: 209
diff changeset
   120
        <attribute name="module_directory" value="ns-3-dce"/>
9f23b7abe961 rollback of the changes on the config for Hajime
daniel
parents: 209
diff changeset
   121
        <attribute name="revision" value="dce-1.0-rc1"/>
171
57267a24d3e5 add mptcp build
Hajime Tazaki <tazaki@nict.go.jp>
parents: 169
diff changeset
   122
     </source>
188
ef5aac0a8c17 let elf-loader optional
Hajime Tazaki <tazaki@nict.go.jp>
parents: 187
diff changeset
   123
       <depends_on name="elf-loader" optional="True"/>
171
57267a24d3e5 add mptcp build
Hajime Tazaki <tazaki@nict.go.jp>
parents: 169
diff changeset
   124
       <depends_on name="mptcp_v0.86" optional="False"/>
57267a24d3e5 add mptcp build
Hajime Tazaki <tazaki@nict.go.jp>
parents: 169
diff changeset
   125
       <depends_on name="iproute-mptcp" optional="False"/>
57267a24d3e5 add mptcp build
Hajime Tazaki <tazaki@nict.go.jp>
parents: 169
diff changeset
   126
       <depends_on name="iperf" optional="True"/>
227
706945b08360 Revert from wrong configuration change
daniel
parents: 226
diff changeset
   127
       <depends_on name="ns-3.17" optional="False"/>
187
dfb54fb4e9e7 rename module directory of dce to ns-3-dce under source directory
Hajime Tazaki <tazaki@nict.go.jp>
parents: 186
diff changeset
   128
      <build type="waf" objdir="yes" sourcedir="ns-3-dce">
218
be483ada1abe add supported_os attribute to dce related modules
Hajime Tazaki <tazaki@nict.go.jp>
parents: 217
diff changeset
   129
        <attribute name="supported_os" value="linux;linux2"/>
210
9f23b7abe961 rollback of the changes on the config for Hajime
daniel
parents: 209
diff changeset
   130
        <attribute name="configure_arguments" value="configure --prefix=$INSTALLDIR --with-ns3=$INSTALLDIR --with-elf-loader=$INSTALLDIR/lib --enable-kernel-stack=$SRCDIR/../mptcp/arch"/>
171
57267a24d3e5 add mptcp build
Hajime Tazaki <tazaki@nict.go.jp>
parents: 169
diff changeset
   131
      </build>
57267a24d3e5 add mptcp build
Hajime Tazaki <tazaki@nict.go.jp>
parents: 169
diff changeset
   132
    </module>
57267a24d3e5 add mptcp build
Hajime Tazaki <tazaki@nict.go.jp>
parents: 169
diff changeset
   133
173
d49216989153 add description built from net-next-sim kernel (by make testbin)
Hajime Tazaki <tazaki@nict.go.jp>
parents: 172
diff changeset
   134
    <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
   135
      <source type="mercurial">
210
9f23b7abe961 rollback of the changes on the config for Hajime
daniel
parents: 209
diff changeset
   136
        <attribute name="url" value="http://code.nsnam.org/ns-3-dce"/>
9f23b7abe961 rollback of the changes on the config for Hajime
daniel
parents: 209
diff changeset
   137
        <attribute name="module_directory" value="ns-3-dce"/>
9f23b7abe961 rollback of the changes on the config for Hajime
daniel
parents: 209
diff changeset
   138
        <attribute name="revision" value="dce-1.0-rc1"/>
173
d49216989153 add description built from net-next-sim kernel (by make testbin)
Hajime Tazaki <tazaki@nict.go.jp>
parents: 172
diff changeset
   139
      </source>
188
ef5aac0a8c17 let elf-loader optional
Hajime Tazaki <tazaki@nict.go.jp>
parents: 187
diff changeset
   140
      <depends_on name="elf-loader" optional="True"/>
173
d49216989153 add description built from net-next-sim kernel (by make testbin)
Hajime Tazaki <tazaki@nict.go.jp>
parents: 172
diff changeset
   141
      <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
   142
      <depends_on name="iperf" optional="True"/>
227
706945b08360 Revert from wrong configuration change
daniel
parents: 226
diff changeset
   143
      <depends_on name="ns-3.17" optional="False"/>
187
dfb54fb4e9e7 rename module directory of dce to ns-3-dce under source directory
Hajime Tazaki <tazaki@nict.go.jp>
parents: 186
diff changeset
   144
      <build type="waf" objdir="yes" sourcedir="ns-3-dce">
218
be483ada1abe add supported_os attribute to dce related modules
Hajime Tazaki <tazaki@nict.go.jp>
parents: 217
diff changeset
   145
        <attribute name="supported_os" value="linux;linux2"/>
210
9f23b7abe961 rollback of the changes on the config for Hajime
daniel
parents: 209
diff changeset
   146
        <!-- assume the bake.py build is executed under arch/sim/test/buildtop/ -->
9f23b7abe961 rollback of the changes on the config for Hajime
daniel
parents: 209
diff changeset
   147
        <attribute name="configure_arguments" value="configure --prefix=$INSTALLDIR --with-ns3=$INSTALLDIR --with-elf-loader=$INSTALLDIR/lib --enable-kernel-stack=$SRCDIR/../../../../../"/>
173
d49216989153 add description built from net-next-sim kernel (by make testbin)
Hajime Tazaki <tazaki@nict.go.jp>
parents: 172
diff changeset
   148
      </build>
d49216989153 add description built from net-next-sim kernel (by make testbin)
Hajime Tazaki <tazaki@nict.go.jp>
parents: 172
diff changeset
   149
    </module>
d49216989153 add description built from net-next-sim kernel (by make testbin)
Hajime Tazaki <tazaki@nict.go.jp>
parents: 172
diff changeset
   150
167
739d70ae5e53 Bug 1610 - bake should check for libpcap-dev before building ccnx
Hajime Tazaki <tazaki@nict.go.jp>
parents: 166
diff changeset
   151
    <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
   152
      <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
   153
        <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
   154
        <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
   155
        <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
   156
        <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
   157
        <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
   158
      </source>
739d70ae5e53 Bug 1610 - bake should check for libpcap-dev before building ccnx
Hajime Tazaki <tazaki@nict.go.jp>
parents: 166
diff changeset
   159
      <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
   160
      </build>
739d70ae5e53 Bug 1610 - bake should check for libpcap-dev before building ccnx
Hajime Tazaki <tazaki@nict.go.jp>
parents: 166
diff changeset
   161
    </module>
739d70ae5e53 Bug 1610 - bake should check for libpcap-dev before building ccnx
Hajime Tazaki <tazaki@nict.go.jp>
parents: 166
diff changeset
   162
193
ea1036886f17 add libexpat dependency to ccnx
Hajime Tazaki <tazaki@nict.go.jp>
parents: 192
diff changeset
   163
    <module name="libexpat-dev">
ea1036886f17 add libexpat dependency to ccnx
Hajime Tazaki <tazaki@nict.go.jp>
parents: 192
diff changeset
   164
      <source type="system_dependency">
ea1036886f17 add libexpat dependency to ccnx
Hajime Tazaki <tazaki@nict.go.jp>
parents: 192
diff changeset
   165
        <attribute name="dependency_test" value="expat.h"/>
ea1036886f17 add libexpat dependency to ccnx
Hajime Tazaki <tazaki@nict.go.jp>
parents: 192
diff changeset
   166
        <attribute name="try_to_install" value="True"/>
ea1036886f17 add libexpat dependency to ccnx
Hajime Tazaki <tazaki@nict.go.jp>
parents: 192
diff changeset
   167
        <attribute name="name_apt-get" value="libexpat1-dev"/>
ea1036886f17 add libexpat dependency to ccnx
Hajime Tazaki <tazaki@nict.go.jp>
parents: 192
diff changeset
   168
        <attribute name="name_yum" value="expat-devel"/>
ea1036886f17 add libexpat dependency to ccnx
Hajime Tazaki <tazaki@nict.go.jp>
parents: 192
diff changeset
   169
        <attribute name="more_information" value="Didn't find libexpat-dev package; please install it."/>
ea1036886f17 add libexpat dependency to ccnx
Hajime Tazaki <tazaki@nict.go.jp>
parents: 192
diff changeset
   170
      </source>
ea1036886f17 add libexpat dependency to ccnx
Hajime Tazaki <tazaki@nict.go.jp>
parents: 192
diff changeset
   171
      <build type="none" objdir="no">
ea1036886f17 add libexpat dependency to ccnx
Hajime Tazaki <tazaki@nict.go.jp>
parents: 192
diff changeset
   172
      </build>
ea1036886f17 add libexpat dependency to ccnx
Hajime Tazaki <tazaki@nict.go.jp>
parents: 192
diff changeset
   173
    </module>
ea1036886f17 add libexpat dependency to ccnx
Hajime Tazaki <tazaki@nict.go.jp>
parents: 192
diff changeset
   174
121
161cb0e74bb8 Config file for DCE with ccnx
daniel
parents: 117
diff changeset
   175
    <module name="ccnx">
161cb0e74bb8 Config file for DCE with ccnx
daniel
parents: 117
diff changeset
   176
      <source type="archive">
210
9f23b7abe961 rollback of the changes on the config for Hajime
daniel
parents: 209
diff changeset
   177
        <attribute name="url" value="http://www.ccnx.org/releases/ccnx-0.6.2.tar.gz"/>
9f23b7abe961 rollback of the changes on the config for Hajime
daniel
parents: 209
diff changeset
   178
        <attribute name="extract_directory" value="ccnx-0.6.2"/>
121
161cb0e74bb8 Config file for DCE with ccnx
daniel
parents: 117
diff changeset
   179
      </source>
167
739d70ae5e53 Bug 1610 - bake should check for libpcap-dev before building ccnx
Hajime Tazaki <tazaki@nict.go.jp>
parents: 166
diff changeset
   180
      <depends_on name="libpcap-dev" optional="False"/>
193
ea1036886f17 add libexpat dependency to ccnx
Hajime Tazaki <tazaki@nict.go.jp>
parents: 192
diff changeset
   181
      <depends_on name="libexpat-dev" optional="False"/>
121
161cb0e74bb8 Config file for DCE with ccnx
daniel
parents: 117
diff changeset
   182
      <build type="make" objdir="yes">
210
9f23b7abe961 rollback of the changes on the config for Hajime
daniel
parents: 209
diff changeset
   183
        <attribute name="pre_installation" value="cd $SRCDIR;INSTALL_BASE=$INSTALLDIR ./configure;mkdir $INSTALLDIR/include;mkdir $INSTALLDIR/lib;mkdir $INSTALLDIR/bin"/>
9f23b7abe961 rollback of the changes on the config for Hajime
daniel
parents: 209
diff changeset
   184
        <attribute name="build_arguments" value="MORE_LDLIBS=-pie"/>
121
161cb0e74bb8 Config file for DCE with ccnx
daniel
parents: 117
diff changeset
   185
        <attribute name="new_variable" value="INSTALL_BASE=$INSTALLDIR" />
161cb0e74bb8 Config file for DCE with ccnx
daniel
parents: 117
diff changeset
   186
      </build>
161cb0e74bb8 Config file for DCE with ccnx
daniel
parents: 117
diff changeset
   187
     </module>
161cb0e74bb8 Config file for DCE with ccnx
daniel
parents: 117
diff changeset
   188
117
0a5182f04b00 DCE tutorial changes
daniel
parents: 115
diff changeset
   189
    <module name="iperf">
0a5182f04b00 DCE tutorial changes
daniel
parents: 115
diff changeset
   190
      <source type="archive">
210
9f23b7abe961 rollback of the changes on the config for Hajime
daniel
parents: 209
diff changeset
   191
        <attribute name="url" value="http://iperf.fr/download/iperf_2.0.5/iperf-2.0.5-source.tar.gz"/>
9f23b7abe961 rollback of the changes on the config for Hajime
daniel
parents: 209
diff changeset
   192
        <attribute name="extract_directory" value="iperf-2.0.5"/>
117
0a5182f04b00 DCE tutorial changes
daniel
parents: 115
diff changeset
   193
      </source>
0a5182f04b00 DCE tutorial changes
daniel
parents: 115
diff changeset
   194
      <build type="make" objdir="yes">
210
9f23b7abe961 rollback of the changes on the config for Hajime
daniel
parents: 209
diff changeset
   195
        <attribute name="pre_installation" value="cd $SRCDIR;./configure --prefix=$INSTALLDIR"/>
9f23b7abe961 rollback of the changes on the config for Hajime
daniel
parents: 209
diff changeset
   196
        <attribute name="patch" value="$SRCDIR/../ns-3-dce/utils/iperf_4_dce.patch"/>
117
0a5182f04b00 DCE tutorial changes
daniel
parents: 115
diff changeset
   197
      </build>
0a5182f04b00 DCE tutorial changes
daniel
parents: 115
diff changeset
   198
     </module>
0a5182f04b00 DCE tutorial changes
daniel
parents: 115
diff changeset
   199
166
383536a8c68f Bug 1611 - bake dependency on iproute missing
Hajime Tazaki <tazaki@nict.go.jp>
parents: 165
diff changeset
   200
    <module name="libdb-dev">
383536a8c68f Bug 1611 - bake dependency on iproute missing
Hajime Tazaki <tazaki@nict.go.jp>
parents: 165
diff changeset
   201
      <source type="system_dependency">
383536a8c68f Bug 1611 - bake dependency on iproute missing
Hajime Tazaki <tazaki@nict.go.jp>
parents: 165
diff changeset
   202
        <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
   203
        <attribute name="try_to_install" value="True"/>
190
9ae11dbf2644 rename libdb package for ubuntu
Hajime Tazaki <tazaki@nict.go.jp>
parents: 189
diff changeset
   204
        <attribute name="name_apt-get" value="libdb-dev"/>
186
88763e0d63f6 rename db4-devel package name for Centos, which doesn't have libdb-devel but db4-devel
Hajime Tazaki <tazaki@nict.go.jp>
parents: 185
diff changeset
   205
        <attribute name="name_yum" value="db4-devel"/>
166
383536a8c68f Bug 1611 - bake dependency on iproute missing
Hajime Tazaki <tazaki@nict.go.jp>
parents: 165
diff changeset
   206
        <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
   207
      </source>
383536a8c68f Bug 1611 - bake dependency on iproute missing
Hajime Tazaki <tazaki@nict.go.jp>
parents: 165
diff changeset
   208
      <build type="none" objdir="no">
383536a8c68f Bug 1611 - bake dependency on iproute missing
Hajime Tazaki <tazaki@nict.go.jp>
parents: 165
diff changeset
   209
      </build>
383536a8c68f Bug 1611 - bake dependency on iproute missing
Hajime Tazaki <tazaki@nict.go.jp>
parents: 165
diff changeset
   210
    </module>
383536a8c68f Bug 1611 - bake dependency on iproute missing
Hajime Tazaki <tazaki@nict.go.jp>
parents: 165
diff changeset
   211
383536a8c68f Bug 1611 - bake dependency on iproute missing
Hajime Tazaki <tazaki@nict.go.jp>
parents: 165
diff changeset
   212
    <module name="bison">
383536a8c68f Bug 1611 - bake dependency on iproute missing
Hajime Tazaki <tazaki@nict.go.jp>
parents: 165
diff changeset
   213
      <source type="system_dependency">
383536a8c68f Bug 1611 - bake dependency on iproute missing
Hajime Tazaki <tazaki@nict.go.jp>
parents: 165
diff changeset
   214
        <attribute name="dependency_test" value="bison"/>
383536a8c68f Bug 1611 - bake dependency on iproute missing
Hajime Tazaki <tazaki@nict.go.jp>
parents: 165
diff changeset
   215
        <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
   216
        <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
   217
        <attribute name="name_yum" value="bison"/>
383536a8c68f Bug 1611 - bake dependency on iproute missing
Hajime Tazaki <tazaki@nict.go.jp>
parents: 165
diff changeset
   218
        <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
   219
      </source>
383536a8c68f Bug 1611 - bake dependency on iproute missing
Hajime Tazaki <tazaki@nict.go.jp>
parents: 165
diff changeset
   220
      <build type="none" objdir="no">
383536a8c68f Bug 1611 - bake dependency on iproute missing
Hajime Tazaki <tazaki@nict.go.jp>
parents: 165
diff changeset
   221
      </build>
383536a8c68f Bug 1611 - bake dependency on iproute missing
Hajime Tazaki <tazaki@nict.go.jp>
parents: 165
diff changeset
   222
    </module>
383536a8c68f Bug 1611 - bake dependency on iproute missing
Hajime Tazaki <tazaki@nict.go.jp>
parents: 165
diff changeset
   223
383536a8c68f Bug 1611 - bake dependency on iproute missing
Hajime Tazaki <tazaki@nict.go.jp>
parents: 165
diff changeset
   224
    <module name="flex">
383536a8c68f Bug 1611 - bake dependency on iproute missing
Hajime Tazaki <tazaki@nict.go.jp>
parents: 165
diff changeset
   225
      <source type="system_dependency">
383536a8c68f Bug 1611 - bake dependency on iproute missing
Hajime Tazaki <tazaki@nict.go.jp>
parents: 165
diff changeset
   226
        <attribute name="dependency_test" value="flex"/>
383536a8c68f Bug 1611 - bake dependency on iproute missing
Hajime Tazaki <tazaki@nict.go.jp>
parents: 165
diff changeset
   227
        <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
   228
        <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
   229
        <attribute name="name_yum" value="flex"/>
383536a8c68f Bug 1611 - bake dependency on iproute missing
Hajime Tazaki <tazaki@nict.go.jp>
parents: 165
diff changeset
   230
        <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
   231
      </source>
383536a8c68f Bug 1611 - bake dependency on iproute missing
Hajime Tazaki <tazaki@nict.go.jp>
parents: 165
diff changeset
   232
      <build type="none" objdir="no">
383536a8c68f Bug 1611 - bake dependency on iproute missing
Hajime Tazaki <tazaki@nict.go.jp>
parents: 165
diff changeset
   233
      </build>
383536a8c68f Bug 1611 - bake dependency on iproute missing
Hajime Tazaki <tazaki@nict.go.jp>
parents: 165
diff changeset
   234
    </module>
383536a8c68f Bug 1611 - bake dependency on iproute missing
Hajime Tazaki <tazaki@nict.go.jp>
parents: 165
diff changeset
   235
168
4e8765f518d1 Add more package dependencies for elf-loader, quagga, umip
Hajime Tazaki <tazaki@nict.go.jp>
parents: 167
diff changeset
   236
    <module name="libsysfs-dev">
4e8765f518d1 Add more package dependencies for elf-loader, quagga, umip
Hajime Tazaki <tazaki@nict.go.jp>
parents: 167
diff changeset
   237
      <source type="system_dependency">
4e8765f518d1 Add more package dependencies for elf-loader, quagga, umip
Hajime Tazaki <tazaki@nict.go.jp>
parents: 167
diff changeset
   238
        <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
   239
        <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
   240
        <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
   241
        <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
   242
        <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
   243
      </source>
4e8765f518d1 Add more package dependencies for elf-loader, quagga, umip
Hajime Tazaki <tazaki@nict.go.jp>
parents: 167
diff changeset
   244
      <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
   245
      </build>
4e8765f518d1 Add more package dependencies for elf-loader, quagga, umip
Hajime Tazaki <tazaki@nict.go.jp>
parents: 167
diff changeset
   246
    </module>
4e8765f518d1 Add more package dependencies for elf-loader, quagga, umip
Hajime Tazaki <tazaki@nict.go.jp>
parents: 167
diff changeset
   247
4e8765f518d1 Add more package dependencies for elf-loader, quagga, umip
Hajime Tazaki <tazaki@nict.go.jp>
parents: 167
diff changeset
   248
    <module name="libssl-dev">
4e8765f518d1 Add more package dependencies for elf-loader, quagga, umip
Hajime Tazaki <tazaki@nict.go.jp>
parents: 167
diff changeset
   249
      <source type="system_dependency">
4e8765f518d1 Add more package dependencies for elf-loader, quagga, umip
Hajime Tazaki <tazaki@nict.go.jp>
parents: 167
diff changeset
   250
        <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
   251
        <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
   252
        <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
   253
        <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
   254
        <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
   255
      </source>
4e8765f518d1 Add more package dependencies for elf-loader, quagga, umip
Hajime Tazaki <tazaki@nict.go.jp>
parents: 167
diff changeset
   256
      <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
   257
      </build>
4e8765f518d1 Add more package dependencies for elf-loader, quagga, umip
Hajime Tazaki <tazaki@nict.go.jp>
parents: 167
diff changeset
   258
    </module>
4e8765f518d1 Add more package dependencies for elf-loader, quagga, umip
Hajime Tazaki <tazaki@nict.go.jp>
parents: 167
diff changeset
   259
117
0a5182f04b00 DCE tutorial changes
daniel
parents: 115
diff changeset
   260
     <module name="iproute">
67
1d85f4b247f3 Update on the unit test
Daniel Camara <daniel.camara@inria.fr>
parents:
diff changeset
   261
      <source type="archive">
210
9f23b7abe961 rollback of the changes on the config for Hajime
daniel
parents: 209
diff changeset
   262
        <attribute name="url" value="http://www.linuxgrill.com/anonymous/iproute2/NEW-OSDL/iproute2-2.6.38.tar.bz2"/>
94
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
   263
      </source>
166
383536a8c68f Bug 1611 - bake dependency on iproute missing
Hajime Tazaki <tazaki@nict.go.jp>
parents: 165
diff changeset
   264
      <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
   265
      <depends_on name="bison" optional="False"/>
383536a8c68f Bug 1611 - bake dependency on iproute missing
Hajime Tazaki <tazaki@nict.go.jp>
parents: 165
diff changeset
   266
      <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
   267
      <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
   268
      <depends_on name="libssl-dev" optional="False"/>
94
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
   269
      <build type="make" objdir="yes">
218
be483ada1abe add supported_os attribute to dce related modules
Hajime Tazaki <tazaki@nict.go.jp>
parents: 217
diff changeset
   270
        <attribute name="supported_os" value="linux;linux2"/>
210
9f23b7abe961 rollback of the changes on the config for Hajime
daniel
parents: 209
diff changeset
   271
        <attribute name="pre_installation" value="$SRCDIR/configure"/>
9f23b7abe961 rollback of the changes on the config for Hajime
daniel
parents: 209
diff changeset
   272
        <attribute name="LDFLAGS" value="-pie"/>
9f23b7abe961 rollback of the changes on the config for Hajime
daniel
parents: 209
diff changeset
   273
        <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
   274
         <attribute name="install_arguments" value="DESTDIR=$INSTALLDIR" />
210
9f23b7abe961 rollback of the changes on the config for Hajime
daniel
parents: 209
diff changeset
   275
        <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
   276
      </build>
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
   277
     </module>
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
   278
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
   279
    <module name="ns-3-dev-dce">
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
   280
      <source type="mercurial">
210
9f23b7abe961 rollback of the changes on the config for Hajime
daniel
parents: 209
diff changeset
   281
        <attribute name="url" value="http://code.nsnam.org/ns-3-dev"/>
94
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
   282
      </source>
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
   283
      <build type="waf" objdir="yes">
227
706945b08360 Revert from wrong configuration change
daniel
parents: 226
diff changeset
   284
        <attribute name="configure_arguments" value="configure --prefix=$INSTALLDIR --enable-tests"/>
94
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
   285
      </build>
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
   286
    </module>
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
   287
158
877c6c57c249 Obsolete ns-3-linux with net-next-sim repository
Hajime Tazaki <tazaki@nict.go.jp>
parents: 157
diff changeset
   288
     <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
   289
       <source type="git">
877c6c57c249 Obsolete ns-3-linux with net-next-sim repository
Hajime Tazaki <tazaki@nict.go.jp>
parents: 157
diff changeset
   290
         <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
   291
         <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
   292
         <attribute name="revision" value="sim-ns3-2.6.36-branch"/>
184
40268847effa Added the hability to pass parameters to git
Hajime Tazaki <tazaki@nict.go.jp>
parents: 182
diff changeset
   293
         <attribute name="fetch_option" value="--depth=1"/>
158
877c6c57c249 Obsolete ns-3-linux with net-next-sim repository
Hajime Tazaki <tazaki@nict.go.jp>
parents: 157
diff changeset
   294
       </source>
877c6c57c249 Obsolete ns-3-linux with net-next-sim repository
Hajime Tazaki <tazaki@nict.go.jp>
parents: 157
diff changeset
   295
       <build type="make" objdir="no">
218
be483ada1abe add supported_os attribute to dce related modules
Hajime Tazaki <tazaki@nict.go.jp>
parents: 217
diff changeset
   296
         <attribute name="supported_os" value="linux;linux2"/>
158
877c6c57c249 Obsolete ns-3-linux with net-next-sim repository
Hajime Tazaki <tazaki@nict.go.jp>
parents: 157
diff changeset
   297
         <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
   298
         <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
   299
         <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
   300
         <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
   301
       </build>
877c6c57c249 Obsolete ns-3-linux with net-next-sim repository
Hajime Tazaki <tazaki@nict.go.jp>
parents: 157
diff changeset
   302
     </module>
877c6c57c249 Obsolete ns-3-linux with net-next-sim repository
Hajime Tazaki <tazaki@nict.go.jp>
parents: 157
diff changeset
   303
877c6c57c249 Obsolete ns-3-linux with net-next-sim repository
Hajime Tazaki <tazaki@nict.go.jp>
parents: 157
diff changeset
   304
     <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
   305
       <source type="git">
877c6c57c249 Obsolete ns-3-linux with net-next-sim repository
Hajime Tazaki <tazaki@nict.go.jp>
parents: 157
diff changeset
   306
         <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
   307
         <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
   308
         <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
   309
       </source>
877c6c57c249 Obsolete ns-3-linux with net-next-sim repository
Hajime Tazaki <tazaki@nict.go.jp>
parents: 157
diff changeset
   310
       <build type="make" objdir="no">
218
be483ada1abe add supported_os attribute to dce related modules
Hajime Tazaki <tazaki@nict.go.jp>
parents: 217
diff changeset
   311
         <attribute name="supported_os" value="linux;linux2"/>
158
877c6c57c249 Obsolete ns-3-linux with net-next-sim repository
Hajime Tazaki <tazaki@nict.go.jp>
parents: 157
diff changeset
   312
         <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
   313
         <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
   314
         <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
   315
         <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
   316
       </build>
877c6c57c249 Obsolete ns-3-linux with net-next-sim repository
Hajime Tazaki <tazaki@nict.go.jp>
parents: 157
diff changeset
   317
     </module>
877c6c57c249 Obsolete ns-3-linux with net-next-sim repository
Hajime Tazaki <tazaki@nict.go.jp>
parents: 157
diff changeset
   318
877c6c57c249 Obsolete ns-3-linux with net-next-sim repository
Hajime Tazaki <tazaki@nict.go.jp>
parents: 157
diff changeset
   319
     <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
   320
       <source type="git">
877c6c57c249 Obsolete ns-3-linux with net-next-sim repository
Hajime Tazaki <tazaki@nict.go.jp>
parents: 157
diff changeset
   321
         <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
   322
         <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
   323
         <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
   324
       </source>
877c6c57c249 Obsolete ns-3-linux with net-next-sim repository
Hajime Tazaki <tazaki@nict.go.jp>
parents: 157
diff changeset
   325
       <build type="make" objdir="no">
218
be483ada1abe add supported_os attribute to dce related modules
Hajime Tazaki <tazaki@nict.go.jp>
parents: 217
diff changeset
   326
         <attribute name="supported_os" value="linux;linux2"/>
158
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">
227
706945b08360 Revert from wrong configuration change
daniel
parents: 226
diff changeset
   346
        <attribute name="url" value="http://www.acme.com/software/thttpd/thttpd-2.25b.tar.gz"/>
706945b08360 Revert from wrong configuration change
daniel
parents: 226
diff changeset
   347
        <attribute name="extract_directory" value="thttpd-2.25b"/>
155
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">
227
706945b08360 Revert from wrong configuration change
daniel
parents: 226
diff changeset
   350
        <attribute name="pre_installation" value="cd $SRCDIR;./configure --prefix=$INSTALLDIR"/>
706945b08360 Revert from wrong configuration change
daniel
parents: 226
diff changeset
   351
        <attribute name="patch" value="$SRCDIR/../ns-3-dce/myscripts/httpd/dce-thttpd.patch"/>
155
95e97e9298cc wget and thttpd added, for DCE
daniel
parents: 152
diff changeset
   352
         <attribute name="install_arguments" value="-n" />
227
706945b08360 Revert from wrong configuration change
daniel
parents: 226
diff changeset
   353
         <attribute name="build_arguments" value="thttpd"/>
155
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">
210
9f23b7abe961 rollback of the changes on the config for Hajime
daniel
parents: 209
diff changeset
   361
         <attribute name="url" value="http://www.skbuff.net/iputils/iputils-s20101006.tar.bz2"/>
145
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">
210
9f23b7abe961 rollback of the changes on the config for Hajime
daniel
parents: 209
diff changeset
   365
         <attribute name="patch" value="$SRCDIR/../ns-3-dce/myscripts/ns-3-dce-quagga/utils/iputils-ping6.patch"/>
9f23b7abe961 rollback of the changes on the config for Hajime
daniel
parents: 209
diff changeset
   366
         <attribute name="supported_os" value="linux;linux2"/>
9f23b7abe961 rollback of the changes on the config for Hajime
daniel
parents: 209
diff changeset
   367
         <code>class IputilsModuleBuild(InlineModuleBuild):
145
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)
217
90e227cbe9e9 Refix: Bug 1619 - build speed of ns-3-dev is slow
Hajime Tazaki <tazaki@nict.go.jp>
parents: 213
diff changeset
   373
           jobstr=[]
90e227cbe9e9 Refix: Bug 1619 - build speed of ns-3-dev is slow
Hajime Tazaki <tazaki@nict.go.jp>
parents: 213
diff changeset
   374
           if not jobs == -1:
90e227cbe9e9 Refix: Bug 1619 - build speed of ns-3-dev is slow
Hajime Tazaki <tazaki@nict.go.jp>
parents: 213
diff changeset
   375
               jobstr = ['-j', str(jobs)]
145
b5a6ad566c40 Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents: 144
diff changeset
   376
           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
   377
           'CFLAGS+=-Wstrict-prototypes', 'CFLAGS+=-Wall', 'LDFLAGS=-pie', 
217
90e227cbe9e9 Refix: Bug 1619 - build speed of ns-3-dev is slow
Hajime Tazaki <tazaki@nict.go.jp>
parents: 213
diff changeset
   378
           'ping', 'ping6'] + jobstr,
145
b5a6ad566c40 Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents: 144
diff changeset
   379
           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
   380
           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
   381
           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
   382
           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
   383
           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
   384
    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
   385
           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
   386
    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
   387
           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
   388
       </build>
b5a6ad566c40 Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents: 144
diff changeset
   389
     </module>
b5a6ad566c40 Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents: 144
diff changeset
   390
b5a6ad566c40 Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents: 144
diff changeset
   391
     <!-- umip related modules -->
227
706945b08360 Revert from wrong configuration change
daniel
parents: 226
diff changeset
   392
     <module name="dce-umip-dev">
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 type="mercurial">
210
9f23b7abe961 rollback of the changes on the config for Hajime
daniel
parents: 209
diff changeset
   394
        <attribute name="url" value="http://code.nsnam.org/thehajime/ns-3-dce-umip"/>
9f23b7abe961 rollback of the changes on the config for Hajime
daniel
parents: 209
diff changeset
   395
        <attribute name="module_directory" value="ns-3-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
   396
       </source>
227
706945b08360 Revert from wrong configuration change
daniel
parents: 226
diff changeset
   397
       <depends_on name="dce-linux-dev" optional="False"/>
706945b08360 Revert from wrong configuration change
daniel
parents: 226
diff changeset
   398
       <depends_on name="dce-quagga-dev" 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
   399
       <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
   400
       <build type="none">
218
be483ada1abe add supported_os attribute to dce related modules
Hajime Tazaki <tazaki@nict.go.jp>
parents: 217
diff changeset
   401
         <attribute name="supported_os" value="linux;linux2"/>
210
9f23b7abe961 rollback of the changes on the config for Hajime
daniel
parents: 209
diff changeset
   402
         <!-- 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
   403
       </build>
b5a6ad566c40 Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents: 144
diff changeset
   404
     </module>
b5a6ad566c40 Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents: 144
diff changeset
   405
b5a6ad566c40 Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents: 144
diff changeset
   406
     <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
   407
       <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
   408
         <attribute name="url" value="git://git.umip.org/umip.git"/>
210
9f23b7abe961 rollback of the changes on the config for Hajime
daniel
parents: 209
diff changeset
   409
         <attribute name="revision" value="v1.0"/>
145
b5a6ad566c40 Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents: 144
diff changeset
   410
       </source>
b5a6ad566c40 Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents: 144
diff changeset
   411
       <build type="autotools" objdir="no">
218
be483ada1abe add supported_os attribute to dce related modules
Hajime Tazaki <tazaki@nict.go.jp>
parents: 217
diff changeset
   412
         <attribute name="supported_os" value="linux;linux2"/>
145
b5a6ad566c40 Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents: 144
diff changeset
   413
         <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
   414
         <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
   415
         <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
   416
         <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
   417
       </build>
b5a6ad566c40 Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents: 144
diff changeset
   418
     </module>
b5a6ad566c40 Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents: 144
diff changeset
   419
b5a6ad566c40 Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents: 144
diff changeset
   420
    <!-- quagga related modules -->
227
706945b08360 Revert from wrong configuration change
daniel
parents: 226
diff changeset
   421
    <module name="dce-quagga-dev">
145
b5a6ad566c40 Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents: 144
diff changeset
   422
      <source type="mercurial">
210
9f23b7abe961 rollback of the changes on the config for Hajime
daniel
parents: 209
diff changeset
   423
        <attribute name="url" value="http://code.nsnam.org/thehajime/ns-3-dce-quagga"/>
9f23b7abe961 rollback of the changes on the config for Hajime
daniel
parents: 209
diff changeset
   424
        <attribute name="module_directory" value="ns-3-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
   425
      </source>
b5a6ad566c40 Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents: 144
diff changeset
   426
       <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
   427
       <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
   428
      <build type="none">
218
be483ada1abe add supported_os attribute to dce related modules
Hajime Tazaki <tazaki@nict.go.jp>
parents: 217
diff changeset
   429
        <attribute name="supported_os" value="linux;linux2"/>
210
9f23b7abe961 rollback of the changes on the config for Hajime
daniel
parents: 209
diff changeset
   430
        <!-- 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
   431
     </build>
b5a6ad566c40 Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents: 144
diff changeset
   432
    </module>
b5a6ad566c40 Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents: 144
diff changeset
   433
168
4e8765f518d1 Add more package dependencies for elf-loader, quagga, umip
Hajime Tazaki <tazaki@nict.go.jp>
parents: 167
diff changeset
   434
    <module name="indent">
4e8765f518d1 Add more package dependencies for elf-loader, quagga, umip
Hajime Tazaki <tazaki@nict.go.jp>
parents: 167
diff changeset
   435
      <source type="system_dependency">
4e8765f518d1 Add more package dependencies for elf-loader, quagga, umip
Hajime Tazaki <tazaki@nict.go.jp>
parents: 167
diff changeset
   436
        <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
   437
        <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
   438
        <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
   439
        <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
   440
        <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
   441
      </source>
4e8765f518d1 Add more package dependencies for elf-loader, quagga, umip
Hajime Tazaki <tazaki@nict.go.jp>
parents: 167
diff changeset
   442
      <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
   443
      </build>
4e8765f518d1 Add more package dependencies for elf-loader, quagga, umip
Hajime Tazaki <tazaki@nict.go.jp>
parents: 167
diff changeset
   444
    </module>
4e8765f518d1 Add more package dependencies for elf-loader, quagga, umip
Hajime Tazaki <tazaki@nict.go.jp>
parents: 167
diff changeset
   445
4e8765f518d1 Add more package dependencies for elf-loader, quagga, umip
Hajime Tazaki <tazaki@nict.go.jp>
parents: 167
diff changeset
   446
    <module name="gawk">
4e8765f518d1 Add more package dependencies for elf-loader, quagga, umip
Hajime Tazaki <tazaki@nict.go.jp>
parents: 167
diff changeset
   447
      <source type="system_dependency">
4e8765f518d1 Add more package dependencies for elf-loader, quagga, umip
Hajime Tazaki <tazaki@nict.go.jp>
parents: 167
diff changeset
   448
        <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
   449
        <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
   450
        <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
   451
        <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
   452
        <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
   453
      </source>
4e8765f518d1 Add more package dependencies for elf-loader, quagga, umip
Hajime Tazaki <tazaki@nict.go.jp>
parents: 167
diff changeset
   454
      <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
   455
      </build>
4e8765f518d1 Add more package dependencies for elf-loader, quagga, umip
Hajime Tazaki <tazaki@nict.go.jp>
parents: 167
diff changeset
   456
    </module>
4e8765f518d1 Add more package dependencies for elf-loader, quagga, umip
Hajime Tazaki <tazaki@nict.go.jp>
parents: 167
diff changeset
   457
145
b5a6ad566c40 Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents: 144
diff changeset
   458
     <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
   459
       <source type="archive">
210
9f23b7abe961 rollback of the changes on the config for Hajime
daniel
parents: 209
diff changeset
   460
        <!-- some of mirror sever of gnu.org isn't available.. -->
9f23b7abe961 rollback of the changes on the config for Hajime
daniel
parents: 209
diff changeset
   461
        <!-- attribute name="url" value="http://download.savannah.gnu.org/releases/quagga/quagga-0.99.20.tar.gz"/ -->
9f23b7abe961 rollback of the changes on the config for Hajime
daniel
parents: 209
diff changeset
   462
        <attribute name="url" value="http://pkgs.fedoraproject.org/lookaside/pkgs/quagga/quagga-0.99.20.tar.gz/64cc29394eb8a4e24649d19dac868f64/quagga-0.99.20.tar.gz"/>
9f23b7abe961 rollback of the changes on the config for Hajime
daniel
parents: 209
diff changeset
   463
        <attribute name="extract_directory" value="quagga-0.99.20"/>
145
b5a6ad566c40 Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents: 144
diff changeset
   464
       </source>
168
4e8765f518d1 Add more package dependencies for elf-loader, quagga, umip
Hajime Tazaki <tazaki@nict.go.jp>
parents: 167
diff changeset
   465
       <depends_on name="indent" optional="False"/>
192
f26b5d9f5fe5 add gawk dependency to quagga
Hajime Tazaki <tazaki@nict.go.jp>
parents: 191
diff changeset
   466
       <depends_on name="gawk" 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
   467
       <build type="make" objdir="yes">
210
9f23b7abe961 rollback of the changes on the config for Hajime
daniel
parents: 209
diff changeset
   468
         <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"/>
145
b5a6ad566c40 Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents: 144
diff changeset
   469
         <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
   470
         <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
   471
       </build>
b5a6ad566c40 Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents: 144
diff changeset
   472
     </module>
212
234760aff547 revert Tom's changes
daniel
parents: 211
diff changeset
   473
196
e42a2c88d292 getting ready for ns-3.17
daniel
parents: 195
diff changeset
   474
    <module name="click-dev">
94
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
   475
      <source type="git">
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
   476
	<attribute name="url" value="git://read.cs.ucla.edu/git/click"/>
196
e42a2c88d292 getting ready for ns-3.17
daniel
parents: 195
diff changeset
   477
<!--	<attribute name="revision" value="724412626833df5c13384be5cce4da52c601371f"/>
e42a2c88d292 getting ready for ns-3.17
daniel
parents: 195
diff changeset
   478
-->
67
1d85f4b247f3 Update on the unit test
Daniel Camara <daniel.camara@inria.fr>
parents:
diff changeset
   479
      </source>
1d85f4b247f3 Update on the unit test
Daniel Camara <daniel.camara@inria.fr>
parents:
diff changeset
   480
      <build type="autotools" objdir="yes">
113
bbe081376846 Version for code review.
daniel
parents: 112
diff changeset
   481
	<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
   482
	<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
   483
      </build>
196
e42a2c88d292 getting ready for ns-3.17
daniel
parents: 195
diff changeset
   484
    </module>
162
30abc1bdeeab Tom's patch for show list of bin directories
tomh@tomh.org
parents: 161
diff changeset
   485
212
234760aff547 revert Tom's changes
daniel
parents: 211
diff changeset
   486
    <module name="click-ns-3.17">
196
e42a2c88d292 getting ready for ns-3.17
daniel
parents: 195
diff changeset
   487
      <source type="git">
e42a2c88d292 getting ready for ns-3.17
daniel
parents: 195
diff changeset
   488
	<attribute name="url" value="git://read.cs.ucla.edu/git/click"/>
226
aabb3dbf2d47 New click label for ns-3.17
suresh.lalith@gmail
parents: 224
diff changeset
   489
	<attribute name="revision" value="056d2c0a75baaf196fca2622ff9eb80f28038bc0"/>
196
e42a2c88d292 getting ready for ns-3.17
daniel
parents: 195
diff changeset
   490
      </source>
e42a2c88d292 getting ready for ns-3.17
daniel
parents: 195
diff changeset
   491
      <build type="autotools" objdir="yes">
e42a2c88d292 getting ready for ns-3.17
daniel
parents: 195
diff changeset
   492
	<attribute name="configure_arguments" value="../configure --prefix=$INSTALLDIR --exec-prefix=$INSTALLDIR -enable-userlevel --disable-linuxmodule --enable-nsclick --enable-wifi"/>
e42a2c88d292 getting ready for ns-3.17
daniel
parents: 195
diff changeset
   493
	<attribute name="post_installation" value="mkdir $INSTALLDIR/lib; cp -r $OBJDIR/include $INSTALLDIR/lib/."/> 
e42a2c88d292 getting ready for ns-3.17
daniel
parents: 195
diff changeset
   494
      </build>
e42a2c88d292 getting ready for ns-3.17
daniel
parents: 195
diff changeset
   495
    </module>
e42a2c88d292 getting ready for ns-3.17
daniel
parents: 195
diff changeset
   496
e42a2c88d292 getting ready for ns-3.17
daniel
parents: 195
diff changeset
   497
    <module name="click-2.0.1">
e42a2c88d292 getting ready for ns-3.17
daniel
parents: 195
diff changeset
   498
      <source type="git">
e42a2c88d292 getting ready for ns-3.17
daniel
parents: 195
diff changeset
   499
	<attribute name="url" value="git://read.cs.ucla.edu/git/click"/>
e42a2c88d292 getting ready for ns-3.17
daniel
parents: 195
diff changeset
   500
	<attribute name="revision" value="8847f68461856418c409f4de4165412b3ec2cade"/>
e42a2c88d292 getting ready for ns-3.17
daniel
parents: 195
diff changeset
   501
e42a2c88d292 getting ready for ns-3.17
daniel
parents: 195
diff changeset
   502
      </source>
e42a2c88d292 getting ready for ns-3.17
daniel
parents: 195
diff changeset
   503
      <build type="autotools" objdir="yes">
e42a2c88d292 getting ready for ns-3.17
daniel
parents: 195
diff changeset
   504
	<attribute name="configure_arguments" value="../configure -enable-userlevel --disable-linuxmodule --enable-nsclick --enable-wifi"/>
e42a2c88d292 getting ready for ns-3.17
daniel
parents: 195
diff changeset
   505
	<!--	<attribute name="post_installation" value="mkdir $INSTALLDIR/lib; cp -r $OBJDIR/include $INSTALLDIR/lib/.; cp -r $SRCDIR/include $INSTALLDIR/lib"/> 
e42a2c88d292 getting ready for ns-3.17
daniel
parents: 195
diff changeset
   506
	--> 
e42a2c88d292 getting ready for ns-3.17
daniel
parents: 195
diff changeset
   507
      </build>
67
1d85f4b247f3 Update on the unit test
Daniel Camara <daniel.camara@inria.fr>
parents:
diff changeset
   508
    </module>
1d85f4b247f3 Update on the unit test
Daniel Camara <daniel.camara@inria.fr>
parents:
diff changeset
   509
112
7d1a0938bb80 added dependency for openflow and improoved the error messages and exception handling
daniel
parents: 108
diff changeset
   510
    <module name="libxml2-dev">
7d1a0938bb80 added dependency for openflow and improoved the error messages and exception handling
daniel
parents: 108
diff changeset
   511
      <source type="system_dependency">
179
8372330f1eca Fix for bug 1618
daniel
parents: 175
diff changeset
   512
	<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
   513
	<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
   514
	<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
   515
	<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
   516
	<attribute name="name_apt-get" value="libxml2-dev"/>
152
f98efdbe6dd7 fix typo
Tom Henderson <tomh@tomh.org>
parents: 151
diff changeset
   517
	<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
   518
      </source>
7d1a0938bb80 added dependency for openflow and improoved the error messages and exception handling
daniel
parents: 108
diff changeset
   519
      <build type="none" objdir="no">
7d1a0938bb80 added dependency for openflow and improoved the error messages and exception handling
daniel
parents: 108
diff changeset
   520
      </build>
7d1a0938bb80 added dependency for openflow and improoved the error messages and exception handling
daniel
parents: 108
diff changeset
   521
    </module>
7d1a0938bb80 added dependency for openflow and improoved the error messages and exception handling
daniel
parents: 108
diff changeset
   522
196
e42a2c88d292 getting ready for ns-3.17
daniel
parents: 195
diff changeset
   523
    <module name="openflow-jpelkey">
67
1d85f4b247f3 Update on the unit test
Daniel Camara <daniel.camara@inria.fr>
parents:
diff changeset
   524
      <source type="mercurial">
94
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
   525
	<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
   526
      </source>
94
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
   527
      <build type="waf" objdir="yes">
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
   528
	<attribute name="configure_arguments" value="configure --prefix=$INSTALLDIR"/>
196
e42a2c88d292 getting ready for ns-3.17
daniel
parents: 195
diff changeset
   529
	<attribute name="no_installation" value="True"/>
e42a2c88d292 getting ready for ns-3.17
daniel
parents: 195
diff changeset
   530
e42a2c88d292 getting ready for ns-3.17
daniel
parents: 195
diff changeset
   531
        <!-- It complains if the lib directory exists, so I am removing the lib directory. Another 
e42a2c88d292 getting ready for ns-3.17
daniel
parents: 195
diff changeset
   532
             thing is that it try to install things by default, so the instalation is not required-->
e42a2c88d292 getting ready for ns-3.17
daniel
parents: 195
diff changeset
   533
        
e42a2c88d292 getting ready for ns-3.17
daniel
parents: 195
diff changeset
   534
	<attribute name="pre_installation" value="mv $INSTALLDIR/lib $INSTALLDIR/libTmp"/>
197
c1e85a3a73fb DoitAll option
daniel
parents: 196
diff changeset
   535
	<attribute name="post_installation" value="mkdir $INSTALLDIR/lib; mv $INSTALLDIR/libTmp/* $INSTALLDIR/lib/.; rm -rf $INSTALLDIR/libTmp" />
196
e42a2c88d292 getting ready for ns-3.17
daniel
parents: 195
diff changeset
   536
      </build>
e42a2c88d292 getting ready for ns-3.17
daniel
parents: 195
diff changeset
   537
	<depends_on name="libxml2-dev" optional="False"/>
e42a2c88d292 getting ready for ns-3.17
daniel
parents: 195
diff changeset
   538
    </module>
e42a2c88d292 getting ready for ns-3.17
daniel
parents: 195
diff changeset
   539
212
234760aff547 revert Tom's changes
daniel
parents: 211
diff changeset
   540
    <module name="openflow-dev">
196
e42a2c88d292 getting ready for ns-3.17
daniel
parents: 195
diff changeset
   541
      <source type="mercurial">
e42a2c88d292 getting ready for ns-3.17
daniel
parents: 195
diff changeset
   542
	<attribute name="url" value="http://code.nsnam.org/openflow"/>
e42a2c88d292 getting ready for ns-3.17
daniel
parents: 195
diff changeset
   543
      </source>
e42a2c88d292 getting ready for ns-3.17
daniel
parents: 195
diff changeset
   544
      <build type="waf" objdir="yes">
e42a2c88d292 getting ready for ns-3.17
daniel
parents: 195
diff changeset
   545
	<attribute name="configure_arguments" value="configure --prefix=$INSTALLDIR"/>
e42a2c88d292 getting ready for ns-3.17
daniel
parents: 195
diff changeset
   546
      </build>
e42a2c88d292 getting ready for ns-3.17
daniel
parents: 195
diff changeset
   547
	<depends_on name="libxml2-dev" optional="False"/>
e42a2c88d292 getting ready for ns-3.17
daniel
parents: 195
diff changeset
   548
    </module>
e42a2c88d292 getting ready for ns-3.17
daniel
parents: 195
diff changeset
   549
212
234760aff547 revert Tom's changes
daniel
parents: 211
diff changeset
   550
    <module name="openflow-ns-3.17">
196
e42a2c88d292 getting ready for ns-3.17
daniel
parents: 195
diff changeset
   551
      <source type="mercurial">
e42a2c88d292 getting ready for ns-3.17
daniel
parents: 195
diff changeset
   552
	<attribute name="url" value="http://code.nsnam.org/openflow"/>
e42a2c88d292 getting ready for ns-3.17
daniel
parents: 195
diff changeset
   553
        <attribute name="revision" value="bb2869a6bbe1"/>
e42a2c88d292 getting ready for ns-3.17
daniel
parents: 195
diff changeset
   554
      </source>
e42a2c88d292 getting ready for ns-3.17
daniel
parents: 195
diff changeset
   555
      <build type="waf" objdir="yes">
e42a2c88d292 getting ready for ns-3.17
daniel
parents: 195
diff changeset
   556
	<attribute name="configure_arguments" value="configure --prefix=$INSTALLDIR"/>
157
cf71758d6fb8 Bug fix for dependencies and error messages improovement.
daniel
parents: 156
diff changeset
   557
      </build>
112
7d1a0938bb80 added dependency for openflow and improoved the error messages and exception handling
daniel
parents: 108
diff changeset
   558
	<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
   559
    </module>
bf151f3f1479 Add more tests and small changes in the Environment and build modules
Daniel Camara <daniel.camara@inria.fr>
parents: 67
diff changeset
   560
67
1d85f4b247f3 Update on the unit test
Daniel Camara <daniel.camara@inria.fr>
parents:
diff changeset
   561
    <module name="gccxml-ns3">
1d85f4b247f3 Update on the unit test
Daniel Camara <daniel.camara@inria.fr>
parents:
diff changeset
   562
      <source type="cvs">
1d85f4b247f3 Update on the unit test
Daniel Camara <daniel.camara@inria.fr>
parents:
diff changeset
   563
	<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
   564
	<attribute name="module" value="gccxml"/>
1d85f4b247f3 Update on the unit test
Daniel Camara <daniel.camara@inria.fr>
parents:
diff changeset
   565
	<attribute name="date" value="2009-09-21"/>
1d85f4b247f3 Update on the unit test
Daniel Camara <daniel.camara@inria.fr>
parents:
diff changeset
   566
      </source>
1d85f4b247f3 Update on the unit test
Daniel Camara <daniel.camara@inria.fr>
parents:
diff changeset
   567
      <build type="cmake" objdir="yes">
1d85f4b247f3 Update on the unit test
Daniel Camara <daniel.camara@inria.fr>
parents:
diff changeset
   568
      </build>
1d85f4b247f3 Update on the unit test
Daniel Camara <daniel.camara@inria.fr>
parents:
diff changeset
   569
    </module>
1d85f4b247f3 Update on the unit test
Daniel Camara <daniel.camara@inria.fr>
parents:
diff changeset
   570
1d85f4b247f3 Update on the unit test
Daniel Camara <daniel.camara@inria.fr>
parents:
diff changeset
   571
    <module name="pygccxml">
1d85f4b247f3 Update on the unit test
Daniel Camara <daniel.camara@inria.fr>
parents:
diff changeset
   572
      <source type="archive">
75
d26cc0acef36 Fix download pointeter for pygccxml
dcamara
parents: 71
diff changeset
   573
	<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
   574
      </source>
1d85f4b247f3 Update on the unit test
Daniel Camara <daniel.camara@inria.fr>
parents:
diff changeset
   575
      <build type="python" objdir="yes">
1d85f4b247f3 Update on the unit test
Daniel Camara <daniel.camara@inria.fr>
parents:
diff changeset
   576
      </build>
94
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
   577
      <depends_on name="gccxml-ns3" optional="True"/>
67
1d85f4b247f3 Update on the unit test
Daniel Camara <daniel.camara@inria.fr>
parents:
diff changeset
   578
    </module>
1d85f4b247f3 Update on the unit test
Daniel Camara <daniel.camara@inria.fr>
parents:
diff changeset
   579
196
e42a2c88d292 getting ready for ns-3.17
daniel
parents: 195
diff changeset
   580
    <module name="pygccxml-1.0.0">
e42a2c88d292 getting ready for ns-3.17
daniel
parents: 195
diff changeset
   581
      <source type="archive">
e42a2c88d292 getting ready for ns-3.17
daniel
parents: 195
diff changeset
   582
	<attribute name="url" value="http://downloads.sourceforge.net/project/pygccxml/pygccxml/pygccxml-1.0/pygccxml-1.0.0.zip"/>
e42a2c88d292 getting ready for ns-3.17
daniel
parents: 195
diff changeset
   583
      </source>
e42a2c88d292 getting ready for ns-3.17
daniel
parents: 195
diff changeset
   584
      <build type="python" objdir="yes">
e42a2c88d292 getting ready for ns-3.17
daniel
parents: 195
diff changeset
   585
      </build>
e42a2c88d292 getting ready for ns-3.17
daniel
parents: 195
diff changeset
   586
      <depends_on name="gccxml-ns3" optional="True"/>
e42a2c88d292 getting ready for ns-3.17
daniel
parents: 195
diff changeset
   587
    </module>
e42a2c88d292 getting ready for ns-3.17
daniel
parents: 195
diff changeset
   588
194
6d744389dbdb add python-dev/pygraphviz/pygoocanvas dependencies for pybindgen
Hajime Tazaki <tazaki@nict.go.jp>
parents: 193
diff changeset
   589
    <module name="python-dev">
6d744389dbdb add python-dev/pygraphviz/pygoocanvas dependencies for pybindgen
Hajime Tazaki <tazaki@nict.go.jp>
parents: 193
diff changeset
   590
      <source type="system_dependency">
6d744389dbdb add python-dev/pygraphviz/pygoocanvas dependencies for pybindgen
Hajime Tazaki <tazaki@nict.go.jp>
parents: 193
diff changeset
   591
        <attribute name="dependency_test" value="Python.h"/>
6d744389dbdb add python-dev/pygraphviz/pygoocanvas dependencies for pybindgen
Hajime Tazaki <tazaki@nict.go.jp>
parents: 193
diff changeset
   592
        <attribute name="try_to_install" value="True"/>
6d744389dbdb add python-dev/pygraphviz/pygoocanvas dependencies for pybindgen
Hajime Tazaki <tazaki@nict.go.jp>
parents: 193
diff changeset
   593
        <attribute name="name_apt-get" value="python-dev"/>
6d744389dbdb add python-dev/pygraphviz/pygoocanvas dependencies for pybindgen
Hajime Tazaki <tazaki@nict.go.jp>
parents: 193
diff changeset
   594
        <attribute name="name_yum" value="python-devel"/>
6d744389dbdb add python-dev/pygraphviz/pygoocanvas dependencies for pybindgen
Hajime Tazaki <tazaki@nict.go.jp>
parents: 193
diff changeset
   595
        <attribute name="more_information" value="The python-dev is not installed, try to install it."/>
6d744389dbdb add python-dev/pygraphviz/pygoocanvas dependencies for pybindgen
Hajime Tazaki <tazaki@nict.go.jp>
parents: 193
diff changeset
   596
      </source>
6d744389dbdb add python-dev/pygraphviz/pygoocanvas dependencies for pybindgen
Hajime Tazaki <tazaki@nict.go.jp>
parents: 193
diff changeset
   597
      <build type="none" objdir="no">
6d744389dbdb add python-dev/pygraphviz/pygoocanvas dependencies for pybindgen
Hajime Tazaki <tazaki@nict.go.jp>
parents: 193
diff changeset
   598
      </build>
6d744389dbdb add python-dev/pygraphviz/pygoocanvas dependencies for pybindgen
Hajime Tazaki <tazaki@nict.go.jp>
parents: 193
diff changeset
   599
    </module>
6d744389dbdb add python-dev/pygraphviz/pygoocanvas dependencies for pybindgen
Hajime Tazaki <tazaki@nict.go.jp>
parents: 193
diff changeset
   600
6d744389dbdb add python-dev/pygraphviz/pygoocanvas dependencies for pybindgen
Hajime Tazaki <tazaki@nict.go.jp>
parents: 193
diff changeset
   601
    <module name="pygraphviz">
6d744389dbdb add python-dev/pygraphviz/pygoocanvas dependencies for pybindgen
Hajime Tazaki <tazaki@nict.go.jp>
parents: 193
diff changeset
   602
      <source type="system_dependency">
6d744389dbdb add python-dev/pygraphviz/pygoocanvas dependencies for pybindgen
Hajime Tazaki <tazaki@nict.go.jp>
parents: 193
diff changeset
   603
        <attribute name="dependency_test" value="(_gv.so or _graphviz.so)"/>
6d744389dbdb add python-dev/pygraphviz/pygoocanvas dependencies for pybindgen
Hajime Tazaki <tazaki@nict.go.jp>
parents: 193
diff changeset
   604
        <attribute name="try_to_install" value="False"/>
6d744389dbdb add python-dev/pygraphviz/pygoocanvas dependencies for pybindgen
Hajime Tazaki <tazaki@nict.go.jp>
parents: 193
diff changeset
   605
        <attribute name="name_apt-get" value="python-pygraphviz"/>
6d744389dbdb add python-dev/pygraphviz/pygoocanvas dependencies for pybindgen
Hajime Tazaki <tazaki@nict.go.jp>
parents: 193
diff changeset
   606
        <attribute name="name_yum" value="graphviz-python"/>
6d744389dbdb add python-dev/pygraphviz/pygoocanvas dependencies for pybindgen
Hajime Tazaki <tazaki@nict.go.jp>
parents: 193
diff changeset
   607
        <attribute name="more_information" value="The pygraphviz is not installed, try to install it."/>
6d744389dbdb add python-dev/pygraphviz/pygoocanvas dependencies for pybindgen
Hajime Tazaki <tazaki@nict.go.jp>
parents: 193
diff changeset
   608
      </source>
6d744389dbdb add python-dev/pygraphviz/pygoocanvas dependencies for pybindgen
Hajime Tazaki <tazaki@nict.go.jp>
parents: 193
diff changeset
   609
      <build type="none" objdir="no">
6d744389dbdb add python-dev/pygraphviz/pygoocanvas dependencies for pybindgen
Hajime Tazaki <tazaki@nict.go.jp>
parents: 193
diff changeset
   610
      </build>
6d744389dbdb add python-dev/pygraphviz/pygoocanvas dependencies for pybindgen
Hajime Tazaki <tazaki@nict.go.jp>
parents: 193
diff changeset
   611
    </module>
6d744389dbdb add python-dev/pygraphviz/pygoocanvas dependencies for pybindgen
Hajime Tazaki <tazaki@nict.go.jp>
parents: 193
diff changeset
   612
6d744389dbdb add python-dev/pygraphviz/pygoocanvas dependencies for pybindgen
Hajime Tazaki <tazaki@nict.go.jp>
parents: 193
diff changeset
   613
    <module name="pygoocanvas">
6d744389dbdb add python-dev/pygraphviz/pygoocanvas dependencies for pybindgen
Hajime Tazaki <tazaki@nict.go.jp>
parents: 193
diff changeset
   614
      <source type="system_dependency">
6d744389dbdb add python-dev/pygraphviz/pygoocanvas dependencies for pybindgen
Hajime Tazaki <tazaki@nict.go.jp>
parents: 193
diff changeset
   615
        <attribute name="dependency_test" value="goocanvasmodule.so"/>
6d744389dbdb add python-dev/pygraphviz/pygoocanvas dependencies for pybindgen
Hajime Tazaki <tazaki@nict.go.jp>
parents: 193
diff changeset
   616
        <attribute name="try_to_install" value="True"/>
6d744389dbdb add python-dev/pygraphviz/pygoocanvas dependencies for pybindgen
Hajime Tazaki <tazaki@nict.go.jp>
parents: 193
diff changeset
   617
        <attribute name="name_apt-get" value="python-pygoocanvas"/>
6d744389dbdb add python-dev/pygraphviz/pygoocanvas dependencies for pybindgen
Hajime Tazaki <tazaki@nict.go.jp>
parents: 193
diff changeset
   618
        <attribute name="name_yum" value="pygoocanvas"/>
6d744389dbdb add python-dev/pygraphviz/pygoocanvas dependencies for pybindgen
Hajime Tazaki <tazaki@nict.go.jp>
parents: 193
diff changeset
   619
        <attribute name="more_information" value="The pygoocanvas is not installed, try to install it."/>
6d744389dbdb add python-dev/pygraphviz/pygoocanvas dependencies for pybindgen
Hajime Tazaki <tazaki@nict.go.jp>
parents: 193
diff changeset
   620
      </source>
6d744389dbdb add python-dev/pygraphviz/pygoocanvas dependencies for pybindgen
Hajime Tazaki <tazaki@nict.go.jp>
parents: 193
diff changeset
   621
      <build type="none" objdir="no">
6d744389dbdb add python-dev/pygraphviz/pygoocanvas dependencies for pybindgen
Hajime Tazaki <tazaki@nict.go.jp>
parents: 193
diff changeset
   622
      </build>
6d744389dbdb add python-dev/pygraphviz/pygoocanvas dependencies for pybindgen
Hajime Tazaki <tazaki@nict.go.jp>
parents: 193
diff changeset
   623
    </module>
6d744389dbdb add python-dev/pygraphviz/pygoocanvas dependencies for pybindgen
Hajime Tazaki <tazaki@nict.go.jp>
parents: 193
diff changeset
   624
229
4dc76e5f0dc0 remove dependencies on python-dev, pygraphviz, pygoocanvas from pybindgen
Hajime Tazaki <tazaki@nict.go.jp>
parents: 227
diff changeset
   625
    <module name="pyviz-prerequisites">
4dc76e5f0dc0 remove dependencies on python-dev, pygraphviz, pygoocanvas from pybindgen
Hajime Tazaki <tazaki@nict.go.jp>
parents: 227
diff changeset
   626
      <source type="none">
4dc76e5f0dc0 remove dependencies on python-dev, pygraphviz, pygoocanvas from pybindgen
Hajime Tazaki <tazaki@nict.go.jp>
parents: 227
diff changeset
   627
      </source>
4dc76e5f0dc0 remove dependencies on python-dev, pygraphviz, pygoocanvas from pybindgen
Hajime Tazaki <tazaki@nict.go.jp>
parents: 227
diff changeset
   628
      <depends_on name="python-dev" optional="True"/>
4dc76e5f0dc0 remove dependencies on python-dev, pygraphviz, pygoocanvas from pybindgen
Hajime Tazaki <tazaki@nict.go.jp>
parents: 227
diff changeset
   629
      <depends_on name="pygraphviz" optional="True"/>
4dc76e5f0dc0 remove dependencies on python-dev, pygraphviz, pygoocanvas from pybindgen
Hajime Tazaki <tazaki@nict.go.jp>
parents: 227
diff changeset
   630
      <depends_on name="pygoocanvas" optional="True"/>
4dc76e5f0dc0 remove dependencies on python-dev, pygraphviz, pygoocanvas from pybindgen
Hajime Tazaki <tazaki@nict.go.jp>
parents: 227
diff changeset
   631
      <build type="none" objdir="no">
4dc76e5f0dc0 remove dependencies on python-dev, pygraphviz, pygoocanvas from pybindgen
Hajime Tazaki <tazaki@nict.go.jp>
parents: 227
diff changeset
   632
      </build>
4dc76e5f0dc0 remove dependencies on python-dev, pygraphviz, pygoocanvas from pybindgen
Hajime Tazaki <tazaki@nict.go.jp>
parents: 227
diff changeset
   633
    </module>
4dc76e5f0dc0 remove dependencies on python-dev, pygraphviz, pygoocanvas from pybindgen
Hajime Tazaki <tazaki@nict.go.jp>
parents: 227
diff changeset
   634
196
e42a2c88d292 getting ready for ns-3.17
daniel
parents: 195
diff changeset
   635
    <module name="pybindgen-dev">
67
1d85f4b247f3 Update on the unit test
Daniel Camara <daniel.camara@inria.fr>
parents:
diff changeset
   636
      <source type="bazaar">
1d85f4b247f3 Update on the unit test
Daniel Camara <daniel.camara@inria.fr>
parents:
diff changeset
   637
	<attribute name="url" value="https://launchpad.net/pybindgen"/>
196
e42a2c88d292 getting ready for ns-3.17
daniel
parents: 195
diff changeset
   638
<!--	<attribute name="revision" value="revno:825"/>
e42a2c88d292 getting ready for ns-3.17
daniel
parents: 195
diff changeset
   639
-->
67
1d85f4b247f3 Update on the unit test
Daniel Camara <daniel.camara@inria.fr>
parents:
diff changeset
   640
      </source>
1d85f4b247f3 Update on the unit test
Daniel Camara <daniel.camara@inria.fr>
parents:
diff changeset
   641
      <build type="waf" objdir="yes">
95
507f5a81853c small correction on the config file
daniel
parents: 94
diff changeset
   642
	<attribute name="configure_arguments" value="configure --prefix=$INSTALLDIR"/>
67
1d85f4b247f3 Update on the unit test
Daniel Camara <daniel.camara@inria.fr>
parents:
diff changeset
   643
	<attribute name="build_arguments" value="--generate-version"/>
1d85f4b247f3 Update on the unit test
Daniel Camara <daniel.camara@inria.fr>
parents:
diff changeset
   644
      </build>
1d85f4b247f3 Update on the unit test
Daniel Camara <daniel.camara@inria.fr>
parents:
diff changeset
   645
      <depends_on name="pygccxml" optional="True"/>
113
bbe081376846 Version for code review.
daniel
parents: 112
diff changeset
   646
      <depends_on name="gccxml-ns3" optional="False"/>
67
1d85f4b247f3 Update on the unit test
Daniel Camara <daniel.camara@inria.fr>
parents:
diff changeset
   647
    </module>
1d85f4b247f3 Update on the unit test
Daniel Camara <daniel.camara@inria.fr>
parents:
diff changeset
   648
196
e42a2c88d292 getting ready for ns-3.17
daniel
parents: 195
diff changeset
   649
    <module name="pybindgen-0.16.0.825">
e42a2c88d292 getting ready for ns-3.17
daniel
parents: 195
diff changeset
   650
      <source type="bazaar">
e42a2c88d292 getting ready for ns-3.17
daniel
parents: 195
diff changeset
   651
	<attribute name="url" value="https://launchpad.net/pybindgen"/>
e42a2c88d292 getting ready for ns-3.17
daniel
parents: 195
diff changeset
   652
	<attribute name="revision" value="revno:825"/>
e42a2c88d292 getting ready for ns-3.17
daniel
parents: 195
diff changeset
   653
      </source>
e42a2c88d292 getting ready for ns-3.17
daniel
parents: 195
diff changeset
   654
      <build type="waf" objdir="yes">
e42a2c88d292 getting ready for ns-3.17
daniel
parents: 195
diff changeset
   655
	<attribute name="configure_arguments" value="configure --prefix=$INSTALLDIR"/>
e42a2c88d292 getting ready for ns-3.17
daniel
parents: 195
diff changeset
   656
	<attribute name="build_arguments" value="--generate-version"/>
e42a2c88d292 getting ready for ns-3.17
daniel
parents: 195
diff changeset
   657
      </build>
e42a2c88d292 getting ready for ns-3.17
daniel
parents: 195
diff changeset
   658
    </module>
e42a2c88d292 getting ready for ns-3.17
daniel
parents: 195
diff changeset
   659
219
5528c25d917a added g++ dependency to nsc
daniel
parents: 218
diff changeset
   660
    <module name="g++">
5528c25d917a added g++ dependency to nsc
daniel
parents: 218
diff changeset
   661
      <source type="system_dependency">
5528c25d917a added g++ dependency to nsc
daniel
parents: 218
diff changeset
   662
        <attribute name="dependency_test" value="g\+\+"/>
5528c25d917a added g++ dependency to nsc
daniel
parents: 218
diff changeset
   663
        <attribute name="try_to_install" value="False"/>
5528c25d917a added g++ dependency to nsc
daniel
parents: 218
diff changeset
   664
        <attribute name="more_information" value="g++ is not installed, try to install it or talk to your system administrator"/>
5528c25d917a added g++ dependency to nsc
daniel
parents: 218
diff changeset
   665
      </source>
5528c25d917a added g++ dependency to nsc
daniel
parents: 218
diff changeset
   666
      <build type="none" objdir="no">
5528c25d917a added g++ dependency to nsc
daniel
parents: 218
diff changeset
   667
      </build>
5528c25d917a added g++ dependency to nsc
daniel
parents: 218
diff changeset
   668
    </module>
5528c25d917a added g++ dependency to nsc
daniel
parents: 218
diff changeset
   669
196
e42a2c88d292 getting ready for ns-3.17
daniel
parents: 195
diff changeset
   670
    <module name="nsc-dev">
67
1d85f4b247f3 Update on the unit test
Daniel Camara <daniel.camara@inria.fr>
parents:
diff changeset
   671
      <source type="mercurial">
1d85f4b247f3 Update on the unit test
Daniel Camara <daniel.camara@inria.fr>
parents:
diff changeset
   672
	<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
   673
      </source>
1d85f4b247f3 Update on the unit test
Daniel Camara <daniel.camara@inria.fr>
parents:
diff changeset
   674
      <!-- 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
   675
      <build type="inline"  classname="NscModuleBuild">
94
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
   676
	<attribute name="supported_os" value="linux;linux2"/>
67
1d85f4b247f3 Update on the unit test
Daniel Camara <daniel.camara@inria.fr>
parents:
diff changeset
   677
	<code>class NscModuleBuild(InlineModuleBuild):
1d85f4b247f3 Update on the unit test
Daniel Camara <daniel.camara@inria.fr>
parents:
diff changeset
   678
    def __init__(self):
1d85f4b247f3 Update on the unit test
Daniel Camara <daniel.camara@inria.fr>
parents:
diff changeset
   679
        InlineModuleBuild.__init__(self)
1d85f4b247f3 Update on the unit test
Daniel Camara <daniel.camara@inria.fr>
parents:
diff changeset
   680
    def build(self, env, jobs):
135
d8a8fd0bf76b Fix for Jenkins, added imports of os and shutil for nsc.
daniel
parents: 126
diff changeset
   681
        import os
d8a8fd0bf76b Fix for Jenkins, added imports of os and shutil for nsc.
daniel
parents: 126
diff changeset
   682
        import shutil
94
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
   683
217
90e227cbe9e9 Refix: Bug 1619 - build speed of ns-3-dev is slow
Hajime Tazaki <tazaki@nict.go.jp>
parents: 213
diff changeset
   684
        jobstr=[]
90e227cbe9e9 Refix: Bug 1619 - build speed of ns-3-dev is slow
Hajime Tazaki <tazaki@nict.go.jp>
parents: 213
diff changeset
   685
        if not jobs == -1:
90e227cbe9e9 Refix: Bug 1619 - build speed of ns-3-dev is slow
Hajime Tazaki <tazaki@nict.go.jp>
parents: 213
diff changeset
   686
            jobstr = ['-j', str(jobs)]
67
1d85f4b247f3 Update on the unit test
Daniel Camara <daniel.camara@inria.fr>
parents:
diff changeset
   687
        env.run(['python', os.path.join(env.srcdir, 'scons.py'), 
217
90e227cbe9e9 Refix: Bug 1619 - build speed of ns-3-dev is slow
Hajime Tazaki <tazaki@nict.go.jp>
parents: 213
diff changeset
   688
                 'prefix=' + env.installdir, 'install'] + jobstr,
126
1b36d79934ff Fix for NSC configuration
daniel
parents: 125
diff changeset
   689
                directory=env.srcdir )
1b36d79934ff Fix for NSC configuration
daniel
parents: 125
diff changeset
   690
        srcLib = os.path.join(env.srcdir, 'lib')
212
234760aff547 revert Tom's changes
daniel
parents: 211
diff changeset
   691
        files = os.listdir(srcLib)
126
1b36d79934ff Fix for NSC configuration
daniel
parents: 125
diff changeset
   692
        destination = os.path.join(env.installdir, 'lib')
1b36d79934ff Fix for NSC configuration
daniel
parents: 125
diff changeset
   693
        for file in files:
135
d8a8fd0bf76b Fix for Jenkins, added imports of os and shutil for nsc.
daniel
parents: 126
diff changeset
   694
             try:
d8a8fd0bf76b Fix for Jenkins, added imports of os and shutil for nsc.
daniel
parents: 126
diff changeset
   695
                 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
   696
             except Exception as e:
d8a8fd0bf76b Fix for Jenkins, added imports of os and shutil for nsc.
daniel
parents: 126
diff changeset
   697
                 print ("   > Error executing copy : " + str(e) + "\n")
d8a8fd0bf76b Fix for Jenkins, added imports of os and shutil for nsc.
daniel
parents: 126
diff changeset
   698
       
67
1d85f4b247f3 Update on the unit test
Daniel Camara <daniel.camara@inria.fr>
parents:
diff changeset
   699
    def clean(self, env):
1d85f4b247f3 Update on the unit test
Daniel Camara <daniel.camara@inria.fr>
parents:
diff changeset
   700
        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
   701
                directory=env.srcdir)
1d85f4b247f3 Update on the unit test
Daniel Camara <daniel.camara@inria.fr>
parents:
diff changeset
   702
    def check_version(self, env):
1d85f4b247f3 Update on the unit test
Daniel Camara <daniel.camara@inria.fr>
parents:
diff changeset
   703
        return True</code>
1d85f4b247f3 Update on the unit test
Daniel Camara <daniel.camara@inria.fr>
parents:
diff changeset
   704
      </build>
1d85f4b247f3 Update on the unit test
Daniel Camara <daniel.camara@inria.fr>
parents:
diff changeset
   705
    </module>
1d85f4b247f3 Update on the unit test
Daniel Camara <daniel.camara@inria.fr>
parents:
diff changeset
   706
    
196
e42a2c88d292 getting ready for ns-3.17
daniel
parents: 195
diff changeset
   707
   <module name="nsc-0.5.3">
e42a2c88d292 getting ready for ns-3.17
daniel
parents: 195
diff changeset
   708
      <source type="mercurial">
e42a2c88d292 getting ready for ns-3.17
daniel
parents: 195
diff changeset
   709
	<attribute name="url" value="https://secure.wand.net.nz/mercurial/nsc"/>
e42a2c88d292 getting ready for ns-3.17
daniel
parents: 195
diff changeset
   710
	<attribute name="revision" value="08c391d0660a"/>
e42a2c88d292 getting ready for ns-3.17
daniel
parents: 195
diff changeset
   711
      </source>
e42a2c88d292 getting ready for ns-3.17
daniel
parents: 195
diff changeset
   712
      <!-- problem: scons has no generic command-line support for builddir and installdir -->
e42a2c88d292 getting ready for ns-3.17
daniel
parents: 195
diff changeset
   713
      <build type="inline"  classname="NscModuleBuild">
e42a2c88d292 getting ready for ns-3.17
daniel
parents: 195
diff changeset
   714
	<attribute name="supported_os" value="linux;linux2"/>
e42a2c88d292 getting ready for ns-3.17
daniel
parents: 195
diff changeset
   715
	<code>class NscModuleBuild(InlineModuleBuild):
e42a2c88d292 getting ready for ns-3.17
daniel
parents: 195
diff changeset
   716
    def __init__(self):
e42a2c88d292 getting ready for ns-3.17
daniel
parents: 195
diff changeset
   717
        InlineModuleBuild.__init__(self)
e42a2c88d292 getting ready for ns-3.17
daniel
parents: 195
diff changeset
   718
    def build(self, env, jobs):
e42a2c88d292 getting ready for ns-3.17
daniel
parents: 195
diff changeset
   719
        import os
e42a2c88d292 getting ready for ns-3.17
daniel
parents: 195
diff changeset
   720
        import shutil
e42a2c88d292 getting ready for ns-3.17
daniel
parents: 195
diff changeset
   721
217
90e227cbe9e9 Refix: Bug 1619 - build speed of ns-3-dev is slow
Hajime Tazaki <tazaki@nict.go.jp>
parents: 213
diff changeset
   722
        jobstr=[]
90e227cbe9e9 Refix: Bug 1619 - build speed of ns-3-dev is slow
Hajime Tazaki <tazaki@nict.go.jp>
parents: 213
diff changeset
   723
        if not jobs == -1:
90e227cbe9e9 Refix: Bug 1619 - build speed of ns-3-dev is slow
Hajime Tazaki <tazaki@nict.go.jp>
parents: 213
diff changeset
   724
            jobstr = ['-j', str(jobs)]
90e227cbe9e9 Refix: Bug 1619 - build speed of ns-3-dev is slow
Hajime Tazaki <tazaki@nict.go.jp>
parents: 213
diff changeset
   725
        env.run(['python', os.path.join(env.srcdir, 'scons.py'),
90e227cbe9e9 Refix: Bug 1619 - build speed of ns-3-dev is slow
Hajime Tazaki <tazaki@nict.go.jp>
parents: 213
diff changeset
   726
                 'prefix=' + env.installdir, 'install'] + jobstr,
196
e42a2c88d292 getting ready for ns-3.17
daniel
parents: 195
diff changeset
   727
                directory=env.srcdir )
e42a2c88d292 getting ready for ns-3.17
daniel
parents: 195
diff changeset
   728
        srcLib = os.path.join(env.srcdir, 'lib')
197
c1e85a3a73fb DoitAll option
daniel
parents: 196
diff changeset
   729
        env._logger.commands.write("LibDir: " + srcLib +"\n")
196
e42a2c88d292 getting ready for ns-3.17
daniel
parents: 195
diff changeset
   730
        destination = os.path.join(env.installdir, 'lib')
197
c1e85a3a73fb DoitAll option
daniel
parents: 196
diff changeset
   731
        env._logger.commands.write("DstDir: " + destination +"\n")
c1e85a3a73fb DoitAll option
daniel
parents: 196
diff changeset
   732
	if not os.path.exists(destination):
c1e85a3a73fb DoitAll option
daniel
parents: 196
diff changeset
   733
    		os.makedirs(destination)
c1e85a3a73fb DoitAll option
daniel
parents: 196
diff changeset
   734
        files = os.listdir(srcLib)
c1e85a3a73fb DoitAll option
daniel
parents: 196
diff changeset
   735
        env._logger.commands.write("Files:"+str(files)+"\n")
196
e42a2c88d292 getting ready for ns-3.17
daniel
parents: 195
diff changeset
   736
        for file in files:
197
c1e85a3a73fb DoitAll option
daniel
parents: 196
diff changeset
   737
             env._logger.commands.write(file + "->" + destination +"\n")
196
e42a2c88d292 getting ready for ns-3.17
daniel
parents: 195
diff changeset
   738
             try:
e42a2c88d292 getting ready for ns-3.17
daniel
parents: 195
diff changeset
   739
                 shutil.copy2(os.path.join(srcLib, file), destination)
e42a2c88d292 getting ready for ns-3.17
daniel
parents: 195
diff changeset
   740
             except Exception as e:
e42a2c88d292 getting ready for ns-3.17
daniel
parents: 195
diff changeset
   741
                 print ("   > Error executing copy : " + str(e) + "\n")
e42a2c88d292 getting ready for ns-3.17
daniel
parents: 195
diff changeset
   742
       
e42a2c88d292 getting ready for ns-3.17
daniel
parents: 195
diff changeset
   743
    def clean(self, env):
e42a2c88d292 getting ready for ns-3.17
daniel
parents: 195
diff changeset
   744
        env.run(['python', os.path.join(env.srcdir, 'scons.py'), '-c'],
e42a2c88d292 getting ready for ns-3.17
daniel
parents: 195
diff changeset
   745
                directory=env.srcdir)
e42a2c88d292 getting ready for ns-3.17
daniel
parents: 195
diff changeset
   746
    def check_version(self, env):
e42a2c88d292 getting ready for ns-3.17
daniel
parents: 195
diff changeset
   747
        return True</code>
e42a2c88d292 getting ready for ns-3.17
daniel
parents: 195
diff changeset
   748
      </build>
e42a2c88d292 getting ready for ns-3.17
daniel
parents: 195
diff changeset
   749
    </module>
94
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
   750
230
3979607c5f45 Requires --sudo for system dependencies modules installation
daniel
parents: 229
diff changeset
   751
94
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
   752
    <module name="qt4">
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
   753
      <source type="system_dependency">
180
94bf9c3659d0 Fix qt checking files
daniel
parents: 179
diff changeset
   754
	<attribute name="dependency_test" value="(qmake or qmake-qt4)"/>
94
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
   755
	<attribute name="try_to_install" value="True"/>
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
   756
	<attribute name="name_yum" value="qt4-devel"/>
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
   757
	<attribute name="name_apt-get" value="qt4-dev-tools"/>
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
   758
	<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
   759
      </source>
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
   760
      <build type="none" objdir="no">
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
   761
      </build>
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
   762
    </module>
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
   763
168
4e8765f518d1 Add more package dependencies for elf-loader, quagga, umip
Hajime Tazaki <tazaki@nict.go.jp>
parents: 167
diff changeset
   764
    <module name="libc-debug">
4e8765f518d1 Add more package dependencies for elf-loader, quagga, umip
Hajime Tazaki <tazaki@nict.go.jp>
parents: 167
diff changeset
   765
      <source type="system_dependency">
4e8765f518d1 Add more package dependencies for elf-loader, quagga, umip
Hajime Tazaki <tazaki@nict.go.jp>
parents: 167
diff changeset
   766
        <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
   767
        <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
   768
        <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
   769
        <attribute name="more_information" value="Didn't find libc debug package; please install it."/>
213
e870cf1d9dd9 Fix for Bug 1637
daniel
parents: 212
diff changeset
   770
        <attribute name="try_to_install" value="False"/>
168
4e8765f518d1 Add more package dependencies for elf-loader, quagga, umip
Hajime Tazaki <tazaki@nict.go.jp>
parents: 167
diff changeset
   771
      </source>
4e8765f518d1 Add more package dependencies for elf-loader, quagga, umip
Hajime Tazaki <tazaki@nict.go.jp>
parents: 167
diff changeset
   772
      <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
   773
      </build>
4e8765f518d1 Add more package dependencies for elf-loader, quagga, umip
Hajime Tazaki <tazaki@nict.go.jp>
parents: 167
diff changeset
   774
    </module>
4e8765f518d1 Add more package dependencies for elf-loader, quagga, umip
Hajime Tazaki <tazaki@nict.go.jp>
parents: 167
diff changeset
   775
94
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
   776
    <module name="elf-loader">
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
   777
      <source type="mercurial">
210
9f23b7abe961 rollback of the changes on the config for Hajime
daniel
parents: 209
diff changeset
   778
        <attribute name="url" value="http://code.nsnam.org/thehajime/elf-loader"/>
94
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
   779
      </source>
191
af510eef38e9 create dependency from elf-loader to libc-debug
Hajime Tazaki <tazaki@nict.go.jp>
parents: 190
diff changeset
   780
      <depends_on name="libc-debug" optional="False"/>
94
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
   781
      <build type="make" objdir="no">
210
9f23b7abe961 rollback of the changes on the config for Hajime
daniel
parents: 209
diff changeset
   782
        <attribute name="configure_arguments" value="vdl-config.h"/>
9f23b7abe961 rollback of the changes on the config for Hajime
daniel
parents: 209
diff changeset
   783
        <attribute name="install_arguments" value="PREFIX=$INSTALLDIR"/>
94
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
   784
      </build>
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
   785
    </module>
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
   786
196
e42a2c88d292 getting ready for ns-3.17
daniel
parents: 195
diff changeset
   787
    <module name="netanim-dev">
94
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
   788
      <source type="mercurial">
210
9f23b7abe961 rollback of the changes on the config for Hajime
daniel
parents: 209
diff changeset
   789
	<attribute name="url" value="http://code.nsnam.org/netanim"/>
94
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
   790
      </source>
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
   791
      <build type="make" objdir="no">
210
9f23b7abe961 rollback of the changes on the config for Hajime
daniel
parents: 209
diff changeset
   792
	<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"/>
94
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
   793
      </build>
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
   794
      <depends_on name="qt4" optional="False"/>
222
8fff0f1298f0 change dependency of g++ to netanim
daniel
parents: 221
diff changeset
   795
      <depends_on name="g++" optional="False"/>
94
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
   796
    </module>
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
   797
196
e42a2c88d292 getting ready for ns-3.17
daniel
parents: 195
diff changeset
   798
   <module name="netanim-3.103">
e42a2c88d292 getting ready for ns-3.17
daniel
parents: 195
diff changeset
   799
      <source type="mercurial">
e42a2c88d292 getting ready for ns-3.17
daniel
parents: 195
diff changeset
   800
        <attribute name="url" value="http://code.nsnam.org/netanim"/>
e42a2c88d292 getting ready for ns-3.17
daniel
parents: 195
diff changeset
   801
        <attribute name="revision" value="a898a19d5b9f"/>
e42a2c88d292 getting ready for ns-3.17
daniel
parents: 195
diff changeset
   802
      </source>
e42a2c88d292 getting ready for ns-3.17
daniel
parents: 195
diff changeset
   803
      <build type="make" objdir="no">
e42a2c88d292 getting ready for ns-3.17
daniel
parents: 195
diff changeset
   804
        <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"/>
e42a2c88d292 getting ready for ns-3.17
daniel
parents: 195
diff changeset
   805
      </build>
e42a2c88d292 getting ready for ns-3.17
daniel
parents: 195
diff changeset
   806
      <depends_on name="qt4" optional="False"/>
222
8fff0f1298f0 change dependency of g++ to netanim
daniel
parents: 221
diff changeset
   807
      <depends_on name="g++" optional="False"/>
196
e42a2c88d292 getting ready for ns-3.17
daniel
parents: 195
diff changeset
   808
    </module>
e42a2c88d292 getting ready for ns-3.17
daniel
parents: 195
diff changeset
   809
124
8fe5ba0938c6 Fix for the configuration file and Unrecognized option
daniel
parents: 123
diff changeset
   810
  <module name="ns-3-allinone">
8fe5ba0938c6 Fix for the configuration file and Unrecognized option
daniel
parents: 123
diff changeset
   811
      <source type="mercurial">
8fe5ba0938c6 Fix for the configuration file and Unrecognized option
daniel
parents: 123
diff changeset
   812
	<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
   813
      </source>
196
e42a2c88d292 getting ready for ns-3.17
daniel
parents: 195
diff changeset
   814
      <depends_on name="netanim-dev" optional="True"/>
e42a2c88d292 getting ready for ns-3.17
daniel
parents: 195
diff changeset
   815
      <depends_on name="nsc-dev" optional="True"/>
e42a2c88d292 getting ready for ns-3.17
daniel
parents: 195
diff changeset
   816
      <depends_on name="pybindgen-dev" optional="True"/>
229
4dc76e5f0dc0 remove dependencies on python-dev, pygraphviz, pygoocanvas from pybindgen
Hajime Tazaki <tazaki@nict.go.jp>
parents: 227
diff changeset
   817
      <depends_on name="pyviz-prerequisites" optional="True"/>
196
e42a2c88d292 getting ready for ns-3.17
daniel
parents: 195
diff changeset
   818
      <depends_on name="click-dev" optional="True"/>
212
234760aff547 revert Tom's changes
daniel
parents: 211
diff changeset
   819
      <depends_on name="openflow-dev" optional="True"/>
124
8fe5ba0938c6 Fix for the configuration file and Unrecognized option
daniel
parents: 123
diff changeset
   820
      <build type="waf" objdir="yes">
212
234760aff547 revert Tom's changes
daniel
parents: 211
diff changeset
   821
	<attribute name="configure_arguments" value="configure --prefix=$INSTALLDIR --enable-examples --enable-tests --with-nsclick=$SRCDIR/click-dev --with-pybindgen=$SRCDIR/pybindgen --with-openflow=$SRCDIR/openflow-dev --with-nsc=$SRCDIR/nsc-dev"/>
124
8fe5ba0938c6 Fix for the configuration file and Unrecognized option
daniel
parents: 123
diff changeset
   822
      </build>
8fe5ba0938c6 Fix for the configuration file and Unrecognized option
daniel
parents: 123
diff changeset
   823
  </module>
8fe5ba0938c6 Fix for the configuration file and Unrecognized option
daniel
parents: 123
diff changeset
   824
94
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
   825
  <module name="ns-3-dev">
67
1d85f4b247f3 Update on the unit test
Daniel Camara <daniel.camara@inria.fr>
parents:
diff changeset
   826
      <source type="mercurial">
1d85f4b247f3 Update on the unit test
Daniel Camara <daniel.camara@inria.fr>
parents:
diff changeset
   827
	<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
   828
      </source>
124
8fe5ba0938c6 Fix for the configuration file and Unrecognized option
daniel
parents: 123
diff changeset
   829
      <build type="waf" objdir="yes">
8fe5ba0938c6 Fix for the configuration file and Unrecognized option
daniel
parents: 123
diff changeset
   830
	<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
   831
      </build>
8fe5ba0938c6 Fix for the configuration file and Unrecognized option
daniel
parents: 123
diff changeset
   832
  </module>
196
e42a2c88d292 getting ready for ns-3.17
daniel
parents: 195
diff changeset
   833
e42a2c88d292 getting ready for ns-3.17
daniel
parents: 195
diff changeset
   834
  <!-- ns-3.17 main module definition; for now, pulling ns-3-dev -->
e42a2c88d292 getting ready for ns-3.17
daniel
parents: 195
diff changeset
   835
    <module name="ns-3.17">
e42a2c88d292 getting ready for ns-3.17
daniel
parents: 195
diff changeset
   836
      <source type="mercurial">
e42a2c88d292 getting ready for ns-3.17
daniel
parents: 195
diff changeset
   837
	<attribute name="url" value="http://code.nsnam.org/ns-3-dev"/>
e42a2c88d292 getting ready for ns-3.17
daniel
parents: 195
diff changeset
   838
      </source>
e42a2c88d292 getting ready for ns-3.17
daniel
parents: 195
diff changeset
   839
      <depends_on name="netanim-3.103" optional="True"/>
e42a2c88d292 getting ready for ns-3.17
daniel
parents: 195
diff changeset
   840
      <depends_on name="pybindgen-0.16.0.825" optional="True"/>
229
4dc76e5f0dc0 remove dependencies on python-dev, pygraphviz, pygoocanvas from pybindgen
Hajime Tazaki <tazaki@nict.go.jp>
parents: 227
diff changeset
   841
      <depends_on name="pyviz-prerequisites" optional="True"/>
196
e42a2c88d292 getting ready for ns-3.17
daniel
parents: 195
diff changeset
   842
      <build type="waf" objdir="yes">
212
234760aff547 revert Tom's changes
daniel
parents: 211
diff changeset
   843
	<attribute name="configure_arguments" value="configure --prefix=$INSTALLDIR --enable-examples --enable-tests"/>
196
e42a2c88d292 getting ready for ns-3.17
daniel
parents: 195
diff changeset
   844
      </build>
e42a2c88d292 getting ready for ns-3.17
daniel
parents: 195
diff changeset
   845
    </module>
e42a2c88d292 getting ready for ns-3.17
daniel
parents: 195
diff changeset
   846
e42a2c88d292 getting ready for ns-3.17
daniel
parents: 195
diff changeset
   847
    <module name="ns-allinone-3.17">
212
234760aff547 revert Tom's changes
daniel
parents: 211
diff changeset
   848
      <source type="none"/>
196
e42a2c88d292 getting ready for ns-3.17
daniel
parents: 195
diff changeset
   849
      <depends_on name="netanim-3.103" optional="True"/>
e42a2c88d292 getting ready for ns-3.17
daniel
parents: 195
diff changeset
   850
      <depends_on name="nsc-0.5.3" optional="True"/>
e42a2c88d292 getting ready for ns-3.17
daniel
parents: 195
diff changeset
   851
      <depends_on name="pybindgen-0.16.0.825" optional="True"/>
229
4dc76e5f0dc0 remove dependencies on python-dev, pygraphviz, pygoocanvas from pybindgen
Hajime Tazaki <tazaki@nict.go.jp>
parents: 227
diff changeset
   852
      <depends_on name="pyviz-prerequisites" optional="True"/>
212
234760aff547 revert Tom's changes
daniel
parents: 211
diff changeset
   853
      <depends_on name="click-ns-3.17" optional="True"/>
234760aff547 revert Tom's changes
daniel
parents: 211
diff changeset
   854
      <depends_on name="openflow-ns-3.17" optional="True"/>
234760aff547 revert Tom's changes
daniel
parents: 211
diff changeset
   855
      <depends_on name="pygccxml-1.0.0" optional="True"/>
234760aff547 revert Tom's changes
daniel
parents: 211
diff changeset
   856
      <depends_on name="gccxml-ns3" optional="True"/>
234760aff547 revert Tom's changes
daniel
parents: 211
diff changeset
   857
      <depends_on name="ns-3.17" optional="False"/>
234760aff547 revert Tom's changes
daniel
parents: 211
diff changeset
   858
      <build type="none"/>
196
e42a2c88d292 getting ready for ns-3.17
daniel
parents: 195
diff changeset
   859
    </module>
227
706945b08360 Revert from wrong configuration change
daniel
parents: 226
diff changeset
   860
706945b08360 Revert from wrong configuration change
daniel
parents: 226
diff changeset
   861
    <module name="dce-ns3-1.0">
706945b08360 Revert from wrong configuration change
daniel
parents: 226
diff changeset
   862
      <source type="mercurial">
706945b08360 Revert from wrong configuration change
daniel
parents: 226
diff changeset
   863
	<attribute name="url" value="http://code.nsnam.org/ns-3-dce"/>
706945b08360 Revert from wrong configuration change
daniel
parents: 226
diff changeset
   864
	<attribute name="module_directory" value="ns-3-dce"/>
706945b08360 Revert from wrong configuration change
daniel
parents: 226
diff changeset
   865
	<attribute name="revision" value="dce-1.0-rc1"/>
706945b08360 Revert from wrong configuration change
daniel
parents: 226
diff changeset
   866
      </source>
706945b08360 Revert from wrong configuration change
daniel
parents: 226
diff changeset
   867
      <depends_on name="ns-3.17" optional="False"/>
706945b08360 Revert from wrong configuration change
daniel
parents: 226
diff changeset
   868
      <depends_on name="elf-loader" optional="True"/>
706945b08360 Revert from wrong configuration change
daniel
parents: 226
diff changeset
   869
      <depends_on name="iperf" optional="True"/>
706945b08360 Revert from wrong configuration change
daniel
parents: 226
diff changeset
   870
      <depends_on name="ccnx" optional="True"/>
706945b08360 Revert from wrong configuration change
daniel
parents: 226
diff changeset
   871
      <depends_on name="wget" optional="True"/>
706945b08360 Revert from wrong configuration change
daniel
parents: 226
diff changeset
   872
      <depends_on name="thttpd" optional="True"/>
706945b08360 Revert from wrong configuration change
daniel
parents: 226
diff changeset
   873
      <build type="waf" objdir="build">
706945b08360 Revert from wrong configuration change
daniel
parents: 226
diff changeset
   874
	<attribute name="supported_os" value="linux;linux2"/>
706945b08360 Revert from wrong configuration change
daniel
parents: 226
diff changeset
   875
	<attribute name="configure_arguments" value="configure --with-ns3=$INSTALLDIR --with-elf-loader=$INSTALLDIR/lib --prefix=$INSTALLDIR"/>
706945b08360 Revert from wrong configuration change
daniel
parents: 226
diff changeset
   876
      </build>
706945b08360 Revert from wrong configuration change
daniel
parents: 226
diff changeset
   877
    </module>
706945b08360 Revert from wrong configuration change
daniel
parents: 226
diff changeset
   878
706945b08360 Revert from wrong configuration change
daniel
parents: 226
diff changeset
   879
    <module name="dce-linux-1.0">
706945b08360 Revert from wrong configuration change
daniel
parents: 226
diff changeset
   880
      <source type="mercurial">
706945b08360 Revert from wrong configuration change
daniel
parents: 226
diff changeset
   881
	<attribute name="url" value="http://code.nsnam.org/ns-3-dce"/>
706945b08360 Revert from wrong configuration change
daniel
parents: 226
diff changeset
   882
	<attribute name="module_directory" value="ns-3-dce"/>
706945b08360 Revert from wrong configuration change
daniel
parents: 226
diff changeset
   883
	<attribute name="revision" value="dce-1.0-rc1"/>
706945b08360 Revert from wrong configuration change
daniel
parents: 226
diff changeset
   884
      </source>
706945b08360 Revert from wrong configuration change
daniel
parents: 226
diff changeset
   885
      <depends_on name="elf-loader" optional="True"/>
706945b08360 Revert from wrong configuration change
daniel
parents: 226
diff changeset
   886
      <depends_on name="net-next-sim-2.6.36" optional="True"/>
706945b08360 Revert from wrong configuration change
daniel
parents: 226
diff changeset
   887
      <depends_on name="iproute" optional="False"/>
706945b08360 Revert from wrong configuration change
daniel
parents: 226
diff changeset
   888
      <depends_on name="iperf" optional="True"/>
706945b08360 Revert from wrong configuration change
daniel
parents: 226
diff changeset
   889
      <depends_on name="ccnx" optional="True"/>
706945b08360 Revert from wrong configuration change
daniel
parents: 226
diff changeset
   890
      <depends_on name="wget" optional="True"/>
706945b08360 Revert from wrong configuration change
daniel
parents: 226
diff changeset
   891
      <depends_on name="thttpd" optional="True"/>
706945b08360 Revert from wrong configuration change
daniel
parents: 226
diff changeset
   892
      <depends_on name="ns-3.17" optional="False"/>
706945b08360 Revert from wrong configuration change
daniel
parents: 226
diff changeset
   893
      <build type="waf" objdir="yes" sourcedir="ns-3-dce">
706945b08360 Revert from wrong configuration change
daniel
parents: 226
diff changeset
   894
	<attribute name="supported_os" value="linux;linux2"/>
706945b08360 Revert from wrong configuration change
daniel
parents: 226
diff changeset
   895
	<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"/>
706945b08360 Revert from wrong configuration change
daniel
parents: 226
diff changeset
   896
      </build>
706945b08360 Revert from wrong configuration change
daniel
parents: 226
diff changeset
   897
    </module>
706945b08360 Revert from wrong configuration change
daniel
parents: 226
diff changeset
   898
706945b08360 Revert from wrong configuration change
daniel
parents: 226
diff changeset
   899
    <module name="dce-quagga-1.0">
706945b08360 Revert from wrong configuration change
daniel
parents: 226
diff changeset
   900
      <source type="mercurial">
706945b08360 Revert from wrong configuration change
daniel
parents: 226
diff changeset
   901
	<attribute name="url" value="http://code.nsnam.org/thehajime/ns-3-dce-quagga"/>
706945b08360 Revert from wrong configuration change
daniel
parents: 226
diff changeset
   902
	<attribute name="module_directory" value="ns-3-dce/myscripts/ns-3-dce-quagga/"/>
706945b08360 Revert from wrong configuration change
daniel
parents: 226
diff changeset
   903
	<attribute name="revision" value="dce-1.0-rc1"/>
706945b08360 Revert from wrong configuration change
daniel
parents: 226
diff changeset
   904
      </source>
706945b08360 Revert from wrong configuration change
daniel
parents: 226
diff changeset
   905
      <depends_on name="quagga" optional="False"/>
706945b08360 Revert from wrong configuration change
daniel
parents: 226
diff changeset
   906
      <depends_on name="iputils" optional="False"/>
706945b08360 Revert from wrong configuration change
daniel
parents: 226
diff changeset
   907
      <build type="none">
706945b08360 Revert from wrong configuration change
daniel
parents: 226
diff changeset
   908
	<attribute name="supported_os" value="linux;linux2"/>
706945b08360 Revert from wrong configuration change
daniel
parents: 226
diff changeset
   909
      </build>
706945b08360 Revert from wrong configuration change
daniel
parents: 226
diff changeset
   910
    </module>
706945b08360 Revert from wrong configuration change
daniel
parents: 226
diff changeset
   911
706945b08360 Revert from wrong configuration change
daniel
parents: 226
diff changeset
   912
    <module name="dce-umip-1.0">
706945b08360 Revert from wrong configuration change
daniel
parents: 226
diff changeset
   913
      <source type="mercurial">
706945b08360 Revert from wrong configuration change
daniel
parents: 226
diff changeset
   914
	<attribute name="url" value="http://code.nsnam.org/thehajime/ns-3-dce-umip"/>
706945b08360 Revert from wrong configuration change
daniel
parents: 226
diff changeset
   915
	<attribute name="module_directory" value="ns-3-dce/myscripts/ns-3-dce-umip/"/>
706945b08360 Revert from wrong configuration change
daniel
parents: 226
diff changeset
   916
	<attribute name="revision" value="dce-1.0-rc1"/>
706945b08360 Revert from wrong configuration change
daniel
parents: 226
diff changeset
   917
      </source>
706945b08360 Revert from wrong configuration change
daniel
parents: 226
diff changeset
   918
      <depends_on name="dce-linux-1.0" optional="False"/>
706945b08360 Revert from wrong configuration change
daniel
parents: 226
diff changeset
   919
      <depends_on name="dce-quagga-1.0" optional="False"/>
706945b08360 Revert from wrong configuration change
daniel
parents: 226
diff changeset
   920
      <depends_on name="umip" optional="False"/>
706945b08360 Revert from wrong configuration change
daniel
parents: 226
diff changeset
   921
      <build type="none">
706945b08360 Revert from wrong configuration change
daniel
parents: 226
diff changeset
   922
	<attribute name="supported_os" value="linux;linux2"/>
706945b08360 Revert from wrong configuration change
daniel
parents: 226
diff changeset
   923
      </build>
706945b08360 Revert from wrong configuration change
daniel
parents: 226
diff changeset
   924
    </module>
67
1d85f4b247f3 Update on the unit test
Daniel Camara <daniel.camara@inria.fr>
parents:
diff changeset
   925
  </modules>
1d85f4b247f3 Update on the unit test
Daniel Camara <daniel.camara@inria.fr>
parents:
diff changeset
   926
227
706945b08360 Revert from wrong configuration change
daniel
parents: 226
diff changeset
   927
67
1d85f4b247f3 Update on the unit test
Daniel Camara <daniel.camara@inria.fr>
parents:
diff changeset
   928
  <predefined name="dbg">
94
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
   929
    <append name="CFLAGS" value="-g"/>
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
   930
    <append name="CXXFLAGS" value="-g"/>
115
cdc42f30aa2a Fix for the configuration file
daniel
parents: 113
diff changeset
   931
    <configuration objdir="dbg"/>
cdc42f30aa2a Fix for the configuration file
daniel
parents: 113
diff changeset
   932
    <configuration installdir="build_dbg"/>
67
1d85f4b247f3 Update on the unit test
Daniel Camara <daniel.camara@inria.fr>
parents:
diff changeset
   933
  </predefined>
115
cdc42f30aa2a Fix for the configuration file
daniel
parents: 113
diff changeset
   934
67
1d85f4b247f3 Update on the unit test
Daniel Camara <daniel.camara@inria.fr>
parents:
diff changeset
   935
  <predefined name="opt">
1d85f4b247f3 Update on the unit test
Daniel Camara <daniel.camara@inria.fr>
parents:
diff changeset
   936
    <configuration objdir="opt"/>
115
cdc42f30aa2a Fix for the configuration file
daniel
parents: 113
diff changeset
   937
    <configuration installdir="build_opt"/>
94
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
   938
<!--   <append name="configure_arguments" value=" -d optimized"/> -->
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
   939
    <append name="CFLAGS" value="-O3"/>
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
   940
    <append name="CXXFLAGS" value="-O3"/>
67
1d85f4b247f3 Update on the unit test
Daniel Camara <daniel.camara@inria.fr>
parents:
diff changeset
   941
  </predefined>
94
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
   942
  
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
   943
  <predefined name="ns3">
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
   944
    <enable name="ns-3-dev"/>
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
   945
    <!--    <configuration installdir="." sourcedir="../source"/> -->
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
   946
    <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
   947
  </predefined>
94
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
   948
104
5106eb22e0d3 new configurarion
daniel
parents: 95
diff changeset
   949
  <predefined name="ns3-min">
5106eb22e0d3 new configurarion
daniel
parents: 95
diff changeset
   950
    <enable name="ns-3-dev"/>
108
246e724cb1f2 Automatic resource file saving
daniel
parents: 104
diff changeset
   951
    <append module="ns-3-dev" name="configure_arguments" value=" --enable-modules=core,network,wifi"/> -->
104
5106eb22e0d3 new configurarion
daniel
parents: 95
diff changeset
   952
  </predefined>
5106eb22e0d3 new configurarion
daniel
parents: 95
diff changeset
   953
229
4dc76e5f0dc0 remove dependencies on python-dev, pygraphviz, pygoocanvas from pybindgen
Hajime Tazaki <tazaki@nict.go.jp>
parents: 227
diff changeset
   954
</configuration>