diff options
author | peter <peter@3ad0048d-3df7-0310-abae-a5850022a9f2> | 2008-01-26 19:18:39 +0000 |
---|---|---|
committer | peter <peter@3ad0048d-3df7-0310-abae-a5850022a9f2> | 2008-01-26 19:18:39 +0000 |
commit | 24ba39c5a3f7c06efa8b125e0f51b10be3dae927 (patch) | |
tree | 5aa2bfdda8e331d1346bd6963e04b6da3ff62cfd /packages/fcl-passrc/fpmake.pp | |
parent | 48cb1dea5e96aeeb653a9a468eff7f08e751c159 (diff) | |
download | fpc-24ba39c5a3f7c06efa8b125e0f51b10be3dae927.tar.gz |
* add fpmake.pp
git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@9957 3ad0048d-3df7-0310-abae-a5850022a9f2
Diffstat (limited to 'packages/fcl-passrc/fpmake.pp')
-rw-r--r-- | packages/fcl-passrc/fpmake.pp | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/packages/fcl-passrc/fpmake.pp b/packages/fcl-passrc/fpmake.pp new file mode 100644 index 0000000000..ddcd18a32f --- /dev/null +++ b/packages/fcl-passrc/fpmake.pp @@ -0,0 +1,43 @@ +{$ifndef ALLPACKAGES} +{$mode objfpc}{$H+} +program fpmake; + +uses fpmkunit; + +Var + T : TTarget; + P : TPackage; +begin + With Installer do + begin +{$endif ALLPACKAGES} + + P:=AddPackage('fcl-passrc'); +{$ifdef ALLPACKAGES} + P.Directory:='fcl-passrc'; +{$endif ALLPACKAGES} + P.Version:='2.2.1'; + + P.Dependencies.Add('fcl-base'); + + P.SourcePath.Add('src'); + + T:=P.Targets.AddUnit('pastree.pp'); + T:=P.Targets.AddUnit('paswrite.pp'); + with T.Dependencies do + begin + AddUnit('pastree'); + end; + T:=P.Targets.AddUnit('pparser.pp'); + with T.Dependencies do + begin + AddUnit('pastree'); + AddUnit('pscanner'); + end; + T:=P.Targets.AddUnit('pscanner.pp'); + +{$ifndef ALLPACKAGES} + Run; + end; +end. +{$endif ALLPACKAGES} |