source: trunk/src/Makefile.am @ 2388

Last change on this file since 2388 was 2388, checked in by sam, 8 years ago

build: reorganise AM_CPPFLAGS handling so that we can disable the
shitload of warnings Bullet spits at us.

File size: 4.4 KB
RevLine 
[92]1
[1923]2include $(top_srcdir)/build/autotools/common.am
3
[2386]4SUBDIRS = bullet data
[1524]5
[2386]6noinst_LIBRARIES = liblolcore.a
[92]7
[2386]8liblolcore_a_SOURCES = \
[2097]9    core.h tiler.cpp tiler.h dict.cpp dict.h \
[648]10    audio.cpp audio.h scene.cpp scene.h font.cpp font.h layer.cpp layer.h \
[673]11    map.cpp map.h entity.cpp entity.h ticker.cpp ticker.h lolgl.h \
[2257]12    tileset.cpp tileset.h forge.cpp forge.h video.cpp video.h \
[648]13    world.cpp world.h sample.cpp sample.h sampler.cpp sampler.h \
[2257]14    profiler.cpp profiler.h text.cpp text.h emitter.cpp emitter.h numeric.h \
[1848]15    worldentity.cpp worldentity.h gradient.cpp gradient.h gradient.lolfx \
[1307]16    platform.cpp platform.h sprite.cpp sprite.h camera.cpp camera.h \
[2289]17    light.cpp light.h \
[220]18    \
[2386]19    $(liblolcore_headers) \
20    $(liblolcore_sources) \
[2354]21    \
22    $(ps3_sources) \
23    $(xbox_sources) \
24    $(nacl_sources) \
25    $(sdl_sources) \
26    $(d3d9_sources) \
[2386]27    $(android_sources)
[2388]28liblolcore_a_CPPFLAGS = $(AM_CPPFLAGS) -I$(srcdir)/bullet
[2354]29
30EXTRA_DIST = easymesh/easymesh-scanner.l easymesh/easymesh-parser.y \
31             gpu/lolfx-scanner.l gpu/lolfx-parser.y
32
[2386]33liblolcore_headers = \
[2354]34    lol/base/base.h \
[2265]35    lol/base/log.h lol/base/array.h lol/base/types.h lol/base/array.h \
[2357]36    lol/base/assert.h lol/base/string.h lol/base/hash.h lol/base/map.h \
[2354]37    \
38    lol/math/math.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/math.h lol/math/geometry.h \
41    \
42    lol/sys/sys.h \
[2359]43    lol/sys/init.h lol/sys/file.h lol/sys/thread.h lol/sys/atomic.h \
44    lol/sys/timer.h \
[2354]45    \
46    lol/image/image.h \
[2187]47    lol/image/color.h \
[912]48    \
[2354]49    lol/gpu/gpu.h \
50    lol/gpu/shader.h lol/gpu/indexbuffer.h lol/gpu/vertexbuffer.h \
[2357]51    lol/gpu/framebuffer.h lol/gpu/texture.h lol/gpu/lolfx.h \
[2354]52    \
53    lol/unit.h
54
[2386]55liblolcore_sources = \
[1510]56    generated/location.hh generated/position.hh generated/stack.hh \
57    \
[1040]58    application/application.cpp application/application.h \
[682]59    eglapp.cpp eglapp.h \
60    \
[1510]61    easymesh/easymesh.cpp easymesh/easymesh.h \
[2226]62    easymesh/csgbsp.cpp easymesh/csgbsp.h \
[2371]63    easymesh/shiny.lolfx easymesh/shinydebugwireframe.lolfx \
64    easymesh/shinydebuglighting.lolfx easymesh/shinydebugnormal.lolfx \
65    easymesh/shinydebugUV.lolfx easymesh/shiny_SK.lolfx \
[1510]66    easymesh/easymesh-compiler.cpp easymesh/easymesh-compiler.h \
67    generated/easymesh-parser.cpp generated/easymesh-parser.h \
68    generated/easymesh-scanner.cpp \
69    \
[2265]70    base/hash.cpp base/log.cpp base/string.cpp \
[2097]71    \
[1512]72    math/vector.cpp math/real.cpp math/half.cpp math/trig.cpp \
[2225]73    math/geometry.cpp \
[1180]74    \
[2354]75    gpu/shader.cpp gpu/indexbuffer.cpp gpu/vertexbuffer.cpp \
76    gpu/framebuffer.cpp gpu/texture.cpp \
77    \
[1342]78    input/input.cpp input/input.h \
[2009]79    input/keyboard.cpp input/keyboard.h \
[1342]80    input/stick.cpp input/stick.h \
81    \
[1479]82    gpu/defaultmaterial.lolfx \
[1846]83    gpu/tile.lolfx \
[1479]84    gpu/emptymaterial.lolfx \
85    gpu/testmaterial.lolfx \
[783]86    \
[2354]87    gpu/lolfx.cpp \
[1590]88    gpu/lolfx-compiler.cpp gpu/lolfx-compiler.h \
89    generated/lolfx-parser.cpp generated/lolfx-parser.h \
90    generated/lolfx-scanner.cpp \
91    \
[2077]92    mesh/mesh.cpp mesh/mesh.h \
93    \
[2358]94    sys/init.cpp sys/timer.cpp sys/file.cpp \
[2257]95    sys/threadbase.h \
[2237]96    \
[955]97    image/image.cpp image/image.h image/image-private.h \
[981]98    image/codec/gdiplus-image.cpp \
[958]99    image/codec/ios-image.cpp \
[955]100    image/codec/dummy-image.cpp \
[2199]101    image/color/cie1931.cpp \
[864]102    \
[783]103    loldebug.h \
[1877]104    debug/fps.cpp debug/fps.h \
[2354]105    debug/record.cpp debug/record.h debug/stats.cpp debug/stats.h
[92]106
[1082]107sdl_sources = \
[1219]108    image/codec/sdl-image.cpp \
[1036]109    platform/sdl/sdlapp.cpp platform/sdl/sdlapp.h \
110    platform/sdl/sdlinput.cpp platform/sdl/sdlinput.h
111
[1361]112d3d9_sources = \
[1449]113    platform/d3d9/d3d9input.cpp platform/d3d9/d3d9input.h
[1361]114
[1084]115if USE_NACL
[1082]116nacl_sources = \
[1440]117    platform/nacl/nacl-app.cpp platform/nacl/nacl-app.h \
118    platform/nacl/nacl-instance.cpp platform/nacl/nacl-instance.h \
119    platform/nacl/nacl-module.cpp \
[1084]120    platform/nacl/opengl_context.cpp platform/nacl/opengl_context.h \
121    platform/nacl/opengl_context_ptrs.h
122endif
[1082]123
[1563]124if USE_PS3
[1173]125ps3_sources = \
[1219]126    image/codec/ps3-image.cpp \
[1097]127    platform/ps3/threadbase.h \
[1036]128    platform/ps3/ps3app.cpp platform/ps3/ps3app.h \
129    platform/ps3/ps3input.cpp platform/ps3/ps3input.h
130endif
131
[1563]132if USE_X360
[1173]133xbox_sources = \
[1358]134    platform/xbox/xboxapp.cpp platform/xbox/xboxapp.h \
135    platform/xbox/xboxinput.cpp platform/xbox/xboxinput.h
[1173]136endif
137
[1219]138android_sources = \
139    image/codec/android-image.cpp \
140    platform/android/androidapp.cpp platform/android/androidapp.h
141
Note: See TracBrowser for help on using the repository browser.