WAF: add obj.includes = '.' to command waf to do dependency tracking on private header files.

This commit is contained in:
Gustavo J. A. M. Carneiro
2007-07-20 11:12:43 +01:00
parent fa26073882
commit 57688559b1
7 changed files with 10 additions and 0 deletions

View File

@@ -8,6 +8,7 @@ def build(bld):
obj.source = [
'onoff-application.cc',
]
obj.includes = '.'
headers = bld.create_obj('ns3header')
headers.source = [

View File

@@ -24,6 +24,8 @@ def build(bld):
'trace-root.cc',
'data-rate.cc',
]
common.includes = '.'
headers = bld.create_obj('ns3header')
headers.source = [
'buffer.h',

View File

@@ -38,6 +38,7 @@ def build(bld):
'type-name.cc',
'component-manager.cc',
]
core.includes = '.'
if sys.platform == 'win32':
core.source.extend([

View File

@@ -11,6 +11,8 @@ def build(bld):
'p2p-channel.cc',
'p2p-topology.cc',
]
p2p.includes = '.'
headers = bld.create_obj('ns3header')
headers.source = [
'p2p-net-device.h',

View File

@@ -34,6 +34,7 @@ def build(bld):
'pcap-trace.cc',
'udp-impl.cc',
]
obj.includes = '.'
headers = bld.create_obj('ns3header')
headers.source = [

View File

@@ -22,6 +22,7 @@ def build(bld):
'ipv4.cc',
'application.cc',
]
node.includes = '.'
headers = bld.create_obj('ns3header')
headers.source = [

View File

@@ -64,6 +64,8 @@ def build(bld):
'event-impl.cc',
'simulator.cc',
]
sim.includes = '.'
headers = bld.create_obj('ns3header')
headers.source = [
'high-precision.h',