blob: 40587fc73cc21b10f4b0cd27bdf3e0bba36ea8d8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
|
{$ifndef ALLPACKAGES}
{$mode objfpc}{$H+}
program fpmake;
uses fpmkunit;
Var
P : TPackage;
T : TTarget;
begin
With Installer do
begin
{$endif ALLPACKAGES}
P:=AddPackage('libxml2');
P.ShortName := 'lxml';
{$ifdef ALLPACKAGES}
P.Directory:=ADirectory;
{$endif ALLPACKAGES}
P.Version:='3.3.1';
P.OSes := [freebsd,linux,win32];
P.SourcePath.Add('src');
P.IncludePath.Add('src');
P.Dependencies.Add('rtl-objpas');
T:=P.Targets.AddUnit('xml2.pas');
with T.Dependencies do
begin
AddInclude('xml2.inc');
AddInclude('xinclude.inc');
AddInclude('xpointer.inc');
AddInclude('HTMLparser.inc');
AddInclude('schemasInternals.inc');
AddInclude('SAX2.inc');
AddInclude('xmlversion.inc');
AddInclude('globals.inc');
AddInclude('nanoftp.inc');
AddInclude('SAX.inc');
AddInclude('uri.inc');
AddInclude('debugXML.inc');
AddInclude('xmlunicode.inc');
// AddInclude('DOCBparser.inc');
AddInclude('xmlIO.inc');
AddInclude('xmlsave.inc');
AddInclude('HTMLtree.inc');
AddInclude('parserInternals.inc');
AddInclude('chvalid.inc');
AddInclude('xmlwriter.inc');
AddInclude('relaxng.inc');
AddInclude('threads.inc');
AddInclude('list.inc');
AddInclude('encoding.inc');
AddInclude('catalog.inc');
AddInclude('pattern.inc');
AddInclude('xmlregexp.inc');
AddInclude('xmlerror.inc');
AddInclude('xpath.inc');
AddInclude('xmlautomata.inc');
AddInclude('entities.inc');
AddInclude('xmlreader.inc');
AddInclude('xmlstring.inc');
AddInclude('xmlmemory.inc');
AddInclude('xmlmodule.inc');
AddInclude('xmlschemas.inc');
AddInclude('hash.inc');
AddInclude('nanohttp.inc');
AddInclude('libxmlparser.inc');
AddInclude('tree.inc');
AddInclude('dict.inc');
AddInclude('xlink.inc');
AddInclude('valid.inc');
AddInclude('xpathInternals.inc');
AddInclude('xmlschemastypes.inc');
AddInclude('c14n.inc');
AddInclude('schematron.inc');
end;
T:=P.Targets.AddUnit('xmlxsdparser.pas');
T.ResourceStrings := True;
T:=P.Targets.AddUnit('xmlxsd.pas');
T.ResourceStrings := True;
P.ExamplePath.Add('examples');
P.Targets.AddExampleProgram('reader1.pas');
P.Targets.AddExampleProgram('io2.pas');
P.Targets.AddExampleProgram('io1.pas');
P.Targets.AddExampleProgram('tree1.pas');
P.Targets.AddExampleProgram('tree2.pas');
P.Targets.AddExampleProgram('exutils.pas');
P.Targets.AddExampleProgram('reader2.pas');
P.Sources.AddExampleFiles('examples/*',P.Directory,false,'.');
{$ifndef ALLPACKAGES}
Run;
end;
end.
{$endif ALLPACKAGES}
|