summaryrefslogtreecommitdiff
path: root/Makefile.target
diff options
context:
space:
mode:
authorbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2004-01-05 00:08:14 +0000
committerbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2004-01-05 00:08:14 +0000
commit728c9fd5a9a3d3dc955c0fa8bd9a090c9a08f4eb (patch)
tree0f0346890aa066448ff766afa7bfa2cd235a55e1 /Makefile.target
parentbd497938895ec4fd7b327aac4de390e34f543509 (diff)
downloadqemu-728c9fd5a9a3d3dc955c0fa8bd9a090c9a08f4eb.tar.gz
update
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@544 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'Makefile.target')
-rw-r--r--Makefile.target26
1 files changed, 24 insertions, 2 deletions
diff --git a/Makefile.target b/Makefile.target
index eb2e6db12a..9d52680a9b 100644
--- a/Makefile.target
+++ b/Makefile.target
@@ -36,7 +36,21 @@ endif
endif
endif
+
+ifeq ($(TARGET_ARCH), ppc)
+
+ifeq ($(ARCH), ppc)
+PROGS+=$(QEMU_SYSTEM)
+endif
+
+ifeq ($(ARCH), i386)
+ifdef CONFIG_SOFTMMU
+PROGS+=$(QEMU_SYSTEM)
endif
+endif # ARCH = i386
+
+endif # TARGET_ARCH = ppc
+endif # !CONFIG_USER_ONLY
ifdef CONFIG_STATIC
LDFLAGS+=-static
@@ -147,7 +161,7 @@ LIBOBJS+=helper.o helper2.o
endif
ifeq ($(TARGET_ARCH), ppc)
-LIBOBJS+=helper.o
+LIBOBJS+= op_helper.o helper.o
endif
# NOTE: the disassembler code is only needed for debugging
@@ -183,7 +197,10 @@ ifeq ($(ARCH),alpha)
endif
# must use static linking to avoid leaving stuff in virtual address space
-VL_OBJS=vl.o block.o ide.o vga.o sb16.o dma.o oss.o
+VL_OBJS=vl.o block.o ide.o vga.o sb16.o dma.o oss.o fdc.o
+ifeq ($(TARGET_ARCH), ppc)
+VL_OBJS+= hw.o
+endif
ifdef CONFIG_SDL
VL_OBJS+=sdl.o
ifdef CONFIG_STATIC
@@ -246,6 +263,11 @@ ifeq ($(TARGET_ARCH), sparc)
op.o: op.c op_template.h
endif
+ifeq ($(TARGET_ARCH), ppc)
+op.o: op.c op_template.h op_mem.h
+op_helper.o: op_helper_mem.h
+endif
+
%.o: %.c
$(CC) $(CFLAGS) $(DEFINES) -c -o $@ $<