1 LOCAL_PATH:= $(call my-dir) 2 include $(CLEAR_VARS) 3 4 LOCAL_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 21 LOCAL_C_INCLUDES += \ 22 $(LOCAL_PATH)/include \ 23 $(LOCAL_PATH)/.. \ 24 $(LOCAL_PATH)/../include 25 26 LOCAL_CFLAGS += -DHAVE_CONFIG_H -DFLAC__NO_MD5 -DFLAC__INTEGER_ONLY_LIBRARY 27 LOCAL_CFLAGS += -D_REENTRANT -DPIC -DU_COMMON_IMPLEMENTATION -fPIC 28 LOCAL_CFLAGS += -O3 -funroll-loops -finline-functions 29 30 LOCAL_LDLIBS += -lm 31 32 LOCAL_ARM_MODE := arm 33 34 LOCAL_MODULE := libFLAC 35 36 LOCAL_MODULE_TAGS := optional 37 38 include $(BUILD_STATIC_LIBRARY) 39