|
@@ -24,12 +24,18 @@ begin
|
|
|
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.CPUs:=[i386,x86_64,powerpc];
|
|
|
P.OSes:=[win32,linux,freebsd,darwin];
|
|
|
|
|
|
P.Dependencies.Add('sdl',[i386,powerpc],[win32,linux,freebsd,darwin]);
|
|
|
+ P.Dependencies.Add('ptc',[win32,win64,linux]);
|
|
|
+ // Dependencies for ptc, due to fpcmake bug:
|
|
|
+ P.Dependencies.Add('fcl-base',[win32,win64,linux]);
|
|
|
+ P.Dependencies.Add('x11',[win32,win64,linux]);
|
|
|
+ P.Dependencies.Add('hermes',[win32,win64,linux]);
|
|
|
|
|
|
P.SourcePath.Add('src');
|
|
|
+ P.SourcePath.Add('src/ptcgraph');
|
|
|
P.SourcePath.Add('src/macosx',[darwin]);
|
|
|
P.SourcePath.Add('src/amiga',[amiga]);
|
|
|
P.SourcePath.Add('src/go32v2',[go32v2]);
|
|
@@ -91,6 +97,12 @@ begin
|
|
|
begin
|
|
|
AddUnit('graph');
|
|
|
end;
|
|
|
+ T:=P.Targets.AddUnit('ptcgraph.pp',[win32,win64,linux]);
|
|
|
+ T:=P.Targets.AddUnit('ptccrt.pp',[win32,win64,linux]);
|
|
|
+ with T.Dependencies do
|
|
|
+ begin
|
|
|
+ AddUnit('ptcgraph');
|
|
|
+ end;
|
|
|
|
|
|
|
|
|
{$ifndef ALLPACKAGES}
|