src/node/wscript
author Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
Fri, 27 Jul 2007 08:32:34 +0200
changeset 1163 6951dd034ef0
parent 1161 bb72baff8b26
child 1167 2cb083ff04c6
permissions -rw-r--r--
ipv4-transport-address -> inet-address

## -*- 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
    node.uselib_local = ['ns3-core', 'ns3-common', 'ns3-simulator']
    node.source = [
        'address.cc',
        'eui48-address.cc',
        'inet-address.cc',
        'node.cc',
        'ipv4-address.cc',
        'net-device.cc',
        'llc-snap-header.cc',
        'ipv4-route.cc',
        'queue.cc',
        'drop-tail-queue.cc',
        'channel.cc',
        'node-list.cc',
        'socket.cc',
        'socket-factory.cc',
        'udp.cc',
        'ipv4.cc',
        'application.cc',
        ]
    node.includes = '.'

    headers = bld.create_obj('ns3header')
    headers.source = [
        'address.h',
        'eui48-address.h',
        'inet-address.h',
        'node.h',
        'ipv4-address.h',
        'net-device.h',
        'ipv4-route.h',
        'queue.h',
        'drop-tail-queue.h',
        'llc-snap-header.h',
        'channel.h',
        'node-list.h',
        'socket.h',
        'socket-factory.h',
        'udp.h',
        'ipv4.h',
        'application.h',
        ]