Browse Source

* fpmake

git-svn-id: trunk@10065 -
marco 17 years ago
parent
commit
572e35e6cc
2 changed files with 39 additions and 0 deletions
  1. 1 0
      .gitattributes
  2. 38 0
      packages/symbolic/fpmake.pp

+ 1 - 0
.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

+ 38 - 0
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}