fpmake.pp 971 B

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