• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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_PRELINK_MODULE := false
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
19include $(BUILD_HOST_STATIC_LIBRARY)
20endif
21
22include $(CLEAR_VARS)
23LOCAL_C_INCLUDES:= external/tinyalsa/include
24LOCAL_SRC_FILES:= tinyplay.c
25LOCAL_MODULE := tinyplay
26LOCAL_SHARED_LIBRARIES:= libcutils libutils libtinyalsa
27LOCAL_MODULE_TAGS := optional
28
29include $(BUILD_EXECUTABLE)
30
31include $(CLEAR_VARS)
32LOCAL_C_INCLUDES:= external/tinyalsa/include
33LOCAL_SRC_FILES:= tinycap.c
34LOCAL_MODULE := tinycap
35LOCAL_SHARED_LIBRARIES:= libcutils libutils libtinyalsa
36LOCAL_MODULE_TAGS := optional
37
38include $(BUILD_EXECUTABLE)
39
40include $(CLEAR_VARS)
41LOCAL_C_INCLUDES:= external/tinyalsa/include
42LOCAL_SRC_FILES:= tinymix.c
43LOCAL_MODULE := tinymix
44LOCAL_SHARED_LIBRARIES:= libcutils libutils libtinyalsa
45LOCAL_MODULE_TAGS := optional
46
47include $(BUILD_EXECUTABLE)
48
49include $(CLEAR_VARS)
50LOCAL_C_INCLUDES:= external/tinyalsa/include
51LOCAL_SRC_FILES:= tinypcminfo.c
52LOCAL_MODULE := tinypcminfo
53LOCAL_SHARED_LIBRARIES:= libcutils libutils libtinyalsa
54LOCAL_MODULE_TAGS := optional
55
56include $(BUILD_EXECUTABLE)
57