move iOS project into platforms/ios

This commit is contained in:
matthias.ringwald@gmail.com 2014-09-04 14:01:15 +00:00
parent 204c5ae7fa
commit 2250dead6c
51 changed files with 11 additions and 10 deletions

View File

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

View File

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

View File

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

View File

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 1.1 KiB

View File

Before

Width:  |  Height:  |  Size: 2.3 KiB

After

Width:  |  Height:  |  Size: 2.3 KiB

View File

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

View File

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

View File

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