2011-12-16 17:29:24 +01:00
|
|
|
LOCAL_PATH := $(call my-dir)
|
|
|
|
|
|
|
|
include $(CLEAR_VARS)
|
|
|
|
|
|
|
|
LOCAL_MODULE := ewol
|
2012-03-29 10:01:50 +02:00
|
|
|
LOCAL_STATIC_LIBRARIES := etk libfreetype tinyxml libzip libpng agg parsersvg
|
2011-12-16 17:29:24 +01:00
|
|
|
|
2011-12-30 10:44:44 +01:00
|
|
|
LOCAL_C_INCLUDES := -I$(LOCAL_PATH)
|
2011-12-16 17:29:24 +01:00
|
|
|
|
2011-12-20 23:42:19 +01:00
|
|
|
LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH)
|
2012-02-16 12:22:05 +01:00
|
|
|
LOCAL_EXPORT_LDLIBS := -lGL -lGLU -lz -lX11
|
2011-12-16 17:29:24 +01:00
|
|
|
|
2012-03-08 18:08:25 +01:00
|
|
|
ifeq ($(DEBUG),1)
|
2011-12-16 17:29:24 +01:00
|
|
|
LOCAL_CFLAGS := -D__PLATFORM__Linux \
|
|
|
|
-Wno-write-strings \
|
|
|
|
-DETK_DEBUG_LEVEL=3 \
|
|
|
|
-DEWOL_DEBUG_LEVEL=3 \
|
|
|
|
-DEWOL_VERSION_TAG_NAME="\"UNKNOW-debug\"" \
|
2011-12-20 23:42:19 +01:00
|
|
|
-DVERSION_BUILD_TIME="\"pasd_heure\"" \
|
2012-03-23 17:57:27 +01:00
|
|
|
-DEWOL_USE_FREE_TYPE \
|
|
|
|
-Wall
|
2012-03-29 10:01:50 +02:00
|
|
|
|
2012-03-08 18:08:25 +01:00
|
|
|
else
|
|
|
|
LOCAL_CFLAGS := -D__PLATFORM__Linux \
|
|
|
|
-Wno-write-strings \
|
|
|
|
-DETK_DEBUG_LEVEL=1 \
|
|
|
|
-DEWOL_DEBUG_LEVEL=1 \
|
|
|
|
-DEWOL_VERSION_TAG_NAME="\"UNKNOW-debug\"" \
|
|
|
|
-DVERSION_BUILD_TIME="\"pasd_heure\"" \
|
|
|
|
-DEWOL_USE_FREE_TYPE
|
2012-03-29 10:01:50 +02:00
|
|
|
|
2012-03-08 18:08:25 +01:00
|
|
|
endif
|
2011-12-16 17:29:24 +01:00
|
|
|
|
|
|
|
# load the common sources file of the platform
|
|
|
|
include $(LOCAL_PATH)/file.mk
|
|
|
|
|
|
|
|
LOCAL_SRC_FILES := \
|
2011-12-20 23:42:19 +01:00
|
|
|
ewol/base/guiX11.cpp \
|
2011-12-16 17:29:24 +01:00
|
|
|
$(FILE_LIST)
|
|
|
|
|
|
|
|
# Ewol Test Software :
|
2012-02-16 12:22:05 +01:00
|
|
|
LOCAL_LDLIBS := -lGL -lGLU -lz -lX11
|
2011-12-16 17:29:24 +01:00
|
|
|
|
|
|
|
|
|
|
|
include $(BUILD_STATIC_LIBRARY)
|