move iOS project into platforms/ios
@ -10,7 +10,8 @@ cd src; ./get_version.sh; cd ..
|
||||
rm -f btstack-config.h config.h Makefile src/Makefile example/Makefile
|
||||
|
||||
# use theos Makefiles
|
||||
ln -s btstack-config-iphone.h btstack-config.h
|
||||
ln -s Makefile.iphone Makefile
|
||||
ln -s Makefile.iphone src/Makefile
|
||||
ln -s Makefile.iphone example/Makefile
|
||||
cp platforms/ios/btstack-config-iphone.h btstack-config.h
|
||||
cp platforms/ios/Makefile.iphone Makefile
|
||||
cp platforms/ios/src/Makefile.iphone src/Makefile
|
||||
cp platforms/ios/example/Makefile.iphone example/Makefile
|
||||
ln -s platforms/ios/layout .
|
@ -1,7 +1,7 @@
|
||||
# this uses rpetrich's lipoplastic feature not present in dhowett's repository
|
||||
# you need to install Xcode 4.4.1 as /Applications/Xcode_4.4.1.app
|
||||
|
||||
SUBPROJECTS = src PatchBlueTool PrefsBundle
|
||||
SUBPROJECTS = src platforms/ios/PatchBlueTool platforms/ios/PrefsBundle
|
||||
|
||||
include $(THEOS)/makefiles/common.mk
|
||||
include $(THEOS_MAKE_PATH)/aggregate.mk
|
@ -10,9 +10,9 @@ BUNDLE_NAME = BTstack
|
||||
BTstack_FILES = PrefsViewController.m BluetoothController.m BluetoothTableViewAdapter.m
|
||||
BTstack_INSTALL_PATH = /Library/PreferenceBundles
|
||||
BTstack_FRAMEWORKS = UIKit
|
||||
BTstack_CFLAGS = -I.. -I../include -g
|
||||
BTstack_CFLAGS = -I../../.. -I../../../include -g
|
||||
|
||||
BTstack_LDFLAGS = -L../src/.theos/obj -lBTstack
|
||||
BTstack_LDFLAGS = -L../../../src/.theos/obj -lBTstack
|
||||
BTstack_PRIVATE_FRAMEWORKS = Preferences
|
||||
|
||||
include $(THEOS)/makefiles/common.mk
|
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 2.3 KiB After Width: | Height: | Size: 2.3 KiB |
Before Width: | Height: | Size: 588 B After Width: | Height: | Size: 588 B |
Before Width: | Height: | Size: 607 B After Width: | Height: | Size: 607 B |
Before Width: | Height: | Size: 552 B After Width: | Height: | Size: 552 B |
Before Width: | Height: | Size: 529 B After Width: | Height: | Size: 529 B |
Before Width: | Height: | Size: 552 B After Width: | Height: | Size: 552 B |
Before Width: | Height: | Size: 936 B After Width: | Height: | Size: 936 B |
Before Width: | Height: | Size: 529 B After Width: | Height: | Size: 529 B |
Before Width: | Height: | Size: 937 B After Width: | Height: | Size: 937 B |
Before Width: | Height: | Size: 588 B After Width: | Height: | Size: 588 B |
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 1.2 KiB |
Before Width: | Height: | Size: 607 B After Width: | Height: | Size: 607 B |
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 1.2 KiB |
@ -62,7 +62,7 @@
|
||||
#include <sys/uio.h>
|
||||
#include <unistd.h>
|
||||
|
||||
#include "../SpringBoardAccess/SpringBoardAccess.h"
|
||||
#include "../platforms/ios/SpringBoardAccess/SpringBoardAccess.h"
|
||||
|
||||
// minimal IOKit
|
||||
#include <Availability.h>
|
||||
|
@ -43,7 +43,7 @@
|
||||
#include "platform_iphone.h"
|
||||
|
||||
#include "btstack-config.h"
|
||||
#include "../SpringBoardAccess/SpringBoardAccess.h"
|
||||
#include "../platforms/ios/SpringBoardAccess/SpringBoardAccess.h"
|
||||
|
||||
#include <stdio.h>
|
||||
#include <unistd.h>
|
||||
|
@ -66,7 +66,7 @@
|
||||
#include <sys/stat.h>
|
||||
|
||||
#ifdef USE_LAUNCHD
|
||||
#include "../3rdparty/launch.h"
|
||||
#include "../platforms/ios/3rdparty/launch.h"
|
||||
#endif
|
||||
|
||||
#define MAX_PENDING_CONNECTIONS 10
|
||||
|