]> git.proxmox.com Git - mirror_qemu.git/blobdiff - Makefile.target
update
[mirror_qemu.git] / Makefile.target
index eb2e6db12a0e09e16d491e98956b1d6e3420e2c1..9d52680a9bfb94605578fbc9bf2f2d7061c0721c 100644 (file)
@@ -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 $@ $<