| 1 | bsd_syscall_nr = custom_target('bsd-syscall-h', |
| 2 | output: '@BASENAME@_nr.h', |
| 3 | input: ['/usr/include/sys/syscall.h'], |
| 4 | command: [sh, meson.current_source_dir() / 'scripts/syscallhdr.sh', '@INPUT@', '@OUTPUT@', 'FREEBSD']) |
| 5 | |
| 6 | bsd_user_ss.add(files( |
| 7 | 'os-stat.c', |
| 8 | 'os-proc.c', |
| 9 | 'os-sys.c', |
| 10 | 'os-syscall.c'), |
| 11 | bsd_syscall_nr |
| 12 | ) |