fpmake.pp 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. {$ifndef ALLPACKAGES}
  2. {$mode objfpc}{$H+}
  3. program fpmake;
  4. uses fpmkunit;
  5. Var
  6. P : TPackage;
  7. D : TDependency;
  8. begin
  9. With Installer do
  10. begin
  11. {$endif ALLPACKAGES}
  12. P:=AddPackage('fpmkunit');
  13. P.ShortName:='fpmk';
  14. {$ifdef ALLPACKAGES}
  15. P.Directory:=ADirectory;
  16. {$endif ALLPACKAGES}
  17. P.Version:='3.3.1';
  18. P.Description:='Free Pascal Make Tool';
  19. P.Author := 'Peter Vreman';
  20. P.License := 'LGPL with modification, ';
  21. P.HomepageURL := 'www.freepascal.org';
  22. P.Email := '';
  23. P.Description := 'Basic library of the fpmake/fppkg build system.';
  24. P.NeedLibC:= false; // true for headers that indirectly link to libc?
  25. P.OSes := P.OSes - [embedded,nativent,msdos,win16,atari,macos,palmos];
  26. if Defaults.CPU=jvm then
  27. P.OSes := P.OSes - [java,android];
  28. // All dependencies (including implicit) are listed
  29. // here to be able to update all requirements to
  30. // compile fpmake from a single place
  31. D:=P.Dependencies.Add('hash');
  32. D:=P.Dependencies.Add('paszlib');
  33. D:=P.Dependencies.Add('fcl-process',AllOSes-[morphos,aros,amiga,go32v2,os2]);
  34. D:=P.Dependencies.Add('libtar');
  35. with P.Targets.AddUnit('src/fpmkunit.pp') do
  36. ResourceStrings:=true;
  37. {$ifndef ALLPACKAGES}
  38. Run;
  39. end;
  40. end.
  41. {$endif ALLPACKAGES}