misc/libfreetype/Android.mk
branchhedgeroid
changeset 6039 d75329716a02
child 6043 9bd2d6b1ba52
equal deleted inserted replaced
6037:8cdc7bc3e38c 6039:d75329716a02
       
     1 LOCAL_PATH := $(call my-dir)
       
     2 
       
     3 include $(CLEAR_VARS)
       
     4 
       
     5 LOCAL_MODULE := freetype
       
     6 
       
     7 APP_SUBDIRS := $(patsubst $(LOCAL_PATH)/%, %, $(shell find $(LOCAL_PATH)/src -type d))
       
     8 
       
     9 # Add more subdirs here, like src/subdir1 src/subdir2
       
    10 
       
    11 LOCAL_CFLAGS := $(foreach D, $(APP_SUBDIRS), -I$(LOCAL_PATH)/$(D)) \
       
    12 				-I$(LOCAL_PATH)/include -DFT2_BUILD_LIBRARY
       
    13 
       
    14 
       
    15 #Change C++ file extension as appropriate
       
    16 LOCAL_CPP_EXTENSION := .cpp
       
    17 
       
    18 LOCAL_SRC_FILES := $(foreach F, $(APP_SUBDIRS), $(addprefix $(F)/,$(notdir $(wildcard $(LOCAL_PATH)/$(F)/*.cpp))))
       
    19 # Uncomment to also add C sources
       
    20 LOCAL_SRC_FILES += $(foreach F, $(APP_SUBDIRS), $(addprefix $(F)/,$(notdir $(wildcard $(LOCAL_PATH)/$(F)/*.c))))
       
    21 
       
    22 LOCAL_SHARED_LIBRARIES := 
       
    23 
       
    24 LOCAL_STATIC_LIBRARIES := 
       
    25 
       
    26 LOCAL_LDLIBS :=
       
    27 
       
    28 include $(BUILD_STATIC_LIBRARY)