Source

pygame / Setup.in

#flags needed to link each dependency

#--StartConfig
SDL = -I/usr/include/SDL -D_REENTRANT -lSDL
FONT = -lSDL_ttf
IMAGE = -lSDL_image
MIXER = -lSDL_mixer
SMPEG = -lsmpeg
#--EndConfig


#base extensions (need sdl only, all of them needed)

base src/base.c $(SDL)
cdrom src/cdrom.c $(SDL)
constants src/constants.c $(SDL)
display src/display.c $(SDL)
event src/event.c $(SDL)
key src/key.c $(SDL)
mouse src/mouse.c $(SDL)
rect src/rect.c $(SDL)
rwobject src/rwobject.c $(SDL)
surface src/surface.c $(SDL)
time src/time.c $(SDL)

#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

#surfarray src/surfarray.c $(SDL)  #requires Numeric
font src/font.c $(SDL) $(FONT)
image src/image.c $(SDL) $(IMAGE)
mixer src/mixer.c $(SDL) $(MIXER)
music src/music.c $(SDL) $(MIXER)


#the following are placeholders. setup.py can use
#them to help auto-copy needed DLLs into the pygame
#installation folder. if you aren't going to use this,
#you can likely just leave these lines alone
COPYLIB_smpeg $(SMPEG)
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.