ftp://ftp.kernel.org/pub/linux/kernel/v2.6/linux-2.6.6.tar.bz2
[linux-2.6.git] / arch / um / kernel / skas / Makefile
1
2 # Copyright (C) 2002 Jeff Dike (jdike@karaya.com)
3 # Licensed under the GPL
4 #
5
6 obj-y = exec_kern.o exec_user.o mem.o mem_user.o mmu.o process.o \
7         process_kern.o syscall_kern.o syscall_user.o time.o tlb.o trap_user.o \
8         sys-$(SUBARCH)/
9
10 USER_OBJS = $(filter %_user.o,$(obj-y)) process.o time.o
11 USER_OBJS := $(foreach file,$(USER_OBJS),$(obj)/$(file))
12
13 include/skas_ptregs.h : util/mk_ptregs
14         util/mk_ptregs > $@
15
16 util/mk_ptregs :
17         $(MAKE) -C util
18
19 $(USER_OBJS) : %.o: %.c
20         $(CC) $(CFLAGS_$(notdir $@)) $(USER_CFLAGS) -c -o $@ $<
21
22 clean :
23         $(MAKE) -C util clean
24         $(RM) -f include/skas_ptregs.h