|
@@ -20,43 +20,47 @@ LOCAL_MODULE := oxygine-framework_static
|
|
|
LOCAL_MODULE_FILENAME := liboxygine-framework
|
|
LOCAL_MODULE_FILENAME := liboxygine-framework
|
|
|
LOCAL_CPP_EXTENSION := .cpp
|
|
LOCAL_CPP_EXTENSION := .cpp
|
|
|
|
|
|
|
|
-OXYGINE_SRC := $(LOCAL_PATH)/oxygine/src
|
|
|
|
|
|
|
+SRC := $(LOCAL_PATH)/oxygine/src
|
|
|
|
|
|
|
|
LOCAL_SRC_FILES := \
|
|
LOCAL_SRC_FILES := \
|
|
|
$(subst $(LOCAL_PATH)/,, \
|
|
$(subst $(LOCAL_PATH)/,, \
|
|
|
- $(wildcard $(OXYGINE_SRC)/closure/*.cpp) \
|
|
|
|
|
- $(wildcard $(OXYGINE_SRC)/core/*.cpp) \
|
|
|
|
|
- $(wildcard $(OXYGINE_SRC)/math/*.cpp) \
|
|
|
|
|
- $(wildcard $(OXYGINE_SRC)/pugixml/*.cpp) \
|
|
|
|
|
- $(wildcard $(OXYGINE_SRC)/res/*.cpp) \
|
|
|
|
|
- $(wildcard $(OXYGINE_SRC)/text_utils/*.cpp) \
|
|
|
|
|
- $(wildcard $(OXYGINE_SRC)/dev_tools/*.cpp) \
|
|
|
|
|
- $(wildcard $(OXYGINE_SRC)/utils/*.cpp) \
|
|
|
|
|
- $(wildcard $(OXYGINE_SRC)/winnie_alloc/*.cpp) \
|
|
|
|
|
- $(wildcard $(OXYGINE_SRC)/minizip/*.c) \
|
|
|
|
|
- $(wildcard $(OXYGINE_SRC)/*.cpp) \
|
|
|
|
|
|
|
+ $(wildcard $(SRC)/closure/*.cpp) \
|
|
|
|
|
+ $(wildcard $(SRC)/core/*.cpp) \
|
|
|
|
|
+ $(wildcard $(SRC)/math/*.cpp) \
|
|
|
|
|
+ $(wildcard $(SRC)/pugixml/*.cpp) \
|
|
|
|
|
+ $(wildcard $(SRC)/res/*.cpp) \
|
|
|
|
|
+ $(wildcard $(SRC)/text_utils/*.cpp) \
|
|
|
|
|
+ $(wildcard $(SRC)/dev_tools/*.cpp) \
|
|
|
|
|
+ $(wildcard $(SRC)/utils/*.cpp) \
|
|
|
|
|
+ $(wildcard $(SRC)/winnie_alloc/*.cpp) \
|
|
|
|
|
+ $(wildcard $(SRC)/minizip/*.c) \
|
|
|
|
|
+ $(wildcard $(SRC)/*.cpp) \
|
|
|
)
|
|
)
|
|
|
|
|
|
|
|
-OXYGINE_SRC := oxygine/src
|
|
|
|
|
|
|
+SRC := oxygine/src
|
|
|
|
|
|
|
|
LOCAL_SRC_FILES += \
|
|
LOCAL_SRC_FILES += \
|
|
|
oxygine/greenlets/src/greenlet.c \
|
|
oxygine/greenlets/src/greenlet.c \
|
|
|
|
|
|
|
|
LOCAL_SRC_FILES += \
|
|
LOCAL_SRC_FILES += \
|
|
|
- $(OXYGINE_SRC)/core/gl/NativeTextureGLES.cpp \
|
|
|
|
|
- $(OXYGINE_SRC)/core/gl/oxgl.cpp \
|
|
|
|
|
- $(OXYGINE_SRC)/core/gl/VertexDeclarationGL.cpp \
|
|
|
|
|
- $(OXYGINE_SRC)/core/gl/ShaderProgramGL.cpp \
|
|
|
|
|
- $(OXYGINE_SRC)/core/gl/VideoDriverGL.cpp \
|
|
|
|
|
- $(OXYGINE_SRC)/core/gl/VideoDriverGLES20.cpp \
|
|
|
|
|
-
|
|
|
|
|
-SDL_PATH := $(LOCAL_PATH)/../SDL/include/
|
|
|
|
|
-THIRD_PARTY := $(LOCAL_PATH)/oxygine/third_party/android/
|
|
|
|
|
|
|
+ $(SRC)/core/android/jniUtils.cpp \
|
|
|
|
|
+ $(SRC)/core/android/jniHelper.cpp \
|
|
|
|
|
+
|
|
|
|
|
+LOCAL_SRC_FILES += \
|
|
|
|
|
+ $(SRC)/core/gl/NativeTextureGLES.cpp \
|
|
|
|
|
+ $(SRC)/core/gl/oxgl.cpp \
|
|
|
|
|
+ $(SRC)/core/gl/VertexDeclarationGL.cpp \
|
|
|
|
|
+ $(SRC)/core/gl/ShaderProgramGL.cpp \
|
|
|
|
|
+ $(SRC)/core/gl/VideoDriverGL.cpp \
|
|
|
|
|
+ $(SRC)/core/gl/VideoDriverGLES20.cpp \
|
|
|
|
|
|
|
|
|
|
+
|
|
|
|
|
+THIRD_PARTY := $(LOCAL_PATH)/oxygine/third_party/android/
|
|
|
OXYGINE_SRC := $(LOCAL_PATH)/oxygine/src
|
|
OXYGINE_SRC := $(LOCAL_PATH)/oxygine/src
|
|
|
|
|
+
|
|
|
LOCAL_C_INCLUDES := $(OXYGINE_SRC)/ \
|
|
LOCAL_C_INCLUDES := $(OXYGINE_SRC)/ \
|
|
|
$(OXYGINE_SRC)/../greenlets/src/ \
|
|
$(OXYGINE_SRC)/../greenlets/src/ \
|
|
|
- $(SDL_PATH) \
|
|
|
|
|
|
|
+ $(LOCAL_PATH)/../SDL/include/ \
|
|
|
$(THIRD_PARTY)/libjpeg/ \
|
|
$(THIRD_PARTY)/libjpeg/ \
|
|
|
$(THIRD_PARTY)/libpng/
|
|
$(THIRD_PARTY)/libpng/
|
|
|
|
|
|
|
@@ -68,5 +72,5 @@ LOCAL_WHOLE_STATIC_LIBRARIES := ox_libpng_static ox_libjpeg_static
|
|
|
|
|
|
|
|
include $(BUILD_STATIC_LIBRARY)
|
|
include $(BUILD_STATIC_LIBRARY)
|
|
|
|
|
|
|
|
-$(call import-add-path, $(LOCAL_PATH)/../)
|
|
|
|
|
|
|
+#$(call import-add-path, $(LOCAL_PATH)/../)
|
|
|
$(call import-module, SDL)
|
|
$(call import-module, SDL)
|