From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1InY2u-0006ij-Ji for qemu-devel@nongnu.org; Thu, 01 Nov 2007 07:17:08 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1InY2t-0006gc-F4 for qemu-devel@nongnu.org; Thu, 01 Nov 2007 07:17:08 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1InY2t-0006gO-3M for qemu-devel@nongnu.org; Thu, 01 Nov 2007 07:17:07 -0400 Received: from sp604005mt.neufgp.fr ([84.96.92.11] helo=smtp.Neuf.fr) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1InY2t-00023J-5f for qemu-devel@nongnu.org; Thu, 01 Nov 2007 07:17:07 -0400 Received: from [84.102.211.191] by sp604005mt.gpm.neuf.ld (Sun Java System Messaging Server 6.2-5.05 (built Feb 16 2006)) with ESMTP id <0JQT00KL2RC6D7R2@sp604005mt.gpm.neuf.ld> for qemu-devel@nongnu.org; Thu, 01 Nov 2007 12:16:54 +0100 (CET) Date: Thu, 01 Nov 2007 12:16:34 +0100 From: Fabrice Bellard Subject: Re: [Qemu-devel] How to split vl.h In-reply-to: Message-id: <4729B592.5080006@bellard.org> MIME-version: 1.0 Content-type: text/plain; charset=UTF-8 Content-transfer-encoding: 7BIT References: 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 Blue Swirl wrote: > Hi, > > With the automatic dependency rule installed, modifying vl.h causes > all files to be recompiled. This is of course the correct action, but > it's a major slowdown for development too. There must be an option in the Makefile to disable the automatic dependency check. > How should we split vl.h into smaller pieces? Give each device a > header file, like m48t59? What about other stuff exported from vl.c? The net result is that you will have dozens of header files with only one line in them as most devices only export one function. Regards, Fabrice.