diff --git a/.gitattributes b/.gitattributes index 32b9c31f6e..9c1b942e5a 100644 --- a/.gitattributes +++ b/.gitattributes @@ -3909,6 +3909,7 @@ packages/symbolic/examples/Makefile svneol=native#text/plain packages/symbolic/examples/Makefile.fpc svneol=native#text/plain packages/symbolic/examples/evaltest.pas svneol=native#text/plain packages/symbolic/examples/rpnthing.pas svneol=native#text/plain +packages/symbolic/fpmake.pp svneol=native#text/plain packages/symbolic/src/exprstrs.inc svneol=native#text/plain packages/symbolic/src/parsexpr.inc svneol=native#text/plain packages/symbolic/src/rearrang.inc svneol=native#text/plain diff --git a/packages/symbolic/fpmake.pp b/packages/symbolic/fpmake.pp new file mode 100644 index 0000000000..7e116ab237 --- /dev/null +++ b/packages/symbolic/fpmake.pp @@ -0,0 +1,38 @@ +{$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:='symbolic'; +{$endif ALLPACKAGES} + P.Version:='2.0.0'; + P.SourcePath.Add('src'); +// P.Dependencies.Add('x11'); + + 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; + + +{$ifndef ALLPACKAGES} + Run; + end; +end. +{$endif ALLPACKAGES}