4f6db22651253e3072f79378d6ebf02130b0cc36
[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
11 include $(BUILD_SHARED_LIBRARY)
13 ifeq ($(HOST_OS), linux)
14 include $(CLEAR_VARS)
15 LOCAL_C_INCLUDES:= external/tinyalsa/include
16 LOCAL_SRC_FILES:= mixer.c pcm.c
17 LOCAL_MODULE := libtinyalsa
18 LOCAL_STATIC_LIBRARIES:= libcutils libutils
19 include $(BUILD_HOST_STATIC_LIBRARY)
20 endif
22 include $(CLEAR_VARS)
23 LOCAL_C_INCLUDES:= external/tinyalsa/include
24 LOCAL_SRC_FILES:= tinyplay.c
25 LOCAL_MODULE := tinyplay
26 LOCAL_SHARED_LIBRARIES:= libcutils libutils libtinyalsa
27 LOCAL_MODULE_TAGS := optional
29 include $(BUILD_EXECUTABLE)
31 include $(CLEAR_VARS)
32 LOCAL_C_INCLUDES:= external/tinyalsa/include
33 LOCAL_SRC_FILES:= tinycap.c
34 LOCAL_MODULE := tinycap
35 LOCAL_SHARED_LIBRARIES:= libcutils libutils libtinyalsa
36 LOCAL_MODULE_TAGS := optional
38 include $(BUILD_EXECUTABLE)
40 include $(CLEAR_VARS)
41 LOCAL_C_INCLUDES:= external/tinyalsa/include
42 LOCAL_SRC_FILES:= tinymix.c
43 LOCAL_MODULE := tinymix
44 LOCAL_SHARED_LIBRARIES:= libcutils libutils libtinyalsa
45 LOCAL_MODULE_TAGS := optional
47 include $(BUILD_EXECUTABLE)
49 include $(CLEAR_VARS)
50 LOCAL_C_INCLUDES:= external/tinyalsa/include
51 LOCAL_SRC_FILES:= tinypcminfo.c
52 LOCAL_MODULE := tinypcminfo
53 LOCAL_SHARED_LIBRARIES:= libcutils libutils libtinyalsa
54 LOCAL_MODULE_TAGS := optional
56 include $(BUILD_EXECUTABLE)