fpmake.pp 694 B

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. {$ifndef ALLPACKAGES}
  2. {$mode objfpc}{$H+}
  3. program fpmake;
  4. uses {$ifdef unix}cthreads,{$endif} fpmkunit;
  5. Var
  6. P : TPackage;
  7. T : TTarget;
  8. begin
  9. With Installer do
  10. begin
  11. {$endif ALLPACKAGES}
  12. P:=AddPackage('proj4');
  13. P.ShortName := 'prj4';
  14. {$ifdef ALLPACKAGES}
  15. P.Directory:=ADirectory;
  16. {$endif ALLPACKAGES}
  17. P.Version:='3.3.1';
  18. P.SourcePath.Add('src');
  19. P.IncludePath.Add('src');
  20. P.OSes := [linux];
  21. T:=P.Targets.AddUnit('proj.pas');
  22. with T.Dependencies do
  23. begin
  24. end;
  25. // 'Makefile
  26. // 'Makefile.fpc
  27. // 'test1.xml
  28. // 'test2.xml
  29. P.NamespaceMap:='namespaces.lst';
  30. {$ifndef ALLPACKAGES}
  31. Run;
  32. end;
  33. end.
  34. {$endif ALLPACKAGES}