bakeconf.xml
author daniel
Fri, 23 Nov 2012 11:04:01 +0100
changeset 121 161cb0e74bb8
parent 117 0a5182f04b00
child 122 3f7747e84fd2
permissions -rw-r--r--
Config file for DCE with ccnx
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
67
1d85f4b247f3 Update on the unit test
Daniel Camara <daniel.camara@inria.fr>
parents:
diff changeset
     1
<configuration>
1d85f4b247f3 Update on the unit test
Daniel Camara <daniel.camara@inria.fr>
parents:
diff changeset
     2
  <modules>
1d85f4b247f3 Update on the unit test
Daniel Camara <daniel.camara@inria.fr>
parents:
diff changeset
     3
94
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
     4
    <module name="dce-ns3">
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
     5
      <source type="mercurial">
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
     6
	<attribute name="url" value="http://code.nsnam.org/furbani/ns-3-dce"/>
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
     7
 	<attribute name="module_directory" value="dce"/>
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
     8
      </source>
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
     9
       <depends_on name="ns-3-dev-dce" optional="False"/>
117
0a5182f04b00 DCE tutorial changes
daniel
parents: 115
diff changeset
    10
       <depends_on name="iperf" optional="True"/>
121
161cb0e74bb8 Config file for DCE with ccnx
daniel
parents: 117
diff changeset
    11
       <depends_on name="iperf" optional="ccnx"/>
94
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
    12
      <build type="waf" objdir="build">
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
    13
	<attribute name="configure_arguments" value="configure --prefix=$INSTALLDIR --verbose"/>
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
    14
	<attribute name="post_installation" value="export DCE_PATH=$INSTALLDIR/bin:$INSTALLDIR/bin_dce;export DCE_ROOT=$INSTALLDIR;export LD_LIBRARY_PATH=$INSTALLDIR/lib:$INSTALLDIR/bin:$SRCDIR/../ns-3-dev-dce/build;$INSTALLDIR/bin/ns3test-dce --verbose"/>
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
    15
        <attribute name="v_PATH" value="$INSTALLDIR/readversiondef;$SRCDIR;$SRCDIR/../build/bin" />
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
    16
        <attribute name="v_LD_LIBRARY" value="$OBJDIR/..;$SRCDIR;$SRCDIR/../ns-3-dev-dce/build;$INSTALLDIR" />
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
    17
        <attribute name="v_PKG_CONFIG" value="$SRCDIR/../ns-3-dev-dce/build/lib/pkgconfig;$OBJDIR/../../ns-3-dev-" />
117
0a5182f04b00 DCE tutorial changes
daniel
parents: 115
diff changeset
    18
        <attribute name="new_variable" value="DCE_PATH=$INSTALLDIR/bin:$INSTALLDIR/bin_dce;DCE_ROOT=$INSTALLDIR;LD_LIBRARY_PATH=$INSTALLDIR/lib:$INSTALLDIR/bin:$SRCDIR/../ns-3-dev-dce/build" />
94
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
    19
     </build>
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
    20
    </module>
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
    21
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
    22
    <module name="dce-linux">
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
    23
      <source type="mercurial">
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
    24
	<attribute name="url" value="http://code.nsnam.org/furbani/ns-3-dce"/>
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
    25
 	<attribute name="module_directory" value="dce"/>
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
    26
     </source>
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
    27
       <depends_on name="readversiondef" optional="False"/>
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
    28
       <depends_on name="ns-3-linux" optional="False"/>
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
    29
       <depends_on name="ns-3-dev-dce" optional="False"/>
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
    30
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
    31
      <build type="waf" objdir="yes" sourcedir="dce">
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
    32
	<attribute name="configure_arguments" value="configure --prefix=$INSTALLDIR --enable-kernel-stack=$SRCDIR/../ns-3-linux --verbose"/>
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
    33
	<attribute name="post_installation" value="BASEDCE=$SRCDIR;DCE_PATH=$SRCDIR/build/bin_dce:$SRCDIR/build/bin;DCE_ROOT=$BASEDCE/build;LD_LIBRARY_PATH=$OBJDIR/../build/lib:$SRCDIR/build/bin:$SRCDIR/../ns-3-dev-dce/build;$OBJDIR/../build/bin/ns3test-dce --verbose"/>
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
    34
        <attribute name="v_PATH" value="$INSTALLDIR/readversiondef;$SRCDIR;$SRCDIR/../build/bin" />
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
    35
        <attribute name="v_LD_LIBRARY" value="$OBJDIR/..;$SRCDIR;$SRCDIR/../ns-3-dev-dce/build;$INSTALLDIR" />
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
    36
        <attribute name="v_PKG_CONFIG" value="$SRCDIR/../ns-3-dev-dce/build/lib/pkgconfig" />
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
121
161cb0e74bb8 Config file for DCE with ccnx
daniel
parents: 117
diff changeset
    40
    <module name="ccnx">
161cb0e74bb8 Config file for DCE with ccnx
daniel
parents: 117
diff changeset
    41
      <source type="archive">
161cb0e74bb8 Config file for DCE with ccnx
daniel
parents: 117
diff changeset
    42
	<attribute name="url" value="http://www.ccnx.org/releases/ccnx-0.6.2.tar.gz"/>
161cb0e74bb8 Config file for DCE with ccnx
daniel
parents: 117
diff changeset
    43
	<attribute name="extract_directory" value="ccnx-0.6.2"/>
161cb0e74bb8 Config file for DCE with ccnx
daniel
parents: 117
diff changeset
    44
      </source>
161cb0e74bb8 Config file for DCE with ccnx
daniel
parents: 117
diff changeset
    45
      <build type="make" objdir="yes">
161cb0e74bb8 Config file for DCE with ccnx
daniel
parents: 117
diff changeset
    46
	<attribute name="pre_installation" value="cd $SRCDIR;INSTALL_BASE=$INSTALLDIR ./configure"/>
161cb0e74bb8 Config file for DCE with ccnx
daniel
parents: 117
diff changeset
    47
	<attribute name="build_arguments" value="MORE_LDLIBS=-pie"/>
161cb0e74bb8 Config file for DCE with ccnx
daniel
parents: 117
diff changeset
    48
        <attribute name="new_variable" value="INSTALL_BASE=$INSTALLDIR" />
161cb0e74bb8 Config file for DCE with ccnx
daniel
parents: 117
diff changeset
    49
      </build>
161cb0e74bb8 Config file for DCE with ccnx
daniel
parents: 117
diff changeset
    50
     </module>
161cb0e74bb8 Config file for DCE with ccnx
daniel
parents: 117
diff changeset
    51
117
0a5182f04b00 DCE tutorial changes
daniel
parents: 115
diff changeset
    52
    <module name="iperf">
0a5182f04b00 DCE tutorial changes
daniel
parents: 115
diff changeset
    53
      <source type="archive">
0a5182f04b00 DCE tutorial changes
daniel
parents: 115
diff changeset
    54
	<attribute name="url" value="http://iperf.fr/download/iperf_2.0.5/iperf-2.0.5-source.tar.gz"/>
0a5182f04b00 DCE tutorial changes
daniel
parents: 115
diff changeset
    55
	<attribute name="extract_directory" value="iperf-2.0.5"/>
0a5182f04b00 DCE tutorial changes
daniel
parents: 115
diff changeset
    56
      </source>
0a5182f04b00 DCE tutorial changes
daniel
parents: 115
diff changeset
    57
      <build type="make" objdir="yes">
0a5182f04b00 DCE tutorial changes
daniel
parents: 115
diff changeset
    58
	<attribute name="pre_installation" value="cd $SRCDIR;./configure --prefix=$INSTALLDIR"/>
0a5182f04b00 DCE tutorial changes
daniel
parents: 115
diff changeset
    59
	<attribute name="patch" value="$SRCDIR/../dce/utils/iperf_4_dce.patch"/>
0a5182f04b00 DCE tutorial changes
daniel
parents: 115
diff changeset
    60
      </build>
0a5182f04b00 DCE tutorial changes
daniel
parents: 115
diff changeset
    61
     </module>
0a5182f04b00 DCE tutorial changes
daniel
parents: 115
diff changeset
    62
0a5182f04b00 DCE tutorial changes
daniel
parents: 115
diff changeset
    63
     <module name="iproute">
67
1d85f4b247f3 Update on the unit test
Daniel Camara <daniel.camara@inria.fr>
parents:
diff changeset
    64
      <source type="archive">
94
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
    65
	<attribute name="url" value="http://www.linuxgrill.com/anonymous/iproute2/NEW-OSDL/iproute2-2.6.38.tar.bz2"/>
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
    66
      </source>
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
    67
      <build type="make" objdir="yes">
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
    68
	<attribute name="pre_installation" value="$SRCDIR/configure"/>
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
    69
	<attribute name="LDFLAGS" value="-pie"/>
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
    70
	<attribute name="ignore_predefined_flags" value="True"/>
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
    71
	<attribute name="build_arguments" value="CCOPTS='-fpic -D_GNU_SOURCE -O0 -U_FORTIFY_SOURCE'"/>
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
    72
        <attribute name="new_variable" value="V1=44;V33=12" />
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
    73
      </build>
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
    74
     </module>
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
    75
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
    76
    <module name="ns-3-dev-dce">
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
    77
      <source type="mercurial">
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
    78
	<attribute name="url" value="http://code.nsnam.org/ns-3-dev"/>
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
    79
	<attribute name="revision" value="49dadc40be43"/>
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
    80
      </source>
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
    81
      <build type="waf" objdir="yes">
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
    82
	<attribute name="pre_installation" value="cd $SRCDIR;hg revert -a"/>
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
    83
	<attribute name="patch" value="$SRCDIR/../dce/utils/packet-socket-upgrade-exp.patch;$SRCDIR/../dce/utils/remove-default-simulator-asserts.patch;$SRCDIR/../dce/utils/NS3-shutdown.patch"/>
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
    84
	<attribute name="configure_arguments" value="configure --prefix=$INSTALLDIR --enable-tests"/>
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
    85
      </build>
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
    86
    </module>
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
    87
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
    88
    <module name="git-kern">
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
    89
      <source type="git">
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
    90
	<attribute name="url" value="git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next.git"/>
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
    91
	<attribute name="revision" value="fed66381d65a35198639f564365e61a7f256bf79"/>
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
    92
      </source>
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
    93
      <build type="none" objdir="no">
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
    94
      </build>
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
    95
    </module>
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
    96
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
    97
    <module name="ns-3-linux" built_once="true">
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
    98
      <source type="mercurial">
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
    99
	<attribute name="url" value="http://code.nsnam.org/furbani/ns-3-linux"/>
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
   100
      </source>
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
   101
      <depends_on name="git-kern" optional="False"/>
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
   102
      <build type="make" objdir="no">
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
   103
	<attribute name="pre_installation" value="ln -s ../git-kern net-next-2.6; sed 's/$(PWD)/$SRCDIR/' Makefile >a; mv a Makefile; make unpatch; make setup ;make defconfig; make config; sed s/CONFIG_PACKET=m/CONFIG_PACKET=y/ config >c2 ; mv c2 config"/>
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
   104
      </build>
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
   105
    </module>
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
   106
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
   107
    <module name="click">
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
   108
      <source type="git">
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
   109
	<attribute name="url" value="git://read.cs.ucla.edu/git/click"/>
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
   110
	<attribute name="revision" value="724412626833df5c13384be5cce4da52c601371f"/>
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
   111
67
1d85f4b247f3 Update on the unit test
Daniel Camara <daniel.camara@inria.fr>
parents:
diff changeset
   112
      </source>
1d85f4b247f3 Update on the unit test
Daniel Camara <daniel.camara@inria.fr>
parents:
diff changeset
   113
      <build type="autotools" objdir="yes">
113
bbe081376846 Version for code review.
daniel
parents: 112
diff changeset
   114
	<attribute name="configure_arguments" value="../configure --prefix=$INSTALLDIR --exec-prefix=$INSTALLDIR -enable-userlevel --disable-linuxmodule --enable-nsclick --enable-wifi"/>
67
1d85f4b247f3 Update on the unit test
Daniel Camara <daniel.camara@inria.fr>
parents:
diff changeset
   115
      </build>
1d85f4b247f3 Update on the unit test
Daniel Camara <daniel.camara@inria.fr>
parents:
diff changeset
   116
    </module>
1d85f4b247f3 Update on the unit test
Daniel Camara <daniel.camara@inria.fr>
parents:
diff changeset
   117
112
7d1a0938bb80 added dependency for openflow and improoved the error messages and exception handling
daniel
parents: 108
diff changeset
   118
    <module name="libxml2-dev">
7d1a0938bb80 added dependency for openflow and improoved the error messages and exception handling
daniel
parents: 108
diff changeset
   119
      <source type="system_dependency">
7d1a0938bb80 added dependency for openflow and improoved the error messages and exception handling
daniel
parents: 108
diff changeset
   120
	<attribute name="dependency_test" value="libxml2.so"/>
7d1a0938bb80 added dependency for openflow and improoved the error messages and exception handling
daniel
parents: 108
diff changeset
   121
	<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
   122
	<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
   123
	<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
   124
	<attribute name="name_apt-get" value="libxml2-dev"/>
7d1a0938bb80 added dependency for openflow and improoved the error messages and exception handling
daniel
parents: 108
diff changeset
   125
	<attribute name="more_information" value="Didn't the libxml2-dev library, try to install it!"/>
7d1a0938bb80 added dependency for openflow and improoved the error messages and exception handling
daniel
parents: 108
diff changeset
   126
      </source>
7d1a0938bb80 added dependency for openflow and improoved the error messages and exception handling
daniel
parents: 108
diff changeset
   127
      <build type="none" objdir="no">
7d1a0938bb80 added dependency for openflow and improoved the error messages and exception handling
daniel
parents: 108
diff changeset
   128
      </build>
7d1a0938bb80 added dependency for openflow and improoved the error messages and exception handling
daniel
parents: 108
diff changeset
   129
    </module>
7d1a0938bb80 added dependency for openflow and improoved the error messages and exception handling
daniel
parents: 108
diff changeset
   130
67
1d85f4b247f3 Update on the unit test
Daniel Camara <daniel.camara@inria.fr>
parents:
diff changeset
   131
    <module name="openflow-ns3">
1d85f4b247f3 Update on the unit test
Daniel Camara <daniel.camara@inria.fr>
parents:
diff changeset
   132
      <source type="mercurial">
94
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
   133
	<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
   134
      </source>
94
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
   135
      <build type="waf" objdir="yes">
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
   136
	<attribute name="configure_arguments" value="configure --prefix=$INSTALLDIR"/>
112
7d1a0938bb80 added dependency for openflow and improoved the error messages and exception handling
daniel
parents: 108
diff changeset
   137
	<depends_on name="libxml2-dev" optional="False"/>
94
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
   138
      </build>
71
bf151f3f1479 Add more tests and small changes in the Environment and build modules
Daniel Camara <daniel.camara@inria.fr>
parents: 67
diff changeset
   139
    </module>
bf151f3f1479 Add more tests and small changes in the Environment and build modules
Daniel Camara <daniel.camara@inria.fr>
parents: 67
diff changeset
   140
67
1d85f4b247f3 Update on the unit test
Daniel Camara <daniel.camara@inria.fr>
parents:
diff changeset
   141
    <module name="gccxml-ns3">
1d85f4b247f3 Update on the unit test
Daniel Camara <daniel.camara@inria.fr>
parents:
diff changeset
   142
      <source type="cvs">
1d85f4b247f3 Update on the unit test
Daniel Camara <daniel.camara@inria.fr>
parents:
diff changeset
   143
	<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
   144
	<attribute name="module" value="gccxml"/>
1d85f4b247f3 Update on the unit test
Daniel Camara <daniel.camara@inria.fr>
parents:
diff changeset
   145
	<attribute name="date" value="2009-09-21"/>
1d85f4b247f3 Update on the unit test
Daniel Camara <daniel.camara@inria.fr>
parents:
diff changeset
   146
      </source>
1d85f4b247f3 Update on the unit test
Daniel Camara <daniel.camara@inria.fr>
parents:
diff changeset
   147
      <build type="cmake" objdir="yes">
1d85f4b247f3 Update on the unit test
Daniel Camara <daniel.camara@inria.fr>
parents:
diff changeset
   148
      </build>
1d85f4b247f3 Update on the unit test
Daniel Camara <daniel.camara@inria.fr>
parents:
diff changeset
   149
    </module>
1d85f4b247f3 Update on the unit test
Daniel Camara <daniel.camara@inria.fr>
parents:
diff changeset
   150
1d85f4b247f3 Update on the unit test
Daniel Camara <daniel.camara@inria.fr>
parents:
diff changeset
   151
    <module name="pygccxml">
1d85f4b247f3 Update on the unit test
Daniel Camara <daniel.camara@inria.fr>
parents:
diff changeset
   152
      <source type="archive">
75
d26cc0acef36 Fix download pointeter for pygccxml
dcamara
parents: 71
diff changeset
   153
	<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
   154
      </source>
1d85f4b247f3 Update on the unit test
Daniel Camara <daniel.camara@inria.fr>
parents:
diff changeset
   155
      <build type="python" objdir="yes">
1d85f4b247f3 Update on the unit test
Daniel Camara <daniel.camara@inria.fr>
parents:
diff changeset
   156
      </build>
94
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
   157
      <depends_on name="gccxml-ns3" optional="True"/>
67
1d85f4b247f3 Update on the unit test
Daniel Camara <daniel.camara@inria.fr>
parents:
diff changeset
   158
    </module>
1d85f4b247f3 Update on the unit test
Daniel Camara <daniel.camara@inria.fr>
parents:
diff changeset
   159
1d85f4b247f3 Update on the unit test
Daniel Camara <daniel.camara@inria.fr>
parents:
diff changeset
   160
    <module name="pybindgen">
1d85f4b247f3 Update on the unit test
Daniel Camara <daniel.camara@inria.fr>
parents:
diff changeset
   161
      <source type="bazaar">
1d85f4b247f3 Update on the unit test
Daniel Camara <daniel.camara@inria.fr>
parents:
diff changeset
   162
	<attribute name="url" value="https://launchpad.net/pybindgen"/>
94
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
   163
	<attribute name="revision" value="revno:809"/>
67
1d85f4b247f3 Update on the unit test
Daniel Camara <daniel.camara@inria.fr>
parents:
diff changeset
   164
      </source>
1d85f4b247f3 Update on the unit test
Daniel Camara <daniel.camara@inria.fr>
parents:
diff changeset
   165
      <build type="waf" objdir="yes">
95
507f5a81853c small correction on the config file
daniel
parents: 94
diff changeset
   166
	<attribute name="configure_arguments" value="configure --prefix=$INSTALLDIR"/>
67
1d85f4b247f3 Update on the unit test
Daniel Camara <daniel.camara@inria.fr>
parents:
diff changeset
   167
	<attribute name="build_arguments" value="--generate-version"/>
1d85f4b247f3 Update on the unit test
Daniel Camara <daniel.camara@inria.fr>
parents:
diff changeset
   168
      </build>
1d85f4b247f3 Update on the unit test
Daniel Camara <daniel.camara@inria.fr>
parents:
diff changeset
   169
      <depends_on name="pygccxml" optional="True"/>
113
bbe081376846 Version for code review.
daniel
parents: 112
diff changeset
   170
      <depends_on name="gccxml-ns3" optional="False"/>
67
1d85f4b247f3 Update on the unit test
Daniel Camara <daniel.camara@inria.fr>
parents:
diff changeset
   171
    </module>
1d85f4b247f3 Update on the unit test
Daniel Camara <daniel.camara@inria.fr>
parents:
diff changeset
   172
94
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
   173
67
1d85f4b247f3 Update on the unit test
Daniel Camara <daniel.camara@inria.fr>
parents:
diff changeset
   174
    <module name="nsc">
1d85f4b247f3 Update on the unit test
Daniel Camara <daniel.camara@inria.fr>
parents:
diff changeset
   175
      <source type="mercurial">
1d85f4b247f3 Update on the unit test
Daniel Camara <daniel.camara@inria.fr>
parents:
diff changeset
   176
	<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
   177
      </source>
1d85f4b247f3 Update on the unit test
Daniel Camara <daniel.camara@inria.fr>
parents:
diff changeset
   178
      <!-- 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
   179
      <build type="inline"  classname="NscModuleBuild">
94
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
   180
	<attribute name="supported_os" value="linux;linux2"/>
67
1d85f4b247f3 Update on the unit test
Daniel Camara <daniel.camara@inria.fr>
parents:
diff changeset
   181
	<code>class NscModuleBuild(InlineModuleBuild):
1d85f4b247f3 Update on the unit test
Daniel Camara <daniel.camara@inria.fr>
parents:
diff changeset
   182
    def __init__(self):
1d85f4b247f3 Update on the unit test
Daniel Camara <daniel.camara@inria.fr>
parents:
diff changeset
   183
        InlineModuleBuild.__init__(self)
1d85f4b247f3 Update on the unit test
Daniel Camara <daniel.camara@inria.fr>
parents:
diff changeset
   184
    def build(self, env, jobs):
94
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
   185
67
1d85f4b247f3 Update on the unit test
Daniel Camara <daniel.camara@inria.fr>
parents:
diff changeset
   186
        env.run(['python', os.path.join(env.srcdir, 'scons.py'), 
94
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
   187
                 '-j', str(jobs), 'prefix=' + env.installdir, 'install'],
67
1d85f4b247f3 Update on the unit test
Daniel Camara <daniel.camara@inria.fr>
parents:
diff changeset
   188
                directory=env.srcdir)
1d85f4b247f3 Update on the unit test
Daniel Camara <daniel.camara@inria.fr>
parents:
diff changeset
   189
    def clean(self, env):
1d85f4b247f3 Update on the unit test
Daniel Camara <daniel.camara@inria.fr>
parents:
diff changeset
   190
        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
   191
                directory=env.srcdir)
1d85f4b247f3 Update on the unit test
Daniel Camara <daniel.camara@inria.fr>
parents:
diff changeset
   192
    def check_version(self, env):
1d85f4b247f3 Update on the unit test
Daniel Camara <daniel.camara@inria.fr>
parents:
diff changeset
   193
        return True</code>
1d85f4b247f3 Update on the unit test
Daniel Camara <daniel.camara@inria.fr>
parents:
diff changeset
   194
      </build>
1d85f4b247f3 Update on the unit test
Daniel Camara <daniel.camara@inria.fr>
parents:
diff changeset
   195
    </module>
1d85f4b247f3 Update on the unit test
Daniel Camara <daniel.camara@inria.fr>
parents:
diff changeset
   196
    
94
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
   197
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
   198
    <module name="qt4">
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
   199
      <source type="system_dependency">
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
   200
	<attribute name="dependency_test" value="(qmake or qmake-qt4)"/>
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
   201
	<attribute name="try_to_install" value="True"/>
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
   202
	<attribute name="name_yum" value="qt4-devel"/>
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
   203
	<attribute name="name_apt-get" value="qt4-dev-tools"/>
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
   204
	<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
   205
      </source>
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
   206
      <build type="none" objdir="no">
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
   207
      </build>
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
   208
    </module>
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
   209
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
   210
    <module name="elf-loader">
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
   211
      <source type="mercurial">
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
   212
	<attribute name="url" value="http://code.nsnam.org/mathieu/elf-loader"/>
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
   213
      </source>
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
   214
      <build type="make" objdir="no">
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
   215
	<attribute name="patch" value="$SRCDIR/../dce/utils/elf-loader-r633.patch"/>
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
   216
	<attribute name="configure_arguments" value="vdl-config.h"/>
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
   217
      </build>
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
   218
    </module>
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
   219
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
   220
    <module name="net_anim">
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
   221
      <source type="mercurial">
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
   222
	<attribute name="url" value="http://code.nsnam.org/netanim"/>
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
   223
      </source>
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
   224
      <build type="make" objdir="no">
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
   225
	<attribute name="pre_installation" value="cd $SRCDIR;qmake NetAnim.pro or cd $SRCDIR;qmake-qt4 NetAnim.pro or cd $SRCDIR;qmake -spec macx-g++ NetAnim.pro"/>
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
   226
      </build>
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
   227
      <depends_on name="qt4" optional="False"/>
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
   228
    </module>
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
   229
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
   230
  <module name="ns-3-dev">
67
1d85f4b247f3 Update on the unit test
Daniel Camara <daniel.camara@inria.fr>
parents:
diff changeset
   231
      <source type="mercurial">
1d85f4b247f3 Update on the unit test
Daniel Camara <daniel.camara@inria.fr>
parents:
diff changeset
   232
	<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
   233
      </source>
94
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
   234
      <depends_on name="net_anim" optional="True"/>
67
1d85f4b247f3 Update on the unit test
Daniel Camara <daniel.camara@inria.fr>
parents:
diff changeset
   235
      <depends_on name="nsc" optional="True"/>
1d85f4b247f3 Update on the unit test
Daniel Camara <daniel.camara@inria.fr>
parents:
diff changeset
   236
      <depends_on name="pybindgen" optional="True"/>
94
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
   237
      <depends_on name="click" optional="True"/>
67
1d85f4b247f3 Update on the unit test
Daniel Camara <daniel.camara@inria.fr>
parents:
diff changeset
   238
      <depends_on name="openflow-ns3" optional="True"/>
1d85f4b247f3 Update on the unit test
Daniel Camara <daniel.camara@inria.fr>
parents:
diff changeset
   239
      <build type="waf" objdir="yes">
94
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
   240
	<attribute name="configure_arguments" value="configure --prefix=$INSTALLDIR --enable-examples --enable-tests --with-nsclick=$SRCDIR/click --with-pybindgen=$SRCDIR/pybindgen --with-openflow=$SRCDIR/openflow-ns3 --with-nsc=$SRCDIR/nsc"/>
67
1d85f4b247f3 Update on the unit test
Daniel Camara <daniel.camara@inria.fr>
parents:
diff changeset
   241
      </build>
94
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
   242
  </module>
67
1d85f4b247f3 Update on the unit test
Daniel Camara <daniel.camara@inria.fr>
parents:
diff changeset
   243
1d85f4b247f3 Update on the unit test
Daniel Camara <daniel.camara@inria.fr>
parents:
diff changeset
   244
  </modules>
1d85f4b247f3 Update on the unit test
Daniel Camara <daniel.camara@inria.fr>
parents:
diff changeset
   245
1d85f4b247f3 Update on the unit test
Daniel Camara <daniel.camara@inria.fr>
parents:
diff changeset
   246
  <predefined name="dbg">
94
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
   247
    <append name="CFLAGS" value="-g"/>
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
   248
    <append name="CXXFLAGS" value="-g"/>
115
cdc42f30aa2a Fix for the configuration file
daniel
parents: 113
diff changeset
   249
    <configuration objdir="dbg"/>
cdc42f30aa2a Fix for the configuration file
daniel
parents: 113
diff changeset
   250
    <configuration installdir="build_dbg"/>
67
1d85f4b247f3 Update on the unit test
Daniel Camara <daniel.camara@inria.fr>
parents:
diff changeset
   251
  </predefined>
115
cdc42f30aa2a Fix for the configuration file
daniel
parents: 113
diff changeset
   252
67
1d85f4b247f3 Update on the unit test
Daniel Camara <daniel.camara@inria.fr>
parents:
diff changeset
   253
  <predefined name="opt">
1d85f4b247f3 Update on the unit test
Daniel Camara <daniel.camara@inria.fr>
parents:
diff changeset
   254
    <configuration objdir="opt"/>
115
cdc42f30aa2a Fix for the configuration file
daniel
parents: 113
diff changeset
   255
    <configuration installdir="build_opt"/>
94
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
   256
<!--   <append name="configure_arguments" value=" -d optimized"/> -->
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
   257
    <append name="CFLAGS" value="-O3"/>
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
   258
    <append name="CXXFLAGS" value="-O3"/>
67
1d85f4b247f3 Update on the unit test
Daniel Camara <daniel.camara@inria.fr>
parents:
diff changeset
   259
  </predefined>
94
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
   260
  
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
   261
  <predefined name="ns3">
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
   262
    <enable name="ns-3-dev"/>
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
   263
    <!--    <configuration installdir="." sourcedir="../source"/> -->
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
   264
    <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
   265
  </predefined>
94
cbf406ef43b0 configuration files update
daniel
parents: 75
diff changeset
   266
104
5106eb22e0d3 new configurarion
daniel
parents: 95
diff changeset
   267
  <predefined name="ns3-min">
5106eb22e0d3 new configurarion
daniel
parents: 95
diff changeset
   268
    <enable name="ns-3-dev"/>
5106eb22e0d3 new configurarion
daniel
parents: 95
diff changeset
   269
    <disable name="nsc"/>
5106eb22e0d3 new configurarion
daniel
parents: 95
diff changeset
   270
    <disable name="net_anim"/>
5106eb22e0d3 new configurarion
daniel
parents: 95
diff changeset
   271
    <disable name="pybindgen"/>
5106eb22e0d3 new configurarion
daniel
parents: 95
diff changeset
   272
    <disable name="click"/>
5106eb22e0d3 new configurarion
daniel
parents: 95
diff changeset
   273
    <disable name="openflow-ns3"/>
108
246e724cb1f2 Automatic resource file saving
daniel
parents: 104
diff changeset
   274
    <append module="ns-3-dev" name="configure_arguments" value=" --enable-modules=core,network,wifi"/> -->
104
5106eb22e0d3 new configurarion
daniel
parents: 95
diff changeset
   275
  </predefined>
5106eb22e0d3 new configurarion
daniel
parents: 95
diff changeset
   276
67
1d85f4b247f3 Update on the unit test
Daniel Camara <daniel.camara@inria.fr>
parents:
diff changeset
   277
</configuration>