1# Setup file from the pygame project 2 3#--StartConfig 4SDL = -I/usr/include/SDL -D_REENTRANT -lSDL 5FONT = -lSDL_ttf 6IMAGE = -lSDL_image 7MIXER = -lSDL_mixer 8SMPEG = -lsmpeg 9PNG = -lpng 10JPEG = -ljpeg 11SCRAP = -lX11 12PORTMIDI = -lportmidi 13PORTTIME = -lporttime 14#--EndConfig 15 16#DEBUG = -C-W -C-Wall 17DEBUG = 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 23imageext src/imageext.c $(SDL) $(IMAGE) $(PNG) $(JPEG) $(DEBUG) 24font src/font.c $(SDL) $(FONT) $(DEBUG) 25mixer src/mixer.c $(SDL) $(MIXER) $(DEBUG) 26mixer_music src/music.c $(SDL) $(MIXER) $(DEBUG) 27_numericsurfarray src/_numericsurfarray.c $(SDL) $(DEBUG) 28_numericsndarray src/_numericsndarray.c $(SDL) $(MIXER) $(DEBUG) 29movie src/movie.c $(SDL) $(SMPEG) $(DEBUG) 30scrap src/scrap.c $(SDL) $(SCRAP) $(DEBUG) 31_camera src/_camera.c src/camera_v4l2.c src/camera_v4l.c $(SDL) $(DEBUG) 32pypm src/pypm.c $(SDL) $(PORTMIDI) $(PORTTIME) $(DEBUG) 33 34GFX = src/SDL_gfx/SDL_gfxPrimitives.c 35#GFX = src/SDL_gfx/SDL_gfxBlitFunc.c src/SDL_gfx/SDL_gfxPrimitives.c 36gfxdraw 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 43base src/base.c $(SDL) $(DEBUG) 44cdrom src/cdrom.c $(SDL) $(DEBUG) 45color src/color.c $(SDL) $(DEBUG) 46constants src/constants.c $(SDL) $(DEBUG) 47display src/display.c $(SDL) $(DEBUG) 48event src/event.c $(SDL) $(DEBUG) 49fastevent src/fastevent.c src/fastevents.c $(SDL) $(DEBUG) 50key src/key.c $(SDL) $(DEBUG) 51mouse src/mouse.c $(SDL) $(DEBUG) 52rect src/rect.c $(SDL) $(DEBUG) 53rwobject src/rwobject.c $(SDL) $(DEBUG) 54surface src/surface.c src/alphablit.c src/surface_fill.c $(SDL) $(DEBUG) 55surflock src/surflock.c $(SDL) $(DEBUG) 56time src/time.c $(SDL) $(DEBUG) 57joystick src/joystick.c $(SDL) $(DEBUG) 58draw src/draw.c $(SDL) $(DEBUG) 59image src/image.c $(SDL) $(DEBUG) 60overlay src/overlay.c $(SDL) $(DEBUG) 61transform src/transform.c src/rotozoom.c src/scale2x.c src/scale_mmx.c $(SDL) $(DEBUG) 62mask src/mask.c src/bitmask.c $(SDL) $(DEBUG) 63bufferproxy src/bufferproxy.c $(SDL) $(DEBUG) 64pixelarray src/pixelarray.c $(SDL) $(DEBUG) 65_arraysurfarray src/_arraysurfarray.c $(SDL) $(DEBUG) 66 67 68