1 include $(TOPDIR)/config.mk
3 LIB := $(obj)libatibiosemu.o
7 $(shell mkdir -p $(obj)$(X86DIR))
9 COBJS-$(CONFIG_BIOSEMU) = atibios.o biosemu.o besys.o bios.o \
13 $(X86DIR)/prim_ops.o \
18 SRCS := $(COBJS:.o=.c)
19 OBJS := $(addprefix $(obj),$(COBJS))
21 EXTRA_CFLAGS += -I. -I./include -I$(TOPDIR)/include \
22 -D__PPC__ -D__BIG_ENDIAN__
24 CFLAGS += $(EXTRA_CFLAGS)
25 HOSTCFLAGS += $(EXTRA_CFLAGS)
26 CPPFLAGS += $(EXTRA_CFLAGS)
30 $(LIB): $(obj).depend $(OBJS)
31 $(call cmd_link_o_target, $(OBJS))
33 #########################################################################
35 include $(SRCTREE)/rules.mk
37 sinclude $(obj).depend
39 #########################################################################