summaryrefslogtreecommitdiff
path: root/Android.mk
diff options
context:
space:
mode:
Diffstat (limited to 'Android.mk')
-rw-r--r--Android.mk38
1 files changed, 24 insertions, 14 deletions
diff --git a/Android.mk b/Android.mk
index 2f9dad11c..969118e1c 100644
--- a/Android.mk
+++ b/Android.mk
@@ -16,7 +16,7 @@ LOCAL_C_INCLUDES := $(LOCAL_PATH)/$(SDL_PATH)/include \
$(ROOT_PATH)/curl/include \
$(ROOT_PATH)/SDL2_net-2.0.0
-LOCAL_CPPFLAGS += -DUSE_SDL2 -DEATHENA_SUPPORT -DUSE_OPENGL -DENABLE_NLS
+LOCAL_CPPFLAGS += -DUSE_SDL2 -DEATHENA_SUPPORT -DTMWA_SUPPORT -DUSE_OPENGL -DENABLE_NLS
LOCAL_CPPFLAGS += -frtti -fexceptions -Wno-error=format-security -fvisibility=hidden
LOCAL_CPPFLAGS += -ffast-math -funswitch-loops -pedantic -Wall -Wc++11-compat -std=c++0x -funsafe-loop-optimizations -flto -fwhole-program
@@ -29,32 +29,42 @@ LOCAL_LDLIBS := -lGLESv1_CM -lEGL -llog -lz
LOCAL_SRC_FILES := $(SDL_PATH)/src/main/android/SDL_android_main.c \
$(subst $(LOCAL_PATH)/,, \
$(wildcard $(LOCAL_PATH)/src/*.cpp) \
- $(wildcard $(LOCAL_PATH)/src/being/*.cpp) \
- $(wildcard $(LOCAL_PATH)/src/events/*.cpp) \
$(wildcard $(LOCAL_PATH)/src/gui/*.cpp) \
+ $(wildcard $(LOCAL_PATH)/src/gui/fonts/*.cpp) \
$(wildcard $(LOCAL_PATH)/src/gui/models/*.cpp) \
$(wildcard $(LOCAL_PATH)/src/gui/popups/*.cpp) \
$(wildcard $(LOCAL_PATH)/src/gui/widgets/*.cpp) \
$(wildcard $(LOCAL_PATH)/src/gui/widgets/tabs/*.cpp) \
+ $(wildcard $(LOCAL_PATH)/src/gui/widgets/tabs/chat/*.cpp) \
$(wildcard $(LOCAL_PATH)/src/gui/windows/*.cpp) \
- $(wildcard $(LOCAL_PATH)/src/gui/basic/*.cpp) \
- $(wildcard $(LOCAL_PATH)/src/gui/basic/widgets/*.cpp) \
- $(wildcard $(LOCAL_PATH)/src/input/*.cpp) \
$(wildcard $(LOCAL_PATH)/src/net/*.cpp) \
$(wildcard $(LOCAL_PATH)/src/net/ea/*.cpp) \
- $(wildcard $(LOCAL_PATH)/src/net/ea/gui/*.cpp) \
- $(wildcard $(LOCAL_PATH)/src/net/eathena/*.cpp) \
- $(wildcard $(LOCAL_PATH)/src/net/eathena/gui/*.cpp) \
$(wildcard $(LOCAL_PATH)/src/net/tmwa/*.cpp) \
- $(wildcard $(LOCAL_PATH)/src/net/tmwa/gui/*.cpp) \
- $(wildcard $(LOCAL_PATH)/src/listeners/*.cpp) \
+ $(wildcard $(LOCAL_PATH)/src/net/eathena/*.cpp) \
+ $(wildcard $(LOCAL_PATH)/src/test/*.cpp) \
+ $(wildcard $(LOCAL_PATH)/src/being/*.cpp) \
+ $(wildcard $(LOCAL_PATH)/src/debug/*.cpp) \
+ $(wildcard $(LOCAL_PATH)/src/enums/*.cpp) \
+ $(wildcard $(LOCAL_PATH)/src/enums/gui/*.cpp) \
+ $(wildcard $(LOCAL_PATH)/src/enums/net/*.cpp) \
+ $(wildcard $(LOCAL_PATH)/src/enums/being/*.cpp) \
+ $(wildcard $(LOCAL_PATH)/src/enums/events/*.cpp) \
+ $(wildcard $(LOCAL_PATH)/src/enums/render/*.cpp) \
+ $(wildcard $(LOCAL_PATH)/src/enums/resources/*.cpp) \
+ $(wildcard $(LOCAL_PATH)/src/input/*.cpp) \
+ $(wildcard $(LOCAL_PATH)/src/input/pages/*.cpp) \
+ $(wildcard $(LOCAL_PATH)/src/utils/*.cpp) \
+ $(wildcard $(LOCAL_PATH)/src/utils/translation/*.cpp) \
+ $(wildcard $(LOCAL_PATH)/src/sdl2gfx/*.cpp) \
$(wildcard $(LOCAL_PATH)/src/particle/*.cpp) \
+ $(wildcard $(LOCAL_PATH)/src/events/*.cpp) \
+ $(wildcard $(LOCAL_PATH)/src/actions/*.cpp) \
$(wildcard $(LOCAL_PATH)/src/render/*.cpp) \
+ $(wildcard $(LOCAL_PATH)/src/render/shaders/*.cpp) \
+ $(wildcard $(LOCAL_PATH)/src/listeners/*.cpp) \
$(wildcard $(LOCAL_PATH)/src/resources/*.cpp) \
$(wildcard $(LOCAL_PATH)/src/resources/db/*.cpp) \
- $(wildcard $(LOCAL_PATH)/src/test/*.cpp) \
- $(wildcard $(LOCAL_PATH)/src/utils/*.cpp) \
- $(wildcard $(LOCAL_PATH)/src/utils/translation/*.cpp) \
+ $(wildcard $(LOCAL_PATH)/src/resources/map/*.cpp) \
)
include $(BUILD_SHARED_LIBRARY)