Austin Schuh | 35a2f49 | 2021-04-07 21:41:56 -0700 | [diff] [blame^] | 1 | sources += files([ |
2 | 'if.c', | ||||
3 | 'net.c', | ||||
4 | 'netstr.c', | ||||
5 | 'rt.c', | ||||
6 | 'sock.c', | ||||
7 | 'sockopt.c', | ||||
8 | ]) | ||||
9 | |||||
10 | if system == 'windows' | ||||
11 | sources += files('win32/wif.c') | ||||
12 | else | ||||
13 | sources += files('posix/pif.c') | ||||
14 | endif | ||||
15 | |||||
16 | if configuration.has('HAVE_ROUTE_LIST') | ||||
17 | if system == 'linux' | ||||
18 | sources += files('linux/rt.c') | ||||
19 | else | ||||
20 | sources += files('bsd/brt.c') | ||||
21 | endif | ||||
22 | endif | ||||
23 | |||||
24 | if configuration.has('HAVE_GETIFADDRS') | ||||
25 | sources += files('ifaddrs.c') | ||||
26 | endif |