1LOCAL_PATH:= $(call my-dir) 2include $(CLEAR_VARS) 3 4LOCAL_SRC_FILES:= \ 5 bitmath.c \ 6 bitreader.c \ 7 bitwriter.c \ 8 cpu.c \ 9 crc.c \ 10 fixed.c \ 11 float.c \ 12 format.c \ 13 lpc.c \ 14 memory.c \ 15 md5.c \ 16 stream_decoder.c \ 17 stream_encoder.c \ 18 stream_encoder_framing.c \ 19 window.c 20 21LOCAL_C_INCLUDES += \ 22 $(LOCAL_PATH)/include \ 23 $(LOCAL_PATH)/.. \ 24 $(LOCAL_PATH)/../include 25 26LOCAL_CFLAGS += -DHAVE_CONFIG_H -DFLAC__NO_MD5 -DFLAC__INTEGER_ONLY_LIBRARY 27LOCAL_CFLAGS += -D_REENTRANT -DPIC -DU_COMMON_IMPLEMENTATION -fPIC 28LOCAL_CFLAGS += -O3 -funroll-loops -finline-functions 29 30LOCAL_ARM_MODE := arm 31 32LOCAL_MODULE := libFLAC 33 34LOCAL_MODULE_TAGS := optional 35 36include $(BUILD_STATIC_LIBRARY) 37