2012-01-11 15:26:53 +01:00
|
|
|
LOCAL_PATH := $(call my-dir)
|
|
|
|
|
|
|
|
include $(CLEAR_VARS)
|
|
|
|
|
|
|
|
# load the common sources file of the platform
|
|
|
|
include $(LOCAL_PATH)/file.mk
|
|
|
|
|
2012-03-29 17:48:48 +02:00
|
|
|
# name of the librairy
|
2012-01-11 15:26:53 +01:00
|
|
|
LOCAL_MODULE := ednn
|
2012-03-29 17:48:48 +02:00
|
|
|
|
|
|
|
# get the tag of the current project :
|
|
|
|
LOCAL_VERSION_TAG=$(shell cd $(LOCAL_PATH) ; git describe --tags)
|
|
|
|
LOCAL_VERSION_TAG_SHORT=$(shell cd $(LOCAL_PATH) ; git describe --tags --abbrev=0)
|
|
|
|
$(info $(LOCAL_MODULE) version TAG : $(LOCAL_VERSION_TAG))
|
|
|
|
|
|
|
|
# name of the dependency
|
2012-03-28 18:11:43 +02:00
|
|
|
LOCAL_STATIC_LIBRARIES := ewol etk tinyxml libzip libpng libfreetype parsersvg agg
|
2012-01-11 15:26:53 +01:00
|
|
|
|
|
|
|
LOCAL_C_INCLUDES := -I$(LOCAL_PATH) $(addprefix -I$(LOCAL_PATH)/, $(sort $(dir $(FILE_LIST))))
|
|
|
|
|
|
|
|
LOCAL_SRC_FILES := $(FILE_LIST)
|
2012-01-25 18:30:33 +01:00
|
|
|
|
|
|
|
|
2012-01-11 15:26:53 +01:00
|
|
|
LOCAL_LDLIBS :=
|
|
|
|
|
2012-02-18 15:56:00 +01:00
|
|
|
LOCAL_CFLAGS := -D__PLATFORM__Linux \
|
|
|
|
-DEWOL_USE_FREE_TYPE \
|
2012-02-17 18:25:38 +01:00
|
|
|
-DEDN_DEBUG_LEVEL=3
|
2012-01-11 15:26:53 +01:00
|
|
|
|
|
|
|
include $(BUILD_EXECUTABLE)
|
|
|
|
|
|
|
|
NDK_MODULE_PATH := $(LOCAL_PATH)/../../
|
|
|
|
|
|
|
|
|
|
|
|
$(call import-module,ewol/Sources)
|