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