source: trunk/src/Makefile.am @ 1513

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

core: replace usage of sin() or std::sin() with lol::sin() where appropriate.

File size: 3.7 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    lol/math/math.h \
18    \
19    generated/location.hh generated/position.hh generated/stack.hh \
20    \
21    application/application.cpp application/application.h \
22    eglapp.cpp eglapp.h \
23    \
24    easymesh/easymesh.cpp easymesh/easymesh.h \
25    easymesh/shiny.lolfx \
26    easymesh/easymesh-compiler.cpp easymesh/easymesh-compiler.h \
27    generated/easymesh-parser.cpp generated/easymesh-parser.h \
28    generated/easymesh-scanner.cpp \
29    \
30    $(ps3_sources) \
31    $(xbox_sources) \
32    $(nacl_sources) \
33    $(sdl_sources) \
34    $(d3d9_sources) \
35    $(android_sources) \
36    \
37    thread/threadbase.h thread/thread.h \
38    \
39    math/vector.cpp math/real.cpp math/half.cpp math/trig.cpp \
40    \
41    input/input.cpp input/input.h \
42    input/stick.cpp input/stick.h \
43    \
44    gpu/shader.cpp gpu/shader.h \
45    gpu/indexbuffer.cpp gpu/indexbuffer.h \
46    gpu/vertexbuffer.cpp gpu/vertexbuffer.h \
47    gpu/framebuffer.cpp gpu/framebuffer.h \
48    gpu/defaultmaterial.lolfx \
49    gpu/emptymaterial.lolfx \
50    gpu/testmaterial.lolfx \
51    \
52    image/image.cpp image/image.h image/image-private.h \
53    image/codec/gdiplus-image.cpp \
54    image/codec/ios-image.cpp \
55    image/codec/dummy-image.cpp \
56    \
57    loldebug.h \
58    debug/fps.cpp debug/fps.h debug/sphere.cpp debug/sphere.h \
59    debug/record.cpp debug/record.h debug/stats.cpp debug/stats.h \
60    debug/quad.cpp debug/quad.h
61liblol_a_CPPFLAGS = @LOL_CFLAGS@
62
63SUFFIXES = .lolfx
64.lolfx.o:
65        (echo "char const *"; \
66         echo "lolfx_$(notdir $(basename $(filter %.lolfx, $^))) ="; \
67         $(SED) 's/"/\\"/g' $(filter %.lolfx, $^) | \
68         $(SED) 's/\([^\r]*\).*/"\1\\n"/'; \
69         echo ";") | $(CXXCOMPILE) -xc++ -c - -o $@
70
71if TRUE
72generated: .FORCE
73        $(MKDIR_P) generated
74        rm -f generated/[a-zA-Z]*
75        flex -o generated/easymesh-scanner.cpp easymesh/easymesh-scanner.l
76        bison -o generated/easymesh-parser.cpp --defines=generated/easymesh-parser.h \
77              -d -b generated/easymesh easymesh/easymesh-parser.y
78.FORCE:
79endif
80
81EXTRA_DIST = easymesh/easymesh-scanner.l easymesh/easymesh-parser.y
82
83sdl_sources = \
84    image/codec/sdl-image.cpp \
85    platform/sdl/sdlapp.cpp platform/sdl/sdlapp.h \
86    platform/sdl/sdlinput.cpp platform/sdl/sdlinput.h
87
88d3d9_sources = \
89    platform/d3d9/d3d9input.cpp platform/d3d9/d3d9input.h
90
91if USE_NACL
92nacl_sources = \
93    platform/nacl/nacl-app.cpp platform/nacl/nacl-app.h \
94    platform/nacl/nacl-instance.cpp platform/nacl/nacl-instance.h \
95    platform/nacl/nacl-module.cpp \
96    platform/nacl/opengl_context.cpp platform/nacl/opengl_context.h \
97    platform/nacl/opengl_context_ptrs.h
98endif
99
100if HAVE_PS3
101ps3_sources = \
102    image/codec/ps3-image.cpp \
103    platform/ps3/threadbase.h \
104    platform/ps3/ps3app.cpp platform/ps3/ps3app.h \
105    platform/ps3/ps3input.cpp platform/ps3/ps3input.h
106endif
107
108if HAVE_XBOX
109xbox_sources = \
110    platform/xbox/xboxapp.cpp platform/xbox/xboxapp.h \
111    platform/xbox/xboxinput.cpp platform/xbox/xboxinput.h
112endif
113
114android_sources = \
115    image/codec/android-image.cpp \
116    platform/android/androidapp.cpp platform/android/androidapp.h
117
Note: See TracBrowser for help on using the repository browser.