source: trunk/src/Makefile.am @ 2843

Last change on this file since 2843 was 2843, checked in by sam, 6 years ago

build: synchronise Makefile.am with lolcore.vcxproj.

File size: 4.7 KB
Line 
1
2include $(top_srcdir)/build/autotools/common.am
3
4SUBDIRS = bullet lua data
5
6noinst_LIBRARIES = liblolcore.a
7
8liblolcore_a_SOURCES = \
9    core.h tiler.cpp tiler.h dict.cpp dict.h \
10    audio.cpp audio.h scene.cpp scene.h font.cpp font.h layer.cpp layer.h \
11    map.cpp map.h entity.cpp entity.h ticker.cpp ticker.h lolgl.h \
12    tileset.cpp tileset.h forge.cpp forge.h video.cpp video.h \
13    world.cpp world.h sample.cpp sample.h sampler.cpp sampler.h \
14    profiler.cpp profiler.h text.cpp text.h emitter.cpp emitter.h numeric.h \
15    worldentity.cpp worldentity.h gradient.cpp gradient.h gradient.lolfx \
16    platform.cpp platform.h sprite.cpp sprite.h camera.cpp camera.h \
17    light.cpp light.h \
18    \
19    $(liblolcore_headers) \
20    $(liblolcore_sources) \
21    \
22    $(ps3_sources) \
23    $(xbox_sources) \
24    $(nacl_sources) \
25    $(sdl_sources) \
26    $(d3d9_sources) \
27    $(android_sources)
28liblolcore_a_CPPFLAGS = $(AM_CPPFLAGS) -I$(srcdir)/bullet -I$(srcdir)/lua
29
30EXTRA_DIST += easymesh/easymesh-scanner.l easymesh/easymesh-parser.y \
31              gpu/lolfx-scanner.l gpu/lolfx-parser.y
32
33liblolcore_headers = \
34    lol/base/all.h \
35    lol/base/log.h lol/base/array.h lol/base/types.h lol/base/array.h \
36    lol/base/assert.h lol/base/string.h lol/base/hash.h lol/base/map.h \
37    \
38    lol/math/all.h \
39    lol/math/functions.h lol/math/vector.h lol/math/half.h lol/math/real.h \
40    lol/math/remez.h lol/math/geometry.h lol/math/interp.h lol/math/rand.h \
41    lol/math/constants.h \
42    \
43    lol/sys/all.h \
44    lol/sys/init.h lol/sys/file.h lol/sys/thread.h lol/sys/atomic.h \
45    lol/sys/timer.h \
46    \
47    lol/image/all.h \
48    lol/image/color.h lol/image/image.h \
49    \
50    lol/gpu/all.h \
51    lol/gpu/shader.h lol/gpu/indexbuffer.h lol/gpu/vertexbuffer.h \
52    lol/gpu/framebuffer.h lol/gpu/texture.h lol/gpu/lolfx.h \
53    lol/gpu/renderer.h lol/gpu/rendercontext.h \
54    \
55    lol/debug/all.h \
56    lol/debug/lines.h \
57    \
58    lol/unit.h
59
60liblolcore_sources = \
61    generated/location.hh generated/position.hh generated/stack.hh \
62    \
63    application/application.cpp application/application.h \
64    eglapp.cpp eglapp.h \
65    \
66    easymesh/easymesh.cpp easymesh/easymesh.h \
67    easymesh/csgbsp.cpp easymesh/csgbsp.h \
68    easymesh/shiny.lolfx easymesh/shinydebugwireframe.lolfx \
69    easymesh/shinydebuglighting.lolfx easymesh/shinydebugnormal.lolfx \
70    easymesh/shinydebugUV.lolfx easymesh/shiny_SK.lolfx \
71    easymesh/easymesh-compiler.cpp easymesh/easymesh-compiler.h \
72    generated/easymesh-parser.cpp generated/easymesh-parser.h \
73    generated/easymesh-scanner.cpp \
74    \
75    base/assert.cpp base/hash.cpp base/log.cpp base/string.cpp \
76    \
77    math/vector.cpp math/real.cpp math/half.cpp math/trig.cpp \
78    math/geometry.cpp \
79    \
80    gpu/shader.cpp gpu/indexbuffer.cpp gpu/vertexbuffer.cpp \
81    gpu/framebuffer.cpp gpu/texture.cpp gpu/renderer.cpp \
82    gpu/rendercontext.cpp \
83    \
84    input/input.cpp input/input.h input/input_internal.h input/keys.h \
85    input/controller.cpp input/controller.h \
86    \
87    gpu/defaultmaterial.lolfx \
88    gpu/tile.lolfx gpu/line.lolfx \
89    gpu/emptymaterial.lolfx \
90    gpu/testmaterial.lolfx \
91    \
92    gpu/lolfx.cpp \
93    gpu/lolfx-compiler.cpp gpu/lolfx-compiler.h \
94    generated/lolfx-parser.cpp generated/lolfx-parser.h \
95    generated/lolfx-scanner.cpp \
96    \
97    mesh/mesh.cpp mesh/mesh.h \
98    \
99    sys/init.cpp sys/timer.cpp sys/file.cpp \
100    sys/threadbase.h \
101    \
102    image/image.cpp image/image-private.h \
103    image/codec/gdiplus-image.cpp \
104    image/codec/ios-image.cpp \
105    image/codec/dummy-image.cpp \
106    image/color/cie1931.cpp \
107    \
108    loldebug.h \
109    debug/fps.cpp debug/fps.h debug/lines.cpp \
110    debug/record.cpp debug/record.h debug/stats.cpp debug/stats.h
111
112sdl_sources = \
113    image/codec/sdl-image.cpp \
114    platform/sdl/sdlapp.cpp platform/sdl/sdlapp.h \
115    platform/sdl/sdlinput.cpp platform/sdl/sdlinput.h
116
117d3d9_sources = \
118    platform/d3d9/d3d9input.cpp platform/d3d9/d3d9input.h
119
120if USE_NACL
121nacl_sources = \
122    platform/nacl/nacl-app.cpp platform/nacl/nacl-app.h \
123    platform/nacl/nacl-instance.cpp platform/nacl/nacl-instance.h \
124    platform/nacl/nacl-module.cpp \
125    platform/nacl/opengl_context.cpp platform/nacl/opengl_context.h \
126    platform/nacl/opengl_context_ptrs.h
127endif
128
129if USE_PS3
130ps3_sources = \
131    image/codec/ps3-image.cpp \
132    platform/ps3/threadbase.h \
133    platform/ps3/ps3app.cpp platform/ps3/ps3app.h \
134    platform/ps3/ps3input.cpp platform/ps3/ps3input.h
135endif
136
137if USE_X360
138xbox_sources = \
139    platform/xbox/xboxapp.cpp platform/xbox/xboxapp.h \
140    platform/xbox/xboxinput.cpp platform/xbox/xboxinput.h
141endif
142
143android_sources = \
144    image/codec/android-image.cpp \
145    platform/android/androidapp.cpp platform/android/androidapp.h
146
Note: See TracBrowser for help on using the repository browser.