From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Ken Raeburn Newsgroups: gmane.emacs.devel Subject: Re: buildobj.lst and Windows builds - a tiny bit of help needed? Date: Sun, 23 Aug 2009 06:48:58 -0400 Message-ID: <72B7514B-A488-4FA1-A0C6-8114E60E9209@raeburn.org> References: <4CC1CF5E-088F-459E-BCF7-61DEFA747DE1@raeburn.org> <4A90FE29.9080205@gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v936) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1251024581 12732 80.91.229.12 (23 Aug 2009 10:49:41 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 23 Aug 2009 10:49:41 +0000 (UTC) Cc: Emacs Developers To: Jason Rumney Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Aug 23 12:49:34 2009 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1MfAdZ-000322-Ce for ged-emacs-devel@m.gmane.org; Sun, 23 Aug 2009 12:49:25 +0200 Original-Received: from localhost ([127.0.0.1]:44474 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MfAdY-0007x7-QO for ged-emacs-devel@m.gmane.org; Sun, 23 Aug 2009 06:49:24 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MfAdP-0007vy-FG for emacs-devel@gnu.org; Sun, 23 Aug 2009 06:49:15 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MfAdK-0007pC-KO for emacs-devel@gnu.org; Sun, 23 Aug 2009 06:49:14 -0400 Original-Received: from [199.232.76.173] (port=46085 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MfAdK-0007p3-FW for emacs-devel@gnu.org; Sun, 23 Aug 2009 06:49:10 -0400 Original-Received: from splat.raeburn.org ([69.25.196.39]:51394 helo=raeburn.org) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MfAdA-00040g-3P; Sun, 23 Aug 2009 06:49:07 -0400 Original-Received: from [10.0.0.172] (squish.raeburn.org [10.0.0.172]) by raeburn.org (8.14.3/8.14.1) with ESMTP id n7NAmwTT013838; Sun, 23 Aug 2009 06:48:58 -0400 (EDT) In-Reply-To: <4A90FE29.9080205@gnu.org> X-Mailer: Apple Mail (2.936) X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:114532 Archived-At: On Aug 23, 2009, at 04:30, Jason Rumney wrote: > Ken Raeburn wrote: >> I think it should be pretty straightforward, as you can see from >> the changes in the attached diff, but it does involve make commands >> that have to write double-quotes and backslashes to files (and thus >> get the quoting right), and an object file list that is supposedly >> too long to process on one command line... > To deal with quoting correctly for all variants of make/shell there > are macros ARGQUOTE and DQUOTE. Ah... I saw them, but didn't see very good examples until I looked more closely at some of the other (lisp, leim) makefile.w32-in files. So it looks like I should write the rules something like this? echo $(ARGQUOTE)#define BUILDOBJ $(DQUOTE)\$(ARGQUOTE) > $(SRC)/ buildobj.h echo $(OBJ0) $(ARGQUOTE)\$(ARGQUOTE) >> $(SRC)/buildobj.h Is one backslash what I need here, if I want to get one written to the file at the end of the line? Or does some backslash quote processing happen, and I need two? Thanks! Ken