mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-03-25 16:43:28 +00:00
use 'config.h' instead of '../config.h' to make standalone builds easier
This commit is contained in:
parent
748ce49b14
commit
c8901d41d6
@ -1,6 +1,6 @@
|
|||||||
CC = @CC@
|
CC = @CC@
|
||||||
LDFLAGS = @LDFLAGS@ -lBTstack -L../src
|
LDFLAGS = @LDFLAGS@ -lBTstack -L../src
|
||||||
CPPFLAGS = @CPPFLAGS@ -I../include
|
CPPFLAGS = @CPPFLAGS@ -I.. -I../include
|
||||||
prefix = @prefix@
|
prefix = @prefix@
|
||||||
|
|
||||||
all: test rfcomm-cat rfcomm-echo rfcomm-test inquiry l2cap-server l2cap-throughput
|
all: test rfcomm-cat rfcomm-echo rfcomm-test inquiry l2cap-server l2cap-throughput
|
||||||
|
@ -2,7 +2,7 @@ prefix = @prefix@
|
|||||||
|
|
||||||
CC = @CC@
|
CC = @CC@
|
||||||
LDFLAGS = @LDFLAGS@
|
LDFLAGS = @LDFLAGS@
|
||||||
CPPFLAGS = @CPPFLAGS@ -I../include
|
CPPFLAGS = @CPPFLAGS@ -I.. -I../include
|
||||||
BTSTACK_LIB_LDFLAGS = @BTSTACK_LIB_LDFLAGS@
|
BTSTACK_LIB_LDFLAGS = @BTSTACK_LIB_LDFLAGS@
|
||||||
BTSTACK_LIB_EXTENSION = @BTSTACK_LIB_EXTENSION@
|
BTSTACK_LIB_EXTENSION = @BTSTACK_LIB_EXTENSION@
|
||||||
|
|
||||||
|
@ -40,7 +40,7 @@
|
|||||||
* Bluetooth Toggle by BigBoss
|
* Bluetooth Toggle by BigBoss
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "../config.h"
|
#include "config.h"
|
||||||
|
|
||||||
#include "bt_control_iphone.h"
|
#include "bt_control_iphone.h"
|
||||||
#include "hci_transport.h"
|
#include "hci_transport.h"
|
||||||
|
@ -43,7 +43,7 @@
|
|||||||
|
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
|
||||||
#include "../config.h"
|
#include "config.h"
|
||||||
#include "hci.h"
|
#include "hci.h"
|
||||||
#include "l2cap.h"
|
#include "l2cap.h"
|
||||||
#include "rfcomm.h"
|
#include "rfcomm.h"
|
||||||
|
@ -38,7 +38,7 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "../config.h"
|
#include "config.h"
|
||||||
|
|
||||||
#include <pthread.h>
|
#include <pthread.h>
|
||||||
#include <signal.h>
|
#include <signal.h>
|
||||||
|
@ -35,7 +35,7 @@
|
|||||||
* allow to funnel debug & error messages
|
* allow to funnel debug & error messages
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "../config.h"
|
#include "config.h"
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
|
||||||
|
@ -36,7 +36,7 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "../config.h"
|
#include "config.h"
|
||||||
|
|
||||||
#include "hci.h"
|
#include "hci.h"
|
||||||
|
|
||||||
|
@ -38,7 +38,7 @@
|
|||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include "../config.h"
|
#include "config.h"
|
||||||
|
|
||||||
#include <btstack/hci_cmds.h>
|
#include <btstack/hci_cmds.h>
|
||||||
#include <btstack/utils.h>
|
#include <btstack/utils.h>
|
||||||
|
@ -40,7 +40,7 @@
|
|||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
#include <btstack/sdp_util.h>
|
#include <btstack/sdp_util.h>
|
||||||
#include "../config.h"
|
#include "config.h"
|
||||||
#include "hci.h"
|
#include "hci.h"
|
||||||
|
|
||||||
// calculate combined ogf/ocf value
|
// calculate combined ogf/ocf value
|
||||||
|
@ -44,7 +44,7 @@
|
|||||||
#include "hci_dump.h"
|
#include "hci_dump.h"
|
||||||
#include "hci.h"
|
#include "hci.h"
|
||||||
#include "hci_transport.h"
|
#include "hci_transport.h"
|
||||||
#include "../config.h"
|
#include "config.h"
|
||||||
|
|
||||||
#ifndef EMBEDDED
|
#ifndef EMBEDDED
|
||||||
#include <fcntl.h> // open
|
#include <fcntl.h> // open
|
||||||
|
@ -40,7 +40,7 @@
|
|||||||
* Created by Matthias Ringwald on 9/16/11.
|
* Created by Matthias Ringwald on 9/16/11.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "../config.h"
|
#include "config.h"
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
@ -54,7 +54,7 @@
|
|||||||
|
|
||||||
#include <libusb-1.0/libusb.h>
|
#include <libusb-1.0/libusb.h>
|
||||||
|
|
||||||
#include "../config.h"
|
#include "config.h"
|
||||||
|
|
||||||
#include "debug.h"
|
#include "debug.h"
|
||||||
#include "hci.h"
|
#include "hci.h"
|
||||||
|
@ -37,7 +37,7 @@
|
|||||||
|
|
||||||
#include "platform_iphone.h"
|
#include "platform_iphone.h"
|
||||||
|
|
||||||
#include "../config.h"
|
#include "config.h"
|
||||||
#include "../SpringBoardAccess/SpringBoardAccess.h"
|
#include "../SpringBoardAccess/SpringBoardAccess.h"
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
@ -43,7 +43,7 @@
|
|||||||
#include "run_loop_private.h"
|
#include "run_loop_private.h"
|
||||||
|
|
||||||
#include "debug.h"
|
#include "debug.h"
|
||||||
#include "../config.h"
|
#include "config.h"
|
||||||
|
|
||||||
static run_loop_t * the_run_loop = NULL;
|
static run_loop_t * the_run_loop = NULL;
|
||||||
|
|
||||||
|
@ -33,7 +33,7 @@
|
|||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#include <btstack/linked_list.h>
|
#include <btstack/linked_list.h>
|
||||||
|
|
||||||
#include "../config.h"
|
#include "config.h"
|
||||||
|
|
||||||
typedef enum {
|
typedef enum {
|
||||||
SDP_ErrorResponse = 1,
|
SDP_ErrorResponse = 1,
|
||||||
|
@ -43,7 +43,7 @@
|
|||||||
#include "hci.h"
|
#include "hci.h"
|
||||||
#include "debug.h"
|
#include "debug.h"
|
||||||
|
|
||||||
#include "../config.h"
|
#include "config.h"
|
||||||
|
|
||||||
#include <btstack/btstack.h>
|
#include <btstack/btstack.h>
|
||||||
|
|
||||||
|
@ -37,7 +37,7 @@
|
|||||||
* Created by Matthias Ringwald on 7/23/09.
|
* Created by Matthias Ringwald on 7/23/09.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "../config.h"
|
#include "config.h"
|
||||||
#include <btstack/utils.h>
|
#include <btstack/utils.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include "debug.h"
|
#include "debug.h"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user