forked from unikraft/lib-musl
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile.uk.musl.mman
36 lines (33 loc) · 1.65 KB
/
Makefile.uk.musl.mman
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
LIBMUSL_MMAN_HDRS-y += $(LIBMUSL)/include/errno.h
LIBMUSL_MMAN_HDRS-y += $(LIBMUSL)/include/fcntl.h
LIBMUSL_MMAN_HDRS-y += $(LIBMUSL)/src/internal/libc.h
LIBMUSL_MMAN_HDRS-y += $(LIBMUSL)/include/limits.h
LIBMUSL_MMAN_HDRS-y += $(LIBMUSL)/include/pthread.h
LIBMUSL_MMAN_HDRS-y += $(LIBMUSL)/include/stdarg.h
LIBMUSL_MMAN_HDRS-y += $(LIBMUSL)/include/stdint.h
LIBMUSL_MMAN_HDRS-y += $(LIBMUSL)/include/string.h
LIBMUSL_MMAN_HDRS-y += $(LIBMUSL)/src/internal/syscall.h
LIBMUSL_MMAN_HDRS-y += $(LIBMUSL)/include/sys/syscall.h
LIBMUSL_MMAN_HDRS-y += $(LIBMUSL)/include/sys/mman.h
LIBMUSL_MMAN_HDRS-y += $(LIBMUSL)/include/unistd.h
# ifeq (arm,$(ARCH))
# LIBMUSL_SIGNAL_HDRS-y += $(LIBMUSL)/arch/arm/syscall_arch.h
# else ifeq (x86_32,$(ARCH))
# LIBMUSL_SIGNAL_HDRS-y += $(LIBMUSL)/arch/i386/syscall_arch.h
# else ifeq (x86_64,$(ARCH))
# LIBMUSL_SIGNAL_HDRS-y += $(LIBMUSL)/arch/x86_64/syscall_arch.h
# endif
LIBMUSL_MMAN_SRCS-y += $(LIBMUSL)/src/mman/madvise.c
LIBMUSL_MMAN_SRCS-y += $(LIBMUSL)/src/mman/mincore.c
LIBMUSL_MMAN_SRCS-y += $(LIBMUSL)/src/mman/mlock.c
LIBMUSL_MMAN_SRCS-y += $(LIBMUSL)/src/mman/mlockall.c
LIBMUSL_MMAN_SRCS-y += $(LIBMUSL)/src/mman/mmap.c
LIBMUSL_MMAN_SRCS-y += $(LIBMUSL)/src/mman/mprotect.c
LIBMUSL_MMAN_SRCS-y += $(LIBMUSL)/src/mman/mremap.c
LIBMUSL_MMAN_SRCS-y += $(LIBMUSL)/src/mman/msync.c
LIBMUSL_MMAN_SRCS-y += $(LIBMUSL)/src/mman/munlock.c
LIBMUSL_MMAN_SRCS-y += $(LIBMUSL)/src/mman/munlockall.c
LIBMUSL_MMAN_SRCS-y += $(LIBMUSL)/src/mman/munmap.c
LIBMUSL_MMAN_SRCS-y += $(LIBMUSL)/src/mman/posix_madvise.c
LIBMUSL_MMAN_SRCS-y += $(LIBMUSL)/src/mman/shm_open.c
$(eval $(call _libmusl_import_lib,mman,$(LIBMUSL_MMAN_HDRS-y),$(LIBMUSL_MMAN_SRCS-y)))