fpmake.pp 929 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. {$ifndef ALLPACKAGES}
  2. {$mode objfpc}{$H+}
  3. program fpmake;
  4. uses fpmkunit;
  5. {$endif ALLPACKAGES}
  6. procedure add_dxegen(const ADirectory: string);
  7. Var
  8. P : TPackage;
  9. T : TTarget;
  10. begin
  11. With Installer do
  12. begin
  13. P:=AddPackage('utils-dxegen');
  14. P.ShortName:='dxeg';
  15. P.Author := 'Charles Sandmann and others';
  16. P.License := 'LGPL with modification';
  17. P.HomepageURL := 'www.freepascal.org';
  18. P.Email := '[email protected]';
  19. P.Description := 'DXEGEN converts COFF object files to .DXE files that can be loaded and '+
  20. 'relocated runtime.';
  21. P.NeedLibC:= false;
  22. P.OSes:=[go32v2];
  23. P.Directory:=ADirectory;
  24. P.Version:='3.3.1';
  25. T:=P.Targets.AddProgram('dxegen.pp');
  26. T.Dependencies.AddUnit('coff');
  27. P.Targets.AddUnit('coff.pp').install:=false;
  28. end;
  29. end;
  30. {$ifndef ALLPACKAGES}
  31. begin
  32. add_dxegen('');
  33. Installer.Run;
  34. end.
  35. {$endif ALLPACKAGES}