btstack/port/ios/PrefsBundle/Makefile
2017-01-01 21:32:02 +01:00

26 lines
907 B
Makefile

TARGET := iphone:clang
TARGET_IPHONEOS_DEPLOYMENT_VERSION = 3.0
TARGET_IPHONEOS_DEPLOYMENT_VERSION_arm64 = 7.0
ARCHS = armv7 arm64
BTSTACK_ROOT=../../..
BUNDLE_NAME = BTstack
BTstack_FILES = PrefsViewController.m BluetoothController.m BluetoothTableViewAdapter.m
BTstack_INSTALL_PATH = /Library/PreferenceBundles
BTstack_FRAMEWORKS = UIKit
BTstack_CFLAGS = -g -I.. \
-I$(BTSTACK_ROOT)/src \
-I$(BTSTACK_ROOT)/platform/daemon/src \
-I$(BTSTACK_ROOT)/platform/corefoundation \
BTstack_LDFLAGS = -L../src/.theos/obj -lBTstack
BTstack_LDFLAGS += -F../Frameworks
BTstack_PRIVATE_FRAMEWORKS = Preferences
include $(THEOS)/makefiles/common.mk
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)