src/helper/wscript
changeset 5776 aae948449722
parent 5708 55abd6e61f17
child 5781 2557c340ea15
equal deleted inserted replaced
5775:86ff2e00d4ea 5776:aae948449722
    39         'ipv6-static-routing-helper.cc',
    39         'ipv6-static-routing-helper.cc',
    40         'ipv6-list-routing-helper.cc',
    40         'ipv6-list-routing-helper.cc',
    41         'ipv6-routing-helper.cc',
    41         'ipv6-routing-helper.cc',
    42         'ping6-helper.cc',
    42         'ping6-helper.cc',
    43         'flow-monitor-helper.cc',
    43         'flow-monitor-helper.cc',
       
    44         'animation-interface.cc',
       
    45         'canvas-location.cc',
       
    46         'point-to-point-dumbbell-helper.cc',
       
    47         'point-to-point-grid-helper.cc',
       
    48         'point-to-point-star-helper.cc',
       
    49         'csma-star-helper.cc',
    44         ]
    50         ]
    45 
    51 
    46     headers = bld.new_task_gen('ns3header')
    52     headers = bld.new_task_gen('ns3header')
    47     headers.module = 'helper'
    53     headers.module = 'helper'
    48     headers.source = [
    54     headers.source = [
    83         'ipv6-static-routing-helper.h',
    89         'ipv6-static-routing-helper.h',
    84         'ipv6-list-routing-helper.h',
    90         'ipv6-list-routing-helper.h',
    85         'ipv6-routing-helper.h',
    91         'ipv6-routing-helper.h',
    86         'ping6-helper.h',
    92         'ping6-helper.h',
    87         'flow-monitor-helper.h',
    93         'flow-monitor-helper.h',
       
    94         'animation-interface.h',
       
    95         'canvas-location.h',
       
    96         'point-to-point-dumbbell-helper.h',
       
    97         'point-to-point-grid-helper.h',
       
    98         'point-to-point-star-helper.h',
       
    99         'csma-star-helper.h',
    88         ]
   100         ]
    89 
   101 
    90     env = bld.env_of_name('default')
   102     env = bld.env_of_name('default')
    91     if env['ENABLE_EMU']:
   103     if env['ENABLE_EMU']:
    92         helper.source.extend([
   104         helper.source.extend([
   101                 ])
   113                 ])
   102         headers.source.extend([
   114         headers.source.extend([
   103                 'tap-bridge-helper.h',
   115                 'tap-bridge-helper.h',
   104                 ])
   116                 ])
   105 
   117 
       
   118 def configure(conf):
       
   119     conf.check(header_name='sys/socket.h', define_name='HAVE_SYS_SOCKET_H')
       
   120     conf.check(header_name='netinet/in.h', define_name='HAVE_NETINET_IN_H')
       
   121     conf.write_config_header('ns3/net-anim-config.h', top=True)
       
   122