1 LOCAL_PATH:= $(call my-dir) 2 3 include $(CLEAR_VARS) 4 LOCAL_C_INCLUDES:= external/tinyalsa/include 5 LOCAL_SRC_FILES:= mixer.c pcm.c 6 LOCAL_MODULE := libtinyalsa 7 LOCAL_SHARED_LIBRARIES:= libcutils libutils 8 LOCAL_MODULE_TAGS := optional 9 LOCAL_CFLAGS += -Werror 10 11 include $(BUILD_SHARED_LIBRARY) 12 13 ifeq ($(HOST_OS), linux) 14 include $(CLEAR_VARS) 15 LOCAL_C_INCLUDES:= external/tinyalsa/include 16 LOCAL_SRC_FILES:= mixer.c pcm.c 17 LOCAL_MODULE := libtinyalsa 18 LOCAL_STATIC_LIBRARIES:= libcutils libutils 19 LOCAL_CFLAGS += -Werror 20 include $(BUILD_HOST_STATIC_LIBRARY) 21 endif 22 23 include $(CLEAR_VARS) 24 LOCAL_C_INCLUDES:= external/tinyalsa/include 25 LOCAL_SRC_FILES:= tinyplay.c 26 LOCAL_MODULE := tinyplay 27 LOCAL_SHARED_LIBRARIES:= libcutils libutils libtinyalsa 28 LOCAL_MODULE_TAGS := optional 29 LOCAL_CFLAGS += -Werror 30 31 include $(BUILD_EXECUTABLE) 32 33 ifeq ($(HOST_OS), linux) 34 include $(CLEAR_VARS) 35 LOCAL_C_INCLUDES:= external/tinyalsa/include 36 LOCAL_SRC_FILES:= tinyplay.c 37 LOCAL_MODULE := tinyplay 38 LOCAL_STATIC_LIBRARIES:= libcutils libutils libtinyalsa 39 LOCAL_MODULE_TAGS := optional 40 LOCAL_CFLAGS += -Werror 41 42 include $(BUILD_HOST_EXECUTABLE) 43 endif 44 45 include $(CLEAR_VARS) 46 LOCAL_C_INCLUDES:= external/tinyalsa/include 47 LOCAL_SRC_FILES:= tinycap.c 48 LOCAL_MODULE := tinycap 49 LOCAL_SHARED_LIBRARIES:= libcutils libutils libtinyalsa 50 LOCAL_MODULE_TAGS := optional 51 LOCAL_CFLAGS += -Werror 52 53 include $(BUILD_EXECUTABLE) 54 55 include $(CLEAR_VARS) 56 LOCAL_C_INCLUDES:= external/tinyalsa/include 57 LOCAL_SRC_FILES:= tinymix.c 58 LOCAL_MODULE := tinymix 59 LOCAL_SHARED_LIBRARIES:= libcutils libutils libtinyalsa 60 LOCAL_MODULE_TAGS := optional 61 LOCAL_CFLAGS += -Werror 62 63 include $(BUILD_EXECUTABLE) 64 65 include $(CLEAR_VARS) 66 LOCAL_C_INCLUDES:= external/tinyalsa/include 67 LOCAL_SRC_FILES:= tinypcminfo.c 68 LOCAL_MODULE := tinypcminfo 69 LOCAL_SHARED_LIBRARIES:= libcutils libutils libtinyalsa 70 LOCAL_MODULE_TAGS := optional 71 LOCAL_CFLAGS += -Werror 72 73 include $(BUILD_EXECUTABLE) 74