* More fpmake.pp-files fixes

git-svn-id: trunk@18049 -
This commit is contained in:
joost 2011-08-01 16:08:51 +00:00
parent 429b9563d8
commit d567d2e950
9 changed files with 66 additions and 2 deletions

1
.gitattributes vendored
View File

@ -2873,6 +2873,7 @@ packages/gmp/examples/printf_example.pas svneol=native#text/plain
packages/gmp/examples/printf_example2.pas svneol=native#text/plain
packages/gmp/examples/scanf_example.pas svneol=native#text/plain
packages/gmp/examples/scanf_example2.pas svneol=native#text/plain
packages/gmp/fpmake.pp svneol=native#text/plain
packages/gmp/readme svneol=native#text/plain
packages/gmp/src/gmp.pas svneol=native#text/plain
packages/gnome1/Makefile svneol=native#text/plain

View File

@ -20,6 +20,7 @@ begin
P.Dependencies.Add('fcl-base');
P.Dependencies.Add('fcl-xml');
P.Dependencies.Add('fcl-passrc');
P.Dependencies.Add('fcl-async');
P.Author := 'Sebastian Guenther and Free Pascal development team';
P.License := 'LGPL with modification, ';

View File

@ -19,10 +19,9 @@ begin
{$endif ALLPACKAGES}
P.Version:='2.2.2-0';
P.Options.Add('-S2h');
D:=P.Dependencies.Add('paszlib');
D.Version:='2.2.2-0';
D:=P.Dependencies.Add('fcl-base');
D.Version:='2.2.2-0';
D:=P.Dependencies.Add('iconvenc',[linux,darwin,iphonesim,freebsd,haiku,beos]);
P.Author := 'Sebastian Guenther, Sergei Gorelkin and FPC development team';
P.License := 'LGPL with modification, ';

View File

@ -32,6 +32,7 @@
add_gdbint;
add_gdbm;
add_ggi;
add_gmp;
add_gnome1;
add_graph;
add_gtk1;

View File

@ -202,6 +202,12 @@ begin
{$include ggi/fpmake.pp}
end;
procedure add_gmp;
begin
with Installer do
{$include gmp/fpmake.pp}
end;
procedure add_gnome1;
begin
with Installer do

35
packages/gmp/fpmake.pp Normal file
View File

@ -0,0 +1,35 @@
{$ifndef ALLPACKAGES}
{$mode objfpc}{$H+}
program fpmake;
uses fpmkunit;
Var
T : TTarget;
P : TPackage;
begin
With Installer do
begin
{$endif ALLPACKAGES}
P:=AddPackage('gmp');
{$ifdef ALLPACKAGES}
P.Directory:='gmp';
{$endif ALLPACKAGES}
P.Version:='2.2.2-0';
P.Author := 'FreePascal development team';
P.License := 'LGPL with modification, ';
P.HomepageURL := 'www.freepascal.org';
P.Email := '';
P.Description := 'GMP';
P.NeedLibC:= false;
P.SourcePath.Add('src');
T:=P.Targets.AddUnit('gmp.pas');
{$ifndef ALLPACKAGES}
Run;
end;
end.
{$endif ALLPACKAGES}

View File

@ -26,6 +26,8 @@ begin
P.OSes:=[linux,win64,win32,darwin];
P.CPUs:=[i386,x86_64];
P.Dependencies.Add('opengl');
P.SourcePath.Add('src');
P.IncludePath.Add('src');

View File

@ -24,10 +24,12 @@ begin
P.SourcePath.Add('src');
P.IncludePath.Add('src');
T:=P.Targets.AddImplicitUnit('freeglut.pp',AllOSes-[morphos]);
T:=P.Targets.AddUnit('glext.pp');
T:=P.Targets.AddUnit('gl.pp');
T:=P.Targets.AddUnit('glu.pp');
T:=P.Targets.AddUnit('glut.pp');
T.Dependencies.Add('freeglut',AllOSes-[morphos]);
T:=P.Targets.AddUnit('glx.pp',AllUnixOSes);
P.ExamplePath.Add('examples');

View File

@ -21,6 +21,23 @@ begin
P.SourcePath.Add('src');
P.IncludePath.Add('src');
T:=P.Targets.AddUnit('jctrans.pp');
with T.Dependencies do
begin
AddUnit('jmorecfg');
AddUnit('jinclude');
AddUnit('jdeferr');
AddUnit('jerror');
AddUnit('jutils');
AddUnit('jpeglib');
AddUnit('jcapimin');
AddUnit('jcparam');
AddUnit('jcomapi');
AddUnit('jcmaster');
AddUnit('jchuff');
AddUnit('jcphuff');
AddUnit('jcmarker');
end;
T:=P.Targets.AddUnit('buildpasjpeg.pp');
T.Install:=False;
with T.Dependencies do