423363d6e4f4a1ab532de46d0b479b028a32e561
[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 include $(CLEAR_VARS)
34 LOCAL_C_INCLUDES:= external/tinyalsa/include
35 LOCAL_SRC_FILES:= tinycap.c
36 LOCAL_MODULE := tinycap
37 LOCAL_SHARED_LIBRARIES:= libcutils libutils libtinyalsa
38 LOCAL_MODULE_TAGS := optional
39 LOCAL_32_BIT_ONLY := true
41 include $(BUILD_EXECUTABLE)
43 include $(CLEAR_VARS)
44 LOCAL_C_INCLUDES:= external/tinyalsa/include
45 LOCAL_SRC_FILES:= tinymix.c
46 LOCAL_MODULE := tinymix
47 LOCAL_SHARED_LIBRARIES:= libcutils libutils libtinyalsa
48 LOCAL_MODULE_TAGS := optional
49 LOCAL_32_BIT_ONLY := true
51 include $(BUILD_EXECUTABLE)
53 include $(CLEAR_VARS)
54 LOCAL_C_INCLUDES:= external/tinyalsa/include
55 LOCAL_SRC_FILES:= tinypcminfo.c
56 LOCAL_MODULE := tinypcminfo
57 LOCAL_SHARED_LIBRARIES:= libcutils libutils libtinyalsa
58 LOCAL_MODULE_TAGS := optional
59 LOCAL_32_BIT_ONLY := true
61 include $(BUILD_EXECUTABLE)