>>> "HD" == Harald Dunkel <[EMAIL PROTECTED]> writes:
HD> Hi folks,
HD> Question about make depend:
HD> If I set
HD> SRCDIR = ../src
HD> noinst_PROGRAMS = hello
HD> hello_SOURCES = ${SRCDIR}/hello.c
HD> in my Makefile.am, then make complains
HD> Makefile:242: ../src/.deps/hello.Po: No
Hello,
On Tue, Sep 13, 2005 at 04:03:36PM +0200, Ralf Wildenhues wrote:
> Anyway, the way the rule is now, if $LN_S is `cp', source files in
> $(INTERFACE_DIR) newer than in `.' will not get copied, which is bad.
well, I supposed that the development happens on system with symlinks.
The fallbacks
* Stepan Kasal wrote on Tue, Sep 13, 2005 at 03:26:57PM CEST:
>
> > You don't need to copy headers. [...]
> > So you can leave out the BUILT_SOURCES line completely.
>
> thanks for correcting me.
>
> > > $(linked_sources):
> > > $(LN_S) '$(INTERFACE_DIR)/$@' '$@'
> >
> > But you need to "rm
Hello Harald, Ralf,
> You don't need to copy headers. [...]
> So you can leave out the BUILT_SOURCES line completely.
thanks for correcting me.
> > $(linked_sources):
> > $(LN_S) '$(INTERFACE_DIR)/$@' '$@'
>
> But you need to "rm -f '$@'" before invoking $(LN_S).
Why? If the file exists,
Hi Stepan, Harald,
* Stepan Kasal wrote on Tue, Sep 13, 2005 at 02:21:43PM CEST:
> On Tue, Sep 13, 2005 at 12:58:45PM +0200, Harald Dunkel wrote:
>
> > > linked_sources = common_interface.c more.c even-more.c
> > > BUILT_SOURCES = $(linked_sources)
> > > $(linked_sources):
> > > list='$(l
Hello Harald,
On Tue, Sep 13, 2005 at 12:58:45PM +0200, Harald Dunkel wrote:
> Of course I appreciate your workaround, but please remember
> that this thread is about generating a meaningfull error
> message for a construct that autoconf/automake cannot
> handle. But maybe there is a way to genera
Hi Ralf,
Ralf Wildenhues wrote:
>
> How about using either
> - a convenience archive, or
> - one single large Makefile.am with subdir-objects
> (see "info Automake Alternative")
>
A convenience library doesn't work, because I have pretty many
different CPP defines, probably set either in conf
Hi Harald,
* Harald Dunkel wrote on Tue, Sep 13, 2005 at 08:24:14AM CEST:
>
> I have some common source files that I have to compile and link
> several times in different contexts. Actually the Makefile.am
> files look more like this:
>
> hello_SOURCES = \
> $(INTERFACE_DIR)/c
Bob Proulx wrote:
> Harald Dunkel wrote:
>
>>Question about make depend:
>>
>>If I set
>>
>> SRCDIR = ../src
>> noinst_PROGRAMS = hello
>> hello_SOURCES = ${SRCDIR}/hello.c
>
>
> Shouldn't you be using normal VPATH? That is, you are setting
> hello_SOURCES = ../src/hello.c. But
Harald Dunkel wrote:
> Question about make depend:
>
> If I set
>
> SRCDIR = ../src
> noinst_PROGRAMS = hello
> hello_SOURCES = ${SRCDIR}/hello.c
Shouldn't you be using normal VPATH? That is, you are setting
hello_SOURCES = ../src/hello.c. But I don't think you want to do
tha
Hi folks,
Question about make depend:
If I set
SRCDIR = ../src
noinst_PROGRAMS = hello
hello_SOURCES = ${SRCDIR}/hello.c
in my Makefile.am, then make complains
Makefile:242: ../src/.deps/hello.Po: No such file or directory
make[1]: *** No rule to make target `../src/.de
11 matches
Mail list logo