Home | History | Annotate | Download | only in tinyalsa
      1 LOCAL_PATH:= $(call my-dir)
      2 
      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 
     11 include $(BUILD_SHARED_LIBRARY)
     12 
     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
     21 
     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
     28 
     29 include $(BUILD_EXECUTABLE)
     30 
     31 ifeq ($(HOST_OS), linux)
     32 include $(CLEAR_VARS)
     33 LOCAL_C_INCLUDES:= external/tinyalsa/include
     34 LOCAL_SRC_FILES:= tinyplay.c
     35 LOCAL_MODULE := tinyplay
     36 LOCAL_STATIC_LIBRARIES:= libcutils libutils libtinyalsa
     37 LOCAL_MODULE_TAGS := optional
     38 
     39 include $(BUILD_HOST_EXECUTABLE)
     40 endif
     41 
     42 include $(CLEAR_VARS)
     43 LOCAL_C_INCLUDES:= external/tinyalsa/include
     44 LOCAL_SRC_FILES:= tinycap.c
     45 LOCAL_MODULE := tinycap
     46 LOCAL_SHARED_LIBRARIES:= libcutils libutils libtinyalsa
     47 LOCAL_MODULE_TAGS := optional
     48 
     49 include $(BUILD_EXECUTABLE)
     50 
     51 include $(CLEAR_VARS)
     52 LOCAL_C_INCLUDES:= external/tinyalsa/include
     53 LOCAL_SRC_FILES:= tinymix.c
     54 LOCAL_MODULE := tinymix
     55 LOCAL_SHARED_LIBRARIES:= libcutils libutils libtinyalsa
     56 LOCAL_MODULE_TAGS := optional
     57 
     58 include $(BUILD_EXECUTABLE)
     59 
     60 include $(CLEAR_VARS)
     61 LOCAL_C_INCLUDES:= external/tinyalsa/include
     62 LOCAL_SRC_FILES:= tinypcminfo.c
     63 LOCAL_MODULE := tinypcminfo
     64 LOCAL_SHARED_LIBRARIES:= libcutils libutils libtinyalsa
     65 LOCAL_MODULE_TAGS := optional
     66 
     67 include $(BUILD_EXECUTABLE)
     68