11d2ca446SJason JinX86DIR  = x86emu
2ece92f85SJason Jin
31d2ca446SJason Jin$(shell mkdir -p $(obj)$(X86DIR))
41d2ca446SJason Jin
5*7b6af41eSMasahiro Yamadaobj-y = atibios.o biosemu.o besys.o bios.o \
6ece92f85SJason Jin	$(X86DIR)/decode.o \
7ece92f85SJason Jin	$(X86DIR)/ops2.o \
8ece92f85SJason Jin	$(X86DIR)/ops.o \
9ece92f85SJason Jin	$(X86DIR)/prim_ops.o \
10ece92f85SJason Jin	$(X86DIR)/sys.o \
11ece92f85SJason Jin	$(X86DIR)/debug.o
12ece92f85SJason Jin
131d2ca446SJason JinEXTRA_CFLAGS += -I. -I./include -I$(TOPDIR)/include \
14ece92f85SJason Jin	-D__PPC__  -D__BIG_ENDIAN__
15ece92f85SJason Jin
161d2ca446SJason JinCFLAGS += $(EXTRA_CFLAGS)
179aef7388SMike FrysingerHOSTCFLAGS += $(EXTRA_CFLAGS)
18d02ffbf8SKumar GalaCPPFLAGS += $(EXTRA_CFLAGS)
19