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
68 networkd-manager-bus.c
77 networkd-network-bus.c
82 networkd-routing-policy-rule.c
83 networkd-routing-policy-rule.h
88 systemd_networkd_sources = files('networkd.c')
90 systemd_networkd_wait_online_sources = files('''
95 wait-online/wait-online.c
96 '''.split()) + network_internal_h
98 networkctl_sources = files('networkctl.c')
100 network_include_dir = include_directories('.')
102 if conf.get('ENABLE_NETWORKD') == 1
103 networkd_gperf_c = custom_target(
105 input : 'networkd-gperf.gperf',
106 output : 'networkd-gperf.c',
107 command : [gperf, '@INPUT@', '--output-file', '@OUTPUT@'])
109 networkd_network_gperf_c = custom_target(
110 'networkd-network-gperf.c',
111 input : 'networkd-network-gperf.gperf',
112 output : 'networkd-network-gperf.c',
113 command : [gperf, '@INPUT@', '--output-file', '@OUTPUT@'])
115 netdev_gperf_c = custom_target(
117 input : 'netdev/netdev-gperf.gperf',
118 output : 'netdev-gperf.c',
119 command : [gperf, '@INPUT@', '--output-file', '@OUTPUT@'])
121 libnetworkd_core = static_library(
126 networkd_network_gperf_c,
128 include_directories : includes,
129 link_with : [libshared])
131 install_data('org.freedesktop.network1.conf',
132 install_dir : dbuspolicydir)
133 install_data('org.freedesktop.network1.service',
134 install_dir : dbussystemservicedir)
136 install_data('systemd-networkd.rules',
137 install_dir : polkitrulesdir)
139 if install_polkit_pkla
140 install_data('systemd-networkd.pkla',
141 install_dir : polkitpkladir)
144 install_data('networkd.conf',
145 install_dir : pkgsysconfdir)
148 [['src/network/fuzz-netdev-parser.c',
156 [['src/network/fuzz-network-parser.c',
166 [['src/network/test-networkd-conf.c'],
172 [['src/network/test-network.c'],
179 [['src/network/test-routing-policy-rule.c'],
185 [['src/network/test-network-tables.c',
186 'src/network/test-network-tables.c',
195 [network_include_dir] + libudev_core_includes],