Convert the virtual-net-device module to the new layout

This commit is contained in:
Gustavo J. A. M. Carneiro
2010-10-25 15:13:44 +01:00
parent 69e9c73ab8
commit 5745a8d18c
6 changed files with 6 additions and 3 deletions

View File

@@ -1 +0,0 @@
exec "`dirname "$0"`"/../../waf "$@"

View File

@@ -1,6 +1,8 @@
## -*- Mode: python; py-indent-offset: 4; indent-tabs-mode: nil; coding: utf-8; -*-
def build(bld):
obj = bld.create_ns3_program('virtual-net-device', ['point-to-point', 'internet-stack', 'global-routing',
'virtual-net-device'])
obj.source = 'virtual-net-device.cc'

View File

@@ -4,11 +4,13 @@
def build(bld):
module = bld.create_ns3_module('virtual-net-device', ['node'])
module.source = [
'virtual-net-device.cc',
'model/virtual-net-device.cc',
]
headers = bld.new_task_gen('ns3header')
headers.module = 'virtual-net-device'
headers.source = [
'virtual-net-device.h',
'model/virtual-net-device.h',
]
if bld.env['ENABLE_EXAMPLES']:
bld.add_subdirs('examples')