#This Setup file is used by the setup.py script to configure the #python extensions. You will likely use the "config.py" which will #build a correct Setup file for you based on your system settings. #If not, the format is simple enough to edit by hand. First change #the needed commandline flags for each dependency, then comment out #any unavailable optional modules in the first optional section. #--StartConfig SDL = -I/usr/include/SDL -D_REENTRANT -lSDL FONT = -lSDL_ttf IMAGE = -lSDL_image MIXER = -lSDL_mixer PNG = -lpng JPEG = -ljpeg SCRAP = -lX11 PORTMIDI = -lportmidi PORTTIME = -lporttime FREETYPE = -lfreetype #--EndConfig DEBUG = #the following modules are optional. you will want to compile #everything you can, but you can ignore ones you don't have #dependencies for, just comment them out imageext src/imageext.c $(SDL) $(IMAGE) $(PNG) $(JPEG) $(DEBUG) font src/font.c $(SDL) $(FONT) $(DEBUG) mixer src/mixer.c $(SDL) $(MIXER) $(DEBUG) mixer_music src/music.c $(SDL) $(MIXER) $(DEBUG) scrap src/scrap.c $(SDL) $(SCRAP) $(DEBUG) pypm src/pypm.c $(SDL) $(PORTMIDI) $(PORTTIME) $(DEBUG) GFX = src/SDL_gfx/SDL_gfxPrimitives.c #GFX = src/SDL_gfx/SDL_gfxBlitFunc.c src/SDL_gfx/SDL_gfxPrimitives.c gfxdraw src/gfxdraw.c $(SDL) $(GFX) $(DEBUG) #optional freetype module (do not break in multiple lines #or the configuration script will choke!) _freetype src/freetype/ft_cache.c src/freetype/ft_wrap.c src/freetype/ft_render.c src/freetype/ft_render_cb.c src/freetype/ft_layout.c src/freetype/ft_unicode.c src/_freetype.c $(SDL) $(FREETYPE) $(DEBUG) #these modules are required for pygame to run. they only require #SDL as a dependency. these should not be altered base src/base.c $(SDL) $(DEBUG) cdrom src/cdrom.c $(SDL) $(DEBUG) color src/color.c $(SDL) $(DEBUG) constants src/constants.c $(SDL) $(DEBUG) display src/display.c $(SDL) $(DEBUG) event src/event.c $(SDL) $(DEBUG) fastevent src/fastevent.c src/fastevents.c $(SDL) $(DEBUG) key src/key.c $(SDL) $(DEBUG) mouse src/mouse.c $(SDL) $(DEBUG) rect src/rect.c $(SDL) $(DEBUG) rwobject src/rwobject.c $(SDL) $(DEBUG) surface src/surface.c src/alphablit.c src/surface_fill.c $(SDL) $(DEBUG) surflock src/surflock.c $(SDL) $(DEBUG) time src/time.c $(SDL) $(DEBUG) joystick src/joystick.c $(SDL) $(DEBUG) draw src/draw.c $(SDL) $(DEBUG) image src/image.c $(SDL) $(DEBUG) overlay src/overlay.c $(SDL) $(DEBUG) transform src/transform.c src/rotozoom.c src/scale2x.c src/scale_mmx.c $(SDL) $(DEBUG) -D_NO_MMX_FOR_X86_64 mask src/mask.c src/bitmask.c $(SDL) $(DEBUG) bufferproxy src/bufferproxy.c $(SDL) $(DEBUG) pixelarray src/pixelarray.c $(SDL) $(DEBUG) math src/math.c $(SDL) $(DEBUG) pixelcopy src/pixelcopy.c $(SDL) $(DEBUG) newbuffer src/newbuffer.c $(DEBUG)