[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: first draft of "relocatable" module
From: |
Ben Pfaff |
Subject: |
Re: first draft of "relocatable" module |
Date: |
Sun, 25 Feb 2007 20:56:54 -0800 |
User-agent: |
Gnus/5.110006 (No Gnus v0.6) Emacs/21.4 (gnu/linux) |
Ralf Wildenhues <address@hidden> writes:
> * Ben Pfaff wrote on Mon, Feb 26, 2007 at 05:41:15AM CET:
>>
>> The issue is foo_CFLAGS and foo_LDFLAGS need to refer back to the
>> directory in which foo is installed. Thus, if foo is in
>> bin_PROGRAMS then the following is correct:
>>
>> foo_CFLAGS = -DINSTALLDIR=\"$(bindir)\"
>> if RELOCATABLE_VIA_LD
>> foo_LDFLAGS = `$(RELOCATABLE_LDFLAGS) $(bindir)`
>> endif
>>
>> but if foo is in libexecdir_PROGRAMS then the following is needed
>> instead:
>
> Ah, ok, thanks for the explanation. Yes, this may be best solved from
> within Automake. Not sure if I have a chance to look at it soon though.
Do you have a suggestion for a reasonable syntax to request it?
I am willing to do some implementation work.
--
"Platonically Evil Monkey has been symbolically representing the darkest
fears of humanity since the dawn of literature and religion, and I think
I speak for everyone when I give it a sidelong glance of uneasy recognition
this evening." --Scrymarch
- Re: xreadlink, (continued)
Re: first draft of "relocatable" module, Bruno Haible, 2007/02/25
Re: first draft of "relocatable" module, Ralf Wildenhues, 2007/02/25
Re: first draft of "relocatable" module, Albert Chin, 2007/02/28