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.
11 IMAGE = -lSDL_image-1.2
12 MIXER = -lSDL_mixer-1.2
13 SMPEG = -lsmpeg $(SDL)
18 #the following modules are optional. you will want to compile
19 #everything you can, but you can ignore ones you don't have
20 #dependencies for, just comment them out
22 imageext src/imageext.c $(SDL) $(IMAGE)
23 font src/font.c $(SDL) $(FONT)
24 mixer src/mixer.c $(SDL) $(MIXER)
25 mixer_music src/music.c $(SDL) $(MIXER)
26 movie src/movie.c $(SDL) $(SMPEG)
27 surfarray src/surfarray.c $(SDL) $(NUMERIC)
28 sndarray src/sndarray.c $(SDL) $(NUMERIC) $(MIXER)
32 #these modules are required for pygame to run. they only require
33 #SDL as a dependency. these should not be altered
35 base src/base.c $(SDL)
36 cdrom src/cdrom.c $(SDL)
37 constants src/constants.c $(SDL)
38 display src/display.c $(SDL)
39 event src/event.c $(SDL)
41 mouse src/mouse.c $(SDL)
42 rect src/rect.c $(SDL)
43 rwobject src/rwobject.c $(SDL)
44 surface src/surface.c src/alphablit.c $(SDL)
45 surflock src/surflock.c $(SDL)
46 time src/time.c $(SDL)
47 joystick src/joystick.c $(SDL)
48 draw src/draw.c $(SDL)
49 image src/image.c $(SDL)
50 transform src/transform.c src/rotozoom.c src/scale2x.c $(SDL)
53 #the following are placeholders. setup.py can use them to help
54 #auto-copy needed DLLs into the pygame installation folder.
55 #you can simply ignore these lines under non-windows, no need to
57 COPYLIB_smpeg $(SDL) $(SMPEG)