-
Notifications
You must be signed in to change notification settings - Fork 57
/
Copy pathAndroid.mk
295 lines (283 loc) · 5.18 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
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)
LOCAL_MODULE := main
LOCAL_VERSION := $(if $(ELVERSION),-DGIT_VERSION=\"$(ELVERSION)\",)
SDL_PATH := ../SDL2
SDL_IMAGE_PATH := ../SDL2_image
SDL_NET_PATH := ../SDL2_net
SDL_TTF_PATH := ../SDL2_ttf
CAL3D_PATH := ../cal3d/
XML2_PATH := ../xml2
GL4ES_PATH := ../gl4es/
ICONV_PATH := ../iconv/
MYGLOB_PATH := ../myglob/
GLU_PATH := ../glu/
OPENSSL_PATH := ../openssl
LOCAL_C_INCLUDES := \
$(LOCAL_PATH)/$(SDL_PATH)/include \
$(LOCAL_PATH)/$(SDL_IMAGE_PATH) \
$(LOCAL_PATH)/$(SDL_NET_PATH) \
$(LOCAL_PATH)/$(SDL_TTF_PATH) \
$(LOCAL_PATH)/$(CAL3D_PATH)/src/ \
$(LOCAL_PATH)/$(XML2_PATH)/include/ \
$(LOCAL_PATH)/$(ICONV_PATH)/include/ \
$(LOCAL_PATH)/$(EXTRAS_PATH)/ \
$(LOCAL_PATH)/$(GL4ES_PATH)/include/ \
$(LOCAL_PATH)/$(GLU_PATH)/include/ \
$(LOCAL_PATH)/$(ZLIB_PATH)/ \
$(LOCAL_PATH)/$(MYGLOB_PATH)/include/ \
$(LOCAL_PATH)/nlohmann_json/include/ \
$(LOCAL_PATH)/$(OPENSSL_PATH)/include/
LOCAL_CPPFLAGS := \
-std=c++11
LOCAL_CFLAGS := \
-O3 -fsigned-char -frtti \
-DANDROID \
-DELC \
-D_7ZIP_ST \
\
-DCUSTOM_UPDATE \
-DJSON_FILES \
-DTTF \
-DUSE_SSL \
\
-DCLUSTER_INSIDES \
-DCUSTOM_LOOK \
-DFUZZY_PATHS \
-DUSE_INLINE \
-DBANDWIDTH_SAVINGS \
-DANIMATION_SCALING \
-DFASTER_MAP_LOAD \
-DFASTER_STARTUP \
-DNEW_EYES \
\
$(LOCAL_VERSION)
# Add your application source files here...
LOCAL_SRC_FILES := \
$(SDL_PATH)/src/main/android/SDL_android_main.c \
\
2d_objects.c \
3d_objects.c \
actors.c \
actor_scripts.c \
alphamap.c \
asc.c \
astrology.c \
bags.c \
bbox_tree.c \
books/fontdef.c \
books/parser.c \
books/symbols.c \
books/typesetter.c \
buddy.c \
buffs.c \
cache.c \
cal.c \
calc.c \
chat.c \
cluster.c \
colors.c \
console.c \
consolewin.c \
counters.c \
cursors.c \
custom_update.c \
dds.c \
ddsimage.c \
dialogues.c \
draw_scene.c \
elconfig.c \
el_memory.c \
elmemory.c \
elwindows.c \
emotes.c \
encyclopedia.c \
errors.c \
events.c \
filter.c \
framebuffer.c \
frustum.c \
fsaa/fsaa.c \
fsaa/fsaa_dummy.c \
gamewin.c \
gl_init.c \
hash.c \
help.c \
highlight.c \
hud.c \
hud_misc_window.c \
hud_quickbar_window.c \
hud_quickspells_window.c \
hud_statsbar_window.c \
ignore.c \
image.c \
image_loading.c \
init.c \
interface.c \
io/e3d_io.c \
io/elc_io.c io/map_io.c \
io/elfilewrapper.c \
io/elpathwrapper.c \
io/fileutil.c \
io/half.c \
io/ioapi.c \
io/normal.c \
io/zip.c \
io/ziputil.c \
io/unzip.c \
io/xmlcallbacks.c \
items.c \
keys.c \
knowledge.c \
langselwin.c \
lights.c \
list.c \
load_gl_extensions.c \
loading_win.c \
loginwin.c \
main.c \
makeargv.c \
manufacture.c \
map.c \
mapwin.c \
md5.c \
mines.c \
minimap.c \
misc.c \
missiles.c \
multiplayer.c \
new_actors.c \
new_character.c \
new_update.c \
notepad.c \
openingwin.c \
particles.c \
paste.c \
pathfinder.c \
pm_log.c \
popup.c \
queue.c \
reflection.c \
rules.c sky.c \
serverpopup.c \
servers.c \
session.c \
shader/noise.c \
shader/shader.c \
shadows.c \
skeletons.c \
skills.c \
sort.c \
sound.c \
special_effects.c \
spells.c \
stats.c \
storage.c \
symbol_table.c \
tabs.c \
text_aliases.c \
text.c \
textures.c \
tile_map.c \
timers.c \
trade.c \
translate.c \
update.c \
url.c \
weather.c \
widgets.c \
xz/7zCrc.c \
xz/7zCrcOpt.c \
xz/Alloc.c \
xz/Bra86.c \
xz/Bra.c \
xz/BraIA64.c \
xz/CpuArch.c \
xz/Delta.c \
xz/LzFind.c \
xz/Lzma2Dec.c \
xz/LzmaDec.c \
xz/Sha256.c \
xz/Xz.c \
xz/XzCrc64.c \
xz/XzDec.c \
\
achievements.cpp \
actor_init.cpp \
actors_list.cpp \
books.cpp \
cal3d_wrapper.cpp \
command_queue.cpp \
context_menu.cpp \
elloggingwrapper.cpp \
engine/hardwarebuffer.cpp \
engine/logging.cpp \
exceptions/extendedexception.cpp \
eye_candy/effect_bag.cpp \
eye_candy/effect_breath.cpp \
eye_candy/effect_campfire.cpp \
eye_candy/effect_candle.cpp \
eye_candy/effect_cloud.cpp \
eye_candy/effect_firefly.cpp \
eye_candy/effect_fountain.cpp \
eye_candy/effect_glow.cpp \
eye_candy/effect_harvesting.cpp \
eye_candy/effect_impact.cpp \
eye_candy/effect_lamp.cpp \
eye_candy/effect_mines.cpp \
eye_candy/effect_missile.cpp \
eye_candy/effect_ongoing.cpp \
eye_candy/effect_selfmagic.cpp \
eye_candy/effect_smoke.cpp \
eye_candy/effect_staff.cpp \
eye_candy/effect_summon.cpp \
eye_candy/effect_sword.cpp \
eye_candy/effect_targetmagic.cpp \
eye_candy/effect_teleporter.cpp \
eye_candy/effect_wind.cpp \
eye_candy/eye_candy.cpp \
eye_candy/kepler_orbit.cpp \
eye_candy/math_cache.cpp \
eye_candy/orbital_mover.cpp \
eye_candy_wrapper.cpp \
font.cpp \
hud_indicators.cpp \
hud_timer.cpp \
icon_window.cpp \
io/cal3d_io_wrapper.cpp \
item_info.cpp \
item_lists.cpp \
invasion_window.cpp \
json_io.cpp \
named_colours.cpp \
optimizer.cpp \
password_manager.cpp \
quest_log.cpp \
select.cpp \
sendvideoinfo.cpp \
trade_log.cpp \
user_menus.cpp \
xml/xmlhelper.cpp \
xor_cipher.cpp \
\
connection.cpp \
cppwindows.cpp \
ipaddress.cpp \
socket.cpp \
textpopup.cpp
LOCAL_SHARED_LIBRARIES := \
SDL2 \
SDL2_image \
SDL2_net \
SDL2_ttf \
cal3d \
iconv \
libGLU \
libmyglob \
libxml2
LOCAL_STATIC_LIBRARIES := \
GL \
libcrypto_static \
libssl_static
LOCAL_LDLIBS := -lz -llog
include $(BUILD_SHARED_LIBRARY)