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.93\" 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.93\" -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.93\" 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.93\" 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_ath3k.c \ 136 hciattach_qualcomm.c \ 137 hciattach_st.c \ 138 hciattach_ti.c \ 139 hciattach_tialt.c \ 140 141 LOCAL_CFLAGS:= \ 142 -DVERSION=\"4.93\" \ 143 -D__BSD_VISIBLE=1 \ 144 -DCONFIGDIR=\"/etc/bluetooth\" \ 145 -DNEED_PPOLL 146 147 LOCAL_C_INCLUDES:=\ 148 $(LOCAL_PATH)/../lib \ 149 $(LOCAL_PATH)/../src \ 150 151 LOCAL_SHARED_LIBRARIES := \ 152 libbluetoothd libbluetooth 153 154 LOCAL_MODULE:=hciattach 155 156 include $(BUILD_EXECUTABLE) 157 158 # 159 # rfcomm 160 # 161 162 include $(CLEAR_VARS) 163 164 LOCAL_SRC_FILES:= \ 165 kword.c \ 166 rfcomm.c \ 167 parser.c \ 168 lexer.c 169 170 LOCAL_CFLAGS:= \ 171 -DVERSION=\"4.93\" \ 172 -DCONFIGDIR=\"/etc/bluetooth\" \ 173 -DNEED_PPOLL 174 175 LOCAL_C_INCLUDES:= \ 176 $(LOCAL_PATH)/../src \ 177 $(LOCAL_PATH)/../lib 178 179 LOCAL_SHARED_LIBRARIES := \ 180 libbluetooth 181 182 LOCAL_MODULE_PATH := $(TARGET_OUT_OPTIONAL_EXECUTABLES) 183 LOCAL_MODULE_TAGS := eng 184 LOCAL_MODULE:=rfcomm 185 186 include $(BUILD_EXECUTABLE) 187 188 ifeq ($(BOARD_HAVE_BLUETOOTH_CSR),true) 189 # 190 # bccmd 191 # 192 193 include $(CLEAR_VARS) 194 195 LOCAL_SRC_FILES:= \ 196 bccmd.c \ 197 csr.c \ 198 csr_hci.c \ 199 csr_bcsp.c \ 200 csr_h4.c \ 201 csr_3wire.c \ 202 ubcsp.c 203 204 LOCAL_CFLAGS:= \ 205 -DVERSION=\"4.93\" 206 207 LOCAL_C_INCLUDES:=\ 208 $(LOCAL_PATH)/../lib \ 209 $(LOCAL_PATH)/../src \ 210 211 LOCAL_SHARED_LIBRARIES := \ 212 libbluetooth libbluetoothd 213 214 LOCAL_MODULE:=bccmd 215 216 include $(BUILD_EXECUTABLE) 217 endif 218