{$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.4'; P.SourcePath.Add('src'); T:=P.Targets.AddUnit('ggigraph.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'); 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'); end; T:=P.Targets.AddUnit('sdlgraph.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'); AddUnit('sdl'); AddUnit('sdlutils'); AddUnit('logger'); end; {$ifndef ALLPACKAGES} Run; end; end. {$endif ALLPACKAGES}