|
@@ -26,16 +26,16 @@ begin
|
|
P.NeedLibC:= false; // true for headers that indirectly link to libc? OS specific?
|
|
P.NeedLibC:= false; // true for headers that indirectly link to libc? OS specific?
|
|
|
|
|
|
P.CPUs:=[i386,x86_64,powerpc,i8086,aarch64];
|
|
P.CPUs:=[i386,x86_64,powerpc,i8086,aarch64];
|
|
- P.OSes:=[go32v2,win32,win64,linux,freebsd,darwin,msdos];
|
|
|
|
|
|
+ P.OSes:=[go32v2,win32,win64,linux,freebsd,openbsd,darwin,msdos];
|
|
|
|
|
|
P.Dependencies.Add('sdl',[i386,powerpc],[win32,linux,freebsd,darwin]);
|
|
P.Dependencies.Add('sdl',[i386,powerpc],[win32,linux,freebsd,darwin]);
|
|
- P.Dependencies.Add('ptc',[win32,win64,linux,darwin]);
|
|
|
|
|
|
+ P.Dependencies.Add('ptc',[win32,win64,linux,darwin,openbsd]);
|
|
|
|
|
|
// Dependencies for ptc, due to fpcmake bug:
|
|
// Dependencies for ptc, due to fpcmake bug:
|
|
- P.Dependencies.Add('fcl-base',[win32,win64,linux,darwin]);
|
|
|
|
- P.Dependencies.Add('x11',[freebsd,linux]); // ptc only depends on reebsd and linux on x11
|
|
|
|
- P.Dependencies.Add('hermes',[win32,win64,linux,darwin]);
|
|
|
|
- P.Dependencies.Add('opengl',[win32,win64,linux]);
|
|
|
|
|
|
+ P.Dependencies.Add('fcl-base',[win32,win64,linux,openbsd,darwin]);
|
|
|
|
+ P.Dependencies.Add('x11',[freebsd,openbsd,linux]); // ptc only depends on bsd and linux on x11
|
|
|
|
+ P.Dependencies.Add('hermes',[win32,win64,linux,openbsd,darwin]);
|
|
|
|
+ P.Dependencies.Add('opengl',[win32,win64,linux,openbsd]);
|
|
|
|
|
|
P.SourcePath.Add('src');
|
|
P.SourcePath.Add('src');
|
|
P.SourcePath.Add('src/ptcgraph');
|
|
P.SourcePath.Add('src/ptcgraph');
|
|
@@ -44,12 +44,12 @@ begin
|
|
P.SourcePath.Add('src/go32v2',[go32v2]);
|
|
P.SourcePath.Add('src/go32v2',[go32v2]);
|
|
P.SourcePath.Add('src/msdos',[msdos]);
|
|
P.SourcePath.Add('src/msdos',[msdos]);
|
|
P.SourcePath.Add('src/win32',[win32,win64]);
|
|
P.SourcePath.Add('src/win32',[win32,win64]);
|
|
- P.SourcePath.Add('src/unix',[freebsd,linux]); // Darwin has own.
|
|
|
|
|
|
+ P.SourcePath.Add('src/unix',[freebsd,linux,openbsd]); // Darwin has own.
|
|
|
|
|
|
P.IncludePath.Add('src/inc');
|
|
P.IncludePath.Add('src/inc');
|
|
P.IncludePath.Add('src/go32v2',[go32v2]);
|
|
P.IncludePath.Add('src/go32v2',[go32v2]);
|
|
P.IncludePath.Add('src/msdos',[msdos]);
|
|
P.IncludePath.Add('src/msdos',[msdos]);
|
|
- P.IncludePath.Add('src/unix',[freebsd,linux]); // Darwin has own.
|
|
|
|
|
|
+ P.IncludePath.Add('src/unix',[freebsd,linux,openbsd]); // Darwin has own.
|
|
P.IncludePath.Add('src/go32v2',[go32v2]);
|
|
P.IncludePath.Add('src/go32v2',[go32v2]);
|
|
|
|
|
|
T:=P.Targets.AddUnit('ggigraph.pp',[linux,freebsd]);
|
|
T:=P.Targets.AddUnit('ggigraph.pp',[linux,freebsd]);
|
|
@@ -117,7 +117,7 @@ begin
|
|
begin
|
|
begin
|
|
AddUnit('graph');
|
|
AddUnit('graph');
|
|
end;
|
|
end;
|
|
- T:=P.Targets.AddUnit('ptcgraph.pp',[win32,win64,linux,darwin]);
|
|
|
|
|
|
+ T:=P.Targets.AddUnit('ptcgraph.pp',[win32,win64,linux,openbsd,darwin]);
|
|
with T.Dependencies do
|
|
with T.Dependencies do
|
|
begin
|
|
begin
|
|
AddInclude('graphh.inc');
|
|
AddInclude('graphh.inc');
|
|
@@ -129,12 +129,12 @@ begin
|
|
AddInclude('fills.inc');
|
|
AddInclude('fills.inc');
|
|
AddInclude('gtext.inc');
|
|
AddInclude('gtext.inc');
|
|
end;
|
|
end;
|
|
- T:=P.Targets.AddUnit('ptccrt.pp',[win32,win64,linux,darwin]);
|
|
|
|
|
|
+ T:=P.Targets.AddUnit('ptccrt.pp',[win32,win64,linux,openbsd,darwin]);
|
|
with T.Dependencies do
|
|
with T.Dependencies do
|
|
begin
|
|
begin
|
|
AddUnit('ptcgraph');
|
|
AddUnit('ptcgraph');
|
|
end;
|
|
end;
|
|
- T:=P.Targets.AddUnit('ptcmouse.pp',[win32,win64,linux,darwin]);
|
|
|
|
|
|
+ T:=P.Targets.AddUnit('ptcmouse.pp',[win32,win64,linux,openbsd,darwin]);
|
|
with T.Dependencies do
|
|
with T.Dependencies do
|
|
begin
|
|
begin
|
|
AddUnit('ptcgraph');
|
|
AddUnit('ptcgraph');
|