Makefile 1.1 KB

123456789101112131415161718192021222324252627282930313233
  1. LIBRARY_NAME = librocketbootstrap
  2. librocketbootstrap_FILES = Tweak.x Shims.x
  3. librocketbootstrap_LIBRARIES = substrate
  4. librocketbootstrap_FRAMEWORKS = Foundation
  5. TOOL_NAME = rocketd
  6. rocketd_FILES = rocketd.c
  7. rocketd_CFLAGS = -fblocks
  8. rocketd_FRAMEWORKS = CoreFoundation
  9. rocketd_INSTALL_PATH = /usr/libexec
  10. rocketd_IPHONE_ARCHS = armv6 arm64
  11. ADDITIONAL_CFLAGS = -std=c99 -Ioverlayheaders
  12. IPHONE_ARCHS = armv6 armv7 armv7s arm64
  13. SDKVERSION_armv6 = 5.1
  14. INCLUDE_SDKVERSION_armv6 = 8.4
  15. TARGET_IPHONEOS_DEPLOYMENT_VERSION = 4.0
  16. TARGET_IPHONEOS_DEPLOYMENT_VERSION_armv6 = 3.0
  17. THEOS_PLATFORM_SDK_ROOT_armv6 = /Applications/Xcode_Legacy.app/Contents/Developer
  18. include framework/makefiles/common.mk
  19. include framework/makefiles/library.mk
  20. include framework/makefiles/tool.mk
  21. stage::
  22. mkdir -p "$(THEOS_STAGING_DIR)/usr/include"
  23. cp -a rocketbootstrap.h rocketbootstrap_dynamic.h "$(THEOS_STAGING_DIR)/usr/include"
  24. plutil -convert binary1 "$(THEOS_STAGING_DIR)/Library/MobileSubstrate/DynamicLibraries/RocketBootstrap.plist"
  25. plutil -convert binary1 "$(THEOS_STAGING_DIR)/Library/LaunchDaemons/com.rpetrich.rocketbootstrapd.plist"