From 4a08ad5a330c035ddb634f62ecbfc73c51245fc0 Mon Sep 17 00:00:00 2001 From: marco Date: Mon, 4 Feb 2008 20:43:54 +0000 Subject: [PATCH] * first batch git-svn-id: trunk@10209 - --- .gitattributes | 5 +++ packages/cairo/fpmake.pp | 35 +++++++++++++++ packages/graph/fpmake.pp | 68 ++++++++++++++++++++++++++++ packages/hermes/fpmake.pp | 62 +++++++++++++++++++++++++ packages/openal/fpmake.pp | 34 ++++++++++++++ packages/ptc/fpmake.pp | 95 +++++++++++++++++++++++++++++++++++++++ 6 files changed, 299 insertions(+) create mode 100644 packages/cairo/fpmake.pp create mode 100644 packages/graph/fpmake.pp create mode 100644 packages/hermes/fpmake.pp create mode 100644 packages/openal/fpmake.pp create mode 100644 packages/ptc/fpmake.pp diff --git a/.gitattributes b/.gitattributes index 468000b9be..a425f82cf6 100644 --- a/.gitattributes +++ b/.gitattributes @@ -916,6 +916,7 @@ packages/bzip2/src/bzip2.pas svneol=native#text/plain packages/bzip2/src/bzip2i386.inc svneol=native#text/plain packages/cairo/Makefile svneol=native#text/plain packages/cairo/Makefile.fpc svneol=native#text/plain +packages/cairo/fpmake.pp svneol=native#text/plain packages/cairo/src/cairo.pp svneol=native#text/plain packages/cdrom/Makefile svneol=native#text/plain packages/cdrom/Makefile.fpc svneol=native#text/plain @@ -1778,6 +1779,7 @@ packages/gnome1/src/zvt/vt.inc svneol=native#text/plain packages/gnome1/src/zvt/vtx.inc svneol=native#text/plain packages/graph/Makefile svneol=native#text/plain packages/graph/Makefile.fpc svneol=native#text/plain +packages/graph/fpmake.pp svneol=native#text/plain packages/graph/src/amiga/graph.pp svneol=native#text/plain packages/graph/src/go32v2/graph.pp svneol=native#text/plain packages/graph/src/go32v2/vesa.inc svneol=native#text/plain @@ -2413,6 +2415,7 @@ packages/hash/src/unixcrypt.pas svneol=native#text/plain packages/hash/src/uuid.pas svneol=native#text/plain packages/hermes/Makefile svneol=native#text/plain packages/hermes/Makefile.fpc svneol=native#text/plain +packages/hermes/fpmake.pp svneol=native#text/plain packages/hermes/src/clear.inc svneol=native#text/plain packages/hermes/src/convert.inc svneol=native#text/plain packages/hermes/src/d_32.inc svneol=native#text/plain @@ -3343,6 +3346,7 @@ packages/openal/Makefile.fpc svneol=native#text/plain packages/openal/examples/Makefile svneol=native#text/plain packages/openal/examples/Makefile.fpc svneol=native#text/plain packages/openal/examples/madopenal.pas svneol=native#text/plain +packages/openal/fpmake.pp svneol=native#text/plain packages/openal/src/alch.inc svneol=native#text/plain packages/openal/src/alexth.inc svneol=native#text/plain packages/openal/src/alh.inc svneol=native#text/plain @@ -3708,6 +3712,7 @@ packages/ptc/examples/timer.pp svneol=native#text/plain packages/ptc/examples/tunnel.pp svneol=native#text/plain packages/ptc/examples/tunnel3d.pp svneol=native#text/plain packages/ptc/examples/tunnel3d.raw -text svneol=unset#raw/binary +packages/ptc/fpmake.pp svneol=native#text/plain packages/ptc/src/aread.inc svneol=native#text/x-pascal packages/ptc/src/areai.inc svneol=native#text/x-pascal packages/ptc/src/baseconsoled.inc svneol=native#text/x-pascal diff --git a/packages/cairo/fpmake.pp b/packages/cairo/fpmake.pp new file mode 100644 index 0000000000..2929aad264 --- /dev/null +++ b/packages/cairo/fpmake.pp @@ -0,0 +1,35 @@ +{$ifndef ALLPACKAGES} +{$mode objfpc}{$H+} +program fpmake; + +uses fpmkunit; + +Var + P : TPackage; + T : TTarget; +begin + With Installer do + begin +{$endif ALLPACKAGES} + + P:=AddPackage('cairo'); +{$ifdef ALLPACKAGES} + P.Directory:='cairo'; +{$endif ALLPACKAGES} + P.Version:='2.0.0'; + P.SourcePath.Add('src'); + +T:=P.Targets.AddUnit('cairo.pp'); + with T.Dependencies do + begin + AddUnit('xlib'); + AddUnit('xrender'); + AddUnit('freetypeh'); + end; + + +{$ifndef ALLPACKAGES} + Run; + end; +end. +{$endif ALLPACKAGES} diff --git a/packages/graph/fpmake.pp b/packages/graph/fpmake.pp new file mode 100644 index 0000000000..95221ba165 --- /dev/null +++ b/packages/graph/fpmake.pp @@ -0,0 +1,68 @@ +{$ifndef ALLPACKAGES} +{$mode objfpc}{$H+} +program fpmake; + +uses fpmkunit; + +Var + P : TPackage; + T : TTarget; +begin + With Installer do + begin +{$endif ALLPACKAGES} + + P:=AddPackage('graph'); +{$ifdef ALLPACKAGES} + P.Directory:='graph'; +{$endif ALLPACKAGES} + P.Version:='2.0.0'; + P.SourcePath.Add('src'); + + T:=P.Targets.AddUnit('ggigraph.pp'); + with T.Dependencies do + begin + AddInclude('graphh.inc'); + AddInclude('graph.inc'); + AddInclude('fontdata.inc'); + AddInclude('clip.inc'); + AddInclude('palette.inc'); + AddInclude('modes.inc'); + AddInclude('fills.inc'); + AddInclude('gtext.inc'); + end; + T:=P.Targets.AddUnit('graph.pp'); + with T.Dependencies do + begin + AddInclude('graphh.inc'); + AddInclude('graph.inc'); + AddInclude('fontdata.inc'); + AddInclude('clip.inc'); + AddInclude('palette.inc'); + AddInclude('modes.inc'); + AddInclude('fills.inc'); + AddInclude('gtext.inc'); + AddInclude('graph16.inc'); + end; + T:=P.Targets.AddUnit('sdlgraph.pp'); + with T.Dependencies do + begin + AddInclude('graphh.inc'); + AddInclude('graph.inc'); + AddInclude('fontdata.inc'); + AddInclude('clip.inc'); + AddInclude('palette.inc'); + AddInclude('modes.inc'); + AddInclude('fills.inc'); + AddInclude('gtext.inc'); + AddUnit('sdl'); + AddUnit('sdlutils'); + AddUnit('logger'); + end; + + +{$ifndef ALLPACKAGES} + Run; + end; +end. +{$endif ALLPACKAGES} diff --git a/packages/hermes/fpmake.pp b/packages/hermes/fpmake.pp new file mode 100644 index 0000000000..eb098e7468 --- /dev/null +++ b/packages/hermes/fpmake.pp @@ -0,0 +1,62 @@ +{$ifndef ALLPACKAGES} +{$mode objfpc}{$H+} +program fpmake; + +uses fpmkunit; + +Var + P : TPackage; + T : TTarget; +begin + With Installer do + begin +{$endif ALLPACKAGES} + + P:=AddPackage('hermes'); +{$ifdef ALLPACKAGES} + P.Directory:='hermes'; +{$endif ALLPACKAGES} + P.Version:='2.0.0'; + P.SourcePath.Add('src'); + +T:=P.Targets.AddUnit('hermes.pp'); + with T.Dependencies do + begin + AddInclude('hermdef.inc'); + AddInclude('hermconf.inc'); + AddInclude('malloc.inc'); + AddInclude('debug.inc'); + AddInclude('dither.inc'); + AddInclude('headp.inc'); + AddInclude('p_16.inc'); + AddInclude('p_24.inc'); + AddInclude('p_32.inc'); + AddInclude('p_clr.inc'); + AddInclude('p_cnv.inc'); + AddInclude('p_cpy.inc'); + AddInclude('p_g.inc'); + AddInclude('p_ga.inc'); + AddInclude('p_gac.inc'); + AddInclude('p_gca.inc'); + AddInclude('p_gcc.inc'); + AddInclude('p_i8.inc'); + AddInclude('p_muhmu.inc'); + AddInclude('d_32.inc'); + AddInclude('headi386.inc'); + AddInclude('headmmx.inc'); + AddInclude('factconv.inc'); + AddInclude('list.inc'); + AddInclude('utility.inc'); + AddInclude('format.inc'); + AddInclude('palette.inc'); + AddInclude('convert.inc'); + AddInclude('clear.inc'); + AddInclude('factory.inc'); + end; + + +{$ifndef ALLPACKAGES} + Run; + end; +end. +{$endif ALLPACKAGES} diff --git a/packages/openal/fpmake.pp b/packages/openal/fpmake.pp new file mode 100644 index 0000000000..3d5a9205d6 --- /dev/null +++ b/packages/openal/fpmake.pp @@ -0,0 +1,34 @@ +{$ifndef ALLPACKAGES} +{$mode objfpc}{$H+} +program fpmake; + +uses fpmkunit; + +Var + P : TPackage; + T : TTarget; +begin + With Installer do + begin +{$endif ALLPACKAGES} + + P:=AddPackage('openal'); +{$ifdef ALLPACKAGES} + P.Directory:='openal'; +{$endif ALLPACKAGES} + P.Version:='2.0.0'; + P.SourcePath.Add('src'); + + T:=P.Targets.AddUnit('openal.pas'); + with T.Dependencies do + begin + AddInclude('alh.inc'); + AddInclude('alch.inc'); + AddInclude('alexth.inc'); + end; + +{$ifndef ALLPACKAGES} + Run; + end; +end. +{$endif ALLPACKAGES} diff --git a/packages/ptc/fpmake.pp b/packages/ptc/fpmake.pp new file mode 100644 index 0000000000..1c1df9116d --- /dev/null +++ b/packages/ptc/fpmake.pp @@ -0,0 +1,95 @@ +{$ifndef ALLPACKAGES} +{$mode objfpc}{$H+} +program fpmake; + +uses fpmkunit; + +Var + P : TPackage; + T : TTarget; +begin + With Installer do + begin +{$endif ALLPACKAGES} + + P:=AddPackage('ptc'); +{$ifdef ALLPACKAGES} + P.Directory:='ptc'; +{$endif ALLPACKAGES} + P.Version:='2.0.0'; + P.SourcePath.Add('src'); + +T:=P.Targets.AddUnit('ptc.pp'); + with T.Dependencies do + begin + AddInclude('extensions.inc'); + AddInclude('coreinterface.inc'); + AddInclude('aread.inc'); + AddInclude('colord.inc'); + AddInclude('formatd.inc'); + AddInclude('eventd.inc'); + AddInclude('keyeventd.inc'); + AddInclude('mouseeventd.inc'); + AddInclude('moded.inc'); + AddInclude('paletted.inc'); + AddInclude('cleard.inc'); + AddInclude('copyd.inc'); + AddInclude('clipperd.inc'); + AddInclude('basesurfaced.inc'); + AddInclude('surfaced.inc'); + AddInclude('baseconsoled.inc'); + AddInclude('consoled.inc'); + AddInclude('errord.inc'); + AddInclude('timerd.inc'); + AddInclude('log.inc'); + AddInclude('coreimplementation.inc'); + AddInclude('errori.inc'); + AddInclude('areai.inc'); + AddInclude('colori.inc'); + AddInclude('formati.inc'); + AddInclude('eventi.inc'); + AddInclude('keyeventi.inc'); + AddInclude('mouseeventi.inc'); + AddInclude('modei.inc'); + AddInclude('palettei.inc'); + AddInclude('cleari.inc'); + AddInclude('copyi.inc'); + AddInclude('clipperi.inc'); + AddInclude('basesurfacei.inc'); + AddInclude('baseconsolei.inc'); + AddInclude('surfacei.inc'); + AddInclude('timeri.inc'); + AddInclude('includes.inc'); + AddInclude('x11modesd.inc'); + AddInclude('x11imaged.inc'); + AddInclude('x11displayd.inc'); + AddInclude('x11windowdisplayd.inc'); + AddInclude('x11dga1displayd.inc'); + AddInclude('x11dga2displayd.inc'); + AddInclude('x11consoled.inc'); + AddInclude('check.inc'); + AddInclude('x11modesi.inc'); + AddInclude('x11imagei.inc'); + AddInclude('x11displayi.inc'); + AddInclude('xunikey.inc'); + AddInclude('x11windowdisplayi.inc'); + AddInclude('x11dga1displayi.inc'); + AddInclude('x11dga2displayi.inc'); + AddInclude('x11consolei.inc'); + AddInclude('consolei.inc'); + AddUnit('hermes'); + AddUnit('xlib'); + AddUnit('xatom'); + AddUnit('keysym'); + AddUnit('xrandr'); + AddUnit('xf86vmode'); + AddUnit('xf86dga'); + AddUnit('xshm'); + end; + + +{$ifndef ALLPACKAGES} + Run; + end; +end. +{$endif ALLPACKAGES}