Android.mk revision 686d6ff2afda2ea3211bec37ad0daa655c24e6d4
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_LDLIBS += -lm
31
32LOCAL_ARM_MODE := arm
33
34LOCAL_MODULE := libFLAC
35
36LOCAL_MODULE_TAGS := optional
37
38include $(BUILD_STATIC_LIBRARY)
39