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