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
9
10include $(BUILD_SHARED_LIBRARY)
11
12ifeq ($(HOST_OS), linux)
13include $(CLEAR_VARS)
14LOCAL_C_INCLUDES:= external/tinyalsa/include
15LOCAL_SRC_FILES:= mixer.c pcm.c
16LOCAL_MODULE := libtinyalsa
17LOCAL_STATIC_LIBRARIES:= libcutils libutils
18include $(BUILD_HOST_STATIC_LIBRARY)
19endif
20
21include $(CLEAR_VARS)
22LOCAL_C_INCLUDES:= external/tinyalsa/include
23LOCAL_SRC_FILES:= tinyplay.c
24LOCAL_MODULE := tinyplay
25LOCAL_SHARED_LIBRARIES:= libcutils libutils libtinyalsa
26LOCAL_MODULE_TAGS := optional
27
28include $(BUILD_EXECUTABLE)
29
30ifeq ($(HOST_OS), linux)
31include $(CLEAR_VARS)
32LOCAL_C_INCLUDES:= external/tinyalsa/include
33LOCAL_SRC_FILES:= tinyplay.c
34LOCAL_MODULE := tinyplay
35LOCAL_STATIC_LIBRARIES:= libcutils libutils libtinyalsa
36LOCAL_MODULE_TAGS := optional
37
38include $(BUILD_HOST_EXECUTABLE)
39endif
40
41include $(CLEAR_VARS)
42LOCAL_C_INCLUDES:= external/tinyalsa/include
43LOCAL_SRC_FILES:= tinycap.c
44LOCAL_MODULE := tinycap
45LOCAL_SHARED_LIBRARIES:= libcutils libutils libtinyalsa
46LOCAL_MODULE_TAGS := optional
47
48include $(BUILD_EXECUTABLE)
49
50include $(CLEAR_VARS)
51LOCAL_C_INCLUDES:= external/tinyalsa/include
52LOCAL_SRC_FILES:= tinymix.c
53LOCAL_MODULE := tinymix
54LOCAL_SHARED_LIBRARIES:= libcutils libutils libtinyalsa
55LOCAL_MODULE_TAGS := optional
56
57include $(BUILD_EXECUTABLE)
58
59include $(CLEAR_VARS)
60LOCAL_C_INCLUDES:= external/tinyalsa/include
61LOCAL_SRC_FILES:= tinypcminfo.c
62LOCAL_MODULE := tinypcminfo
63LOCAL_SHARED_LIBRARIES:= libcutils libutils libtinyalsa
64LOCAL_MODULE_TAGS := optional
65
66include $(BUILD_EXECUTABLE)
67