-
Notifications
You must be signed in to change notification settings - Fork 4
/
Makefile
23 lines (17 loc) · 1.57 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
ARCHS = arm64
TARGET := iphone:clang:latest:latest
INSTALL_TARGET_PROCESSES = TrollAppDuplicator
include $(THEOS)/makefiles/common.mk
APPLICATION_NAME = TrollAppDuplicator
TrollAppDuplicator_FILES = thirdparty/SSZipArchive/minizip/unzip.c thirdparty/SSZipArchive/minizip/crypt.c thirdparty/SSZipArchive/minizip/ioapi_buf.c thirdparty/SSZipArchive/minizip/ioapi_mem.c thirdparty/SSZipArchive/minizip/ioapi.c thirdparty/SSZipArchive/minizip/minishared.c thirdparty/SSZipArchive/minizip/zip.c thirdparty/SSZipArchive/minizip/aes/aes_ni.c thirdparty/SSZipArchive/minizip/aes/aescrypt.c thirdparty/SSZipArchive/minizip/aes/aeskey.c thirdparty/SSZipArchive/minizip/aes/aestab.c thirdparty/SSZipArchive/minizip/aes/fileenc.c thirdparty/SSZipArchive/minizip/aes/hmac.c thirdparty/SSZipArchive/minizip/aes/prng.c thirdparty/SSZipArchive/minizip/aes/pwd2key.c thirdparty/SSZipArchive/minizip/aes/sha1.c thirdparty/SSZipArchive/SSZipArchive.m
TrollAppDuplicator_FILES += main.m AppDelegate.m AppList.m RootViewController.m AppDuplicator.m thirdparty/TDUtils.m thirdparty/LSApplicationProxy+AltList.m thirdparty/TDFileManagerViewController.m
TrollAppDuplicator_FRAMEWORKS = UIKit CoreGraphics MobileCoreServices
TrollAppDuplicator_CFLAGS = -fobjc-arc
include $(THEOS_MAKE_PATH)/application.mk
after-stage::
mkdir -p $(THEOS_STAGING_DIR)/Payload
ldid -Sentitlements.plist $(THEOS_STAGING_DIR)/Applications/TrollAppDuplicator.app/TrollAppDuplicator
cp -a $(THEOS_STAGING_DIR)/Applications/* $(THEOS_STAGING_DIR)/Payload
mv $(THEOS_STAGING_DIR)/Payload .
zip -q -r TrollAppDuplicator.tipa Payload
rm -rf Payload