src/node/wscript
author Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
Mon, 04 Jun 2007 16:21:05 +0200
changeset 729 b5e744285e92
parent 621 4ef52d1d89f3
child 760 975a88259e2e
permissions -rw-r--r--
rename i-node to node

## -*- 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 = [
        'node.cc',
        'ipv4-address.cc',
        'net-device.cc',
        'mac-address.cc',
        'llc-snap-header.cc',
        'ipv4-route.cc',
        'queue.cc',
        'drop-tail.cc',
        'channel.cc',
        'node-list.cc',
        'socket.cc',
        'i-socket-factory.cc',
        'i-udp.cc',
        'i-ipv4.cc',
        'application.cc',
        ]

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