summaryrefslogtreecommitdiff
path: root/packages/odbc/fpmake.pp
diff options
context:
space:
mode:
Diffstat (limited to 'packages/odbc/fpmake.pp')
-rw-r--r--packages/odbc/fpmake.pp37
1 files changed, 37 insertions, 0 deletions
diff --git a/packages/odbc/fpmake.pp b/packages/odbc/fpmake.pp
new file mode 100644
index 0000000000..59fc6f165c
--- /dev/null
+++ b/packages/odbc/fpmake.pp
@@ -0,0 +1,37 @@
+{$ifndef ALLPACKAGES}
+{$mode objfpc}{$H+}
+program fpmake;
+
+uses fpmkunit;
+
+Var
+ P : TPackage;
+ T : TTarget;
+begin
+ With Installer do
+ begin
+{$endif ALLPACKAGES}
+
+ P:=AddPackage('odbc');
+{$ifdef ALLPACKAGES}
+ P.Directory:='odbc';
+{$endif ALLPACKAGES}
+ P.Version:='2.0.0';
+ P.SourcePath.Add('src');
+
+ T:=P.Targets.AddUnit('odbcsqldyn.pas');
+ with T.Dependencies do
+ begin
+ AddInclude('odbcsql.inc');
+ end;
+ T:=P.Targets.AddUnit('odbcsql.pas');
+ with T.Dependencies do
+ begin
+ AddInclude('odbcsql.inc');
+ end;
+
+{$ifndef ALLPACKAGES}
+ Run;
+ end;
+end.
+{$endif ALLPACKAGES}