source: trunk/src/Makefile.am @ 1406

Last change on this file since 1406 was 1406, checked in by sam, 11 years ago

gpu: start working on the LolFx format.

File size: 3.1 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    \
39    image/image.cpp image/image.h image/image-private.h \
40    image/codec/gdiplus-image.cpp \
41    image/codec/ios-image.cpp \
42    image/codec/dummy-image.cpp \
43    \
44    loldebug.h \
45    debug/fps.cpp debug/fps.h debug/sphere.cpp debug/sphere.h \
46    debug/record.cpp debug/record.h debug/stats.cpp debug/stats.h \
47    debug/quad.cpp debug/quad.h
48nodist_liblol_a_SOURCES = \
49    gpu/defaultmaterial.lolfx.cpp \
50    gpu/emptymaterial.lolfx.cpp \
51    gpu/testmaterial.lolfx.cpp
52liblol_a_CPPFLAGS = @LOL_CFLAGS@
53
54CLEANFILES = $(filter %.lolfx.cpp, $(SOURCES))
55
56SUFFIXES = .lolfx
57%.lolfx.cpp: %.lolfx
58        echo "/* This file was autogenerated. DO NOT MODIFY IT. */" > $@.tmp
59        echo "char const *lolfx_$(notdir $(^:%.lolfx=%)) =" >> $@.tmp
60        $(SED) 's/"/\\"/g' $^ | $(SED) 's/.*/"&\\n"/' >> $@.tmp
61        echo ";" >> $@.tmp
62        mv $@.tmp $@
63
64sdl_sources = \
65    image/codec/sdl-image.cpp \
66    platform/sdl/sdlapp.cpp platform/sdl/sdlapp.h \
67    platform/sdl/sdlinput.cpp platform/sdl/sdlinput.h
68
69d3d9_sources = \
70    platform/xbox/xboxinput.cpp platform/xbox/xboxinput.h
71
72if USE_NACL
73nacl_sources = \
74    platform/nacl/naclapp.cpp platform/nacl/naclapp.h \
75    platform/nacl/nacl_instance.cpp platform/nacl/nacl_instance.h \
76    platform/nacl/nacl_module.cpp \
77    platform/nacl/opengl_context.cpp platform/nacl/opengl_context.h \
78    platform/nacl/opengl_context_ptrs.h
79endif
80
81if HAVE_PS3
82ps3_sources = \
83    image/codec/ps3-image.cpp \
84    platform/ps3/threadbase.h \
85    platform/ps3/ps3app.cpp platform/ps3/ps3app.h \
86    platform/ps3/ps3input.cpp platform/ps3/ps3input.h
87endif
88
89if HAVE_XBOX
90xbox_sources = \
91    platform/xbox/xboxapp.cpp platform/xbox/xboxapp.h \
92    platform/xbox/xboxinput.cpp platform/xbox/xboxinput.h
93endif
94
95android_sources = \
96    image/codec/android-image.cpp \
97    platform/android/androidapp.cpp platform/android/androidapp.h
98
Note: See TracBrowser for help on using the repository browser.