1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
|
{$ifndef ALLPACKAGES}
{$mode objfpc}{$H+}
program fpmake;
uses fpmkunit;
Var
P : TPackage;
T : TTarget;
begin
With Installer do
begin
{$endif ALLPACKAGES}
P:=AddPackage('graph');
{$ifdef ALLPACKAGES}
P.Directory:='graph';
{$endif ALLPACKAGES}
P.Version:='2.2.2-0';
P.Author := 'FPC team';
P.License := 'LGPL with modification, ';
P.HomepageURL := 'www.freepascal.org';
P.Email := '';
P.Description := 'A portable, yet usable substitute for the Turbo Pascal Graph unit.';
P.NeedLibC:= false; // true for headers that indirectly link to libc? OS specific?
P.CPUs:=[i386,powerpc];
P.OSes:=[win32,linux,freebsd,darwin];
P.Dependencies.Add('sdl',[i386,powerpc],[win32,linux,freebsd,darwin]);
P.SourcePath.Add('src');
P.SourcePath.Add('src/macosx',[darwin]);
P.SourcePath.Add('src/amiga',[amiga]);
P.SourcePath.Add('src/go32v2',[go32v2]);
P.SourcePath.Add('src/win32',[win32,win64]);
P.SourcePath.Add('src/unix',[freebsd,linux]); // Darwin has own.
P.IncludePath.Add('src/inc');
P.IncludePath.Add('src/go32v2',[go32v2]);
P.IncludePath.Add('src/unix',[freebsd,linux]); // Darwin has own.
P.IncludePath.Add('src/go32v2',[go32v2]);
T:=P.Targets.AddUnit('ggigraph.pp',[linux,freebsd]);
with T.Dependencies do
begin
AddInclude('graphh.inc');
AddInclude('graph.inc');
AddInclude('fontdata.inc');
AddInclude('clip.inc');
AddInclude('palette.inc');
AddInclude('modes.inc');
AddInclude('fills.inc');
AddInclude('gtext.inc');
end;
T:=P.Targets.AddUnit('graph.pp');
with T.Dependencies do
begin
AddInclude('graphh.inc');
AddInclude('graph.inc');
AddInclude('fontdata.inc');
AddInclude('clip.inc');
AddInclude('palette.inc');
AddInclude('modes.inc');
AddInclude('fills.inc');
AddInclude('gtext.inc');
AddInclude('graph16.inc',[freebsd,linux]);
end;
T:=P.Targets.AddUnit('src/sdlgraph/sdlgraph.pp',[i386,powerpc],[win32,linux,freebsd,darwin]);
with T.Dependencies do
begin
AddInclude('graphh.inc');
AddInclude('graph.inc');
AddInclude('fontdata.inc');
AddInclude('clip.inc');
AddInclude('palette.inc');
AddInclude('modes.inc');
AddInclude('fills.inc');
AddInclude('gtext.inc');
AddUnit('sdl');
AddUnit('sdlutils');
AddUnit('logger');
end;
T:=P.Targets.AddUnit('wincrt.pp',[win32]);
with T.Dependencies do
begin
AddUnit('graph');
end;
T:=P.Targets.AddUnit('winmouse.pp',[win32]);
with T.Dependencies do
begin
AddUnit('graph');
end;
{$ifndef ALLPACKAGES}
Run;
end;
end.
{$endif ALLPACKAGES}
|