2022-10-12 04:57:08 +08:00
|
|
|
export EMBEDDED_ROOT_HELPER ?= 0
|
|
|
|
|
2023-11-27 00:45:12 +08:00
|
|
|
TARGET := iphone:clang:16.4:14.0
|
2022-10-12 04:57:08 +08:00
|
|
|
INSTALL_TARGET_PROCESSES = TrollStorePersistenceHelper
|
2023-11-27 03:43:30 +08:00
|
|
|
ARCHS = arm64
|
|
|
|
|
|
|
|
TARGET_CODESIGN = ../Exploits/fastPathSign/fastPathSign
|
2022-10-12 04:57:08 +08:00
|
|
|
|
|
|
|
include $(THEOS)/makefiles/common.mk
|
|
|
|
|
|
|
|
APPLICATION_NAME = TrollStorePersistenceHelper
|
|
|
|
|
|
|
|
TrollStorePersistenceHelper_FILES = $(wildcard *.m) $(wildcard ../Shared/*.m)
|
|
|
|
TrollStorePersistenceHelper_FRAMEWORKS = UIKit CoreGraphics CoreServices
|
2023-01-26 07:39:58 +08:00
|
|
|
TrollStorePersistenceHelper_PRIVATE_FRAMEWORKS = Preferences MobileContainerManager
|
2022-10-12 04:57:08 +08:00
|
|
|
TrollStorePersistenceHelper_CFLAGS = -fobjc-arc -I../Shared
|
2023-11-27 03:43:30 +08:00
|
|
|
TrollStorePersistenceHelper_CODESIGN_FLAGS = --entitlements entitlements.plist
|
2022-10-12 04:57:08 +08:00
|
|
|
|
|
|
|
ifeq ($(EMBEDDED_ROOT_HELPER),1)
|
|
|
|
TrollStorePersistenceHelper_CFLAGS += -DEMBEDDED_ROOT_HELPER=1
|
|
|
|
TrollStorePersistenceHelper_FILES += $(wildcard ../RootHelper/*.m)
|
|
|
|
TrollStorePersistenceHelper_LIBRARIES += archive
|
|
|
|
TrollStorePersistenceHelper_PRIVATE_FRAMEWORKS += SpringBoardServices BackBoardServices
|
|
|
|
endif
|
|
|
|
|
|
|
|
include $(THEOS_MAKE_PATH)/application.mk
|