summaryrefslogtreecommitdiffstats
path: root/drivers/bios_emulator/Makefile
blob: 586e83be8f2abec30cb0d0cb41a1d1c5dbf86635 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
include $(TOPDIR)/config.mk

LIB := $(obj)libatibiosemu.a

X86DIR  = ./x86emu

OBJS	= atibios.o biosemu.o besys.o bios.o  \
	$(X86DIR)/decode.o \
	$(X86DIR)/ops2.o \
	$(X86DIR)/ops.o \
	$(X86DIR)/prim_ops.o \
	$(X86DIR)/sys.o \
	$(X86DIR)/debug.o

CFLAGS += -I. -I./include  -I$(X86DIR) -I$(TOPDIR)/include \
	-D__PPC__  -D__BIG_ENDIAN__

all:	$(LIB)

$(LIB): $(OBJS)
	$(AR) crv $@ $(OBJS)

#########################################################################

.depend:	Makefile $(OBJS:.o=.c)
		$(CC) -M $(CFLAGS) $(OBJS:.o=.c) > $@

sinclude .depend

#########################################################################
OpenPOWER on IntegriCloud