fpmake.pp 1.4 KB

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