1 # SPDX-License-Identifier: LGPL-2.1+
44 networkd-address-label.c
45 networkd-address-label.h
46 networkd-address-pool.c
47 networkd-address-pool.h
59 networkd-ipv6-proxy-ndp.c
60 networkd-ipv6-proxy-ndp.h
66 networkd-manager-bus.c
75 networkd-network-bus.c
80 networkd-routing-policy-rule.c
81 networkd-routing-policy-rule.h
86 systemd_networkd_sources = files('networkd.c')
88 systemd_networkd_wait_online_sources = files('''
93 wait-online/wait-online.c
94 '''.split()) + network_internal_h
96 networkctl_sources = files('networkctl.c')
98 network_include_dir = include_directories('.')
100 if conf.get('ENABLE_NETWORKD') == 1
101 networkd_gperf_c = custom_target(
103 input : 'networkd-gperf.gperf',
104 output : 'networkd-gperf.c',
105 command : [gperf, '@INPUT@', '--output-file', '@OUTPUT@'])
107 networkd_network_gperf_c = custom_target(
108 'networkd-network-gperf.c',
109 input : 'networkd-network-gperf.gperf',
110 output : 'networkd-network-gperf.c',
111 command : [gperf, '@INPUT@', '--output-file', '@OUTPUT@'])
113 netdev_gperf_c = custom_target(
115 input : 'netdev/netdev-gperf.gperf',
116 output : 'netdev-gperf.c',
117 command : [gperf, '@INPUT@', '--output-file', '@OUTPUT@'])
119 libnetworkd_core = static_library(
124 networkd_network_gperf_c,
126 include_directories : includes,
127 link_with : [libshared])
129 install_data('org.freedesktop.network1.conf',
130 install_dir : dbuspolicydir)
131 install_data('org.freedesktop.network1.service',
132 install_dir : dbussystemservicedir)
134 install_data('systemd-networkd.rules',
135 install_dir : polkitrulesdir)
137 if install_polkit_pkla
138 install_data('systemd-networkd.pkla',
139 install_dir : polkitpkladir)
142 install_data('networkd.conf',
143 install_dir : pkgsysconfdir)
146 [['src/network/fuzz-netdev-parser.c',
154 [['src/network/fuzz-network-parser.c',
164 [['src/network/test-networkd-conf.c'],
170 [['src/network/test-network.c'],
177 [['src/network/test-routing-policy-rule.c'],
183 [['src/network/test-network-tables.c',
184 'src/network/test-network-tables.c',
193 [network_include_dir] + libudev_core_includes],