1 # SPDX-License-Identifier: LGPL-2.1+
46 networkd-address-label.c
47 networkd-address-label.h
48 networkd-address-pool.c
49 networkd-address-pool.h
63 networkd-ipv6-proxy-ndp.c
64 networkd-ipv6-proxy-ndp.h
72 networkd-manager-bus.c
81 networkd-network-bus.c
86 networkd-routing-policy-rule.c
87 networkd-routing-policy-rule.h
92 systemd_networkd_sources = files('networkd.c')
94 systemd_networkd_wait_online_sources = files('''
99 wait-online/wait-online.c
100 '''.split()) + network_internal_h
102 networkctl_sources = files('networkctl.c')
104 network_include_dir = include_directories('.')
106 if conf.get('ENABLE_NETWORKD') == 1
107 networkd_gperf_c = custom_target(
109 input : 'networkd-gperf.gperf',
110 output : 'networkd-gperf.c',
111 command : [gperf, '@INPUT@', '--output-file', '@OUTPUT@'])
113 networkd_network_gperf_c = custom_target(
114 'networkd-network-gperf.c',
115 input : 'networkd-network-gperf.gperf',
116 output : 'networkd-network-gperf.c',
117 command : [gperf, '@INPUT@', '--output-file', '@OUTPUT@'])
119 netdev_gperf_c = custom_target(
121 input : 'netdev/netdev-gperf.gperf',
122 output : 'netdev-gperf.c',
123 command : [gperf, '@INPUT@', '--output-file', '@OUTPUT@'])
125 libnetworkd_core = static_library(
130 networkd_network_gperf_c,
132 include_directories : includes,
133 link_with : [libshared])
135 install_data('org.freedesktop.network1.conf',
136 install_dir : dbuspolicydir)
137 install_data('org.freedesktop.network1.service',
138 install_dir : dbussystemservicedir)
140 install_data('systemd-networkd.rules',
141 install_dir : polkitrulesdir)
143 if install_polkit_pkla
144 install_data('systemd-networkd.pkla',
145 install_dir : polkitpkladir)
148 install_data('networkd.conf',
149 install_dir : pkgsysconfdir)
152 [['src/network/fuzz-netdev-parser.c',
160 [['src/network/fuzz-network-parser.c',
170 [['src/network/test-networkd-conf.c'],
176 [['src/network/test-network.c'],
183 [['src/network/test-routing-policy-rule.c'],
189 [['src/network/test-network-tables.c',
190 'src/network/test-network-tables.c',
199 [network_include_dir] + libudev_core_includes],