Files
unison/src/core/wscript

107 lines
2.4 KiB
Plaintext
Raw Normal View History

2007-05-07 12:01:51 +01:00
## -*- Mode: python; py-indent-offset: 4; indent-tabs-mode: nil; coding: utf-8; -*-
import sys
def configure(conf):
e = conf.create_header_configurator()
e.mandatory = False
e.name = 'stdlib.h'
e.define = 'HAVE_STDLIB_H'
e.run()
e = conf.create_header_configurator()
e.mandatory = False
e.name = 'stdlib.h'
e.define = 'HAVE_GETENV'
e.run()
2007-08-02 13:59:08 +01:00
e = conf.create_header_configurator()
e.mandatory = False
e.name = 'signal.h'
e.define = 'HAVE_SIGNAL_H'
e.run()
2007-05-07 12:01:51 +01:00
conf.write_config_header('ns3/core-config.h')
def build(bld):
core = bld.create_ns3_module('core')
2007-05-07 12:01:51 +01:00
core.source = [
'callback-test.cc',
2007-09-12 16:24:31 -07:00
'log.cc',
2007-08-02 13:59:08 +01:00
'breakpoint.cc',
2008-01-30 17:25:06 +01:00
'object-base.cc',
2007-05-07 12:01:51 +01:00
'ptr.cc',
'object.cc',
'test.cc',
'random-variable.cc',
'rng-stream.cc',
'uid-manager.cc',
'command-line.cc',
'type-name.cc',
'type-traits-test.cc',
2008-02-20 21:45:42 +01:00
'attribute.cc',
2008-02-21 18:57:34 +01:00
'boolean.cc',
2008-02-21 18:46:48 +01:00
'attribute-test.cc',
2008-02-21 19:04:18 +01:00
'integer.cc',
2008-02-21 19:09:05 +01:00
'uinteger.cc',
2008-02-21 19:16:00 +01:00
'enum.cc',
2008-02-21 19:13:39 +01:00
'double.cc',
'string.cc',
'object-factory.cc',
2008-02-11 04:26:09 +01:00
'object-vector.cc',
2008-02-23 05:23:59 +01:00
'global-value.cc',
'traced-callback.cc',
'trace-source-accessor.cc',
'config.cc',
2007-05-07 12:01:51 +01:00
]
if sys.platform == 'win32':
core.source.extend([
'win32-system-wall-clock-ms.cc',
])
else:
core.source.extend([
'unix-system-wall-clock-ms.cc',
])
headers = bld.create_obj('ns3header')
headers.module = 'core'
2007-05-07 12:01:51 +01:00
headers.source = [
'system-wall-clock-ms.h',
'empty.h',
2007-05-07 12:01:51 +01:00
'callback.h',
2008-01-30 17:25:06 +01:00
'object-base.h',
2007-05-07 12:01:51 +01:00
'ptr.h',
'object.h',
2007-09-12 16:24:31 -07:00
'log.h',
2007-05-07 12:01:51 +01:00
'assert.h',
2007-08-02 13:59:08 +01:00
'breakpoint.h',
2007-05-07 12:01:51 +01:00
'fatal-error.h',
'test.h',
'random-variable.h',
'rng-stream.h',
'command-line.h',
'type-name.h',
2007-07-23 14:41:34 +02:00
'type-traits.h',
'int-to-type.h',
2008-02-20 21:45:42 +01:00
'attribute.h',
'attribute-accessor-helper.h',
2008-02-21 18:57:34 +01:00
'boolean.h',
2008-02-21 19:04:18 +01:00
'integer.h',
2008-02-21 19:09:05 +01:00
'uinteger.h',
2008-02-21 19:13:39 +01:00
'double.h',
2008-02-21 19:16:00 +01:00
'enum.h',
'string.h',
'object-factory.h',
2008-02-21 18:54:02 +01:00
'attribute-helper.h',
2008-02-23 05:23:59 +01:00
'global-value.h',
'traced-callback.h',
'traced-value.h',
'trace-source-accessor.h',
'config.h',
2008-02-26 18:03:44 +01:00
'object-vector.h',
2007-05-07 12:01:51 +01:00
]