summaryrefslogtreecommitdiff
path: root/packages/python/python-pygame-1.7.1/Setup
blob: c4558b39bb585e800890836359603e9d77feef53 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
#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.

#SDL = ???

FONT = -lSDL_ttf-2.0
IMAGE = -lSDL_image-1.2
MIXER = -lSDL_mixer-1.2
SMPEG = -lsmpeg $(SDL)
NUMERIC = -I.



#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)
font src/font.c $(SDL) $(FONT)
mixer src/mixer.c $(SDL) $(MIXER)
mixer_music src/music.c $(SDL) $(MIXER)
movie src/movie.c $(SDL) $(SMPEG)
surfarray src/surfarray.c $(SDL) $(NUMERIC)
sndarray src/sndarray.c $(SDL) $(NUMERIC) $(MIXER)



#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)
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 src/alphablit.c $(SDL)
surflock src/surflock.c $(SDL)
time src/time.c $(SDL)
joystick src/joystick.c $(SDL)
draw src/draw.c $(SDL)
image src/image.c $(SDL)
transform src/transform.c src/rotozoom.c src/scale2x.c $(SDL)


#the following are placeholders. setup.py can use them to help
#auto-copy needed DLLs into the pygame installation folder.
#you can simply ignore these lines under non-windows, no need to
#comment out.
COPYLIB_smpeg $(SDL) $(SMPEG)