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.
10
SDL = -I/usr/include/SDL -D_REENTRANT -lSDL
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
23
imageext src/imageext.c $(SDL) $(IMAGE)
24
font src/font.c $(SDL) $(FONT)
25
mixer src/mixer.c $(SDL) $(MIXER)
26
mixer_music src/music.c $(SDL) $(MIXER)
27
movie src/movie.c $(SDL) $(SMPEG)
31
#the following modules are also optional, but only require
32
#python dependencies. the setup script can determine if these
33
#are available at runtime, no need to change these
35
surfarray src/surfarray.c $(SDL) #requires Numeric
39
#these modules are required for pygame to run. they only require
40
#SDL as a dependency. these should not be altered
42
base src/base.c $(EXTRABASE) $(SDL)
43
cdrom src/cdrom.c $(SDL)
44
constants src/constants.c $(SDL)
45
display src/display.c $(SDL)
46
event src/event.c $(SDL)
48
mouse src/mouse.c $(SDL)
49
rect src/rect.c $(SDL)
50
rwobject src/rwobject.c $(SDL)
51
surface src/surface.c $(SDL)
52
surflock src/surflock.c $(SDL)
53
time src/time.c $(SDL)
54
joystick src/joystick.c $(SDL)
55
draw src/draw.c $(SDL)
56
image src/image.c $(SDL)
57
transform src/transform.c src/rotozoom.c $(SDL)
58
#macosx src/macosx.c src/setproctitle.c -Isrc
61
#the following are placeholders. setup.py can use them to help
62
#auto-copy needed DLLs into the pygame installation folder.
63
#you can simply ignore these lines under non-windows, no need to
65
COPYLIB_smpeg $(SDL) $(SMPEG)