use 'config.h' instead of '../config.h' to make standalone builds easier

This commit is contained in:
matthias.ringwald 2011-09-25 14:14:10 +00:00
parent 748ce49b14
commit c8901d41d6
17 changed files with 17 additions and 17 deletions

View File

@ -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

View File

@ -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@

View File

@ -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"

View File

@ -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"

View File

@ -38,7 +38,7 @@
* *
*/ */
#include "../config.h" #include "config.h"
#include <pthread.h> #include <pthread.h>
#include <signal.h> #include <signal.h>

View File

@ -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>

View File

@ -36,7 +36,7 @@
* *
*/ */
#include "../config.h" #include "config.h"
#include "hci.h" #include "hci.h"

View File

@ -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>

View File

@ -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

View File

@ -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

View File

@ -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>

View File

@ -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"

View File

@ -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>

View File

@ -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;

View File

@ -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,

View File

@ -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>

View File

@ -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"