2014-01-04 20:37:31 +00:00
|
|
|
# lipoplastic setup for armv6 + arm64 compilation
|
|
|
|
TARGET := iphone:clang
|
|
|
|
THEOS_PLATFORM_SDK_ROOT_armv6 = /Applications/Xcode-4.4.1.app/Contents/Developer
|
|
|
|
SDKVERSION_armv6 = 5.1
|
|
|
|
TARGET_IPHONEOS_DEPLOYMENT_VERSION = 3.0
|
|
|
|
TARGET_IPHONEOS_DEPLOYMENT_VERSION_arm64 = 7.0
|
2015-11-01 20:24:51 +00:00
|
|
|
ARCHS = armv6 arm64
|
2015-11-13 14:04:41 +00:00
|
|
|
BTSTACK_ROOT=../../..
|
2011-04-30 19:53:39 +00:00
|
|
|
|
|
|
|
BUNDLE_NAME = BTstack
|
|
|
|
BTstack_FILES = PrefsViewController.m BluetoothController.m BluetoothTableViewAdapter.m
|
|
|
|
BTstack_INSTALL_PATH = /Library/PreferenceBundles
|
|
|
|
BTstack_FRAMEWORKS = UIKit
|
2016-01-20 13:10:05 +00:00
|
|
|
BTstack_CFLAGS = -I.. -I$(BTSTACK_ROOT)/src -I$(BTSTACK_ROOT)/platform/daemon -g
|
2014-01-04 20:37:31 +00:00
|
|
|
|
2015-05-03 09:31:01 +00:00
|
|
|
BTstack_LDFLAGS = -L../src/.theos/obj -lBTstack
|
2011-04-30 19:53:39 +00:00
|
|
|
BTstack_PRIVATE_FRAMEWORKS = Preferences
|
|
|
|
|
2014-01-04 20:37:31 +00:00
|
|
|
include $(THEOS)/makefiles/common.mk
|
2011-04-30 19:53:39 +00:00
|
|
|
include $(THEOS_MAKE_PATH)/bundle.mk
|
|
|
|
|
|
|
|
internal-stage::
|
|
|
|
$(ECHO_NOTHING)mkdir -p $(THEOS_STAGING_DIR)/Library/PreferenceLoader/Preferences$(ECHO_END)
|
|
|
|
$(ECHO_NOTHING)cp entry.plist $(THEOS_STAGING_DIR)/Library/PreferenceLoader/Preferences/BTstack.plist$(ECHO_END)
|