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 \
10 syscalls.o sysrq.o thunk.o syscall_table.o
13 obj-$(CONFIG_MODULES) += module.o um_module.o
15 USER_OBJS := ptrace_user.o sigcontext.o
17 include arch/um/scripts/Makefile.rules
19 SYMLINKS = bitops.c csum-copy.S csum-partial.c csum-wrappers.c memcpy.S \
20 semaphore.c thunk.S module.c
22 # this needs to be before the foreach, because clean-files does not accept
23 # complete paths like $(src)/$f.
24 clean-files := $(SYMLINKS)
26 targets += $(SYMLINKS)
28 SYMLINKS := $(foreach f,$(SYMLINKS),$(obj)/$f)
32 csum-partial.c-dir = lib
33 csum-wrappers.c-dir = lib
35 semaphore.c-dir = kernel
40 $(call if_changed,make_link)
42 CFLAGS_csum-partial.o := -Dcsum_partial=arch_csum_partial