fpc/packages/fpmake.pp
joost 5146bea422 * Updated fpmake_proc.inc and fpmake_add.inc. Manually changed the entry for
gdbint, because detecting the gdblib-version needs some specials. Later
   all other entries can be changed alike.

git-svn-id: trunk@18096 -
2011-08-04 19:26:59 +00:00

35 lines
760 B
ObjectPascal

{$mode objfpc}{$H+}
{$define allpackages}
program fpmake;
uses fpmkunit, sysutils, Classes;
Var
TBuild,T : TTarget;
PBuild,P : TPackage;
D : TDependency;
I : Integer;
(*
The include files are generated with the following commands:
/bin/ls -1 */fpmake.pp | awk -F '/' '/fpmake.pp/ { printf "procedure add_%s;\nbegin\n with Installer do\n{$include %s}\nend;\n\n",gensub("-","_","g",$1),$0; }' > fpmake_proc.inc
/bin/ls -1 */fpmake.pp | awk -F '/' '/fpmake.pp/ { printf " add_%s;\n",gensub("-","_","g",$1); }' > fpmake_add.inc
*)
{$include fpmake_proc.inc}
begin
{$include fpmake_add.inc}
With Installer do
begin
// Create fpc-all package
PBuild:=AddPackage('fpc-all');
PBuild.Version:='2.7.1';
Run;
end;
end.