diff options
author | florian <florian@3ad0048d-3df7-0310-abae-a5850022a9f2> | 2011-08-14 13:41:15 +0000 |
---|---|---|
committer | florian <florian@3ad0048d-3df7-0310-abae-a5850022a9f2> | 2011-08-14 13:41:15 +0000 |
commit | 68a9c2223e3dcf482126d4168d10ec5f426c1a81 (patch) | |
tree | a391b8e89fc28f36a772caca1e1141c187ceab20 /packages/fcl-stl | |
parent | f117f0d6fec68696f0a0345a527ccc56567a1515 (diff) | |
download | fpc-68a9c2223e3dcf482126d4168d10ec5f426c1a81.tar.gz |
+ fpmake file for fcl-stl
* build fcl-stl from makefiles and fpmake, resolves #19916
git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@18203 3ad0048d-3df7-0310-abae-a5850022a9f2
Diffstat (limited to 'packages/fcl-stl')
-rw-r--r-- | packages/fcl-stl/fpmake.pp | 76 |
1 files changed, 76 insertions, 0 deletions
diff --git a/packages/fcl-stl/fpmake.pp b/packages/fcl-stl/fpmake.pp new file mode 100644 index 0000000000..3693a16be1 --- /dev/null +++ b/packages/fcl-stl/fpmake.pp @@ -0,0 +1,76 @@ +{$ifndef ALLPACKAGES} +{$mode objfpc}{$H+} +program fpmake; + +uses fpmkunit; + +Var + T : TTarget; + P : TPackage; +begin + With Installer do + begin +{$endif ALLPACKAGES} + + P:=AddPackage('fcl-stl'); +{$ifdef ALLPACKAGES} + P.Directory:='fcl-async'; +{$endif ALLPACKAGES} + + P.Version:='2.7.1'; + P.Author := 'Vlado Boza'; + P.License := 'LGPL with modification, '; + P.HomepageURL := 'www.freepascal.org'; + P.Email := ''; + P.Description := 'Asynchonous event management of Free Component Libraries (FCL), FPC''s OOP library.'; + P.NeedLibC:= false; + + P.Options.Add('-S2h'); + P.SourcePath.Add('src'); + + T:=P.Targets.AddUnit('garrayutils.pp'); + T:=P.Targets.AddUnit('gdeque.pp'); + T:=P.Targets.AddUnit('gmap.pp'); + with T.Dependencies do + begin + AddUnit('gset'); + end; + T:=P.Targets.AddUnit('gpriorityqueue.pp'); + with T.Dependencies do + begin + AddUnit('gvector'); + end; + T:=P.Targets.AddUnit('gqueue.pp'); + with T.Dependencies do + begin + AddUnit('gdeque'); + end; + T:=P.Targets.AddUnit('gset.pp'); + T:=P.Targets.AddUnit('gstack.pp'); + with T.Dependencies do + begin + AddUnit('gvector'); + end; + T:=P.Targets.AddUnit('gutil.pp'); + T:=P.Targets.AddUnit('gvector.pp'); + T:=P.Targets.AddUnit('ghashset.pp'); + with T.Dependencies do + begin + AddUnit('gvector'); + AddUnit('gutil'); + AddUnit('garrayutils'); + end; + T:=P.Targets.AddUnit('ghashmap.pp'); + with T.Dependencies do + begin + AddUnit('gvector'); + AddUnit('gutil'); + AddUnit('garrayutils'); + end; + +{$ifndef ALLPACKAGES} + Run; + end; +end. +{$endif ALLPACKAGES} + |