1 LOCAL_PATH:= $(call my-dir) 2 BUILD_BTIOTEST:=0 3 BUILD_HCIEMU:=0 4 5 # 6 # hstest 7 # 8 9 include $(CLEAR_VARS) 10 11 LOCAL_CFLAGS:= \ 12 -DVERSION=\"4.93\" 13 14 LOCAL_SRC_FILES:= \ 15 hstest.c 16 17 LOCAL_C_INCLUDES:= \ 18 $(LOCAL_PATH)/../lib \ 19 $(LOCAL_PATH)/../src 20 21 LOCAL_SHARED_LIBRARIES := \ 22 libbluetoothd libbluetooth 23 24 LOCAL_MODULE_PATH := $(TARGET_OUT_OPTIONAL_EXECUTABLES) 25 LOCAL_MODULE_TAGS := eng 26 LOCAL_MODULE:=hstest 27 28 include $(BUILD_EXECUTABLE) 29 30 # 31 # l2test 32 # 33 34 include $(CLEAR_VARS) 35 36 LOCAL_CFLAGS:= \ 37 -DVERSION=\"4.93\" 38 39 LOCAL_SRC_FILES:= \ 40 l2test.c 41 42 LOCAL_C_INCLUDES:= \ 43 $(LOCAL_PATH)/../lib \ 44 $(LOCAL_PATH)/../src 45 46 LOCAL_SHARED_LIBRARIES := \ 47 libbluetoothd libbluetooth 48 49 LOCAL_MODULE_PATH := $(TARGET_OUT_OPTIONAL_EXECUTABLES) 50 LOCAL_MODULE_TAGS := eng 51 LOCAL_MODULE:=l2test 52 53 include $(BUILD_EXECUTABLE) 54 55 # 56 # rctest 57 # 58 59 include $(CLEAR_VARS) 60 61 LOCAL_CFLAGS:= \ 62 -DVERSION=\"4.93\" 63 64 LOCAL_SRC_FILES:= \ 65 rctest.c 66 67 LOCAL_C_INCLUDES:= \ 68 $(LOCAL_PATH)/../lib \ 69 $(LOCAL_PATH)/../src 70 71 LOCAL_SHARED_LIBRARIES := \ 72 libbluetoothd libbluetooth 73 74 LOCAL_MODULE_PATH := $(TARGET_OUT_OPTIONAL_EXECUTABLES) 75 LOCAL_MODULE_TAGS := eng 76 LOCAL_MODULE:=rctest 77 78 include $(BUILD_EXECUTABLE) 79 80 81 # 82 # scotest 83 # 84 85 include $(CLEAR_VARS) 86 87 LOCAL_CFLAGS:= \ 88 -DVERSION=\"4.93\" 89 90 LOCAL_SRC_FILES:= \ 91 scotest.c 92 93 LOCAL_C_INCLUDES:= \ 94 $(LOCAL_PATH)/../lib \ 95 $(LOCAL_PATH)/../src 96 97 LOCAL_SHARED_LIBRARIES := \ 98 libbluetoothd libbluetooth 99 100 LOCAL_MODULE_PATH := $(TARGET_OUT_OPTIONAL_EXECUTABLES) 101 LOCAL_MODULE_TAGS := eng 102 LOCAL_MODULE:=scotest 103 104 include $(BUILD_EXECUTABLE) 105 106 # 107 # agent 108 # 109 110 include $(CLEAR_VARS) 111 112 LOCAL_CFLAGS:= \ 113 -DVERSION=\"4.93\" 114 115 LOCAL_SRC_FILES:= \ 116 agent.c 117 118 LOCAL_C_INCLUDES:= \ 119 $(LOCAL_PATH)/../lib \ 120 $(LOCAL_PATH)/../src \ 121 $(call include-path-for, dbus) 122 123 LOCAL_SHARED_LIBRARIES := \ 124 libdbus 125 126 LOCAL_MODULE_PATH := $(TARGET_OUT_OPTIONAL_EXECUTABLES) 127 LOCAL_MODULE_TAGS := eng 128 LOCAL_MODULE:=agent 129 130 include $(BUILD_EXECUTABLE) 131 132 # 133 # attest 134 # 135 136 include $(CLEAR_VARS) 137 138 LOCAL_CFLAGS:= \ 139 -DVERSION=\"4.93\" 140 141 LOCAL_SRC_FILES:= \ 142 attest.c 143 144 LOCAL_C_INCLUDES:= \ 145 $(LOCAL_PATH)/../lib \ 146 $(LOCAL_PATH)/../src 147 148 LOCAL_SHARED_LIBRARIES := \ 149 libbluetoothd libbluetooth 150 151 LOCAL_MODULE_PATH := $(TARGET_OUT_OPTIONAL_EXECUTABLES) 152 LOCAL_MODULE_TAGS := eng 153 LOCAL_MODULE:=attest 154 155 include $(BUILD_EXECUTABLE) 156 157 # 158 # avtest 159 # 160 161 include $(CLEAR_VARS) 162 163 LOCAL_CFLAGS:= \ 164 -DVERSION=\"4.93\" 165 166 LOCAL_SRC_FILES:= \ 167 avtest.c 168 169 LOCAL_C_INCLUDES:= \ 170 $(LOCAL_PATH)/../lib \ 171 $(LOCAL_PATH)/../src 172 173 LOCAL_SHARED_LIBRARIES := \ 174 libbluetoothd libbluetooth 175 176 LOCAL_MODULE_PATH := $(TARGET_OUT_OPTIONAL_EXECUTABLES) 177 LOCAL_MODULE_TAGS := eng 178 LOCAL_MODULE:=avtest 179 180 include $(BUILD_EXECUTABLE) 181 182 # 183 # bdaddr 184 # 185 186 include $(CLEAR_VARS) 187 188 LOCAL_CFLAGS:= \ 189 -DVERSION=\"4.93\" 190 191 LOCAL_SRC_FILES:= \ 192 bdaddr.c 193 194 LOCAL_C_INCLUDES:= \ 195 $(LOCAL_PATH)/../lib \ 196 $(LOCAL_PATH)/../src 197 198 LOCAL_SHARED_LIBRARIES := \ 199 libbluetoothd libbluetooth 200 201 LOCAL_MODULE_PATH := $(TARGET_OUT_OPTIONAL_EXECUTABLES) 202 LOCAL_MODULE_TAGS := eng 203 LOCAL_MODULE:=bdaddr 204 205 include $(BUILD_EXECUTABLE) 206 207 ifeq ($(BUILD_BTIOTEST),1) 208 # 209 # btiotest 210 # 211 212 include $(CLEAR_VARS) 213 214 LOCAL_CFLAGS:= \ 215 -DVERSION=\"4.93\" 216 217 LOCAL_SRC_FILES:= \ 218 btiotest.c 219 220 LOCAL_C_INCLUDES:= \ 221 $(LOCAL_PATH)/../lib \ 222 $(LOCAL_PATH)/../src \ 223 $(call include-path-for, glib) \ 224 $(call include-path-for, glib)\glib 225 226 227 LOCAL_SHARED_LIBRARIES := \ 228 libbluetoothd \ 229 libbluetooth \ 230 libglib 231 232 LOCAL_MODULE_PATH := $(TARGET_OUT_OPTIONAL_EXECUTABLES) 233 LOCAL_MODULE_TAGS := eng 234 LOCAL_MODULE:=btiotest 235 236 include $(BUILD_EXECUTABLE) 237 endif #BTIOTEST 238 239 240 ifeq ($(BUILD_HCIEMU),1) 241 # 242 # hciemu 243 # 244 245 include $(CLEAR_VARS) 246 247 LOCAL_CFLAGS:= \ 248 -DVERSION=\"4.93\" 249 250 LOCAL_SRC_FILES:= \ 251 hciemu.c 252 253 LOCAL_C_INCLUDES:= \ 254 $(LOCAL_PATH)/../lib \ 255 $(LOCAL_PATH)/../src \ 256 $(call include-path-for, glib) \ 257 $(call include-path-for, glib)\glib 258 259 LOCAL_SHARED_LIBRARIES := \ 260 libbluetoothd \ 261 libbluetooth \ 262 libc \ 263 libcutils 264 265 LOCAL_STATIC_LIBRARIES := \ 266 libglib_static 267 268 LOCAL_MODULE_PATH := $(TARGET_OUT_OPTIONAL_EXECUTABLES) 269 LOCAL_MODULE_TAGS := eng 270 LOCAL_MODULE:=hciemu 271 272 include $(BUILD_EXECUTABLE) 273 endif #BUILD_HCIEMU 274 275 # 276 # lmptest 277 # 278 279 include $(CLEAR_VARS) 280 281 LOCAL_CFLAGS:= \ 282 -DVERSION=\"4.93\" 283 284 LOCAL_SRC_FILES:= \ 285 lmptest.c 286 287 LOCAL_C_INCLUDES:= \ 288 $(LOCAL_PATH)/../lib \ 289 $(LOCAL_PATH)/../src 290 291 LOCAL_SHARED_LIBRARIES := \ 292 libbluetoothd libbluetooth 293 294 LOCAL_MODULE_PATH := $(TARGET_OUT_OPTIONAL_EXECUTABLES) 295 LOCAL_MODULE_TAGS := eng 296 LOCAL_MODULE:=lmptest 297 298 include $(BUILD_EXECUTABLE) 299 300 # 301 # sdptest 302 # 303 304 include $(CLEAR_VARS) 305 306 LOCAL_CFLAGS:= \ 307 -DVERSION=\"4.93\" 308 309 LOCAL_SRC_FILES:= \ 310 sdptest.c 311 312 LOCAL_C_INCLUDES:= \ 313 $(LOCAL_PATH)/../lib \ 314 $(LOCAL_PATH)/../src 315 316 LOCAL_SHARED_LIBRARIES := \ 317 libbluetoothd libbluetooth 318 319 LOCAL_MODULE_PATH := $(TARGET_OUT_OPTIONAL_EXECUTABLES) 320 LOCAL_MODULE_TAGS := eng 321 LOCAL_MODULE:=sdptest 322 323 include $(BUILD_EXECUTABLE) 324