source: trunk/src/Makefile.am @ 1455

Last change on this file since 1455 was 1455, checked in by sam, 9 years ago

gpu: first FrameBuffer GPU class.

File size: 3.2 KB
Line 
1
2noinst_LIBRARIES = liblol.a
3
4liblol_a_SOURCES = \
5    core.h tiler.cpp tiler.h dict.cpp dict.h array.h \
6    audio.cpp audio.h scene.cpp scene.h font.cpp font.h layer.cpp layer.h \
7    map.cpp map.h entity.cpp entity.h ticker.cpp ticker.h lolgl.h \
8    tileset.cpp tileset.h forge.cpp forge.h video.cpp video.h log.cpp log.h \
9    timer.cpp timer.h bitfield.h profiler.cpp profiler.h \
10    world.cpp world.h sample.cpp sample.h sampler.cpp sampler.h \
11    text.cpp text.h emitter.cpp emitter.h numeric.h hash.cpp hash.h \
12    worldentity.cpp worldentity.h gradient.cpp gradient.h \
13    platform.cpp platform.h sprite.cpp sprite.h camera.cpp camera.h \
14    \
15    lol/unit.h lol/debug.h \
16    lol/math/vector.h lol/math/half.h lol/math/real.h lol/math/remez.h \
17    \
18    application/application.cpp application/application.h \
19    eglapp.cpp eglapp.h \
20    \
21    $(ps3_sources) \
22    $(xbox_sources) \
23    $(nacl_sources) \
24    $(sdl_sources) \
25    $(d3d9_sources) \
26    $(android_sources) \
27    \
28    thread/threadbase.h thread/thread.h \
29    \
30    math/vector.cpp math/real.cpp math/half.cpp math/trig.cpp math/trig.h \
31    \
32    input/input.cpp input/input.h \
33    input/stick.cpp input/stick.h \
34    \
35    gpu/shader.cpp gpu/shader.h \
36    gpu/indexbuffer.cpp gpu/indexbuffer.h \
37    gpu/vertexbuffer.cpp gpu/vertexbuffer.h \
38    gpu/framebuffer.cpp gpu/framebuffer.h \
39    \
40    image/image.cpp image/image.h image/image-private.h \
41    image/codec/gdiplus-image.cpp \
42    image/codec/ios-image.cpp \
43    image/codec/dummy-image.cpp \
44    \
45    loldebug.h \
46    debug/fps.cpp debug/fps.h debug/sphere.cpp debug/sphere.h \
47    debug/record.cpp debug/record.h debug/stats.cpp debug/stats.h \
48    debug/quad.cpp debug/quad.h
49nodist_liblol_a_SOURCES = \
50    gpu/defaultmaterial.lolfx.cpp \
51    gpu/emptymaterial.lolfx.cpp \
52    gpu/testmaterial.lolfx.cpp
53liblol_a_CPPFLAGS = @LOL_CFLAGS@
54
55CLEANFILES = $(filter %.lolfx.cpp, $(SOURCES))
56
57SUFFIXES = .lolfx
58%.lolfx.cpp: %.lolfx
59        echo "/* This file was autogenerated. DO NOT MODIFY IT. */" > $@.tmp
60        echo "char const *lolfx_$(notdir $(^:%.lolfx=%)) =" >> $@.tmp
61        $(SED) 's/"/\\"/g' $^ | $(SED) 's/\([^\r]*\).*/"\1\\n"/' >> $@.tmp
62        echo ";" >> $@.tmp
63        mv $@.tmp $@
64
65sdl_sources = \
66    image/codec/sdl-image.cpp \
67    platform/sdl/sdlapp.cpp platform/sdl/sdlapp.h \
68    platform/sdl/sdlinput.cpp platform/sdl/sdlinput.h
69
70d3d9_sources = \
71    platform/d3d9/d3d9input.cpp platform/d3d9/d3d9input.h
72
73if USE_NACL
74nacl_sources = \
75    platform/nacl/nacl-app.cpp platform/nacl/nacl-app.h \
76    platform/nacl/nacl-instance.cpp platform/nacl/nacl-instance.h \
77    platform/nacl/nacl-module.cpp \
78    platform/nacl/opengl_context.cpp platform/nacl/opengl_context.h \
79    platform/nacl/opengl_context_ptrs.h
80endif
81
82if HAVE_PS3
83ps3_sources = \
84    image/codec/ps3-image.cpp \
85    platform/ps3/threadbase.h \
86    platform/ps3/ps3app.cpp platform/ps3/ps3app.h \
87    platform/ps3/ps3input.cpp platform/ps3/ps3input.h
88endif
89
90if HAVE_XBOX
91xbox_sources = \
92    platform/xbox/xboxapp.cpp platform/xbox/xboxapp.h \
93    platform/xbox/xboxinput.cpp platform/xbox/xboxinput.h
94endif
95
96android_sources = \
97    image/codec/android-image.cpp \
98    platform/android/androidapp.cpp platform/android/androidapp.h
99
Note: See TracBrowser for help on using the repository browser.