From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 41076 invoked by alias); 27 Dec 2018 04:23:21 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Received: (qmail 41060 invoked by uid 89); 27 Dec 2018 04:23:21 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_PASS,SPF_PASS,TIME_LIMIT_EXCEEDED autolearn=unavailable version=3.3.2 spammy= X-HELO: smtp.polymtl.ca Received: from smtp.polymtl.ca (HELO smtp.polymtl.ca) (132.207.4.11) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 27 Dec 2018 04:23:11 +0000 Received: from simark.ca (simark.ca [158.69.221.121]) (authenticated bits=0) by smtp.polymtl.ca (8.14.7/8.14.7) with ESMTP id wBR4N4DC003795 (version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 26 Dec 2018 23:23:09 -0500 Received: from [10.0.0.11] (unknown [192.222.164.54]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by simark.ca (Postfix) with ESMTPSA id 46EB41E4B1; Wed, 26 Dec 2018 23:23:04 -0500 (EST) Subject: Re: [PATCH 2/3] Make init.c depend on source files To: Tom Tromey Cc: gdb-patches@sourceware.org References: <20181224210927.16741-1-tom@tromey.com> <20181224210927.16741-3-tom@tromey.com> <875zvfppke.fsf@tromey.com> From: Simon Marchi Message-ID: <1d7d91bb-32c4-95c7-9c88-f12629d76809@polymtl.ca> Date: Thu, 27 Dec 2018 04:23:00 -0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.3.3 MIME-Version: 1.0 In-Reply-To: <875zvfppke.fsf@tromey.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2018-12/txt/msg00353.txt.bz2 On 2018-12-26 11:21 p.m., Tom Tromey wrote: >>>>>> "Simon" == Simon Marchi writes: > > Simon> On 2018-12-24 16:09, Tom Tromey wrote: >>> +INIT_FILES = \ >>> + $(patsubst %.o,%.c, \ >>> + $(patsubst %-exp.o,%-exp.y, \ >>> + $(filter-out $(NATDEPFILES) init.o version.o %_S.o %_U.o,\ >>> + $(COMMON_OBS)))) > > Simon> What do %_S and %_U mean? > > "%" is just the way make patterns work, and the _S and _U deletions are > copied from the old code. I believe they refer to the GNU Hurd > mig-generated files. See gdb/config/i386/i386gnu.mn. Ahh! Stoopid me though they were Makefile special variables (like $@). Simon