Tarek Ziadé | e6ed2f9 | 2009-06-03 10:31:15 +0000 | [diff] [blame] | 1 | # Setup file from the pygame project |
| 2 | |
| 3 | #--StartConfig |
| 4 | SDL = -I/usr/include/SDL -D_REENTRANT -lSDL |
| 5 | FONT = -lSDL_ttf |
| 6 | IMAGE = -lSDL_image |
| 7 | MIXER = -lSDL_mixer |
| 8 | SMPEG = -lsmpeg |
| 9 | PNG = -lpng |
| 10 | JPEG = -ljpeg |
| 11 | SCRAP = -lX11 |
| 12 | PORTMIDI = -lportmidi |
| 13 | PORTTIME = -lporttime |
| 14 | #--EndConfig |
| 15 | |
| 16 | #DEBUG = -C-W -C-Wall |
| 17 | DEBUG = |
| 18 | |
| 19 | #the following modules are optional. you will want to compile |
| 20 | #everything you can, but you can ignore ones you don't have |
| 21 | #dependencies for, just comment them out |
| 22 | |
| 23 | imageext src/imageext.c $(SDL) $(IMAGE) $(PNG) $(JPEG) $(DEBUG) |
| 24 | font src/font.c $(SDL) $(FONT) $(DEBUG) |
| 25 | mixer src/mixer.c $(SDL) $(MIXER) $(DEBUG) |
| 26 | mixer_music src/music.c $(SDL) $(MIXER) $(DEBUG) |
| 27 | _numericsurfarray src/_numericsurfarray.c $(SDL) $(DEBUG) |
| 28 | _numericsndarray src/_numericsndarray.c $(SDL) $(MIXER) $(DEBUG) |
| 29 | movie src/movie.c $(SDL) $(SMPEG) $(DEBUG) |
| 30 | scrap src/scrap.c $(SDL) $(SCRAP) $(DEBUG) |
| 31 | _camera src/_camera.c src/camera_v4l2.c src/camera_v4l.c $(SDL) $(DEBUG) |
| 32 | pypm src/pypm.c $(SDL) $(PORTMIDI) $(PORTTIME) $(DEBUG) |
| 33 | |
| 34 | GFX = src/SDL_gfx/SDL_gfxPrimitives.c |
| 35 | #GFX = src/SDL_gfx/SDL_gfxBlitFunc.c src/SDL_gfx/SDL_gfxPrimitives.c |
| 36 | gfxdraw src/gfxdraw.c $(SDL) $(GFX) $(DEBUG) |
| 37 | |
| 38 | |
| 39 | |
| 40 | #these modules are required for pygame to run. they only require |
| 41 | #SDL as a dependency. these should not be altered |
| 42 | |
| 43 | base src/base.c $(SDL) $(DEBUG) |
| 44 | cdrom src/cdrom.c $(SDL) $(DEBUG) |
| 45 | color src/color.c $(SDL) $(DEBUG) |
| 46 | constants src/constants.c $(SDL) $(DEBUG) |
| 47 | display src/display.c $(SDL) $(DEBUG) |
| 48 | event src/event.c $(SDL) $(DEBUG) |
| 49 | fastevent src/fastevent.c src/fastevents.c $(SDL) $(DEBUG) |
| 50 | key src/key.c $(SDL) $(DEBUG) |
| 51 | mouse src/mouse.c $(SDL) $(DEBUG) |
| 52 | rect src/rect.c $(SDL) $(DEBUG) |
| 53 | rwobject src/rwobject.c $(SDL) $(DEBUG) |
| 54 | surface src/surface.c src/alphablit.c src/surface_fill.c $(SDL) $(DEBUG) |
| 55 | surflock src/surflock.c $(SDL) $(DEBUG) |
| 56 | time src/time.c $(SDL) $(DEBUG) |
| 57 | joystick src/joystick.c $(SDL) $(DEBUG) |
| 58 | draw src/draw.c $(SDL) $(DEBUG) |
| 59 | image src/image.c $(SDL) $(DEBUG) |
| 60 | overlay src/overlay.c $(SDL) $(DEBUG) |
| 61 | transform src/transform.c src/rotozoom.c src/scale2x.c src/scale_mmx.c $(SDL) $(DEBUG) |
| 62 | mask src/mask.c src/bitmask.c $(SDL) $(DEBUG) |
| 63 | bufferproxy src/bufferproxy.c $(SDL) $(DEBUG) |
| 64 | pixelarray src/pixelarray.c $(SDL) $(DEBUG) |
| 65 | _arraysurfarray src/_arraysurfarray.c $(SDL) $(DEBUG) |
| 66 | |
| 67 | |