Re: [PATCH 2/3] Make init.c depend on source files

Tom Tromey
2018-12-27T04:21:50Z

>>>>> "Simon" == Simon Marchi <simon.marchi@polymtl.ca> 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.

Tom