fpmake.pp 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. {$ifndef ALLPACKAGES}
  2. {$mode objfpc}{$H+}
  3. program fpmake;
  4. uses fpmkunit;
  5. {$endif ALLPACKAGES}
  6. procedure add_fprcp;
  7. Var
  8. P : TPackage;
  9. T : TTarget;
  10. begin
  11. With Installer do
  12. begin
  13. P:=AddPackage('fprcp');
  14. P.Author := '<various>';
  15. P.License := 'LGPL with modification';
  16. P.HomepageURL := 'www.freepascal.org';
  17. P.Email := '';
  18. P.Description := 'fprcp.exe extracts from C header and Pascal files included into resource '+
  19. 'scripts numerical constants and replaces these constants to its values '+
  20. 'in resource script.';
  21. P.NeedLibC:= false;
  22. {$ifdef ALLPACKAGES}
  23. P.Directory:='fprcp';
  24. {$endif ALLPACKAGES}
  25. P.Version:='2.7.1';
  26. T:=P.Targets.AddProgram('fprcp.pp');
  27. T.Dependencies.AddUnit('comments');
  28. T.Dependencies.AddUnit('expr');
  29. T.Dependencies.AddUnit('pasprep');
  30. P.Targets.AddUnit('comments.pp').install:=false;
  31. P.Targets.AddUnit('expr.pp').install:=false;
  32. P.Targets.AddUnit('pasprep.pp').install:=false;
  33. end;
  34. end;
  35. {$ifndef ALLPACKAGES}
  36. begin
  37. add_fprcp;
  38. Installer.Run;
  39. end.
  40. {$endif ALLPACKAGES}