[fpc-devel] Changes in Makefile-system
Michael Van Canneyt
michael at freepascal.org
Sat Apr 2 16:07:38 CEST 2011
On Sat, 2 Apr 2011, Joost van der Sluis wrote:
> On Sat, 2011-04-02 at 10:50 +0200, Michael Van Canneyt wrote:
>> On Fri, 1 Apr 2011, Joost van der Sluis wrote:
>>> Hi all,
>>> I've just committed a change in the Makefiles for the fcl-web package.
>>> The Makefile now calls fpmake to build and install the package.
>>> It's a first test, so please try and report any problems you have when
>>> building the fcl-web package. (Or all packages, or just a complete
>>> fpc-checkout) I'll try to fix them as soon as possible.
>> Works like a charm here.
>> Only noticeable problem, we'll need to work on the 'clean' target.
>> home: >make clean
>> ./fpmake clean --localunitdir=../.. --globalunitdir=.. --os=linux --cpu=x86_64 -o -Fu../../rtl/units/x86_64-linux -o -Fu../../packages/hash/units/x86_64-linux -o -Fu../../packages/paszlib/units/x86_64-linux -o -Fu../../packages/fcl-process/units/x86_64-linux -o -Fu../../packages/fpmkunit/units/x86_64-linux -o -FE. -o -FUunits/x86_64-linux -o -Cg -o -dx86_64 --compiler=/usr/local/bin/ppcx64
>> Clean of package fcl-web completed
>> home: >ls units/x86_64-linux/
>> extjsjson.rst fcgigate.rst fpextjs.rst fpmake.o fpwebdata.rst
>> extjsxml.rst fpextdirect.rst fpjsonrpc.rst sqldbwebdata.rst
>> I think that the clean command for a unit should also look for .rst files ?
> It does, as long as the fpmake.pp is correct. There's a boolean field to
> indicate that a unit creates a .rst file.
Correct, I'd forgotten about it.
>> And while we're at it, a .or may also exist, if I'm correct.
>> If you agree, I'll take that on me ?
> You may work on the .a and .or?
And I'll set the boolean field in the fcl-web fpmake :-)
More information about the fpc-devel