fpmake.pp 898 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  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('dxegen');
  14. P.Author := 'Charles Sandmann and others';
  15. P.License := 'LGPL with modification';
  16. P.HomepageURL := 'www.freepascal.org';
  17. P.Email := '[email protected]';
  18. P.Description := 'DXEGEN converts COFF object files to .DXE files that can be loaded and '+
  19. 'relocated runtime.';
  20. P.NeedLibC:= false;
  21. P.OSes:=[go32v2];
  22. P.Directory:=ADirectory;
  23. P.Version:='2.7.1';
  24. T:=P.Targets.AddProgram('dxegen.pp');
  25. T.Dependencies.AddUnit('coff');
  26. P.Targets.AddUnit('coff.pp').install:=false;
  27. end;
  28. end;
  29. {$ifndef ALLPACKAGES}
  30. begin
  31. add_dxegen('');
  32. Installer.Run;
  33. end.
  34. {$endif ALLPACKAGES}