-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathAndroid.mk
107 lines (102 loc) · 3.55 KB
/
Android.mk
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)
DEPS_PATH = $(LOCAL_PATH)/Dependencies
LOCAL_CFLAGS := -I$(DEPS_PATH) -std=gnu99 -I$(DEPS_PATH)/png -I$(DEPS_PATH)/mxml -I$(DEPS_PATH)/LuaJIT -I$(DEPS_PATH)/Chipmunk/include -I$(DEPS_PATH)/Chipmunk/include/chipmunk -g -DDYNAMO_DEBUG -DCP_USE_DOUBLES=0 -DANDROID_APP_IDENTIFIER=\"$(APP_IDENTIFIER)\" -DGL_GLEXT_PROTOTYPES=1
LOCAL_CXXFLAGS := -std=gnu++98
LOCAL_ARM_MODE := arm
TARGET_PLATFORM := android-9
TARGET_ABI := android-9-armeabi
LOCAL_MODULE := dynamo
LOCAL_SRC_FILES :=\
Source/array.c \
Source/background.c \
Source/drawutils.c \
Source/gametimer.c \
Source/input.c \
Source/linkedlist.c \
Source/object.c \
Source/png_loader.c \
Source/renderer.c \
Source/scene.c \
Source/shader.c \
Source/sprite.c \
Source/texture.c \
Source/texture_atlas.c \
Source/tmx_map.c \
Source/util.c \
Source/sound_android.c \
Source/dictionary.c \
Source/json.c \
Source/primitive_types.c \
Source/world.c \
Source/luacontext.c \
Source/glutils.c \
Dependencies/GLMath/GLMath.c \
Dependencies/GLMath/GLMathUtilities.c \
Dependencies/mxml/mxml-attr.c \
Dependencies/mxml/mxml-entity.c \
Dependencies/mxml/mxml-file.c \
Dependencies/mxml/mxml-get.c \
Dependencies/mxml/mxml-index.c \
Dependencies/mxml/mxml-node.c \
Dependencies/mxml/mxml-private.c \
Dependencies/mxml/mxml-search.c \
Dependencies/mxml/mxml-set.c \
Dependencies/mxml/mxml-string.c \
Dependencies/png/png.c \
Dependencies/png/pngerror.c \
Dependencies/png/pngget.c \
Dependencies/png/pngmem.c \
Dependencies/png/pngpread.c \
Dependencies/png/pngread.c \
Dependencies/png/pngrio.c \
Dependencies/png/pngrtran.c \
Dependencies/png/pngrutil.c \
Dependencies/png/pngset.c \
Dependencies/png/pngtrans.c \
Dependencies/png/pngwio.c \
Dependencies/png/pngwrite.c \
Dependencies/png/pngwtran.c \
Dependencies/png/pngwutil.c \
Dependencies/yajl/yajl.c \
Dependencies/yajl/yajl_alloc.c \
Dependencies/yajl/yajl_buf.c \
Dependencies/yajl/yajl_encode.c \
Dependencies/yajl/yajl_gen.c \
Dependencies/yajl/yajl_lex.c \
Dependencies/yajl/yajl_parser.c \
Dependencies/yajl/yajl_tree.c \
Dependencies/yajl/yajl_version.c \
Dependencies/Chipmunk/src/chipmunk.c \
Dependencies/Chipmunk/src/constraints/cpConstraint.c \
Dependencies/Chipmunk/src/constraints/cpDampedRotarySpring.c \
Dependencies/Chipmunk/src/constraints/cpDampedSpring.c \
Dependencies/Chipmunk/src/constraints/cpGearJoint.c \
Dependencies/Chipmunk/src/constraints/cpGrooveJoint.c \
Dependencies/Chipmunk/src/constraints/cpPinJoint.c \
Dependencies/Chipmunk/src/constraints/cpPivotJoint.c \
Dependencies/Chipmunk/src/constraints/cpRatchetJoint.c \
Dependencies/Chipmunk/src/constraints/cpRotaryLimitJoint.c \
Dependencies/Chipmunk/src/constraints/cpSimpleMotor.c \
Dependencies/Chipmunk/src/constraints/cpSlideJoint.c \
Dependencies/Chipmunk/src/cpArbiter.c \
Dependencies/Chipmunk/src/cpArray.c \
Dependencies/Chipmunk/src/cpBB.c \
Dependencies/Chipmunk/src/cpBBTree.c \
Dependencies/Chipmunk/src/cpBody.c \
Dependencies/Chipmunk/src/cpCollision.c \
Dependencies/Chipmunk/src/cpHashSet.c \
Dependencies/Chipmunk/src/cpPolyShape.c \
Dependencies/Chipmunk/src/cpShape.c \
Dependencies/Chipmunk/src/cpSpace.c \
Dependencies/Chipmunk/src/cpSpaceComponent.c \
Dependencies/Chipmunk/src/cpSpaceHash.c \
Dependencies/Chipmunk/src/cpSpaceQuery.c \
Dependencies/Chipmunk/src/cpSpaceStep.c \
Dependencies/Chipmunk/src/cpSpatialIndex.c \
Dependencies/Chipmunk/src/cpSweep1D.c \
Dependencies/Chipmunk/src/cpVect.c \
dynamo_wrap.c
LIBS+=bps screen EGL GLESv2 freetype
LOCAL_LDLIBS := -lz -llog -ldl -lGLESv2 -lOpenSLES -L$(DEPS_PATH)/LuaJIT -lluajit_android
include $(BUILD_SHARED_LIBRARY)