[fpc-devel] Changes in Makefile-system
Michael Van Canneyt
michael at freepascal.org
Sat Apr 2 10:50:04 CEST 2011
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 ?
And while we're at it, a .or may also exist, if I'm correct.
If you agree, I'll take that on me ?
Michael.
More information about the fpc-devel
mailing list