fpc/packages/libgbafpc/fpmake.pp
marco 74aff88586 --- Merging r49045 into '.':
C    Makefile
C    Makefile.fpc
--- Recording mergeinfo for merge of r49045 into '.':
 U   .
Summary of conflicts:
  Text conflicts: 2

# revisions: 49045
r49045 | jonas | 2021-03-24 15:33:09 +0100 (Wed, 24 Mar 2021) | 1 line
Changed paths:
   M /trunk/Makefile
   M /trunk/Makefile.fpc

  * support building with FPC 3.2.2

git-svn-id: branches/fixes_3_2@49384 -
2021-05-20 20:03:52 +00:00

81 lines
2.1 KiB
ObjectPascal

{$ifndef ALLPACKAGES}
{$mode objfpc}{$H+}
program fpmake;
uses fpmkunit;
Var
P : TPackage;
T : TTarget;
begin
With Installer do
begin
{$endif ALLPACKAGES}
P:=AddPackage('libgbafpc');
P.ShortName := 'lgba';
P.OSes:=[gba];
P.CPUs:=[arm];
{$ifdef ALLPACKAGES}
P.Directory:=ADirectory;
{$endif ALLPACKAGES}
P.Version:='3.2.3';
P.Author := 'Library: libgba and maxmod from devkitARM; headers: Francesco Lombardi';
P.License := 'LGPL';
P.HomepageURL := 'www.freepascal.org';
P.Email := '';
P.Description := 'Some libraries for Nintendo Gameboy Advance.';
P.NeedLibC:= false;
P.SourcePath.Add('src');
T:=P.Targets.AddUnit('gba.pp');
T.IncludePath.Add('src/gba');
with T.Dependencies do
begin
AddInclude('boyscout.inc');
AddInclude('core_asm.as');
AddInclude('disc.inc');
AddInclude('disc_io.inc');
AddInclude('dldi.inc');
AddInclude('fade.inc');
AddInclude('gba.inc');
AddInclude('gba_affine.inc');
AddInclude('gba_base.inc');
AddInclude('gba_compression.inc');
AddInclude('gba_console.inc');
AddInclude('gba_dma.inc');
AddInclude('gba_helper.inc');
AddInclude('gba_input.inc');
AddInclude('gba_interrupt.inc');
AddInclude('gba_multiboot.inc');
AddInclude('gba_sio.inc');
AddInclude('gba_sound.inc');
AddInclude('gba_sprites.inc');
AddInclude('gba_systemcalls.inc');
AddInclude('gba_timers.inc');
AddInclude('gba_types.inc');
AddInclude('gba_video.inc');
AddInclude('helper.inc');
AddInclude('mappy.inc');
AddInclude('mbv2.inc');
AddInclude('pcx.inc');
end;
P.SourcePath.Add('src/maxmod');
T:=P.Targets.AddUnit('maxmod.pp');
T.IncludePath.Add('src/maxmod/inc');
with T.Dependencies do
begin
AddInclude('maxmod.inc');
AddInclude('mm_types.inc');
end;
P.Sources.AddExampleFiles('examples/*',P.Directory,true,'.');
{$ifndef ALLPACKAGES}
Run;
end;
end.
{$endif ALLPACKAGES}