mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-08 03:48:07 +02:00
* Added fpmake.pp files for pas2fpm, pas2jni and pas2ut
git-svn-id: trunk@24492 -
This commit is contained in:
parent
ae74cd17d2
commit
2555885541
3
.gitattributes
vendored
3
.gitattributes
vendored
@ -14561,17 +14561,20 @@ utils/mksymbian/projectparser.pas svneol=native#text/plain
|
||||
utils/mksymbian/sdkutil.pas svneol=native#text/plain
|
||||
utils/pas2fpm/Makefile svneol=native#text/plain
|
||||
utils/pas2fpm/Makefile.fpc svneol=native#text/plain
|
||||
utils/pas2fpm/fpmake.pp svneol=native#text/plain
|
||||
utils/pas2fpm/pas2fpm.lpi svneol=native#text/plain
|
||||
utils/pas2fpm/pas2fpm.pp svneol=native#text/plain
|
||||
utils/pas2jni/Makefile svneol=native#text/plain
|
||||
utils/pas2jni/Makefile.fpc svneol=native#text/plain
|
||||
utils/pas2jni/def.pas svneol=native#text/plain
|
||||
utils/pas2jni/fpmake.pp svneol=native#text/plain
|
||||
utils/pas2jni/pas2jni.pas svneol=native#text/plain
|
||||
utils/pas2jni/ppuparser.pas svneol=native#text/plain
|
||||
utils/pas2jni/readme.txt svneol=native#text/plain
|
||||
utils/pas2jni/writer.pas svneol=native#text/plain
|
||||
utils/pas2ut/Makefile svneol=native#text/plain
|
||||
utils/pas2ut/Makefile.fpc svneol=native#text/plain
|
||||
utils/pas2ut/fpmake.pp svneol=native#text/plain
|
||||
utils/pas2ut/pas2ut.lpi svneol=native#text/plain
|
||||
utils/pas2ut/pas2ut.pp svneol=native#text/plain
|
||||
utils/postw32.pp svneol=native#text/plain
|
||||
|
@ -10,5 +10,9 @@
|
||||
add_h2pas;
|
||||
add_importtl;
|
||||
add_instantfpc;
|
||||
add_pas2fpm;
|
||||
add_pas2jni;
|
||||
add_pas2ut;
|
||||
add_rmwait;
|
||||
add_tply;
|
||||
add_unicode;
|
||||
|
@ -22,7 +22,15 @@
|
||||
|
||||
{$include instantfpc/fpmake.pp}
|
||||
|
||||
{$include pas2fpm/fpmake.pp}
|
||||
|
||||
{$include pas2jni/fpmake.pp}
|
||||
|
||||
{$include pas2ut/fpmake.pp}
|
||||
|
||||
{$include rmwait/fpmake.pp}
|
||||
|
||||
{$include tply/fpmake.pp}
|
||||
|
||||
{$include unicode/fpmake.pp}
|
||||
|
||||
|
46
utils/pas2fpm/fpmake.pp
Normal file
46
utils/pas2fpm/fpmake.pp
Normal file
@ -0,0 +1,46 @@
|
||||
{$ifndef ALLPACKAGES}
|
||||
{$mode objfpc}{$H+}
|
||||
program fpmake;
|
||||
|
||||
uses fpmkunit;
|
||||
{$endif ALLPACKAGES}
|
||||
|
||||
procedure add_pas2fpm;
|
||||
|
||||
Var
|
||||
P : TPackage;
|
||||
T : TTarget;
|
||||
|
||||
begin
|
||||
With Installer do
|
||||
begin
|
||||
P:=AddPackage('pas2fpm');
|
||||
|
||||
P.Author := 'Free Pascal Team';
|
||||
P.License := 'LGPL with modification';
|
||||
P.HomepageURL := 'www.freepascal.org';
|
||||
P.Description := 'Generate fpmake.pp for Pascal source.';
|
||||
P.Email := '';
|
||||
P.NeedLibC:= false;
|
||||
|
||||
{$ifdef ALLPACKAGES}
|
||||
P.Directory:='pas2fpm';
|
||||
{$endif ALLPACKAGES}
|
||||
P.Version:='2.7.1';
|
||||
P.Dependencies.Add('fcl-base');
|
||||
P.Dependencies.Add('fcl-passrc');
|
||||
|
||||
T:=P.Targets.AddProgram('pas2fpm.pp');
|
||||
end;
|
||||
end;
|
||||
|
||||
{$ifndef ALLPACKAGES}
|
||||
begin
|
||||
add_pas2fpm;
|
||||
Installer.Run;
|
||||
end.
|
||||
{$endif ALLPACKAGES}
|
||||
|
||||
|
||||
|
||||
|
52
utils/pas2jni/fpmake.pp
Normal file
52
utils/pas2jni/fpmake.pp
Normal file
@ -0,0 +1,52 @@
|
||||
{$ifndef ALLPACKAGES}
|
||||
{$mode objfpc}{$H+}
|
||||
program fpmake;
|
||||
|
||||
uses fpmkunit;
|
||||
{$endif ALLPACKAGES}
|
||||
|
||||
procedure add_pas2jni;
|
||||
|
||||
Var
|
||||
P : TPackage;
|
||||
T : TTarget;
|
||||
|
||||
begin
|
||||
With Installer do
|
||||
begin
|
||||
P:=AddPackage('pas2jni');
|
||||
|
||||
P.Author := 'Yury Sidorov';
|
||||
P.License := 'LGPL with modification';
|
||||
P.HomepageURL := 'www.freepascal.org';
|
||||
P.Description := 'The pas2jni utility generates a JNI (Java Native Interface) bridge for a Pascal code.';
|
||||
P.Email := '';
|
||||
P.NeedLibC:= false;
|
||||
|
||||
{$ifdef ALLPACKAGES}
|
||||
P.Directory:='pas2jni';
|
||||
{$endif ALLPACKAGES}
|
||||
P.Version:='2.7.1';
|
||||
P.Dependencies.Add('fcl-base');
|
||||
|
||||
T:=P.Targets.AddImplicitUnit('def.pas');
|
||||
T.Install := false;
|
||||
T:=P.Targets.AddImplicitUnit('ppuparser.pas');
|
||||
T.Install := false;
|
||||
T:=P.Targets.AddImplicitUnit('writer.pas');
|
||||
T.Install := false;
|
||||
T:=P.Targets.AddProgram('pas2jni.pas');
|
||||
T.Install := false;
|
||||
end;
|
||||
end;
|
||||
|
||||
{$ifndef ALLPACKAGES}
|
||||
begin
|
||||
add_pas2jni;
|
||||
Installer.Run;
|
||||
end.
|
||||
{$endif ALLPACKAGES}
|
||||
|
||||
|
||||
|
||||
|
45
utils/pas2ut/fpmake.pp
Normal file
45
utils/pas2ut/fpmake.pp
Normal file
@ -0,0 +1,45 @@
|
||||
{$ifndef ALLPACKAGES}
|
||||
{$mode objfpc}{$H+}
|
||||
program fpmake;
|
||||
|
||||
uses fpmkunit;
|
||||
{$endif ALLPACKAGES}
|
||||
|
||||
procedure add_pas2ut;
|
||||
|
||||
Var
|
||||
P : TPackage;
|
||||
T : TTarget;
|
||||
|
||||
begin
|
||||
With Installer do
|
||||
begin
|
||||
P:=AddPackage('pas2ut');
|
||||
|
||||
P.Author := 'Free Pascal Team';
|
||||
P.License := 'LGPL with modification';
|
||||
P.HomepageURL := 'www.freepascal.org';
|
||||
P.Description := 'Pascal source to FPC Unit test generator program';
|
||||
P.Email := '';
|
||||
P.NeedLibC:= false;
|
||||
|
||||
{$ifdef ALLPACKAGES}
|
||||
P.Directory:='pas2ut';
|
||||
{$endif ALLPACKAGES}
|
||||
P.Version:='2.7.1';
|
||||
P.Dependencies.Add('fcl-passrc');
|
||||
|
||||
T:=P.Targets.AddProgram('pas2ut.pp');
|
||||
end;
|
||||
end;
|
||||
|
||||
{$ifndef ALLPACKAGES}
|
||||
begin
|
||||
add_pas2ut;
|
||||
Installer.Run;
|
||||
end.
|
||||
{$endif ALLPACKAGES}
|
||||
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user