2 # Copyright (C) 2000 Jeff Dike (jdike@karaya.com)
3 # Licensed under the GPL
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 \
8 user_syms.o util.o drivers/ sys-$(SUBARCH)/
10 obj-$(CONFIG_MODE_SKAS) += skas/
11 obj-$(CONFIG_TTY_LOG) += tty_log.o
12 user-objs-$(CONFIG_TTY_LOG) += tty_log.o
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 \
16 uaccess.o umid.o util.o
18 elf_aux.o: $(ARCH_DIR)/kernel-offsets.h
19 CFLAGS_elf_aux.o += -I$(objtree)/arch/um
21 CFLAGS_user_syms.o += -DSUBARCH_$(SUBARCH)
23 HAVE_AIO_ABI := $(shell [ -r /usr/include/linux/aio_abi.h ] && \
25 CFLAGS_aio.o += $(HAVE_AIO_ABI)
27 include arch/um/scripts/Makefile.rules