added dependencies and build files (loosely inspired by Sebastian Dorda's love-native-android)

This commit is contained in:
Martin Felis
2013-12-05 17:58:37 +01:00
parent 9604528a96
commit 95a086a47f
3700 changed files with 1691119 additions and 0 deletions
+31
View File
@@ -0,0 +1,31 @@
LOCAL_PATH:= $(call my-dir)
# libogg
include $(CLEAR_VARS)
LOCAL_MODULE := libfreetype
LOCAL_CFLAGS := -fexceptions -g -Dlinux -Dunix -DFT2_BUILD_LIBRARY=1 \
-DHAVE_GCC_DESTRUCTOR=1 -DOPT_GENERIC -DREAL_IS_FLOAT
LOCAL_CPPFLAGS := ${LOCAL_CFLAGS}
LOCAL_C_INCLUDES := \
${LOCAL_PATH}/include \
${LOCAL_PATH}/src
LOCAL_SRC_FILES := \
$(filter-out \
,$(subst $(LOCAL_PATH)/,,\
${LOCAL_PATH}/src/autofit/autofit.c \
$(wildcard ${LOCAL_PATH}/src/base/*.c) \
$(wildcard ${LOCAL_PATH}/src/pshinter/*.c) \
$(wildcard ${LOCAL_PATH}/src/psnames/*.c) \
$(wildcard ${LOCAL_PATH}/src/raster/*.c) \
$(wildcard ${LOCAL_PATH}/src/sfnt/*.c) \
$(wildcard ${LOCAL_PATH}/src/smooth/*.c) \
$(wildcard ${LOCAL_PATH}/src/truetype/*.c) ))
$(info libfreetype: include dirs $(LOCAL_C_INCLUDES))
$(info libfreetype: src files $(LOCAL_SRC_FILES))
include $(BUILD_STATIC_LIBRARY)