fpmake.pp 908 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. {$ifndef ALLPACKAGES}
  2. {$mode objfpc}{$H+}
  3. program fpmake;
  4. uses fpmkunit;
  5. {$endif ALLPACKAGES}
  6. procedure add_dxegen;
  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. {$ifdef ALLPACKAGES}
  23. P.Directory:='fprcp';
  24. {$endif ALLPACKAGES}
  25. P.Version:='2.7.1';
  26. T:=P.Targets.AddProgram('dxegen.pas');
  27. T.Dependencies.AddUnit('coff');
  28. P.Targets.AddUnit('coff.pp').install:=false;
  29. end;
  30. end;
  31. {$ifndef ALLPACKAGES}
  32. begin
  33. add_dxegen;
  34. Installer.Run;
  35. end.
  36. {$endif ALLPACKAGES}