forked from Baw-Appie/FlyJB-X
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
28 lines (22 loc) · 973 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
GO_EASY_ON_ME = 1
FINALPACKAGE=1
DEBUG=0
THEOS_DEVICE_IP = 127.0.0.1 -p 2222
ARCHS := arm64
TARGET := iphone:clang:14.5:9.3
include $(THEOS)/makefiles/common.mk
TWEAK_NAME = FlyJBX
$(TWEAK_NAME)_FRAMEWORKS = MobileCoreServices
$(TWEAK_NAME)_EXTRA_FRAMEWORKS = DobbyX
$(TWEAK_NAME)_LIBRARIES = MobileGestalt rocketbootstrap
$(TWEAK_NAME)_PRIVATE_FRAMEWORKS = AppSupport
$(TWEAK_NAME)_FILES = fishhook/fishhook.c Tweaks/FJPattern.xm Tweaks/Tweak.xm Tweaks/LibraryHooks.xm Tweaks/ObjCHooks.xm Tweaks/DisableInjector.xm Tweaks/SysHooks.xm Tweaks/NoSafeMode.xm Tweaks/MemHooks.xm Tweaks/CheckHooks.xm Tweaks/PatchFinder.xm Tweaks/AeonLucid.xm
$(TWEAK_NAME)_CFLAGS = -fobjc-arc
include $(THEOS_MAKE_PATH)/tweak.mk
before-package::
mkdir -p $(THEOS_STAGING_DIR)/usr/lib/
ldid -S -M -Ksigncert.p12 $(THEOS_STAGING_DIR)/usr/lib/FJHooker.dylib
after-install::
install.exec "killall -9 SpringBoard"
SUBPROJECTS += FlyJBXPrefs FJHooker
include $(THEOS_MAKE_PATH)/aggregate.mk