handling "multi-part" source files

Rob Landley rob at landley.net
Fri May 12 01:43:52 UTC 2006


On Thursday 11 May 2006 12:34 pm, Robert P. J. Day wrote:
> On Thu, 11 May 2006, Rob Landley wrote:
> > If we have a .c file, figuring out how to build it is easy.  If we
> > need a .o file, figuring out where it lives is somewhat harder.
> > Possibly this properly belongs in the dependency generation step?
>
> that's what the "objrule" macro is doing -- it's being invoked to
> create the appropriate dependency between an object file and its
> containing multi-part source file.

You know, if we can just autodetect the list of symbols within a file that we 
point a variable at, we're still better off than what Makefile.in is doing 
now.

Let's see, chopping from your patch...

Try svn 15074.  Where can we clean it up from here?

Rob
-- 
Never bet against the cheap plastic solution.



More information about the busybox mailing list