Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KhaOi-0000Qs-4j for qemu-devel@nongnu.org; Sun, 21 Sep 2008 21:39:32 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KhaOh-0000Qg-Oo for qemu-devel@nongnu.org; Sun, 21 Sep 2008 21:39:31 -0400 Received: from [199.232.76.173] (port=51770 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KhaOh-0000Qd-K4 for qemu-devel@nongnu.org; Sun, 21 Sep 2008 21:39:31 -0400 Received: from savannah.gnu.org ([199.232.41.3]:60436 helo=sv.gnu.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KhaOh-0007xr-Am for qemu-devel@nongnu.org; Sun, 21 Sep 2008 21:39:31 -0400 Received: from cvs.savannah.gnu.org ([199.232.41.69]) by sv.gnu.org with esmtp (Exim 4.63) (envelope-from ) id 1KhaOg-0002RI-OM for qemu-devel@nongnu.org; Mon, 22 Sep 2008 01:39:30 +0000 Received: from malc by cvs.savannah.gnu.org with local (Exim 4.63) (envelope-from ) id 1KhaOg-0002RE-D8 for qemu-devel@nongnu.org; Mon, 22 Sep 2008 01:39:30 +0000 MIME-Version: 1.0 Errors-To: malc Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit From: malc Message-Id: Date: Mon, 22 Sep 2008 01:39:30 +0000 Subject: [Qemu-devel] [5288] Support out-of-the-tree building of tests Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Revision: 5288 http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=5288 Author: malc Date: 2008-09-22 01:39:29 +0000 (Mon, 22 Sep 2008) Log Message: ----------- Support out-of-the-tree building of tests Modified Paths: -------------- trunk/tests/Makefile Modified: trunk/tests/Makefile =================================================================== --- trunk/tests/Makefile 2008-09-22 01:08:08 UTC (rev 5287) +++ trunk/tests/Makefile 2008-09-22 01:39:29 UTC (rev 5288) @@ -1,4 +1,5 @@ -include ../config-host.mak +VPATH=$(SRC_PATH)/tests CFLAGS=-Wall -O2 -g -fno-strict-aliasing #CFLAGS+=-msse2 @@ -33,11 +34,11 @@ test-i386: test-i386.c test-i386-code16.S test-i386-vm86.S \ test-i386.h test-i386-shift.h test-i386-muldiv.h $(CC) -m32 $(CFLAGS) $(LDFLAGS) -static -o $@ \ - test-i386.c test-i386-code16.S test-i386-vm86.S -lm + $(