equal
deleted
inserted
replaced
35 {$linklib pthread} |
35 {$linklib pthread} |
36 {$ENDIF} |
36 {$ENDIF} |
37 |
37 |
38 {$PACKRECORDS C} |
38 {$PACKRECORDS C} |
39 |
39 |
|
40 {$IFDEF DARWIN} |
|
41 {$linklib libpng} |
|
42 {$linklib libz} |
|
43 {$linklib libjpeg} |
|
44 {$linklib libtiff} |
|
45 {$linklib libfreetype} |
|
46 {$linklib libsmpeg} |
|
47 {$linklib libvorbis} |
|
48 {$linklib libvorbisfile} |
|
49 {$linklib libogg} |
|
50 |
|
51 {$linkframework Carbon} |
|
52 {$linkframework OpenGL} |
|
53 {$linkframework AudioUnit} |
|
54 {$linkframework Quicktime} |
|
55 {$linkframework IOKit} |
|
56 {$linkframework ForceFeedback} |
|
57 {$linkframework CoreAudio} |
|
58 {$ENDIF} |
|
59 |
40 (* SDL *) |
60 (* SDL *) |
41 const {$IFDEF WIN32} |
61 const {$IFDEF WIN32} |
42 SDLLibName = 'SDL.dll'; |
62 SDLLibName = 'SDL.dll'; |
43 {$ENDIF} |
63 {$ENDIF} |
44 {$IFDEF UNIX} |
64 {$IFDEF UNIX} |
45 {$IFDEF DARWIN} |
65 {$IFDEF DARWIN} |
46 SDLLibName = 'libSDL.dylib'; |
66 SDLLibName = 'libSDL.a'; |
47 {$linklib libSDL} |
67 {$linklib libSDL} |
48 {$linklib SDLmain} |
68 {$linklib SDLmain} |
49 {$linkframework Cocoa} |
69 {$linkframework Cocoa} |
50 {$PASCALMAINNAME SDL_main} |
70 {$PASCALMAINNAME SDL_main} |
51 {$ELSE} |
71 {$ELSE} |
276 const {$IFDEF WIN32} |
296 const {$IFDEF WIN32} |
277 SDL_TTFLibName = 'SDL_ttf.dll'; |
297 SDL_TTFLibName = 'SDL_ttf.dll'; |
278 {$ENDIF} |
298 {$ENDIF} |
279 {$IFDEF UNIX} |
299 {$IFDEF UNIX} |
280 {$IFDEF DARWIN} |
300 {$IFDEF DARWIN} |
281 SDL_TTFLibName = 'libSDL_ttf.dylib'; |
301 SDL_TTFLibName = 'libSDL_ttf.a'; |
282 {$linklib libSDL_ttf} |
302 {$linklib libSDL_ttf} |
283 {$ELSE} |
303 {$ELSE} |
284 SDL_TTFLibName = 'libSDL_ttf.so'; |
304 SDL_TTFLibName = 'libSDL_ttf.so'; |
285 {$ENDIF} |
305 {$ENDIF} |
286 {$ENDIF} |
306 {$ENDIF} |
311 const {$IFDEF WIN32} |
331 const {$IFDEF WIN32} |
312 SDL_MixerLibName = 'SDL_mixer.dll'; |
332 SDL_MixerLibName = 'SDL_mixer.dll'; |
313 {$ENDIF} |
333 {$ENDIF} |
314 {$IFDEF UNIX} |
334 {$IFDEF UNIX} |
315 {$IFDEF DARWIN} |
335 {$IFDEF DARWIN} |
316 SDL_MixerLibName = 'libSDL_mixer.dylib'; |
336 SDL_MixerLibName = 'libSDL_mixer.a'; |
317 {$linklib libSDL_mixer} |
337 {$linklib libSDL_mixer} |
318 {$ELSE} |
338 {$ELSE} |
319 SDL_MixerLibName = 'libSDL_mixer.so'; |
339 SDL_MixerLibName = 'libSDL_mixer.so'; |
320 {$ENDIF} |
340 {$ENDIF} |
321 {$ENDIF} |
341 {$ENDIF} |
377 const {$IFDEF WIN32} |
397 const {$IFDEF WIN32} |
378 SDL_ImageLibName = 'SDL_image.dll'; |
398 SDL_ImageLibName = 'SDL_image.dll'; |
379 {$ENDIF} |
399 {$ENDIF} |
380 {$IFDEF UNIX} |
400 {$IFDEF UNIX} |
381 {$IFDEF DARWIN} |
401 {$IFDEF DARWIN} |
382 SDL_ImageLibName = 'libSDL_image.dylib'; |
402 SDL_ImageLibName = 'libSDL_image.a'; |
383 {$linklib libSDL_image} |
403 {$linklib libSDL_image} |
384 {$ELSE} |
404 {$ELSE} |
385 SDL_ImageLibName = 'libSDL_image.so'; |
405 SDL_ImageLibName = 'libSDL_image.so'; |
386 {$ENDIF} |
406 {$ENDIF} |
387 {$ENDIF} |
407 {$ENDIF} |
393 const {$IFDEF WIN32} |
413 const {$IFDEF WIN32} |
394 SDL_NetLibName = 'SDL_net.dll'; |
414 SDL_NetLibName = 'SDL_net.dll'; |
395 {$ENDIF} |
415 {$ENDIF} |
396 {$IFDEF UNIX} |
416 {$IFDEF UNIX} |
397 {$IFDEF DARWIN} |
417 {$IFDEF DARWIN} |
398 SDL_NetLibName = 'libSDL_net.dylib'; |
418 SDL_NetLibName = 'libSDL_net.a'; |
399 {$linklib libSDL_net} |
419 {$linklib libSDL_net} |
400 {$ELSE} |
420 {$ELSE} |
401 SDL_NetLibName = 'libSDL_net.so'; |
421 SDL_NetLibName = 'libSDL_net.so'; |
402 {$ENDIF} |
422 {$ENDIF} |
403 {$ENDIF} |
423 {$ENDIF} |