From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Glenn Morris Newsgroups: gmane.emacs.bugs Subject: Re: please make byte compiling during bootstrap take advantage of make -j Date: Thu, 08 May 2008 15:34:55 -0400 Message-ID: References: <200805041735.m44HZbxS018196@sallyv1.ics.uci.edu> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1210275357 18913 80.91.229.12 (8 May 2008 19:35:57 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 8 May 2008 19:35:57 +0000 (UTC) Cc: bug-gnu-emacs@gnu.org, dann@ics.uci.edu To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu May 08 21:36:31 2008 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1JuBup-0000dX-Hm for geb-bug-gnu-emacs@m.gmane.org; Thu, 08 May 2008 21:36:31 +0200 Original-Received: from localhost ([127.0.0.1]:45890 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JuBu7-0003mm-Cl for geb-bug-gnu-emacs@m.gmane.org; Thu, 08 May 2008 15:35:47 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JuBu2-0003kx-By for bug-gnu-emacs@gnu.org; Thu, 08 May 2008 15:35:42 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JuBu1-0003kG-0N for bug-gnu-emacs@gnu.org; Thu, 08 May 2008 15:35:42 -0400 Original-Received: from [199.232.76.173] (port=53354 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JuBu0-0003kD-RD for bug-gnu-emacs@gnu.org; Thu, 08 May 2008 15:35:40 -0400 Original-Received: from fencepost.gnu.org ([140.186.70.10]:33613) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JuBu0-0008Ta-Lc for bug-gnu-emacs@gnu.org; Thu, 08 May 2008 15:35:40 -0400 Original-Received: from rgm by fencepost.gnu.org with local (Exim 4.67) (envelope-from ) id 1JuBtH-0001a5-Cp; Thu, 08 May 2008 15:34:55 -0400 X-Spook: pipeline David John Oates CID Peking Elvis ASO Blowpipe X-Ran: 8nt[8h^7m_H/Kr>AuwOB!(4KR#}3mYMa+0-B]kgsD4)jN#?@>%#XpQ\r=CO=Sy$=jlhMj4 X-Hue: blue X-Attribution: GM In-Reply-To: (Eli Zaretskii's message of "Thu, 08 May 2008 13:30:01 +0300") User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:17938 Archived-At: Eli Zaretskii wrote: > Yes, include is non-portable. Is there a good reference for what is portable? Ideally, for what Emacs wants to support... In the GNU Make manual, "Features of GNU make" seems only to say that including multiple files with a single include is a GNU extension. And in the section "Old-Fashioned Suffix Rules", it says that "Suffix rules cannot have any prerequisites of their own", yet we have: .el.elc: $(lisp)/subdirs.el in lisp/Makefile. > I think you can safely have a full list of all .el files, and let the > no-byte-compile tag take care of which ones are actually compiled. Yes, that seems to work. > You could use the list of .el files with .el=.elc construct. Can I portably use this kind of thing: lispfiles1 = $(lisp)/*.el lispfiles2 = $(lisp)/*/*.el elcfiles1 = $(lispfiles1:.el=.elc) elcfiles2 = $(lispfiles2:.el=.elc) compile: $(elcfiles1) $(elcfiles2) ?