Subject: Re: bug#12372: arbitrary suffix sources are not added to the tags

From: Stefano Lattarini <[email-masked]>
Date: Fri, 07 Sep 2012 13:44:13 +0200

[Re-adding the list, please keep it in the loop in future answers]

On 09/07/2012 01:16 PM, Юрий Пухальский wrote:
> Ok, got it.
>
> The automake version i've tried is 1.12.3, the latest available
> from the site.
> 
> If there is .pc.lo rule, .pc don't get into the tags and for .pc-only
> sourced libraries nothing gets to the tags.
> But if i add .c file to the sources, the target is generated and all
> the sources go there alongside this .c file.
> 
> If there is no .pc.lo rule, .pc go to the tags regardless whether
> there is .c file with them or not.
> 
> The makefile to play is like this:
> 
> SUFFIXES = .pc
> .pc.lo:
>         touch $*.lo
> noinst_LTLIBRARIES=libfoo.la
> libfoo_la_SOURCES=foo.pc # bar.c
> 
I'll try to get a better look this evening or tomorrow.

Thanks,
  Stefano