mlibc/sysdeps/lemon/meson.build

48 lines
985 B
Meson
Raw Normal View History

2020-02-13 12:19:28 +01:00
rtdl_sources += files(
'generic/filesystem.cpp',
'generic/lemon.cpp',
2020-02-13 12:19:28 +01:00
)
libc_sources += files(
'generic/filesystem.cpp',
'generic/lemon.cpp',
'generic/sockets.cpp',
'generic/entry.cpp',
2020-02-13 12:19:28 +01:00
)
if not no_headers
install_headers(
'include/abi-bits/abi.h',
'include/abi-bits/auxv.h',
'include/abi-bits/seek-whence.h',
'include/abi-bits/vm-flags.h',
'include/abi-bits/errno.h',
'include/abi-bits/fcntl.h',
'include/abi-bits/in.h',
'include/abi-bits/resource.h',
'include/abi-bits/signal.h',
'include/abi-bits/stat.h',
'include/abi-bits/socket.h',
'include/abi-bits/termios.h',
2020-06-15 20:27:40 +02:00
'include/abi-bits/time.h',
2020-02-13 12:19:28 +01:00
subdir: 'abi-bits'
)
install_headers(
'include/lemon/syscall.h',
subdir: 'lemon'
)
endif
if not headers_only
custom_target('crt0',
build_by_default: true,
command: c_compiler.cmd_array() + ['-c', '-o', '@OUTPUT@', '@INPUT@'],
input: 'crt-x86_64/crt0.S',
output: 'crt0.o',
install: true,
install_dir: get_option('libdir')
)
endif