[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: 1.11 doesn't add sources with nonstandard suffixes when making a bin
From: |
Ralf Wildenhues |
Subject: |
Re: 1.11 doesn't add sources with nonstandard suffixes when making a binary |
Date: |
Fri, 27 Nov 2009 22:30:24 +0100 |
User-agent: |
Mutt/1.5.20 (2009-08-09) |
Hello Yuri, nice to read from you again,
* Юрий Пухальский wrote on Fri, Nov 27, 2009 at 10:38:15AM CET:
> Automake links binaries through libtool too, at least in my case.
Yes, but it doesn't compile the objects for non-libraries using libtool,
just like Jack explained.
> And yes, it works when i make a rule from .pc to .c, but:
> How do i clean the intermediate .c file in this case?
Just don't, at least not outside of a *clean target.
> I must add BUILT_SOURCES everywhere,
No.
> use EXTRA_DIST for distributing the original files.
No.
> Generally it's less clear than specifying .pc file directly in _SOURCES.
That's why you should do it like this:
.pc.$(OBJEXT):
...
Then all of the above works, just like Jack wrote.
> As for silliness, it's exactly as silly as default .l.o implicit rule
> in standard make:
> .l.o:
> $(LEX) $(LFLAGS) $<
> $(CC) $(CFLAGS) -c lex.yy.c
> rm -f lex.yy.c
> mv lex.yy.o $@
This is just done because one cannot teach traditional lex to produce
another output file. The silliness really comes from the lex interface.
Cheers,
Ralf
- Re: 1.11 doesn't add sources with nonstandard suffixes when making a binary, (continued)
- Re: 1.11 doesn't add sources with nonstandard suffixes when making a binary, Jack Kelly, 2009/11/26
- Re: 1.11 doesn't add sources with nonstandard suffixes when making a binary, Юрий Пухальский, 2009/11/27
- Re: 1.11 doesn't add sources with nonstandard suffixes when making a binary, Jack Kelly, 2009/11/27
- Re: 1.11 doesn't add sources with nonstandard suffixes when making a binary, Юрий Пухальский, 2009/11/27
- Re: 1.11 doesn't add sources with nonstandard suffixes when making a binary, Jack Kelly, 2009/11/27
- Re: 1.11 doesn't add sources with nonstandard suffixes when making a binary, Юрий Пухальский, 2009/11/27
- Re: 1.11 doesn't add sources with nonstandard suffixes when making a binary, Jack Kelly, 2009/11/27
- Re: 1.11 doesn't add sources with nonstandard suffixes when making a binary, Юрий Пухальский, 2009/11/30
- Re: 1.11 doesn't add sources with nonstandard suffixes when making a binary, Ralf Wildenhues, 2009/11/30
- Re: 1.11 doesn't add sources with nonstandard suffixes when making a binary, Юрий Пухальский, 2009/11/30
- Re: 1.11 doesn't add sources with nonstandard suffixes when making a binary,
Ralf Wildenhues <=
- Re: 1.11 doesn't add sources with nonstandard suffixes when making a binary, Jack Kelly, 2009/11/27
- Re: 1.11 doesn't add sources with nonstandard suffixes when making a binary, Ralf Wildenhues, 2009/11/27
- Re: 1.11 doesn't add sources with nonstandard suffixes when making a binary, Юрий Пухальский, 2009/11/27
- Re: 1.11 doesn't add sources with nonstandard suffixes when making a binary, Ralf Wildenhues, 2009/11/28