summaryrefslogtreecommitdiff
path: root/packages/fcl-async
diff options
context:
space:
mode:
authorpeter <peter@3ad0048d-3df7-0310-abae-a5850022a9f2>2008-01-24 07:52:43 +0000
committerpeter <peter@3ad0048d-3df7-0310-abae-a5850022a9f2>2008-01-24 07:52:43 +0000
commita493f0dd4e8f3a4053db1ecf163b168c071ce4ee (patch)
tree1d96c98d350e5b92baf27bfe52bf54a61e07d9dd /packages/fcl-async
parent0d086a43d870165ce2d23f2b2ad9e18db4bf3ab9 (diff)
downloadfpc-a493f0dd4e8f3a4053db1ecf163b168c071ce4ee.tar.gz
* fpmake added
git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@9892 3ad0048d-3df7-0310-abae-a5850022a9f2
Diffstat (limited to 'packages/fcl-async')
-rw-r--r--packages/fcl-async/fpmake.pp41
1 files changed, 41 insertions, 0 deletions
diff --git a/packages/fcl-async/fpmake.pp b/packages/fcl-async/fpmake.pp
new file mode 100644
index 0000000000..155b841dfb
--- /dev/null
+++ b/packages/fcl-async/fpmake.pp
@@ -0,0 +1,41 @@
+{$ifndef ALLPACKAGES}
+{$mode objfpc}{$H+}
+program fpmake;
+
+uses fpmkunit;
+
+Var
+ T : TTarget;
+ P : TPackage;
+begin
+ With Installer do
+ begin
+{$endif ALLPACKAGES}
+
+ P:=AddPackage('fcl-async');
+{$ifdef ALLPACKAGES}
+ P.Directory:='fcl-async';
+{$endif ALLPACKAGES}
+ P.Version:='2.0.0';
+ P.SourcePath.Add('src');
+ P.SourcePath.Add('src/unix',AllUnixOSes);
+ P.SourcePath.Add('src/win',AllWindowsOSes);
+ P.SourcePath.Add('src/$(OS)',AllOSes-AllWindowsOSes-AllUnixOSes);
+ P.IncludePath.Add('src');
+ T:=P.Targets.AddUnit('fpasync.pp',AllUnixOSes);
+ with T.Dependencies do
+ begin
+ AddUnit('libasync');
+ end;
+ T:=P.Targets.AddUnit('libasync.pp',AllUnixOSes);
+ with T.Dependencies do
+ begin
+ AddInclude('libasynch.inc');
+ AddInclude('libasync.inc');
+ end;
+
+{$ifndef ALLPACKAGES}
+ Run;
+ end;
+end.
+{$endif ALLPACKAGES}