* Module question: hdrdeps and otherincs
@ 2000-01-30 19:40 Bart Schaefer
2000-01-31 10:37 ` Zefram
0 siblings, 1 reply; 2+ messages in thread
From: Bart Schaefer @ 2000-01-30 19:40 UTC (permalink / raw)
To: zsh-workers
The explanations of "hdrdeps" and "otherincs" in zsh-development-guide are
sorely lacking, and there are no examples of these in any existing module.
- hdrdeps extra headers on which the .mdh depends (default none)
- otherincs extra headers that are included indirectly (default none)
The .mdh is a generated file, so I don't follow how it can depend on any
other headers. Is this for some kind of fake dependency just to force the
module to be rebuilt?
Similarly, I know what "included indirectly" means, but I don't understand
how it applies here. Included by the headers listed in $headers, maybe?
Is this what I get for actually trying to understand zsh-development-guide
rather than just hacking away at one of the existing modules?
--
Bart Schaefer Brass Lantern Enterprises
http://www.well.com/user/barts http://www.brasslantern.com
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Module question: hdrdeps and otherincs
2000-01-30 19:40 Module question: hdrdeps and otherincs Bart Schaefer
@ 2000-01-31 10:37 ` Zefram
0 siblings, 0 replies; 2+ messages in thread
From: Zefram @ 2000-01-31 10:37 UTC (permalink / raw)
To: Bart Schaefer; +Cc: zsh-workers
Bart Schaefer wrote:
>The explanations of "hdrdeps" and "otherincs" in zsh-development-guide are
>sorely lacking, and there are no examples of these in any existing module.
There's an explanation in Src/mkmakemod.sh, below the variable list which
was copied into Etc/zsh-development-guide. The explanatory paragraph
should probably also be copied there.
>The .mdh is a generated file, so I don't follow how it can depend on any
>other headers. Is this for some kind of fake dependency just to force the
>module to be rebuilt?
Yes.
>Similarly, I know what "included indirectly" means, but I don't understand
>how it applies here. Included by the headers listed in $headers, maybe?
It's for files that are included somehow, and so must be forced to
exist and be up to date, but which shouldn't force recompilation.
$otherincs are treated like the .epro files.
-zefram
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2000-01-31 10:37 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-01-30 19:40 Module question: hdrdeps and otherincs Bart Schaefer
2000-01-31 10:37 ` Zefram
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).