Installing Generated Header Files

Adam Lackorzynski adam at
Sun Jul 1 11:01:39 CEST 2007

On Fri Jun 29, 2007 at 12:45:33 +0200, Neal H. Walfield wrote:
> I'm using BID and generating header files at compile time.  I looked
> at the include role, however, as far as I can tell, it only installs
> files from the source tree, not from the object tree.  The attached
> patch improves the include role-file to allow this mode of operation.
> The patch consists of two changes.  First, before listing the
> directory, we change to $(INCSRC_DIR).  (This also requires evaluating
> TARGET_CMD lazily, i.e., using a recursive variable, not a simple one,
> as INCSRC_DIR may be set later.)  Second, an additional target has
> been added, headers, which can depend on generated header files.  I
> also updated the documentation.
> The current patch doesn't allow installing header files from both the
> source directory and the object directory.  This might be useful,
> however, it appears to require modifying the perl code, which I have
> done my best to forget.

Thanks, applied.

Adam                 adam at

More information about the l4-hackers mailing list