2007-05-07 12:01:51 +01:00
|
|
|
## -*- Mode: python; py-indent-offset: 4; indent-tabs-mode: nil; coding: utf-8; -*-
|
|
|
|
|
|
|
|
|
|
def build(bld):
|
|
|
|
|
node = bld.create_obj('cpp', 'shlib')
|
|
|
|
|
node.name = 'ns3-node'
|
|
|
|
|
node.target = node.name
|
2007-05-13 12:46:18 +01:00
|
|
|
node.uselib_local = ['ns3-core', 'ns3-common', 'ns3-simulator']
|
2007-05-07 12:01:51 +01:00
|
|
|
node.source = [
|
2007-06-04 16:21:05 +02:00
|
|
|
'node.cc',
|
2007-05-07 12:01:51 +01:00
|
|
|
'ipv4-address.cc',
|
|
|
|
|
'net-device.cc',
|
|
|
|
|
'mac-address.cc',
|
|
|
|
|
'llc-snap-header.cc',
|
|
|
|
|
'ipv4-route.cc',
|
|
|
|
|
'queue.cc',
|
2007-06-12 14:05:01 +01:00
|
|
|
'drop-tail-queue.cc',
|
2007-05-07 12:01:51 +01:00
|
|
|
'channel.cc',
|
|
|
|
|
'node-list.cc',
|
|
|
|
|
'socket.cc',
|
2007-06-12 14:05:01 +01:00
|
|
|
'socket-factory.cc',
|
|
|
|
|
'udp.cc',
|
|
|
|
|
'ipv4.cc',
|
2007-05-13 12:52:38 +01:00
|
|
|
'application.cc',
|
2007-05-07 12:01:51 +01:00
|
|
|
]
|
2007-07-20 11:12:43 +01:00
|
|
|
node.includes = '.'
|
2007-05-07 12:01:51 +01:00
|
|
|
|
|
|
|
|
headers = bld.create_obj('ns3header')
|
|
|
|
|
headers.source = [
|
2007-06-04 16:21:05 +02:00
|
|
|
'node.h',
|
2007-05-07 12:01:51 +01:00
|
|
|
'ipv4-address.h',
|
|
|
|
|
'net-device.h',
|
|
|
|
|
'mac-address.h',
|
|
|
|
|
'ipv4-route.h',
|
|
|
|
|
'queue.h',
|
2007-06-12 14:05:01 +01:00
|
|
|
'drop-tail-queue.h',
|
2007-05-07 12:01:51 +01:00
|
|
|
'llc-snap-header.h',
|
|
|
|
|
'channel.h',
|
|
|
|
|
'node-list.h',
|
|
|
|
|
'socket.h',
|
2007-06-12 14:05:01 +01:00
|
|
|
'socket-factory.h',
|
|
|
|
|
'udp.h',
|
|
|
|
|
'ipv4.h',
|
2007-05-13 12:52:38 +01:00
|
|
|
'application.h',
|
2007-05-07 12:01:51 +01:00
|
|
|
]
|