blob: afa8accd94fedae6837b4b04871a70d6edf0f7fb [file] [log] [blame]
Emeric Vigiereebea672012-08-06 17:36:30 -04001LOCAL_PATH:= $(call my-dir)
2
3# We need to build this for both the device (as a shared library)
4# and the host (as a static library for tools to use).
5
6common_SRC_FILES := samplerate.c \
7 src_sinc.c \
8 src_zoh.c \
9 src_linear.c
10
11# For the device
12# =====================================================
13
14# Device shared library
15include $(CLEAR_VARS)
16
17LOCAL_SRC_FILES := $(common_SRC_FILES)
18LOCAL_CFLAGS += -Werror -g
19LOCAL_LDFLAGS :=
20LOCAL_C_INCLUDES += $(LOCAL_PATH)/..
21
22LOCAL_MODULE:= libsamplerate
23
24include $(BUILD_SHARED_LIBRARY)