fpmake.pp 1.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. {$ifndef ALLPACKAGES}
  2. {$mode objfpc}{$H+}
  3. program fpmake;
  4. uses fpmkunit;
  5. Var
  6. P : TPackage;
  7. begin
  8. With Installer do
  9. begin
  10. {$endif ALLPACKAGES}
  11. P:=AddPackage('objcrtl');
  12. {$ifdef ALLPACKAGES}
  13. P.Directory:='objcrtl';
  14. {$endif ALLPACKAGES}
  15. P.Version:='2.2.2-0';
  16. P.Author := 'Library: Apple, header: Dmitry "skalogryz" Boyarintsev';
  17. P.License := 'Library: Apple, header: LGPL with modification, ';
  18. P.HomepageURL := 'www.freepascal.org';
  19. P.Email := '';
  20. P.Description := 'Objective-C Runtime-Library.';
  21. P.NeedLibC:= false; // true for headers that indirectly link to libc?
  22. P.SourcePath.Add('src');
  23. P.Targets.AddUnit('objcrtl.pas');
  24. P.Targets.AddUnit('objcrtl10.pas');
  25. P.Targets.AddUnit('objcrtl20.pas');
  26. P.Targets.AddUnit('objcrtliphoneos.pas');
  27. P.Targets.AddUnit('objcrtlmacosx.pas');
  28. P.Targets.AddUnit('objcrtlutils.pas');
  29. P.ExamplePath.Add('examples');
  30. P.Targets.AddExampleProgram('examples/objcrtltest.pas');
  31. {$ifndef ALLPACKAGES}
  32. Run;
  33. end;
  34. end.
  35. {$endif ALLPACKAGES}