-
-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy pathMakefile
executable file
·35 lines (26 loc) · 1.08 KB
/
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
29
30
31
32
33
34
35
TARGET = iphone:clang:12.2:12.2
ARCHS = arm64 arm64e
PREFIX="/Library/Developer/TheosToolchains/Xcode11.xctoolchain/usr/bin/"
# STRIP = 0
CURDIR := $(shell pwd)
include $(THEOS)/makefiles/common.mk
TWEAK_NAME = !ABypass2
!ABypass2_FILES = Tweak.xm ABWindow.m
!ABypass2_LIBRARIES = mryipc MobileGestalt
include $(THEOS_MAKE_PATH)/tweak.mk
# after-install::
# install.exec "killall -9 SpringBoard"
before-stage::
find . -name ".DS\_Store" -delete
SUBPROJECTS += abypassprefs
SUBPROJECTS += abypassloader
SUBPROJECTS += ABdyld
SUBPROJECTS += absubloader
include $(THEOS_MAKE_PATH)/aggregate.mk
after-stage::
@mkdir -p $(THEOS_STAGING_DIR)/usr/lib
@mv $(THEOS_STAGING_DIR)/Library/MobileSubstrate/DynamicLibraries/ABDYLD.dylib $(THEOS_STAGING_DIR)/usr/lib/ABDYLD.dylib
@rm $(THEOS_STAGING_DIR)/Library/MobileSubstrate/DynamicLibraries/ABDYLD.plist
@mv $(THEOS_STAGING_DIR)/Library/MobileSubstrate/DynamicLibraries/ABSubLoader.dylib $(THEOS_STAGING_DIR)/usr/lib/ABSubLoader.dylib
@rm $(THEOS_STAGING_DIR)/Library/MobileSubstrate/DynamicLibraries/ABSubLoader.plist
@./afterProcess.sh $(DEBUG)