diff options
| author | marco <marco@3ad0048d-3df7-0310-abae-a5850022a9f2> | 2008-10-23 16:12:45 +0000 |
|---|---|---|
| committer | marco <marco@3ad0048d-3df7-0310-abae-a5850022a9f2> | 2008-10-23 16:12:45 +0000 |
| commit | 91f499c73c6957e144051bcd0781b95f778a8915 (patch) | |
| tree | 0aa6db1d6405070e12f217aa741e4cc1b7b8c220 /packages/ptc | |
| parent | 43fa5aaee598a4ebe156b5c6ecd00258b88b00bf (diff) | |
| download | fpc-91f499c73c6957e144051bcd0781b95f778a8915.tar.gz | |
* fpmakes batch #4. Most work now, but toplevel does not. Dependancies also not complete
git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@11952 3ad0048d-3df7-0310-abae-a5850022a9f2
Diffstat (limited to 'packages/ptc')
| -rw-r--r-- | packages/ptc/fpmake.pp | 110 |
1 files changed, 85 insertions, 25 deletions
diff --git a/packages/ptc/fpmake.pp b/packages/ptc/fpmake.pp index 3ca45600bb..1ea24095d8 100644 --- a/packages/ptc/fpmake.pp +++ b/packages/ptc/fpmake.pp @@ -2,6 +2,8 @@ {$mode objfpc}{$H+} program fpmake; +// Note this package is currently not compiled and a mess. + uses fpmkunit; Var @@ -18,8 +20,24 @@ begin {$endif ALLPACKAGES} P.Version:='2.2.2-0'; P.SourcePath.Add('src'); + P.IncludePath.Add('src'); + P.IncludePath.Add('src/dos',[go32v2]); + P.IncludePath.Add('src/dos/base',[go32v2]); + P.SourcePath.Add('src/dos/cga',[go32v2]); + P.SourcePath.Add('src/dos/fakemode',[go32v2]); + P.SourcePath.Add('src/dos/textfx2',[go32v2]); + P.SourcePath.Add('src/dos/timeunit',[go32v2]); + P.SourcePath.Add('src/dos/vesa',[go32v2]); + P.IncludePath.Add('src/dos/cga',[go32v2]); + P.IncludePath.Add('src/dos/fakemode',[go32v2]); + P.IncludePath.Add('src/dos/textfx2',[go32v2]); + P.IncludePath.Add('src/dos/timeunit',[go32v2]); + P.IncludePath.Add('src/dos/vesa',[go32v2]); + P.IncludePath.Add('src/win32',[win32,win64]); + P.IncludePath.Add('src/wince',[wince]); + P.IncludePath.Add('src/x11',AllUnixOSes); -T:=P.Targets.AddUnit('ptc.pp'); + T:=P.Targets.AddUnit('ptc.pp'); with T.Dependencies do begin AddInclude('extensions.inc'); @@ -60,32 +78,74 @@ T:=P.Targets.AddUnit('ptc.pp'); 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('x11modesd.inc',allunixoses); + AddInclude('x11imaged.inc',allunixoses); + AddInclude('x11displayd.inc',allunixoses); + AddInclude('x11windowdisplayd.inc',allunixoses); + AddInclude('x11dga1displayd.inc',allunixoses); + AddInclude('x11dga2displayd.inc',allunixoses); + AddInclude('x11consoled.inc',allunixoses); + AddInclude('check.inc',allunixoses); + AddInclude('x11modesi.inc',allunixoses); + AddInclude('x11imagei.inc',allunixoses); + AddInclude('x11displayi.inc',allunixoses); + AddInclude('xunikey.inc',allunixoses); + AddInclude('x11windowdisplayi.inc',allunixoses); + AddInclude('x11dga1displayi.inc',allunixoses); + AddInclude('x11dga2displayi.inc',allunixoses); + AddInclude('x11consolei.inc',allunixoses); AddInclude('consolei.inc'); AddUnit('hermes'); - AddUnit('xlib'); - AddUnit('xatom'); - AddUnit('keysym'); - AddUnit('xrandr'); - AddUnit('xf86vmode'); - AddUnit('xf86dga'); - AddUnit('xshm'); - end; + AddUnit('x',AllUnixOSes); + AddUnit('xlib',AllUnixOSes); + AddUnit('xutil',AllUnixOSes); + AddUnit('xatom',AllUnixOSes); + AddUnit('keysym',AllUnixOSes); + AddUnit('xrandr',AllUnixOSes); + AddUnit('xf86vmode',AllUnixOSes); + AddUnit('xf86dga',AllUnixOSes); + AddUnit('xshm',AllUnixOSes); + AddUnit('directdr',[Win32,win64]); + AddUnit('p_gx',[Wince]); + AddUnit('textfx2',[Go32v2]); + AddUnit('cga',[Go32v2]); + AddUnit('timeunit',[Go32v2]); + AddUnit('vesa',[Go32v2]); + AddUnit('vga',[Go32v2]); + end; + + P.ExamplePath.Add('examples/'); + P.Targets.AddExampleProgram('random.pp'); + P.Targets.AddExampleProgram('palette.pp'); + P.Targets.AddExampleProgram('pixel.pp'); + P.Targets.AddExampleProgram('console.pp'); + P.Targets.AddExampleProgram('image.pp'); + P.Targets.AddExampleProgram('flower.pp'); + P.Targets.AddExampleProgram('save.pp'); + P.Targets.AddExampleProgram('hicolor.pp'); + P.Targets.AddExampleProgram('stretch.pp'); + P.Targets.AddExampleProgram('tunnel.pp'); + P.Targets.AddExampleProgram('modes.pp'); + P.Targets.AddExampleProgram('buffer.pp'); + P.Targets.AddExampleProgram('texwarp.pp'); + P.Targets.AddExampleProgram('keyboard.pp'); + P.Targets.AddExampleProgram('timer.pp'); + P.Targets.AddExampleProgram('clip.pp'); + P.Targets.AddExampleProgram('lights.pp'); + P.Targets.AddExampleProgram('fire.pp'); + P.Targets.AddExampleProgram('mojo.pp'); + P.Targets.AddExampleProgram('land.pp'); + P.Targets.AddExampleProgram('keybrd2.pp'); + P.Targets.AddExampleProgram('clear.pp'); + P.Targets.AddExampleProgram('con_info.pp'); + P.Targets.AddExampleProgram('area.pp'); + P.Targets.AddExampleProgram('tunnel3d.pp'); + // 'Makefile + // 'stretch.tga + // 'Makefile.fpc + // 'mojo.raw + // 'tunnel3d.raw + // 'image.tga {$ifndef ALLPACKAGES} |
