2 # Copyright 2003 PathScale, Inc.
4 # Licensed under the GPL
8 lib-y
= bitops.o bugs.o csum-partial.o delay.o fault.o mem.o memcpy.o \
9 ptrace.o ptrace_user.o semaphore.o sigcontext.o signal.o stub.o \
10 stub_segv.o syscalls.o syscall_table.o sysrq.o thunk.o
13 obj-
$(CONFIG_MODULES
) += module.o um_module.o
15 USER_OBJS
:= ptrace_user.o sigcontext.o
17 SYMLINKS
= bitops.c csum-copy.S csum-partial.c csum-wrappers.c memcpy.S \
18 semaphore.c thunk.S module.c
20 include arch
/um
/scripts
/Makefile.rules
24 csum-partial.c-dir
= lib
25 csum-wrappers.c-dir
= lib
27 semaphore.c-dir
= kernel
31 STUB_CFLAGS
= -Wp
,-MD
,$(depfile
) $(call unprofile
,$(USER_CFLAGS
))
33 # _cflags works with kernel files, not with userspace ones, but c_flags does,
35 $(obj
)/stub_segv.o
: c_flags
= $(STUB_CFLAGS
)
37 $(obj
)/stub.o
: a_flags
= $(STUB_CFLAGS
)
41 include arch
/um
/scripts
/Makefile.unmap