ewol/Sources/libewol/Linux.mk

46 lines
1.2 KiB
Makefile
Raw Normal View History

2011-12-16 17:29:24 +01:00
LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)
LOCAL_MODULE := ewol
LOCAL_STATIC_LIBRARIES := etk libfreetype tinyxml libzip libpng agg parsersvg
2011-12-16 17:29:24 +01:00
LOCAL_C_INCLUDES := -I$(LOCAL_PATH)
2011-12-16 17:29:24 +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\"" \
-DVERSION_BUILD_TIME="\"pasd_heure\"" \
2012-03-23 17:57:27 +01:00
-DEWOL_USE_FREE_TYPE \
-Wall
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
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 := \
ewol/base/guiX11.cpp \
2011-12-16 17:29:24 +01:00
$(FILE_LIST)
#for freetype : https://github.com/cdave1/freetype2-android
# 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)