From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24) id 1AM1QA-0007tT-Fk for qemu-devel@nongnu.org; Tue, 18 Nov 2003 03:41:14 -0500 Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24) id 1AM1Pe-0007k1-Gc for qemu-devel@nongnu.org; Tue, 18 Nov 2003 03:41:13 -0500 Received: from [62.210.158.46] (helo=teheran.magic.fr) by monty-python.gnu.org with esmtp (Exim 4.24) id 1AM1Pd-0007j7-Sf for qemu-devel@nongnu.org; Tue, 18 Nov 2003 03:40:42 -0500 Received: from 10.0.0.2 (ppp-181.net-555.magic.fr [62.210.255.181]) by teheran.magic.fr (8.11.6/8.11.2) with ESMTP id hAI7dCe27740 for ; Tue, 18 Nov 2003 08:39:12 +0100 (CET) Subject: Re: [Qemu-devel] [ADD] PPC processor emulation From: "J. Mayer" In-Reply-To: <1069140512.14646.2174.camel@rapid> References: <20031117105133.7e856e56.Jens.Arm@gmx.de> <1069140512.14646.2174.camel@rapid> Content-Type: text/plain Message-Id: <1069141438.13659.2206.camel@rapid> Mime-Version: 1.0 Date: 18 Nov 2003 08:43:59 +0100 Content-Transfer-Encoding: 7bit Reply-To: qemu-devel@nongnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Makefile.target.diff Add PPC target. diff -urNbB -x CVS qemu-current/Makefile.target qemu/Makefile.target --- qemu-current/Makefile.target Tue Nov 18 06:51:06 2003 +++ qemu/Makefile.target Tue Nov 18 06:03:59 2003 @@ -146,6 +161,10 @@ LIBOBJS+=helper.o helper2.o endif +ifeq ($(TARGET_ARCH), ppc) +LIBOBJS+=helper.o +endif + # NOTE: the disassembler code is only needed for debugging LIBOBJS+=disas.o ifeq ($(findstring i386, $(TARGET_ARCH) $(ARCH)),i386) @@ -242,11 +261,18 @@ op.o: op.c op_template.h endif +ifeq ($(TARGET_ARCH), ppc) +op.o: op.c op-multi.c +endif + +select.h op-multi.c: op.tpl ../gen_multi + ../gen_multi -o op-multi.c -s select.h $< + %.o: %.c $(CC) $(CFLAGS) $(DEFINES) -c -o $@ $< clean: - rm -f *.o *.a *~ $(PROGS) gen-op.h opc.h op.h + rm -f *.o *.a *~ $(PROGS) gen-op.h opc.h op.h select.h op-multi.c install: all install -m 755 -s $(PROGS) $(prefix)/bin