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