[fpc-pascal] fpmake dependencies

Michael Van Canneyt michael at freepascal.org
Tue Apr 14 16:21:12 CEST 2009



On Tue, 14 Apr 2009, Mattias Gärtner wrote:

> Zitat von Michael Van Canneyt <michael at freepascal.org>:
> 
> >
> >
> > On Tue, 14 Apr 2009, Mattias Gärtner wrote:
> >
> > >
> > > I saw that the fpmake programs of the fpc sources contain the unit/include
> > file
> > > dependencies.
> > > Why?
> > > (fpc finds the unit/include file dependencies automatically.)
> >
> > For the zip archive creation. All files are needed.
> 
> Apparently for the 'clean' too.
> 
> Why does it warn, when the files to be cleaned are already cleaned?
> 
> Warning: File "units/i386-darwin/allcodetoolunits.o" does not exist
> Warning: File "units/i386-darwin/allcodetoolunits.ppu" does not exist

Under normal operation, this should not happen ?

> > > Is there a tool to create them automatically?
> >
> > Not yet. This is planned.
> 
> Come on. You didn't add the 14 thousand filenames manually, did you?

The unit source names were added from the Makefile.fpc (there is a conversion mode)
but the rest was added manually.

I realize that for the LCL, this will be a rather largish job :-)

> 
> 
> > > Can I use file masks?
> >
> > I think yes ?
> 
> I only found a mask for Sources. Somewhere else where I can look?

packages/fpmkunit/src/fpmkunit.pp :-)

Michael.


More information about the fpc-pascal mailing list