1 LOCAL_PATH:= $(call my-dir) 2 3 # 4 # avinfo 5 # 6 7 include $(CLEAR_VARS) 8 9 LOCAL_SRC_FILES:= \ 10 avinfo.c 11 12 LOCAL_CFLAGS:= \ 13 -DVERSION=\"4.69\" 14 15 LOCAL_C_INCLUDES:=\ 16 $(LOCAL_PATH)/../lib \ 17 $(LOCAL_PATH)/../src \ 18 19 LOCAL_SHARED_LIBRARIES := \ 20 libbluetoothd libbluetooth 21 22 LOCAL_MODULE_PATH := $(TARGET_OUT_OPTIONAL_EXECUTABLES) 23 LOCAL_MODULE_TAGS := eng 24 LOCAL_MODULE:=avinfo 25 26 include $(BUILD_EXECUTABLE) 27 28 # 29 # sdptool 30 # 31 32 include $(CLEAR_VARS) 33 34 LOCAL_SRC_FILES:= \ 35 sdptool.c 36 37 LOCAL_CFLAGS:= \ 38 -DVERSION=\"4.69\" -fpermissive 39 40 LOCAL_C_INCLUDES:=\ 41 $(LOCAL_PATH)/../lib \ 42 $(LOCAL_PATH)/../src \ 43 44 LOCAL_SHARED_LIBRARIES := \ 45 libbluetoothd libbluetooth 46 47 LOCAL_MODULE:=sdptool 48 49 include $(BUILD_EXECUTABLE) 50 51 # 52 # hciconfig 53 # 54 55 include $(CLEAR_VARS) 56 57 LOCAL_SRC_FILES:= \ 58 csr.c \ 59 csr_h4.c \ 60 hciconfig.c 61 62 LOCAL_CFLAGS:= \ 63 -DSTORAGEDIR=\"/tmp\" \ 64 -DVERSION=\"4.69\" 65 66 LOCAL_C_INCLUDES:=\ 67 $(LOCAL_PATH)/../lib \ 68 $(LOCAL_PATH)/../src \ 69 70 LOCAL_SHARED_LIBRARIES := \ 71 libbluetoothd libbluetooth 72 73 LOCAL_MODULE_PATH := $(TARGET_OUT_OPTIONAL_EXECUTABLES) 74 LOCAL_MODULE_TAGS := eng 75 LOCAL_MODULE:=hciconfig 76 77 include $(BUILD_EXECUTABLE) 78 79 # 80 # hcitool 81 # 82 83 include $(CLEAR_VARS) 84 85 LOCAL_SRC_FILES:= \ 86 hcitool.c 87 88 LOCAL_CFLAGS:= \ 89 -DSTORAGEDIR=\"/tmp\" \ 90 -DVERSION=\"4.69\" 91 92 LOCAL_C_INCLUDES:=\ 93 $(LOCAL_PATH)/../lib \ 94 $(LOCAL_PATH)/../src \ 95 96 LOCAL_SHARED_LIBRARIES := \ 97 libbluetoothd libbluetooth 98 99 LOCAL_MODULE_PATH := $(TARGET_OUT_OPTIONAL_EXECUTABLES) 100 LOCAL_MODULE_TAGS := eng 101 LOCAL_MODULE:=hcitool 102 103 include $(BUILD_EXECUTABLE) 104 105 # 106 # l2ping 107 # 108 109 include $(CLEAR_VARS) 110 111 LOCAL_SRC_FILES:= \ 112 l2ping.c 113 114 LOCAL_C_INCLUDES:=\ 115 $(LOCAL_PATH)/../lib \ 116 $(LOCAL_PATH)/../src \ 117 118 LOCAL_SHARED_LIBRARIES := \ 119 libbluetoothd libbluetooth 120 121 LOCAL_MODULE_PATH := $(TARGET_OUT_OPTIONAL_EXECUTABLES) 122 LOCAL_MODULE_TAGS := eng 123 LOCAL_MODULE:=l2ping 124 125 include $(BUILD_EXECUTABLE) 126 127 # 128 # hciattach 129 # 130 131 include $(CLEAR_VARS) 132 133 LOCAL_SRC_FILES:= \ 134 hciattach.c \ 135 hciattach_st.c \ 136 hciattach_ti.c \ 137 hciattach_tialt.c 138 139 LOCAL_CFLAGS:= \ 140 -DVERSION=\"4.69\" \ 141 -D__BSD_VISIBLE=1 142 143 LOCAL_C_INCLUDES:=\ 144 $(LOCAL_PATH)/../lib \ 145 $(LOCAL_PATH)/../src \ 146 147 LOCAL_SHARED_LIBRARIES := \ 148 libbluetoothd libbluetooth 149 150 LOCAL_MODULE:=hciattach 151 152 include $(BUILD_EXECUTABLE) 153 154 # 155 # rfcomm 156 # 157 158 include $(CLEAR_VARS) 159 160 LOCAL_SRC_FILES:= \ 161 kword.c \ 162 main.c \ 163 parser.c \ 164 lexer.c 165 166 LOCAL_CFLAGS:= \ 167 -DVERSION=\"4.69\" \ 168 -DCONFIGDIR=\"/etc/bluetooth\" \ 169 -DNEED_PPOLL 170 171 LOCAL_C_INCLUDES:= \ 172 $(LOCAL_PATH)/../src \ 173 $(LOCAL_PATH)/../lib 174 175 LOCAL_SHARED_LIBRARIES := \ 176 libbluetooth 177 178 LOCAL_MODULE_PATH := $(TARGET_OUT_OPTIONAL_EXECUTABLES) 179 LOCAL_MODULE_TAGS := eng 180 LOCAL_MODULE:=rfcomm 181 182 include $(BUILD_EXECUTABLE) 183