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