summaryrefslogtreecommitdiffstats
path: root/src/network/meson.build
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2019-10-30 09:02:15 +0100
committerYu Watanabe <watanabe.yu+github@gmail.com>2019-10-30 14:23:43 +0100
commit737f14054649db6bec5d73108db0675fe3fec3d1 (patch)
tree7d8cfb5781188762f265f63a4129349d7fb6a80f /src/network/meson.build
parentMerge pull request #13870 from irtimmer/check_ip_gnutls (diff)
downloadsystemd-737f14054649db6bec5d73108db0675fe3fec3d1.tar.xz
systemd-737f14054649db6bec5d73108db0675fe3fec3d1.zip
network: cleanup header inclusion
Diffstat (limited to 'src/network/meson.build')
-rw-r--r--src/network/meson.build21
1 files changed, 13 insertions, 8 deletions
diff --git a/src/network/meson.build b/src/network/meson.build
index 06b6ec64a2..d502279151 100644
--- a/src/network/meson.build
+++ b/src/network/meson.build
@@ -131,7 +131,7 @@ network_generator_sources = files('''
generator/network-generator.h
'''.split())
-network_include_dir = include_directories('.')
+network_include_dir = [includes, include_directories(['.', 'netdev', 'tc'])]
if conf.get('ENABLE_NETWORKD') == 1
networkd_gperf_c = custom_target(
@@ -159,7 +159,7 @@ if conf.get('ENABLE_NETWORKD') == 1
networkd_gperf_c,
networkd_network_gperf_c,
netdev_gperf_c,
- include_directories : includes,
+ include_directories : network_include_dir,
link_with : [libshared])
install_data('org.freedesktop.network1.conf',
@@ -187,7 +187,9 @@ if conf.get('ENABLE_NETWORKD') == 1
libudev_static,
libsystemd_network,
libshared],
- [threads]],
+ [threads],
+ [],
+ network_include_dir],
[['src/network/fuzz-network-parser.c',
'src/fuzz/fuzz.h'],
@@ -195,7 +197,9 @@ if conf.get('ENABLE_NETWORKD') == 1
libudev_static,
libsystemd_network,
libshared],
- [threads]]
+ [threads],
+ [],
+ network_include_dir],
]
tests += [
@@ -203,20 +207,21 @@ if conf.get('ENABLE_NETWORKD') == 1
[libnetworkd_core,
libsystemd_network,
libudev],
- []],
+ [], '', '', [], network_include_dir],
[['src/network/test-network.c'],
[libnetworkd_core,
libudev_static,
libsystemd_network,
libshared],
- [threads]],
+ [threads],
+ '', '', [], network_include_dir],
[['src/network/test-routing-policy-rule.c'],
[libnetworkd_core,
libsystemd_network,
libudev],
- []],
+ [], '', '', [], network_include_dir],
[['src/network/test-network-tables.c',
test_tables_h],
@@ -233,6 +238,6 @@ if conf.get('ENABLE_NETWORKD') == 1
'src/network/generator/network-generator.c',
'src/network/generator/network-generator.h'],
[libshared],
- []],
+ [], '', '', [], network_include_dir],
]
endif