blob: 1d2a722dee92c490f359e339832ab7cdb1976d4f (
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
|
{$ifndef ALLPACKAGES}
{$mode objfpc}{$H+}
program fpmake;
uses fpmkunit;
Var
P : TPackage;
T : TTarget;
begin
With Installer do
begin
{$endif ALLPACKAGES}
P:=AddPackage('symbolic');
{$ifdef ALLPACKAGES}
P.Directory:=ADirectory;
{$endif ALLPACKAGES}
P.Version:='2.7.1';
P.Author := 'Marco van de Voort';
P.License := 'LGPL with modification, ';
P.HomepageURL := 'www.freepascal.org';
P.Email := '';
P.Description := 'Expression parser with support for fast evaluation';
P.NeedLibC:= false;
P.OSes:=P.OSes-[embedded,msdos];
P.SourcePath.Add('src');
P.IncludePath.Add('src');
T:=P.Targets.AddUnit('symbolic.pas');
with T.Dependencies do
begin
AddInclude('exprstrs.inc');
AddInclude('parsexpr.inc');
AddInclude('symbexpr.inc');
AddInclude('teval.inc');
AddInclude('rearrang.inc');
end;
T.ResourceStrings := True;
P.ExamplePath.Add('examples');
P.Targets.AddExampleProgram('evaltest.pas');
P.Targets.AddExampleProgram('rpnthing.pas');
P.Targets.AddExampleProgram('easyevalexample.pp');
P.Sources.AddDoc('doc/optimization.txt');
P.Sources.AddDoc('doc/symbolic.txt');
{$ifndef ALLPACKAGES}
Run;
end;
end.
{$endif ALLPACKAGES}
|