Pull novell-bugzilla-156426 into release branch
[linux-2.6] / arch / um / os-Linux / Makefile
1
2 # Copyright (C) 2000 Jeff Dike (jdike@karaya.com)
3 # Licensed under the GPL
4 #
5
6 obj-y = aio.o elf_aux.o file.o helper.o irq.o main.o mem.o process.o sigio.o \
7         signal.o start_up.o time.o trap.o tt.o tty.o uaccess.o umid.o tls.o \
8         user_syms.o util.o drivers/ sys-$(SUBARCH)/
9
10 obj-$(CONFIG_MODE_SKAS) += skas/
11 obj-$(CONFIG_TTY_LOG) += tty_log.o
12 user-objs-$(CONFIG_TTY_LOG) += tty_log.o
13
14 USER_OBJS := $(user-objs-y) aio.o elf_aux.o file.o helper.o irq.o main.o mem.o \
15         process.o sigio.o signal.o start_up.o time.o trap.o tt.o tty.o tls.o \
16         uaccess.o umid.o util.o
17
18 CFLAGS_user_syms.o += -DSUBARCH_$(SUBARCH)
19
20 HAVE_AIO_ABI := $(shell [ -r /usr/include/linux/aio_abi.h ] && \
21         echo -DHAVE_AIO_ABI )
22 CFLAGS_aio.o += $(HAVE_AIO_ABI)
23
24 include arch/um/scripts/Makefile.rules