|
| 1 | +#This Setup file is used by the setup.py script to configure the |
| 2 | +#python extensions. You will likely use the "config.py" which will |
| 3 | +#build a correct Setup file for you based on your system settings. |
| 4 | +#If not, the format is simple enough to edit by hand. First change |
| 5 | +#the needed commandline flags for each dependency, then comment out |
| 6 | +#any unavailable optional modules in the first optional section. |
| 7 | + |
| 8 | + |
| 9 | +#--StartConfig |
| 10 | +SDL = -D_REENTRANT -lsdl -lm |
| 11 | +FONT = -lsdl_ttf |
| 12 | +IMAGE = -lsdl_image |
| 13 | +MIXER = -lsdl_mixer |
| 14 | +SMPEG = -lsmpeg |
| 15 | +PNG = -lpng -lz |
| 16 | +JPEG = -ljpeg |
| 17 | +SCRAP = -lX11 |
| 18 | +PORTMIDI = -lportmidi |
| 19 | +PORTTIME = -lporttime |
| 20 | +#--EndConfig |
| 21 | + |
| 22 | +#DEBUG = -C-W -C-Wall |
| 23 | +DEBUG = |
| 24 | + |
| 25 | +#the following modules are optional. you will want to compile |
| 26 | +#everything you can, but you can ignore ones you don't have |
| 27 | +#dependencies for, just comment them out |
| 28 | + |
| 29 | +imageext src/imageext.c $(SDL) $(IMAGE) $(PNG) $(JPEG) $(DEBUG) |
| 30 | +font src/font.c $(SDL) $(FONT) $(DEBUG) |
| 31 | +# mixer src/mixer.c $(SDL) $(MIXER) $(DEBUG) |
| 32 | +# mixer_music src/music.c $(SDL) $(MIXER) $(DEBUG) |
| 33 | +# _numericsurfarray src/_numericsurfarray.c $(SDL) $(DEBUG) |
| 34 | +# _numericsndarray src/_numericsndarray.c $(SDL) $(MIXER) $(DEBUG) |
| 35 | +# movie src/movie.c $(SDL) $(SMPEG) $(DEBUG) |
| 36 | +# scrap src/scrap.c $(SDL) $(SCRAP) $(DEBUG) |
| 37 | +# _camera src/_camera.c src/camera_v4l2.c src/camera_v4l.c $(SDL) $(DEBUG) |
| 38 | +# pypm src/pypm.c $(SDL) $(PORTMIDI) $(PORTTIME) $(DEBUG) |
| 39 | + |
| 40 | +GFX = src/SDL_gfx/SDL_gfxPrimitives.c |
| 41 | +#GFX = src/SDL_gfx/SDL_gfxBlitFunc.c src/SDL_gfx/SDL_gfxPrimitives.c |
| 42 | +gfxdraw src/gfxdraw.c $(SDL) $(GFX) $(DEBUG) |
| 43 | + |
| 44 | + |
| 45 | + |
| 46 | +#these modules are required for pygame to run. they only require |
| 47 | +#SDL as a dependency. these should not be altered |
| 48 | + |
| 49 | +base src/base.c $(SDL) $(DEBUG) |
| 50 | +cdrom src/cdrom.c $(SDL) $(DEBUG) |
| 51 | +color src/color.c $(SDL) $(DEBUG) |
| 52 | +constants src/constants.c $(SDL) $(DEBUG) |
| 53 | +display src/display.c $(SDL) $(DEBUG) |
| 54 | +event src/event.c $(SDL) $(DEBUG) |
| 55 | +fastevent src/fastevent.c src/fastevents.c $(SDL) $(DEBUG) |
| 56 | +key src/key.c $(SDL) $(DEBUG) |
| 57 | +mouse src/mouse.c $(SDL) $(DEBUG) |
| 58 | +rect src/rect.c $(SDL) $(DEBUG) |
| 59 | +rwobject src/rwobject.c $(SDL) $(DEBUG) |
| 60 | +surface src/surface.c src/alphablit.c src/surface_fill.c $(SDL) $(DEBUG) |
| 61 | +surflock src/surflock.c $(SDL) $(DEBUG) |
| 62 | +time src/time.c $(SDL) $(DEBUG) |
| 63 | +joystick src/joystick.c $(SDL) $(DEBUG) |
| 64 | +draw src/draw.c $(SDL) $(DEBUG) |
| 65 | +image src/image.c $(SDL) $(DEBUG) |
| 66 | +overlay src/overlay.c $(SDL) $(DEBUG) |
| 67 | +transform src/transform.c src/rotozoom.c src/scale2x.c src/scale_mmx.c $(SDL) $(DEBUG) -D_NO_MMX_FOR_X86_64 |
| 68 | +mask src/mask.c src/bitmask.c $(SDL) $(DEBUG) |
| 69 | +bufferproxy src/bufferproxy.c $(SDL) $(DEBUG) |
| 70 | +pixelarray src/pixelarray.c $(SDL) $(DEBUG) |
| 71 | +_arraysurfarray src/_arraysurfarray.c $(SDL) $(DEBUG) |
| 72 | + |
0 commit comments