bug-automake
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#7922: 1.11 doesn't add sources with nonstandard suffixes when making


From: Ralf Wildenhues
Subject: bug#7922: 1.11 doesn't add sources with nonstandard suffixes when making a binary
Date: Wed, 26 Jan 2011 20:59:57 +0100
User-agent: Mutt/1.5.20 (2010-08-04)

Hello Юрий,

please, do not top-post on this list.  Thank you.

* Юрий Пухальский wrote on Wed, Jan 26, 2011 at 11:23:42AM CET:
> 2011/1/11 Ralf Wildenhues:
> > * Юрий Пухальский wrote on Tue, Jan 11, 2011 at 03:48:08PM CET:
> >> .SUFFIXES: .pc .lo .c
> >> .pc.c:
> >>       cp $< $@
> >> .c.lo:
> >>       cp $< $@
> >> ------------------------
> >>
> >> Given that i have no .c and no .lo before invoking make, it works good
> >> with gmake and aix make.
> >> While on HP-UX it doesn't:
> >
> > Yep, that's because some non-GNU makes don't close suffix rules
> > transitively.  You can either add explicit stub dependencies
> >  foo.lo: foo.c
> >  bar.lo: bar.c
> >  ...
> >
> > or you can add a .pc.lo rule that contains the commands from both other
> > rules.  Or require a decent make.  ;-)
>
> .pc.lo compiles but there is no tags rule being generated. With .pc.c
> rule tags are ok.
> 
> So still there is a problem somewhere...

Can you elaborate a bit, please?  Show a small Makefile.am that exposes
your problem and show what is not working.  Thanks.

Is this about 'make tags' not taking into account some source files?
If yes, which ones, .c or .pc ones?  And does it help to re-add a .pc.c
rule?

Thanks,
Ralf





reply via email to

[Prev in Thread] Current Thread [Next in Thread]