dceConf.xml
author daniel
Wed, 18 Jul 2012 15:26:45 +0200
changeset 82 6ce320a19d08
parent 81 0e40fb09aef7
child 84 764f6222c0e1
permissions -rw-r--r--
Changes to permit the build of DCE linux and DCE
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
80
ef8494cdb2de changes to support DCE
daniel
parents:
diff changeset
     1
<configuration>
ef8494cdb2de changes to support DCE
daniel
parents:
diff changeset
     2
  <modules>
ef8494cdb2de changes to support DCE
daniel
parents:
diff changeset
     3
ef8494cdb2de changes to support DCE
daniel
parents:
diff changeset
     4
    <module name="dce-ns3">
ef8494cdb2de changes to support DCE
daniel
parents:
diff changeset
     5
      <source type="mercurial">
ef8494cdb2de changes to support DCE
daniel
parents:
diff changeset
     6
	<attribute name="url" value="http://code.nsnam.org/furbani/ns-3-dce"/>
ef8494cdb2de changes to support DCE
daniel
parents:
diff changeset
     7
      </source>
ef8494cdb2de changes to support DCE
daniel
parents:
diff changeset
     8
       <depends_on name="readversiondef" optional="False"/>
ef8494cdb2de changes to support DCE
daniel
parents:
diff changeset
     9
       <depends_on name="ns-3-dev-dce" optional="False"/>
82
6ce320a19d08 Changes to permit the build of DCE linux and DCE
daniel
parents: 81
diff changeset
    10
      <build type="waf" objdir="yes" sourcedir="dce">
6ce320a19d08 Changes to permit the build of DCE linux and DCE
daniel
parents: 81
diff changeset
    11
	<attribute name="configure_arguments" value="configure --prefix=`pwd`/../build --verbose"/>
6ce320a19d08 Changes to permit the build of DCE linux and DCE
daniel
parents: 81
diff changeset
    12
	<attribute name="post_installation" value="BASEDCE=`pwd`/..;DCE_PATH=$BASEDCE/build/bin_dce:$BASEDCE/build/bin:$BASE/build/bin;DCE_ROOT=$HOME/dce_root:$BASEDCE/build;LD_LIBRARY_PATH=$SAVE_LDLP:`pwd`/../build/lib:`pwd`/build/bin:`pwd`/../build/lib:`pwd`/../../ns-3-dev-dce/build;../build/bin/ns3test-dce --verbose"/>
6ce320a19d08 Changes to permit the build of DCE linux and DCE
daniel
parents: 81
diff changeset
    13
      </build>
6ce320a19d08 Changes to permit the build of DCE linux and DCE
daniel
parents: 81
diff changeset
    14
    </module>
6ce320a19d08 Changes to permit the build of DCE linux and DCE
daniel
parents: 81
diff changeset
    15
6ce320a19d08 Changes to permit the build of DCE linux and DCE
daniel
parents: 81
diff changeset
    16
    <module name="dce-linux">
6ce320a19d08 Changes to permit the build of DCE linux and DCE
daniel
parents: 81
diff changeset
    17
      <source type="mercurial" sourcedir="dce1">
6ce320a19d08 Changes to permit the build of DCE linux and DCE
daniel
parents: 81
diff changeset
    18
	<attribute name="url" value="http://code.nsnam.org/furbani/ns-3-dce"/>
6ce320a19d08 Changes to permit the build of DCE linux and DCE
daniel
parents: 81
diff changeset
    19
 	<attribute name="module_directory" value="dce"/>
6ce320a19d08 Changes to permit the build of DCE linux and DCE
daniel
parents: 81
diff changeset
    20
     </source>
6ce320a19d08 Changes to permit the build of DCE linux and DCE
daniel
parents: 81
diff changeset
    21
       <depends_on name="readversiondef" optional="False"/>
81
0e40fb09aef7 Add support to system dependencies and automatic installation for Linux systems
daniel
parents: 80
diff changeset
    22
       <depends_on name="ns-3-linux" optional="False"/>
82
6ce320a19d08 Changes to permit the build of DCE linux and DCE
daniel
parents: 81
diff changeset
    23
       <depends_on name="ns-3-dev-dce" optional="False"/>
6ce320a19d08 Changes to permit the build of DCE linux and DCE
daniel
parents: 81
diff changeset
    24
6ce320a19d08 Changes to permit the build of DCE linux and DCE
daniel
parents: 81
diff changeset
    25
      <build type="waf" objdir="yes" sourcedir="dce">
6ce320a19d08 Changes to permit the build of DCE linux and DCE
daniel
parents: 81
diff changeset
    26
	<attribute name="configure_arguments" value="configure --prefix=`pwd`/../build --enable-kernel-stack=`pwd`/../ns-3-linux --verbose"/>
80
ef8494cdb2de changes to support DCE
daniel
parents:
diff changeset
    27
	<attribute name="post_installation" value="BASEDCE=`pwd`/..;DCE_PATH=$BASEDCE/build/bin_dce:$BASEDCE/build/bin:$BASE/build/bin;DCE_ROOT=$HOME/dce_root:$BASEDCE/build;LD_LIBRARY_PATH=$SAVE_LDLP:`pwd`/../build/lib:`pwd`/build/bin:`pwd`/../build/lib:`pwd`/../../ns-3-dev-dce/build;../build/bin/ns3test-dce --verbose"/>
82
6ce320a19d08 Changes to permit the build of DCE linux and DCE
daniel
parents: 81
diff changeset
    28
        <attribute name="v_PATH" value="$OBJDIR/../../readversiondef;`pwd`;`pwd`/../build/bin" />
6ce320a19d08 Changes to permit the build of DCE linux and DCE
daniel
parents: 81
diff changeset
    29
        <attribute name="v_LD_LIBRARY" value="$OBJDIR/..;`pwd`;`pwd`/../ns-3-dev-dce/build" />
6ce320a19d08 Changes to permit the build of DCE linux and DCE
daniel
parents: 81
diff changeset
    30
        <attribute name="v_PKG_CONFIG" value="`pwd`/../ns-3-dev-dce/build/lib/pkgconfig;$OBJDIR/../../ns-3-dev-dce/build/lib/pkgconfig" />
80
ef8494cdb2de changes to support DCE
daniel
parents:
diff changeset
    31
      </build>
ef8494cdb2de changes to support DCE
daniel
parents:
diff changeset
    32
    </module>
ef8494cdb2de changes to support DCE
daniel
parents:
diff changeset
    33
ef8494cdb2de changes to support DCE
daniel
parents:
diff changeset
    34
    <module name="readversiondef">
ef8494cdb2de changes to support DCE
daniel
parents:
diff changeset
    35
      <source type="mercurial">
ef8494cdb2de changes to support DCE
daniel
parents:
diff changeset
    36
	<attribute name="url" value="http://code.nsnam.org/mathieu/readversiondef"/>
ef8494cdb2de changes to support DCE
daniel
parents:
diff changeset
    37
      </source>
ef8494cdb2de changes to support DCE
daniel
parents:
diff changeset
    38
      <build type="make" objdir="yes">
ef8494cdb2de changes to support DCE
daniel
parents:
diff changeset
    39
	<attribute name="make_arguments" value="install PREFIX=`pwd`/../build"/>
ef8494cdb2de changes to support DCE
daniel
parents:
diff changeset
    40
      </build>
ef8494cdb2de changes to support DCE
daniel
parents:
diff changeset
    41
    </module>
ef8494cdb2de changes to support DCE
daniel
parents:
diff changeset
    42
     
ef8494cdb2de changes to support DCE
daniel
parents:
diff changeset
    43
    <module name="ns-3-dev-dce">
ef8494cdb2de changes to support DCE
daniel
parents:
diff changeset
    44
      <source type="mercurial">
ef8494cdb2de changes to support DCE
daniel
parents:
diff changeset
    45
	<attribute name="url" value="http://code.nsnam.org/ns-3-dev"/>
ef8494cdb2de changes to support DCE
daniel
parents:
diff changeset
    46
	<attribute name="revision" value="49dadc40be43"/>
ef8494cdb2de changes to support DCE
daniel
parents:
diff changeset
    47
      </source>
ef8494cdb2de changes to support DCE
daniel
parents:
diff changeset
    48
      <build type="waf" objdir="yes">
82
6ce320a19d08 Changes to permit the build of DCE linux and DCE
daniel
parents: 81
diff changeset
    49
	<attribute name="patch" value="../dce/utils/packet-socket-upgrade-exp.patch"/>
80
ef8494cdb2de changes to support DCE
daniel
parents:
diff changeset
    50
	<attribute name="configure_arguments" value="configure --prefix=`pwd`/../build --enable-tests"/>
ef8494cdb2de changes to support DCE
daniel
parents:
diff changeset
    51
      </build>
ef8494cdb2de changes to support DCE
daniel
parents:
diff changeset
    52
    </module>
ef8494cdb2de changes to support DCE
daniel
parents:
diff changeset
    53
81
0e40fb09aef7 Add support to system dependencies and automatic installation for Linux systems
daniel
parents: 80
diff changeset
    54
    <module name="git-kern">
0e40fb09aef7 Add support to system dependencies and automatic installation for Linux systems
daniel
parents: 80
diff changeset
    55
      <source type="git">
0e40fb09aef7 Add support to system dependencies and automatic installation for Linux systems
daniel
parents: 80
diff changeset
    56
	<attribute name="url" value="git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next.git"/>
0e40fb09aef7 Add support to system dependencies and automatic installation for Linux systems
daniel
parents: 80
diff changeset
    57
	<attribute name="revision" value="fed66381d65a35198639f564365e61a7f256bf79"/>
0e40fb09aef7 Add support to system dependencies and automatic installation for Linux systems
daniel
parents: 80
diff changeset
    58
      </source>
0e40fb09aef7 Add support to system dependencies and automatic installation for Linux systems
daniel
parents: 80
diff changeset
    59
      <build type="none" objdir="no">
0e40fb09aef7 Add support to system dependencies and automatic installation for Linux systems
daniel
parents: 80
diff changeset
    60
      </build>
0e40fb09aef7 Add support to system dependencies and automatic installation for Linux systems
daniel
parents: 80
diff changeset
    61
    </module>
0e40fb09aef7 Add support to system dependencies and automatic installation for Linux systems
daniel
parents: 80
diff changeset
    62
0e40fb09aef7 Add support to system dependencies and automatic installation for Linux systems
daniel
parents: 80
diff changeset
    63
    <module name="ns-3-linux" built_once="true">
0e40fb09aef7 Add support to system dependencies and automatic installation for Linux systems
daniel
parents: 80
diff changeset
    64
      <source type="mercurial">
0e40fb09aef7 Add support to system dependencies and automatic installation for Linux systems
daniel
parents: 80
diff changeset
    65
	<attribute name="url" value="http://code.nsnam.org/furbani/ns-3-linux"/>
0e40fb09aef7 Add support to system dependencies and automatic installation for Linux systems
daniel
parents: 80
diff changeset
    66
      </source>
0e40fb09aef7 Add support to system dependencies and automatic installation for Linux systems
daniel
parents: 80
diff changeset
    67
      <depends_on name="git-kern" optional="False"/>
0e40fb09aef7 Add support to system dependencies and automatic installation for Linux systems
daniel
parents: 80
diff changeset
    68
      <build type="make" objdir="no">
0e40fb09aef7 Add support to system dependencies and automatic installation for Linux systems
daniel
parents: 80
diff changeset
    69
	<attribute name="pre_installation" value="ln -s ../git-kern net-next-2.6; sed 's/$(PWD)/`pwd`/' 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"/>
0e40fb09aef7 Add support to system dependencies and automatic installation for Linux systems
daniel
parents: 80
diff changeset
    70
      </build>
0e40fb09aef7 Add support to system dependencies and automatic installation for Linux systems
daniel
parents: 80
diff changeset
    71
    </module>
0e40fb09aef7 Add support to system dependencies and automatic installation for Linux systems
daniel
parents: 80
diff changeset
    72
80
ef8494cdb2de changes to support DCE
daniel
parents:
diff changeset
    73
  </modules>
ef8494cdb2de changes to support DCE
daniel
parents:
diff changeset
    74
ef8494cdb2de changes to support DCE
daniel
parents:
diff changeset
    75
</configuration>