hedgewars/SDLh.pas
branchcmake_pascal
changeset 8800 5e837e6d8f94
parent 8775 3cad01db0bae
child 9224 bce8cf41d666
equal deleted inserted replaced
8798:03d113d51062 8800:5e837e6d8f94
    33 {$IFDEF HAIKU}
    33 {$IFDEF HAIKU}
    34     {$DEFINE UNIX}
    34     {$DEFINE UNIX}
    35 {$ENDIF}
    35 {$ENDIF}
    36 
    36 
    37 {$IFDEF UNIX}
    37 {$IFDEF UNIX}
    38     {$IFNDEF DARWIN}
       
    39         {necessary for statically linking physfs (divdi3 undefined)}
       
    40         {$linklib stdc++}
       
    41     {$ENDIF}
       
    42     {$IFDEF HAIKU}
    38     {$IFDEF HAIKU}
    43         {$linklib root}
    39         {$linklib root}
    44     {$ELSE}
    40     {$ELSE}
    45         {$IFNDEF ANDROID}
    41         {$IFNDEF ANDROID}
    46             {$linklib pthread}
    42             {$linklib pthread}
    79     SDL_TTFLibName = 'SDL_ttf.dll';
    75     SDL_TTFLibName = 'SDL_ttf.dll';
    80     SDL_MixerLibName = 'SDL_mixer.dll';
    76     SDL_MixerLibName = 'SDL_mixer.dll';
    81     SDL_ImageLibName = 'SDL_image.dll';
    77     SDL_ImageLibName = 'SDL_image.dll';
    82     SDL_NetLibName = 'SDL_net.dll';
    78     SDL_NetLibName = 'SDL_net.dll';
    83 {$ELSE}
    79 {$ELSE}
    84     {$IFDEF DARWIN}
    80     SDLLibName = 'libSDL';
    85     SDLLibName = 'SDL';
    81     SDL_TTFLibName = 'libSDL_ttf';
    86     SDL_TTFLibName = 'SDL_ttf';
    82     SDL_MixerLibName = 'libSDL_mixer';
    87     SDL_MixerLibName = 'SDL_mixer';
    83     SDL_ImageLibName = 'libSDL_image';
    88     SDL_ImageLibName = 'SDL_image';
    84     SDL_NetLibName = 'libSDL_net';
    89     SDL_NetLibName = 'SDL_net';
       
    90     {$ELSE}
       
    91     SDLLibName = 'libSDL.so';
       
    92     SDL_TTFLibName = 'libSDL_ttf.so';
       
    93     SDL_MixerLibName = 'libSDL_mixer.so';
       
    94     SDL_ImageLibName = 'libSDL_image.so';
       
    95     SDL_NetLibName = 'libSDL_net.so';
       
    96     {$ENDIF}
       
    97 {$ENDIF}
    85 {$ENDIF}
    98 
    86 
    99 /////////////////////////////////////////////////////////////////
    87 /////////////////////////////////////////////////////////////////
   100 /////////////////////  CONSTANT DEFINITIONS /////////////////////
    88 /////////////////////  CONSTANT DEFINITIONS /////////////////////
   101 /////////////////////////////////////////////////////////////////
    89 /////////////////////////////////////////////////////////////////