1# This works differently from the other templates 2 3SDL = {sdl_includes} -D_REENTRANT -DSDL2 -lSDL2 4FONT = {sdl_ttf_includes} -lSDL2_ttf 5IMAGE = {sdl_image_includes} -lSDL2_image 6MIXER = {sdl_mixer_includes} -lSDL2_mixer 7JPEG = {jpeg_includes} -ljpeg 8SCRAP = 9PNG = {png_includes} -lpng16 10FREETYPE = {freetype_includes} -lfreetype -lharfbuzz 11 12DEBUG = 13 14#the following modules are optional. you will want to compile 15#everything you can, but you can ignore ones you don't have 16#dependencies for, just comment them out 17 18imageext src_c/imageext.c $(SDL) $(IMAGE) $(PNG) $(JPEG) $(DEBUG) 19font src_c/font.c $(SDL) $(FONT) $(DEBUG) 20mixer src_c/mixer.c $(SDL) $(MIXER) $(DEBUG) 21mixer_music src_c/music.c $(SDL) $(MIXER) $(DEBUG) 22scrap src_c/scrap.c $(SDL) $(SCRAP) $(DEBUG) 23# pypm src_c/pypm.c $(SDL) $(PORTMIDI) $(PORTTIME) $(DEBUG) 24 25_sdl2.sdl2 src_c/_sdl2/sdl2.c $(SDL) $(DEBUG) -Isrc_c 26_sdl2.audio src_c/_sdl2/audio.c $(SDL) $(DEBUG) -Isrc_c 27_sdl2.video src_c/_sdl2/video.c src_c/pgcompat.c $(SDL) $(DEBUG) -Isrc_c 28_sdl2.mixer src_c/_sdl2/mixer.c $(SDL) $(MIXER) $(DEBUG) -Isrc_c 29_sdl2.touch src_c/_sdl2/touch.c $(SDL) $(DEBUG) -Isrc_c 30_sdl2.controller src_c/_sdl2/controller.c $(SDL) $(DEBUG) -Isrc_c 31 32GFX = src_c/SDL_gfx/SDL_gfxPrimitives.c 33#GFX = src_c/SDL_gfx/SDL_gfxBlitFunc.c src_c/SDL_gfx/SDL_gfxPrimitives.c 34gfxdraw src_c/gfxdraw.c $(SDL) $(GFX) $(DEBUG) 35 36#optional freetype module (do not break in multiple lines 37#or the configuration script will choke!) 38#_freetype src_c/freetype/ft_cache.c src_c/freetype/ft_wrap.c src_c/freetype/ft_render.c src_c/freetype/ft_render_cb.c src_c/freetype/ft_layout.c src_c/freetype/ft_unicode.c src_c/_freetype.c $(SDL) $(FREETYPE) $(DEBUG) 39 40_sprite src_c/_sprite.c $(SDL) $(DEBUG) 41 42#these modules are required for pygame to run. they only require 43#SDL as a dependency. these should not be altered 44 45base src_c/base.c $(SDL) $(DEBUG) 46color src_c/color.c $(SDL) $(DEBUG) 47constants src_c/constants.c $(SDL) $(DEBUG) 48display src_c/display.c $(SDL) $(DEBUG) 49event src_c/event.c $(SDL) $(DEBUG) 50fastevent src_c/fastevent.c src_c/fastevents.c $(SDL) $(DEBUG) 51key src_c/key.c $(SDL) $(DEBUG) 52mouse src_c/mouse.c $(SDL) $(DEBUG) 53rect src_c/rect.c $(SDL) $(DEBUG) 54rwobject src_c/rwobject.c $(SDL) $(DEBUG) 55surface src_c/surface.c src_c/alphablit.c src_c/surface_fill.c $(SDL) $(DEBUG) 56surflock src_c/surflock.c $(SDL) $(DEBUG) 57time src_c/time.c $(SDL) $(DEBUG) 58joystick src_c/joystick.c $(SDL) $(DEBUG) 59draw src_c/draw.c $(SDL) $(DEBUG) 60image src_c/image.c $(SDL) $(DEBUG) 61transform src_c/transform.c src_c/rotozoom.c src_c/scale2x.c src_c/scale_mmx.c $(SDL) $(DEBUG) -D_NO_MMX_FOR_X86_64 62mask src_c/mask.c src_c/bitmask.c $(SDL) $(DEBUG) 63bufferproxy src_c/bufferproxy.c $(SDL) $(DEBUG) 64pixelarray src_c/pixelarray.c $(SDL) $(DEBUG) 65math src_c/math.c $(SDL) $(DEBUG) 66pixelcopy src_c/pixelcopy.c $(SDL) $(DEBUG) 67newbuffer src_c/newbuffer.c $(SDL) $(DEBUG) 68