fpmake.pp 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  1. {$ifndef ALLPACKAGES}
  2. {$mode objfpc}{$H+}
  3. program fpmake;
  4. uses fpmkunit;
  5. Var
  6. P : TPackage;
  7. T : TTarget;
  8. begin
  9. With Installer do
  10. begin
  11. {$endif ALLPACKAGES}
  12. P:=AddPackage('libxml2');
  13. {$ifdef ALLPACKAGES}
  14. P.Directory:='libxml';
  15. {$endif ALLPACKAGES}
  16. P.Version:='2.6.32';
  17. P.SourcePath.Add('src');
  18. T:=P.Targets.AddUnit('libxml2.pas');
  19. with T.Dependencies do
  20. begin
  21. AddInclude('xinclude.h');
  22. AddInclude('xpointer.h');
  23. AddInclude('HTMLparser.h');
  24. AddInclude('schemasInternals.h');
  25. AddInclude('SAX2.h');
  26. AddInclude('xmlversion.h');
  27. AddInclude('globals.h');
  28. AddInclude('xmlexports.h');
  29. AddInclude('nanoftp.h');
  30. AddInclude('SAX.h');
  31. AddInclude('uri.h');
  32. AddInclude('debugXML.h');
  33. AddInclude('xmlunicode.h');
  34. AddInclude('DOCBparser.h');
  35. AddInclude('xmlIO.h');
  36. AddInclude('xmlsave.h');
  37. AddInclude('HTMLtree.h');
  38. AddInclude('parserInternals.h');
  39. AddInclude('chvalid.h');
  40. AddInclude('xmlwriter.h');
  41. AddInclude('relaxng.h');
  42. AddInclude('threads.h');
  43. AddInclude('list.h');
  44. AddInclude('encoding.h');
  45. AddInclude('catalog.h');
  46. AddInclude('pattern.h');
  47. AddInclude('xmlregexp.h');
  48. AddInclude('xmlerror.h');
  49. AddInclude('xpath.h');
  50. AddInclude('xmlautomata.h');
  51. AddInclude('entities.h');
  52. AddInclude('xmlreader.h');
  53. AddInclude('xmlstring.h');
  54. AddInclude('xmlmemory.h');
  55. AddInclude('xmlmodule.h');
  56. AddInclude('xmlschemas.h');
  57. AddInclude('hash.h');
  58. AddInclude('nanohttp.h');
  59. AddInclude('parser.h');
  60. AddInclude('tree.h');
  61. AddInclude('dict.h');
  62. AddInclude('xlink.h');
  63. AddInclude('valid.h');
  64. AddInclude('xpathInternals.h');
  65. AddInclude('xmlschemastypes.h');
  66. AddInclude('c14n.h');
  67. AddInclude('schematron.h');
  68. end;
  69. {$ifndef ALLPACKAGES}
  70. Run;
  71. end;
  72. end.
  73. {$endif ALLPACKAGES}