author | Hajime Tazaki <tazaki@nict.go.jp> |
Thu, 29 Nov 2012 14:27:50 +0900 | |
changeset 145 | b5a6ad566c40 |
parent 144 | 70644974b31b |
child 149 | 240a51b3466f |
permissions | -rw-r--r-- |
67 | 1 |
<configuration> |
2 |
<modules> |
|
3 |
||
94 | 4 |
<module name="dce-ns3"> |
5 |
<source type="mercurial"> |
|
6 |
<attribute name="url" value="http://code.nsnam.org/furbani/ns-3-dce"/> |
|
7 |
<attribute name="module_directory" value="dce"/> |
|
8 |
</source> |
|
9 |
<depends_on name="ns-3-dev-dce" optional="False"/> |
|
145
b5a6ad566c40
Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents:
144
diff
changeset
|
10 |
<depends_on name="elf-loader" optional="False"/> |
117 | 11 |
<depends_on name="iperf" optional="True"/> |
123 | 12 |
<depends_on name="ccnx" optional="True"/> |
94 | 13 |
<build type="waf" objdir="build"> |
145
b5a6ad566c40
Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents:
144
diff
changeset
|
14 |
<attribute name="configure_arguments" value="configure --with-ns3=$INSTALLDIR --with-elf-loader=$INSTALLDIR/lib --prefix=$INSTALLDIR"/> |
b5a6ad566c40
Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents:
144
diff
changeset
|
15 |
<attribute name="post_installation" value="cd $SRCDIR; ./waf --run ns3test-dce"/> |
94 | 16 |
</build> |
17 |
</module> |
|
18 |
||
19 |
<module name="dce-linux"> |
|
20 |
<source type="mercurial"> |
|
21 |
<attribute name="url" value="http://code.nsnam.org/furbani/ns-3-dce"/> |
|
22 |
<attribute name="module_directory" value="dce"/> |
|
23 |
</source> |
|
145
b5a6ad566c40
Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents:
144
diff
changeset
|
24 |
<depends_on name="elf-loader" optional="False"/> |
94 | 25 |
<depends_on name="ns-3-linux" optional="False"/> |
145
b5a6ad566c40
Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents:
144
diff
changeset
|
26 |
<depends_on name="iproute" optional="False"/> |
94 | 27 |
<depends_on name="ns-3-dev-dce" optional="False"/> |
28 |
<build type="waf" objdir="yes" sourcedir="dce"> |
|
145
b5a6ad566c40
Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents:
144
diff
changeset
|
29 |
<attribute name="configure_arguments" value="configure --prefix=$INSTALLDIR --with-ns3=$INSTALLDIR --with-elf-loader=$INSTALLDIR/lib --enable-kernel-stack=$SRCDIR/../ns-3-linux"/> |
b5a6ad566c40
Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents:
144
diff
changeset
|
30 |
<attribute name="post_installation" value="cd $SRCDIR; ./waf --run ns3test-dce"/> |
94 | 31 |
</build> |
32 |
</module> |
|
33 |
||
121 | 34 |
<module name="ccnx"> |
35 |
<source type="archive"> |
|
36 |
<attribute name="url" value="http://www.ccnx.org/releases/ccnx-0.6.2.tar.gz"/> |
|
37 |
<attribute name="extract_directory" value="ccnx-0.6.2"/> |
|
38 |
</source> |
|
39 |
<build type="make" objdir="yes"> |
|
124
8fe5ba0938c6
Fix for the configuration file and Unrecognized option
daniel
parents:
123
diff
changeset
|
40 |
<attribute name="pre_installation" value="cd $SRCDIR;INSTALL_BASE=$INSTALLDIR ./configure;mkdir $INSTALLDIR/include;mkdir $INSTALLDIR/lib;mkdir $INSTALLDIR/bin"/> |
121 | 41 |
<attribute name="build_arguments" value="MORE_LDLIBS=-pie"/> |
42 |
<attribute name="new_variable" value="INSTALL_BASE=$INSTALLDIR" /> |
|
43 |
</build> |
|
44 |
</module> |
|
45 |
||
117 | 46 |
<module name="iperf"> |
47 |
<source type="archive"> |
|
48 |
<attribute name="url" value="http://iperf.fr/download/iperf_2.0.5/iperf-2.0.5-source.tar.gz"/> |
|
49 |
<attribute name="extract_directory" value="iperf-2.0.5"/> |
|
50 |
</source> |
|
51 |
<build type="make" objdir="yes"> |
|
52 |
<attribute name="pre_installation" value="cd $SRCDIR;./configure --prefix=$INSTALLDIR"/> |
|
53 |
<attribute name="patch" value="$SRCDIR/../dce/utils/iperf_4_dce.patch"/> |
|
54 |
</build> |
|
55 |
</module> |
|
56 |
||
57 |
<module name="iproute"> |
|
67 | 58 |
<source type="archive"> |
94 | 59 |
<attribute name="url" value="http://www.linuxgrill.com/anonymous/iproute2/NEW-OSDL/iproute2-2.6.38.tar.bz2"/> |
60 |
</source> |
|
61 |
<build type="make" objdir="yes"> |
|
62 |
<attribute name="pre_installation" value="$SRCDIR/configure"/> |
|
63 |
<attribute name="LDFLAGS" value="-pie"/> |
|
64 |
<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
|
65 |
<attribute name="install_arguments" value="DESTDIR=$INSTALLDIR" /> |
b5a6ad566c40
Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents:
144
diff
changeset
|
66 |
<attribute name="build_arguments" value="CCOPTS+=-fpic CCOPTS+=-D_GNU_SOURCE CCOPTS+=-O0 CCOPTS+=-U_FORTIFY_SOURCE LDFLAGS=-pie"/> |
94 | 67 |
</build> |
68 |
</module> |
|
69 |
||
70 |
<module name="ns-3-dev-dce"> |
|
71 |
<source type="mercurial"> |
|
72 |
<attribute name="url" value="http://code.nsnam.org/ns-3-dev"/> |
|
73 |
</source> |
|
74 |
<build type="waf" objdir="yes"> |
|
75 |
<attribute name="configure_arguments" value="configure --prefix=$INSTALLDIR --enable-tests"/> |
|
76 |
</build> |
|
77 |
</module> |
|
78 |
||
79 |
<module name="ns-3-linux" built_once="true"> |
|
80 |
<source type="mercurial"> |
|
81 |
<attribute name="url" value="http://code.nsnam.org/furbani/ns-3-linux"/> |
|
82 |
</source> |
|
83 |
<build type="make" objdir="no"> |
|
145
b5a6ad566c40
Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents:
144
diff
changeset
|
84 |
<attribute name="install_arguments" value="INSTALL_DIR=$INSTALLDIR"/> |
b5a6ad566c40
Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents:
144
diff
changeset
|
85 |
<attribute name="post_installation" value="mkdir -p $INSTALLDIR/bin_dce; cd $INSTALLDIR/bin_dce; ln -s ../lib/libnet-next-2.6.so liblinux.so; ln -s ../lib/libnet-next-2.6.so"/> |
94 | 86 |
</build> |
87 |
</module> |
|
88 |
||
145
b5a6ad566c40
Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents:
144
diff
changeset
|
89 |
<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
|
90 |
<source type="archive"> |
b5a6ad566c40
Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents:
144
diff
changeset
|
91 |
<attribute name="url" value="http://www.skbuff.net/iputils/iputils-s20101006.tar.bz2"/> |
b5a6ad566c40
Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents:
144
diff
changeset
|
92 |
</source> |
b5a6ad566c40
Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents:
144
diff
changeset
|
93 |
<!-- 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
|
94 |
<build type="inline" classname="IputilsModuleBuild"> |
b5a6ad566c40
Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents:
144
diff
changeset
|
95 |
<attribute name="supported_os" value="linux;linux2"/> |
b5a6ad566c40
Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents:
144
diff
changeset
|
96 |
<code>class IputilsModuleBuild(InlineModuleBuild): |
b5a6ad566c40
Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents:
144
diff
changeset
|
97 |
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
|
98 |
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
|
99 |
def build(self, env, jobs): |
b5a6ad566c40
Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents:
144
diff
changeset
|
100 |
env.run(['patch', '-p1', '-f', '-i', env.srcdir + '/../dce-quagga/utils/iputils-ping6.patch'], |
b5a6ad566c40
Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents:
144
diff
changeset
|
101 |
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
|
102 |
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
|
103 |
'CFLAGS+=-Wstrict-prototypes', 'CFLAGS+=-Wall', 'LDFLAGS=-pie', |
b5a6ad566c40
Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents:
144
diff
changeset
|
104 |
'ping', 'ping6', '-j', str(jobs)], |
b5a6ad566c40
Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents:
144
diff
changeset
|
105 |
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
|
106 |
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
|
107 |
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
|
108 |
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
|
109 |
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
|
110 |
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
|
111 |
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
|
112 |
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
|
113 |
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
|
114 |
</build> |
b5a6ad566c40
Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents:
144
diff
changeset
|
115 |
</module> |
b5a6ad566c40
Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents:
144
diff
changeset
|
116 |
|
b5a6ad566c40
Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents:
144
diff
changeset
|
117 |
<!-- umip related modules --> |
b5a6ad566c40
Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents:
144
diff
changeset
|
118 |
<module name="dce-umip"> |
b5a6ad566c40
Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents:
144
diff
changeset
|
119 |
<source type="mercurial"> |
b5a6ad566c40
Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents:
144
diff
changeset
|
120 |
<attribute name="url" value="http://code.nsnam.org/thehajime/ns-3-dce-umip"/> |
b5a6ad566c40
Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents:
144
diff
changeset
|
121 |
<attribute name="module_directory" value="dce-umip/"/> |
b5a6ad566c40
Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents:
144
diff
changeset
|
122 |
</source> |
b5a6ad566c40
Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents:
144
diff
changeset
|
123 |
<depends_on name="dce-linux" optional="False"/> |
b5a6ad566c40
Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents:
144
diff
changeset
|
124 |
<depends_on name="dce-quagga" optional="False"/> |
b5a6ad566c40
Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents:
144
diff
changeset
|
125 |
<depends_on name="umip" optional="False"/> |
b5a6ad566c40
Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents:
144
diff
changeset
|
126 |
<depends_on name="ns-3-dev-dce-umip" optional="False"/> |
b5a6ad566c40
Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents:
144
diff
changeset
|
127 |
<build type="waf" objdir="build"> |
b5a6ad566c40
Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents:
144
diff
changeset
|
128 |
<attribute name="configure_arguments" value="configure --prefix=$INSTALLDIR"/> |
b5a6ad566c40
Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents:
144
diff
changeset
|
129 |
</build> |
b5a6ad566c40
Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents:
144
diff
changeset
|
130 |
</module> |
b5a6ad566c40
Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents:
144
diff
changeset
|
131 |
|
b5a6ad566c40
Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents:
144
diff
changeset
|
132 |
<module name="ns-3-dev-dce-umip"> |
b5a6ad566c40
Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents:
144
diff
changeset
|
133 |
<source type="none"> |
b5a6ad566c40
Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents:
144
diff
changeset
|
134 |
<attribute name="module_directory" value="ns-3-dev-dce/"/> |
b5a6ad566c40
Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents:
144
diff
changeset
|
135 |
</source> |
b5a6ad566c40
Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents:
144
diff
changeset
|
136 |
<depends_on name="ns-3-dev-dce" optional="False"/> |
b5a6ad566c40
Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents:
144
diff
changeset
|
137 |
<build type="waf" objdir="yes"> |
b5a6ad566c40
Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents:
144
diff
changeset
|
138 |
<attribute name="patch" value="$SRCDIR/../dce-umip/utils/ipv6-opt-header.patch"/> |
b5a6ad566c40
Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents:
144
diff
changeset
|
139 |
<attribute name="configure_arguments" value="configure --prefix=$INSTALLDIR --enable-tests"/> |
b5a6ad566c40
Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents:
144
diff
changeset
|
140 |
</build> |
b5a6ad566c40
Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents:
144
diff
changeset
|
141 |
</module> |
b5a6ad566c40
Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents:
144
diff
changeset
|
142 |
|
b5a6ad566c40
Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents:
144
diff
changeset
|
143 |
<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
|
144 |
<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
|
145 |
<attribute name="url" value="git://git.umip.org/umip.git"/> |
b5a6ad566c40
Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents:
144
diff
changeset
|
146 |
</source> |
b5a6ad566c40
Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents:
144
diff
changeset
|
147 |
<build type="autotools" objdir="no"> |
b5a6ad566c40
Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents:
144
diff
changeset
|
148 |
<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
|
149 |
<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
|
150 |
<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
|
151 |
<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
|
152 |
</build> |
b5a6ad566c40
Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents:
144
diff
changeset
|
153 |
</module> |
b5a6ad566c40
Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents:
144
diff
changeset
|
154 |
|
b5a6ad566c40
Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents:
144
diff
changeset
|
155 |
<!-- quagga related modules --> |
b5a6ad566c40
Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents:
144
diff
changeset
|
156 |
<module name="dce-quagga"> |
b5a6ad566c40
Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents:
144
diff
changeset
|
157 |
<source type="mercurial"> |
b5a6ad566c40
Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents:
144
diff
changeset
|
158 |
<attribute name="url" value="http://code.nsnam.org/thehajime/ns-3-dce-quagga"/> |
b5a6ad566c40
Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents:
144
diff
changeset
|
159 |
<attribute name="module_directory" value="dce-quagga/"/> |
b5a6ad566c40
Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents:
144
diff
changeset
|
160 |
</source> |
b5a6ad566c40
Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents:
144
diff
changeset
|
161 |
<depends_on name="dce-ns3" optional="False"/> |
b5a6ad566c40
Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents:
144
diff
changeset
|
162 |
<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
|
163 |
<depends_on name="iputils" optional="False"/> |
b5a6ad566c40
Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents:
144
diff
changeset
|
164 |
<build type="waf" objdir="build"> |
b5a6ad566c40
Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents:
144
diff
changeset
|
165 |
<attribute name="configure_arguments" value="configure --prefix=$INSTALLDIR"/> |
b5a6ad566c40
Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents:
144
diff
changeset
|
166 |
</build> |
b5a6ad566c40
Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents:
144
diff
changeset
|
167 |
</module> |
b5a6ad566c40
Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents:
144
diff
changeset
|
168 |
|
b5a6ad566c40
Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents:
144
diff
changeset
|
169 |
<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
|
170 |
<source type="archive"> |
b5a6ad566c40
Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents:
144
diff
changeset
|
171 |
<!-- some of mirror sever of gnu.org isn't available.. --> |
b5a6ad566c40
Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents:
144
diff
changeset
|
172 |
<!-- attribute name="url" value="http://download.savannah.gnu.org/releases/quagga/quagga-0.99.20.tar.gz"/ --> |
b5a6ad566c40
Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents:
144
diff
changeset
|
173 |
<attribute name="url" value="http://pkgs.fedoraproject.org/lookaside/pkgs/quagga/quagga-0.99.20.tar.gz/64cc29394eb8a4e24649d19dac868f64/quagga-0.99.20.tar.gz"/> |
b5a6ad566c40
Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents:
144
diff
changeset
|
174 |
<attribute name="extract_directory" value="quagga-0.99.20"/> |
b5a6ad566c40
Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents:
144
diff
changeset
|
175 |
</source> |
b5a6ad566c40
Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents:
144
diff
changeset
|
176 |
<build type="make" objdir="yes"> |
b5a6ad566c40
Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents:
144
diff
changeset
|
177 |
<attribute name="pre_installation" value="cd $SRCDIR; CFLAGS='-fPIC -g' LDFLAGS=-pie ./configure --disable-shared --enable-static --disable-user --disable-group --disable-capabilities --prefix=$INSTALLDIR"/> |
b5a6ad566c40
Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents:
144
diff
changeset
|
178 |
<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
|
179 |
<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
|
180 |
</build> |
b5a6ad566c40
Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents:
144
diff
changeset
|
181 |
</module> |
b5a6ad566c40
Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents:
144
diff
changeset
|
182 |
|
94 | 183 |
<module name="click"> |
184 |
<source type="git"> |
|
185 |
<attribute name="url" value="git://read.cs.ucla.edu/git/click"/> |
|
186 |
<attribute name="revision" value="724412626833df5c13384be5cce4da52c601371f"/> |
|
187 |
||
67 | 188 |
</source> |
189 |
<build type="autotools" objdir="yes"> |
|
113 | 190 |
<attribute name="configure_arguments" value="../configure --prefix=$INSTALLDIR --exec-prefix=$INSTALLDIR -enable-userlevel --disable-linuxmodule --enable-nsclick --enable-wifi"/> |
136 | 191 |
<attribute name="post_installation" value="mkdir $INSTALLDIR/lib; cp -r $OBJDIR/include $INSTALLDIR/lib/."/> |
67 | 192 |
</build> |
193 |
</module> |
|
194 |
||
112
7d1a0938bb80
added dependency for openflow and improoved the error messages and exception handling
daniel
parents:
108
diff
changeset
|
195 |
<module name="libxml2-dev"> |
7d1a0938bb80
added dependency for openflow and improoved the error messages and exception handling
daniel
parents:
108
diff
changeset
|
196 |
<source type="system_dependency"> |
7d1a0938bb80
added dependency for openflow and improoved the error messages and exception handling
daniel
parents:
108
diff
changeset
|
197 |
<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
|
198 |
<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
|
199 |
<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
|
200 |
<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
|
201 |
<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
|
202 |
<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
|
203 |
</source> |
7d1a0938bb80
added dependency for openflow and improoved the error messages and exception handling
daniel
parents:
108
diff
changeset
|
204 |
<build type="none" objdir="no"> |
7d1a0938bb80
added dependency for openflow and improoved the error messages and exception handling
daniel
parents:
108
diff
changeset
|
205 |
</build> |
7d1a0938bb80
added dependency for openflow and improoved the error messages and exception handling
daniel
parents:
108
diff
changeset
|
206 |
</module> |
7d1a0938bb80
added dependency for openflow and improoved the error messages and exception handling
daniel
parents:
108
diff
changeset
|
207 |
|
67 | 208 |
<module name="openflow-ns3"> |
209 |
<source type="mercurial"> |
|
94 | 210 |
<attribute name="url" value="http://code.nsnam.org/jpelkey3/openflow"/> |
67 | 211 |
</source> |
94 | 212 |
<build type="waf" objdir="yes"> |
213 |
<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
|
214 |
<depends_on name="libxml2-dev" optional="False"/> |
94 | 215 |
</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
|
216 |
</module> |
bf151f3f1479
Add more tests and small changes in the Environment and build modules
Daniel Camara <daniel.camara@inria.fr>
parents:
67
diff
changeset
|
217 |
|
67 | 218 |
<module name="gccxml-ns3"> |
219 |
<source type="cvs"> |
|
220 |
<attribute name="root" value=":pserver:anoncvs:@www.gccxml.org:/cvsroot/GCC_XML"/> |
|
221 |
<attribute name="module" value="gccxml"/> |
|
222 |
<attribute name="date" value="2009-09-21"/> |
|
223 |
</source> |
|
224 |
<build type="cmake" objdir="yes"> |
|
225 |
</build> |
|
226 |
</module> |
|
227 |
||
228 |
<module name="pygccxml"> |
|
229 |
<source type="archive"> |
|
75 | 230 |
<attribute name="url" value="http://downloads.sourceforge.net/project/pygccxml/pygccxml/pygccxml-1.0/pygccxml-1.0.0.zip"/> |
67 | 231 |
</source> |
232 |
<build type="python" objdir="yes"> |
|
233 |
</build> |
|
94 | 234 |
<depends_on name="gccxml-ns3" optional="True"/> |
67 | 235 |
</module> |
236 |
||
237 |
<module name="pybindgen"> |
|
238 |
<source type="bazaar"> |
|
239 |
<attribute name="url" value="https://launchpad.net/pybindgen"/> |
|
94 | 240 |
<attribute name="revision" value="revno:809"/> |
67 | 241 |
</source> |
242 |
<build type="waf" objdir="yes"> |
|
95 | 243 |
<attribute name="configure_arguments" value="configure --prefix=$INSTALLDIR"/> |
67 | 244 |
<attribute name="build_arguments" value="--generate-version"/> |
245 |
</build> |
|
246 |
<depends_on name="pygccxml" optional="True"/> |
|
113 | 247 |
<depends_on name="gccxml-ns3" optional="False"/> |
67 | 248 |
</module> |
249 |
||
94 | 250 |
|
67 | 251 |
<module name="nsc"> |
252 |
<source type="mercurial"> |
|
253 |
<attribute name="url" value="https://secure.wand.net.nz/mercurial/nsc"/> |
|
254 |
</source> |
|
255 |
<!-- problem: scons has no generic command-line support for builddir and installdir --> |
|
256 |
<build type="inline" classname="NscModuleBuild"> |
|
94 | 257 |
<attribute name="supported_os" value="linux;linux2"/> |
67 | 258 |
<code>class NscModuleBuild(InlineModuleBuild): |
259 |
def __init__(self): |
|
260 |
InlineModuleBuild.__init__(self) |
|
261 |
def build(self, env, jobs): |
|
135
d8a8fd0bf76b
Fix for Jenkins, added imports of os and shutil for nsc.
daniel
parents:
126
diff
changeset
|
262 |
import os |
d8a8fd0bf76b
Fix for Jenkins, added imports of os and shutil for nsc.
daniel
parents:
126
diff
changeset
|
263 |
import shutil |
94 | 264 |
|
67 | 265 |
env.run(['python', os.path.join(env.srcdir, 'scons.py'), |
94 | 266 |
'-j', str(jobs), 'prefix=' + env.installdir, 'install'], |
126 | 267 |
directory=env.srcdir ) |
268 |
srcLib = os.path.join(env.srcdir, 'lib') |
|
269 |
files = os.listdir(srcLib) |
|
270 |
destination = os.path.join(env.installdir, 'lib') |
|
271 |
for file in files: |
|
135
d8a8fd0bf76b
Fix for Jenkins, added imports of os and shutil for nsc.
daniel
parents:
126
diff
changeset
|
272 |
try: |
d8a8fd0bf76b
Fix for Jenkins, added imports of os and shutil for nsc.
daniel
parents:
126
diff
changeset
|
273 |
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
|
274 |
except Exception as e: |
d8a8fd0bf76b
Fix for Jenkins, added imports of os and shutil for nsc.
daniel
parents:
126
diff
changeset
|
275 |
print (" > Error executing copy : " + str(e) + "\n") |
d8a8fd0bf76b
Fix for Jenkins, added imports of os and shutil for nsc.
daniel
parents:
126
diff
changeset
|
276 |
|
67 | 277 |
def clean(self, env): |
278 |
env.run(['python', os.path.join(env.srcdir, 'scons.py'), '-c'], |
|
279 |
directory=env.srcdir) |
|
280 |
def check_version(self, env): |
|
281 |
return True</code> |
|
282 |
</build> |
|
283 |
</module> |
|
284 |
||
94 | 285 |
|
286 |
<module name="qt4"> |
|
287 |
<source type="system_dependency"> |
|
288 |
<attribute name="dependency_test" value="(qmake or qmake-qt4)"/> |
|
289 |
<attribute name="try_to_install" value="True"/> |
|
290 |
<attribute name="name_yum" value="qt4-devel"/> |
|
291 |
<attribute name="name_apt-get" value="qt4-dev-tools"/> |
|
292 |
<attribute name="more_information" value="Didn't find QT 4, download and install it from http://qt.nokia.com/downloads/"/> |
|
293 |
</source> |
|
294 |
<build type="none" objdir="no"> |
|
295 |
</build> |
|
296 |
</module> |
|
297 |
||
298 |
<module name="elf-loader"> |
|
299 |
<source type="mercurial"> |
|
300 |
<attribute name="url" value="http://code.nsnam.org/mathieu/elf-loader"/> |
|
301 |
</source> |
|
302 |
<build type="make" objdir="no"> |
|
303 |
<attribute name="configure_arguments" value="vdl-config.h"/> |
|
145
b5a6ad566c40
Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents:
144
diff
changeset
|
304 |
<attribute name="install_arguments" value="PREFIX=$INSTALLDIR"/> |
94 | 305 |
</build> |
306 |
</module> |
|
307 |
||
132 | 308 |
<module name="netanim"> |
94 | 309 |
<source type="mercurial"> |
310 |
<attribute name="url" value="http://code.nsnam.org/netanim"/> |
|
311 |
</source> |
|
312 |
<build type="make" objdir="no"> |
|
313 |
<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"/> |
|
314 |
</build> |
|
315 |
<depends_on name="qt4" optional="False"/> |
|
316 |
</module> |
|
317 |
||
124
8fe5ba0938c6
Fix for the configuration file and Unrecognized option
daniel
parents:
123
diff
changeset
|
318 |
<module name="ns-3-allinone"> |
8fe5ba0938c6
Fix for the configuration file and Unrecognized option
daniel
parents:
123
diff
changeset
|
319 |
<source type="mercurial"> |
8fe5ba0938c6
Fix for the configuration file and Unrecognized option
daniel
parents:
123
diff
changeset
|
320 |
<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
|
321 |
</source> |
132 | 322 |
<depends_on name="netanim" optional="True"/> |
124
8fe5ba0938c6
Fix for the configuration file and Unrecognized option
daniel
parents:
123
diff
changeset
|
323 |
<depends_on name="nsc" optional="True"/> |
8fe5ba0938c6
Fix for the configuration file and Unrecognized option
daniel
parents:
123
diff
changeset
|
324 |
<depends_on name="pybindgen" optional="True"/> |
8fe5ba0938c6
Fix for the configuration file and Unrecognized option
daniel
parents:
123
diff
changeset
|
325 |
<depends_on name="click" optional="True"/> |
8fe5ba0938c6
Fix for the configuration file and Unrecognized option
daniel
parents:
123
diff
changeset
|
326 |
<depends_on name="openflow-ns3" optional="True"/> |
8fe5ba0938c6
Fix for the configuration file and Unrecognized option
daniel
parents:
123
diff
changeset
|
327 |
<build type="waf" objdir="yes"> |
8fe5ba0938c6
Fix for the configuration file and Unrecognized option
daniel
parents:
123
diff
changeset
|
328 |
<attribute name="configure_arguments" value="configure --prefix=$INSTALLDIR --enable-examples --enable-tests --with-nsclick=$SRCDIR/click --with-pybindgen=$SRCDIR/pybindgen --with-openflow=$SRCDIR/openflow-ns3 --with-nsc=$SRCDIR/nsc"/> |
8fe5ba0938c6
Fix for the configuration file and Unrecognized option
daniel
parents:
123
diff
changeset
|
329 |
</build> |
8fe5ba0938c6
Fix for the configuration file and Unrecognized option
daniel
parents:
123
diff
changeset
|
330 |
</module> |
8fe5ba0938c6
Fix for the configuration file and Unrecognized option
daniel
parents:
123
diff
changeset
|
331 |
|
94 | 332 |
<module name="ns-3-dev"> |
67 | 333 |
<source type="mercurial"> |
334 |
<attribute name="url" value="http://code.nsnam.org/ns-3-dev"/> |
|
335 |
</source> |
|
124
8fe5ba0938c6
Fix for the configuration file and Unrecognized option
daniel
parents:
123
diff
changeset
|
336 |
<build type="waf" objdir="yes"> |
8fe5ba0938c6
Fix for the configuration file and Unrecognized option
daniel
parents:
123
diff
changeset
|
337 |
<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
|
338 |
</build> |
8fe5ba0938c6
Fix for the configuration file and Unrecognized option
daniel
parents:
123
diff
changeset
|
339 |
</module> |
8fe5ba0938c6
Fix for the configuration file and Unrecognized option
daniel
parents:
123
diff
changeset
|
340 |
|
131 | 341 |
<!-- |
124
8fe5ba0938c6
Fix for the configuration file and Unrecognized option
daniel
parents:
123
diff
changeset
|
342 |
<module name="ns-3-16"> |
8fe5ba0938c6
Fix for the configuration file and Unrecognized option
daniel
parents:
123
diff
changeset
|
343 |
<source type="mercurial"> |
8fe5ba0938c6
Fix for the configuration file and Unrecognized option
daniel
parents:
123
diff
changeset
|
344 |
<attribute name="url" value="http://code.nsnam.org/ns-3.16"/> |
8fe5ba0938c6
Fix for the configuration file and Unrecognized option
daniel
parents:
123
diff
changeset
|
345 |
</source> |
132 | 346 |
<depends_on name="netanim" optional="True"/> |
67 | 347 |
<depends_on name="nsc" optional="True"/> |
348 |
<depends_on name="pybindgen" optional="True"/> |
|
94 | 349 |
<depends_on name="click" optional="True"/> |
67 | 350 |
<depends_on name="openflow-ns3" optional="True"/> |
351 |
<build type="waf" objdir="yes"> |
|
131 | 352 |
<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 | 353 |
</build> |
94 | 354 |
</module> |
131 | 355 |
--> |
67 | 356 |
|
357 |
</modules> |
|
358 |
||
359 |
<predefined name="dbg"> |
|
94 | 360 |
<append name="CFLAGS" value="-g"/> |
361 |
<append name="CXXFLAGS" value="-g"/> |
|
115 | 362 |
<configuration objdir="dbg"/> |
363 |
<configuration installdir="build_dbg"/> |
|
67 | 364 |
</predefined> |
115 | 365 |
|
67 | 366 |
<predefined name="opt"> |
367 |
<configuration objdir="opt"/> |
|
115 | 368 |
<configuration installdir="build_opt"/> |
94 | 369 |
<!-- <append name="configure_arguments" value=" -d optimized"/> --> |
370 |
<append name="CFLAGS" value="-O3"/> |
|
371 |
<append name="CXXFLAGS" value="-O3"/> |
|
67 | 372 |
</predefined> |
94 | 373 |
|
374 |
<predefined name="ns3"> |
|
375 |
<enable name="ns-3-dev"/> |
|
376 |
<!-- <configuration installdir="." sourcedir="../source"/> --> |
|
377 |
<append module="ns-3-dev" name="configure_arguments" value="--enable-examples --enable-tests"/> |
|
67 | 378 |
</predefined> |
94 | 379 |
|
104 | 380 |
<predefined name="ns3-min"> |
381 |
<enable name="ns-3-dev"/> |
|
108 | 382 |
<append module="ns-3-dev" name="configure_arguments" value=" --enable-modules=core,network,wifi"/> --> |
104 | 383 |
</predefined> |
384 |
||
67 | 385 |
</configuration> |