merge with trunk

This commit is contained in:
Mathieu Lacage committed 2007-10-01 15:41:19 +02:00
commit 7bbb64a151
233 files changed
+13388 -4576

No files matched your search

+6 -12
View File
@@ -18,7 +18,9 @@ all_modules = (
'internet-node',
'devices/point-to-point',
'devices/csma',
'applications',
'applications/onoff',
'applications/packet-sink',
'applications/udp-echo',
'routing/global-routing',
'mobility',
'devices/wifi',
@@ -40,11 +42,9 @@ def configure(conf):
conf.sub_config('simulator')
blddir = os.path.abspath(os.path.join(conf.m_blddir, conf.env.variant()))
conf.env['NS3_MODULE_PATH'] = [os.path.join(blddir, 'src')]
for module in all_modules:
module_path = os.path.join(blddir, 'src', module)
if Params.g_options.enable_rpath:
conf.env.append_value('RPATH', '-Wl,-rpath=%s' % (module_path,))
conf.env['NS3_MODULE_PATH'] = [os.path.join(blddir)]
if Params.g_options.enable_rpath:
conf.env.append_value('RPATH', '-Wl,-rpath=%s' % (os.path.join(blddir),))
## Used to link the 'run-tests' program with all of ns-3 code
conf.env['NS3_MODULES'] = ['ns3-' + module.split('/')[-1] for module in all_modules]
@@ -65,12 +65,6 @@ def build(bld):
bld.add_subdirs(list(all_modules))
## Create a single ns3 library containing all modules
lib = bld.create_obj('cpp', 'shlib')
lib.name = 'ns3'
lib.target = 'ns3'
lib.add_objects = list(bld.env_of_name('default')['NS3_MODULES'])
class Ns3Header(Object.genobj):
"""A set of NS-3 header files"""