1LOCAL_PATH:= $(call my-dir) 2 3include $(CLEAR_VARS) 4 5LOCAL_MODULE := libaudioutils 6LOCAL_MODULE_TAGS := optional 7 8LOCAL_SRC_FILES:= \ 9 channels.c \ 10 fifo.c \ 11 fixedfft.cpp.arm \ 12 format.c \ 13 minifloat.c \ 14 primitives.c \ 15 resampler.c \ 16 roundup.c \ 17 echo_reference.c 18 19LOCAL_C_INCLUDES += $(call include-path-for, speex) 20LOCAL_C_INCLUDES += \ 21 $(call include-path-for, speex) \ 22 $(call include-path-for, audio-utils) 23 24LOCAL_SHARED_LIBRARIES := \ 25 libcutils \ 26 liblog \ 27 libspeexresampler 28 29include $(BUILD_SHARED_LIBRARY) 30 31include $(CLEAR_VARS) 32LOCAL_MODULE := libaudioutils 33LOCAL_MODULE_TAGS := optional 34LOCAL_SRC_FILES := \ 35 channels.c \ 36 fifo.c \ 37 format.c \ 38 minifloat.c \ 39 primitives.c \ 40 roundup.c 41LOCAL_C_INCLUDES += \ 42 $(call include-path-for, audio-utils) 43LOCAL_CFLAGS := -D__unused= 44include $(BUILD_HOST_STATIC_LIBRARY) 45 46include $(CLEAR_VARS) 47 48LOCAL_MODULE := libsndfile 49LOCAL_MODULE_TAGS := optional 50 51LOCAL_SRC_FILES := \ 52 tinysndfile.c 53 54LOCAL_C_INCLUDES += \ 55 $(call include-path-for, audio-utils) 56 57LOCAL_CFLAGS := -UHAVE_STDERR 58 59include $(BUILD_STATIC_LIBRARY) 60 61include $(CLEAR_VARS) 62 63LOCAL_MODULE := libsndfile 64LOCAL_MODULE_TAGS := optional 65 66LOCAL_SRC_FILES := \ 67 tinysndfile.c 68 69LOCAL_C_INCLUDES += \ 70 $(call include-path-for, audio-utils) 71 72#LOCAL_SHARED_LIBRARIES := libaudioutils 73 74include $(BUILD_HOST_STATIC_LIBRARY) 75 76include $(CLEAR_VARS) 77 78LOCAL_MODULE := libfifo 79LOCAL_MODULE_TAGS := optional 80 81LOCAL_SRC_FILES := \ 82 fifo.c \ 83 primitives.c \ 84 roundup.c 85 86LOCAL_C_INCLUDES += \ 87 $(call include-path-for, audio-utils) 88 89include $(BUILD_STATIC_LIBRARY) 90 91include $(call all-makefiles-under,$(LOCAL_PATH)) 92 93