Makefile 802 字节
Newer Older
L
Linus Torvalds 已提交
1 2 3 4 5 6
#
# Copyright 2003 PathScale, Inc.
#
# Licensed under the GPL
#

7
#XXX: why into lib-y?
8
lib-y = bitops.o bugs.o csum-partial.o delay.o fault.o ldt.o mem.o memcpy.o \
9
	ptrace.o ptrace_user.o sigcontext.o signal.o stub.o \
10
	stub_segv.o syscalls.o syscall_table.o sysrq.o thunk.o
L
Linus Torvalds 已提交
11

12 13 14
obj-y := ksyms.o
obj-$(CONFIG_MODULES) += module.o um_module.o

L
Linus Torvalds 已提交
15 16
USER_OBJS := ptrace_user.o sigcontext.o

17
SYMLINKS = bitops.c csum-copy.S csum-partial.c csum-wrappers.c ldt.c memcpy.S \
18
	thunk.S module.c
L
Linus Torvalds 已提交
19

20 21
include arch/um/scripts/Makefile.rules

L
Linus Torvalds 已提交
22 23 24 25
bitops.c-dir = lib
csum-copy.S-dir = lib
csum-partial.c-dir = lib
csum-wrappers.c-dir = lib
26
ldt.c-dir = /arch/um/sys-i386
L
Linus Torvalds 已提交
27 28
memcpy.S-dir = lib
thunk.S-dir = lib
29
module.c-dir = kernel
L
Linus Torvalds 已提交
30

A
Al Viro 已提交
31
$(obj)/stub_segv.o: _c_flags = $(call unprofile,$(CFLAGS))
32

33
include arch/um/scripts/Makefile.unmap