31 lines
726 B
Makefile
31 lines
726 B
Makefile
LOCAL_PATH := $(call my-dir)
|
|
|
|
include $(CLEAR_VARS)
|
|
|
|
# name of the librairy
|
|
LOCAL_MODULE := parsersvg
|
|
|
|
# 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
|
|
LOCAL_LIBRARIES := etk agg tinyxml
|
|
|
|
LOCAL_C_INCLUDES :=
|
|
|
|
LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH)
|
|
|
|
LOCAL_CFLAGS := -DPARSER_SVG_VERSION_TAG_NAME="\"$(LOCAL_VERSION_TAG_SHORT)-$(BUILD_DIRECTORY_MODE)\""
|
|
|
|
|
|
# load the common sources file of the platform
|
|
include $(LOCAL_PATH)/file.mk
|
|
|
|
LOCAL_SRC_FILES := $(FILE_LIST)
|
|
|
|
include $(BUILD_STATIC_LIBRARY)
|
|
|
|
|