From f5e48e94a2f4d4bbd6e5628c7f2afafc6dbcc459 Mon Sep 17 00:00:00 2001 From: Ian Moffett Date: Thu, 7 Mar 2024 17:28:52 -0500 Subject: build: Build mlibc + add distclean target Signed-off-by: Ian Moffett --- lib/mlibc/sysdeps/hyra/meson.build | 69 -------------------------------------- 1 file changed, 69 deletions(-) delete mode 100644 lib/mlibc/sysdeps/hyra/meson.build (limited to 'lib/mlibc/sysdeps/hyra/meson.build') diff --git a/lib/mlibc/sysdeps/hyra/meson.build b/lib/mlibc/sysdeps/hyra/meson.build deleted file mode 100644 index 80136db..0000000 --- a/lib/mlibc/sysdeps/hyra/meson.build +++ /dev/null @@ -1,69 +0,0 @@ -rtdl_dso_sources += files( - 'generic/hyra.cpp' -) - -libc_sources += files( - 'generic/entry.cpp', - 'generic/hyra.cpp', -) - -if not no_headers - install_headers( - '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', - 'include/abi-bits/time.h', - 'include/abi-bits/blkcnt_t.h', - 'include/abi-bits/blksize_t.h', - 'include/abi-bits/dev_t.h', - 'include/abi-bits/gid_t.h', - 'include/abi-bits/ino_t.h', - 'include/abi-bits/mode_t.h', - 'include/abi-bits/nlink_t.h', - 'include/abi-bits/pid_t.h', - 'include/abi-bits/uid_t.h', - 'include/abi-bits/access.h', - 'include/abi-bits/wait.h', - 'include/abi-bits/limits.h', - 'include/abi-bits/utsname.h', - 'include/abi-bits/ptrace.h', - 'include/abi-bits/poll.h', - 'include/abi-bits/epoll.h', - 'include/abi-bits/packet.h', - 'include/abi-bits/inotify.h', - 'include/abi-bits/clockid_t.h', - 'include/abi-bits/shm.h', - 'include/abi-bits/mqueue.h', - subdir: 'abi-bits', - follow_symlinks: true - ) - install_headers( - 'include/hyra/syscall.h', - subdir: 'hyra' - ) -endif - -if not headers_only - crt = 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 - -if host_machine.cpu_family() == 'x86_64' - # libc_sources += files('generic/signals.S') -else - error('Unknown architecture') -endif -- cgit v1.2.3