am e698fd4a: Merge "Update 64-bit blacklist for tinyalsa"
[android-sdk/platform-external-tinyalsa.git] / Android.mk
1 LOCAL_PATH:= $(call my-dir)
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_PRELINK_MODULE := false
10 LOCAL_32_BIT_ONLY := true
12 include $(BUILD_SHARED_LIBRARY)
14 ifeq ($(HOST_OS), linux)
15 include $(CLEAR_VARS)
16 LOCAL_C_INCLUDES:= external/tinyalsa/include
17 LOCAL_SRC_FILES:= mixer.c pcm.c
18 LOCAL_MODULE := libtinyalsa
19 LOCAL_STATIC_LIBRARIES:= libcutils libutils
20 include $(BUILD_HOST_STATIC_LIBRARY)
21 endif
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_32_BIT_ONLY := true
31 include $(BUILD_EXECUTABLE)
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
41 include $(BUILD_HOST_EXECUTABLE)
42 endif
44 include $(CLEAR_VARS)
45 LOCAL_C_INCLUDES:= external/tinyalsa/include
46 LOCAL_SRC_FILES:= tinycap.c
47 LOCAL_MODULE := tinycap
48 LOCAL_SHARED_LIBRARIES:= libcutils libutils libtinyalsa
49 LOCAL_MODULE_TAGS := optional
50 LOCAL_32_BIT_ONLY := true
52 include $(BUILD_EXECUTABLE)
54 include $(CLEAR_VARS)
55 LOCAL_C_INCLUDES:= external/tinyalsa/include
56 LOCAL_SRC_FILES:= tinymix.c
57 LOCAL_MODULE := tinymix
58 LOCAL_SHARED_LIBRARIES:= libcutils libutils libtinyalsa
59 LOCAL_MODULE_TAGS := optional
60 LOCAL_32_BIT_ONLY := true
62 include $(BUILD_EXECUTABLE)
64 include $(CLEAR_VARS)
65 LOCAL_C_INCLUDES:= external/tinyalsa/include
66 LOCAL_SRC_FILES:= tinypcminfo.c
67 LOCAL_MODULE := tinypcminfo
68 LOCAL_SHARED_LIBRARIES:= libcutils libutils libtinyalsa
69 LOCAL_MODULE_TAGS := optional
70 LOCAL_32_BIT_ONLY := true
72 include $(BUILD_EXECUTABLE)