30 networkd-address-label.c
31 networkd-address-label.h
32 networkd-address-pool.c
33 networkd-address-pool.h
45 networkd-ipv6-proxy-ndp.c
46 networkd-ipv6-proxy-ndp.h
52 networkd-manager-bus.c
59 networkd-network-bus.c
64 networkd-routing-policy-rule.c
65 networkd-routing-policy-rule.h
70 systemd_networkd_sources = files('networkd.c')
72 systemd_networkd_wait_online_sources = files('''
77 wait-online/wait-online.c
78 '''.split()) + network_internal_h
80 networkctl_sources = files('networkctl.c')
82 network_include_dir = include_directories('.')
84 if conf.get('ENABLE_NETWORKD') == 1
85 networkd_gperf_c = custom_target(
87 input : 'networkd-gperf.gperf',
88 output : 'networkd-gperf.c',
89 command : [gperf, '@INPUT@', '--output-file', '@OUTPUT@'])
91 networkd_network_gperf_c = custom_target(
92 'networkd-network-gperf.c',
93 input : 'networkd-network-gperf.gperf',
94 output : 'networkd-network-gperf.c',
95 command : [gperf, '@INPUT@', '--output-file', '@OUTPUT@'])
97 netdev_gperf_c = custom_target(
99 input : 'netdev/netdev-gperf.gperf',
100 output : 'netdev-gperf.c',
101 command : [gperf, '@INPUT@', '--output-file', '@OUTPUT@'])
103 libnetworkd_core = static_library(
108 networkd_network_gperf_c,
110 include_directories : includes,
111 link_with : [libshared])
113 install_data('org.freedesktop.network1.conf',
114 install_dir : dbuspolicydir)
115 install_data('org.freedesktop.network1.service',
116 install_dir : dbussystemservicedir)
118 install_data('systemd-networkd.rules',
119 install_dir : polkitrulesdir)
121 if install_polkit_pkla
122 install_data('systemd-networkd.pkla',
123 install_dir : polkitpkladir)
127 [['src/network/test-networkd-conf.c'],
133 [['src/network/test-network.c'],
140 [['src/network/test-network-tables.c',
141 'src/network/test-network-tables.c',
150 [network_include_dir] + libudev_core_includes],