├── .gitattributes ├── .github └── FUNDING.yml ├── .gitignore ├── .vscode ├── configurationCache.log ├── dryrun.log ├── settings.json └── targets.log ├── LICENSE ├── Makefile ├── README.md ├── control ├── libpddokdo.m └── public └── libpddokdo.h /.gitattributes: -------------------------------------------------------------------------------- 1 | # Auto detect text files and perform LF normalization 2 | * text=auto 3 | -------------------------------------------------------------------------------- /.github/FUNDING.yml: -------------------------------------------------------------------------------- 1 | # These are supported funding model platforms 2 | 3 | github: [s8ngyu] 4 | patreon: # Replace with a single Patreon username 5 | open_collective: # Replace with a single Open Collective username 6 | ko_fi: # Replace with a single Ko-fi username 7 | tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel 8 | community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry 9 | liberapay: # Replace with a single Liberapay username 10 | issuehunt: # Replace with a single IssueHunt username 11 | otechie: # Replace with a single Otechie username 12 | lfx_crowdfunding: # Replace with a single LFX Crowdfunding project-name e.g., cloud-foundry 13 | polar: # Replace with a single Polar username 14 | custom: # Replace with up to 4 custom sponsorship URLs e.g., ['link1', 'link2'] 15 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | /.theos 2 | obj 3 | .DS_Store 4 | /packages 5 | /.vscode 6 | -------------------------------------------------------------------------------- /.vscode/configurationCache.log: -------------------------------------------------------------------------------- 1 | {"buildTargets":[".PHONY",".PRECIOUS","/Users/soongyukwon/Documents/Github/libpddokdo/.theos/_/DEBIAN","/Users/soongyukwon/Documents/Github/libpddokdo/.theos/_/DEBIAN/control","/Users/soongyukwon/Documents/Github/libpddokdo/.theos/build_session","/Users/soongyukwon/Documents/Github/libpddokdo/.theos/obj/debug","/Users/soongyukwon/Documents/Github/libpddokdo/.theos/obj/debug/.stamp","/Users/soongyukwon/theos/makefiles/common.mk","/Users/soongyukwon/theos/makefiles/install/deb_remote.mk","/Users/soongyukwon/theos/makefiles/legacy.mk","/Users/soongyukwon/theos/makefiles/library.mk","/Users/soongyukwon/theos/makefiles/master/library.mk","/Users/soongyukwon/theos/makefiles/master/rules.mk","/Users/soongyukwon/theos/makefiles/messages.mk","/Users/soongyukwon/theos/makefiles/package.mk","/Users/soongyukwon/theos/makefiles/package/deb.mk","/Users/soongyukwon/theos/makefiles/platform/Darwin.mk","/Users/soongyukwon/theos/makefiles/rules.mk","/Users/soongyukwon/theos/makefiles/stage.mk","/Users/soongyukwon/theos/makefiles/target.mk","/Users/soongyukwon/theos/makefiles/targets/Darwin/iphone.mk","/Users/soongyukwon/theos/makefiles/targets/_common/darwin_head.mk","/Users/soongyukwon/theos/makefiles/targets/_common/darwin_tail.mk","/Users/soongyukwon/theos/makefiles/targets/_common/iphone.mk","/Users/soongyukwon/theos/makefiles/targets/iphone.mk","/Users/soongyukwon/theos/makefiles/vercmp.mk","Makefile","libpddokdo","packages"],"launchTargets":[],"customConfigurationProvider":{"workspaceBrowse":{"browsePath":[],"compilerArgs":[]},"fileIndex":[]}} -------------------------------------------------------------------------------- /.vscode/dryrun.log: -------------------------------------------------------------------------------- 1 | make --dry-run --always-make --keep-going --print-directory 2 | make: Entering directory `/Users/soongyukwon/Documents/Github.nosync/libpddokdo' 3 | printf "\e[0;36m==> \e[1;36mNotice:\e[m %s\n" "Build may be slow as Theos isn’t using all available CPU cores on this computer. Consider upgrading GNU Make: https://theos.dev/docs/parallel-building" 4 | 5 | mkdir -p /Users/soongyukwon/Documents/Github/libpddokdo/.theos 6 | \ 7 | abs_build_dir=.; \ 8 | if [[ "" != "" ]]; then \ 9 | printf "\e[1;31m> \e[1;3;39m%s…\e[m\n" "Making all in subprojects of library libpddokdo"; \ 10 | for d in ; do \ 11 | d="${d%:*}"; \ 12 | if [[ "${abs_build_dir}" = "." ]]; then \ 13 | lbuilddir="."; \ 14 | else \ 15 | lbuilddir="${abs_build_dir}/$d"; \ 16 | fi; \ 17 | if /Applications/Xcode.app/Contents/Developer/usr/bin/make -C $d -f Makefile --no-keep-going COLOR=1 --no-print-directory all \ 18 | THEOS_BUILD_DIR="$lbuilddir" \ 19 | ; then\ 20 | :; \ 21 | else exit $?; \ 22 | fi; \ 23 | done; \ 24 | fi; \ 25 | printf "\e[1;31m> \e[1;3;39m%s…\e[m\n" "Making all for library libpddokdo"; \ 26 | /Applications/Xcode.app/Contents/Developer/usr/bin/make -f Makefile --no-keep-going COLOR=1 --no-print-directory \ 27 | internal-library-all \ 28 | _THEOS_CURRENT_TYPE="library" \ 29 | THEOS_CURRENT_INSTANCE="libpddokdo" \ 30 | _THEOS_CURRENT_OPERATION="all" \ 31 | THEOS_BUILD_DIR="." 32 | 33 | > Making all for library libpddokdo… 34 | 35 | for i in libpddokdo.m; do \ 36 | if [[ ! -f "$i" ]]; then \ 37 | printf "\e[0;31m==> \e[1;31mError:\e[m %s\n" "File $i does not exist." >&2; exit 1; \ 38 | fi; \ 39 | done 40 | mkdir -p /Users/soongyukwon/Documents/Github/libpddokdo/.theos/obj/debug 41 | mkdir -p /Users/soongyukwon/Documents/Github/libpddokdo/.theos/obj/debug/; touch /Users/soongyukwon/Documents/Github/libpddokdo/.theos/obj/debug/.stamp 42 | /Applications/Xcode.app/Contents/Developer/usr/bin/make -f Makefile --no-keep-going COLOR=1 --no-print-directory \ 43 | internal-library-compile \ 44 | _THEOS_CURRENT_TYPE=library THEOS_CURRENT_INSTANCE=libpddokdo _THEOS_CURRENT_OPERATION=compile \ 45 | THEOS_BUILD_DIR="." _THEOS_MAKE_PARALLEL=yes 46 | 47 | mkdir -p /Users/soongyukwon/Documents/Github/libpddokdo/.theos/obj/debug/arm64 48 | /Applications/Xcode.app/Contents/Developer/usr/bin/make -f Makefile --no-print-directory --no-keep-going internal-library-compile _THEOS_CURRENT_TYPE="library" THEOS_CURRENT_INSTANCE="libpddokdo" _THEOS_CURRENT_OPERATION="compile" THEOS_BUILD_DIR="." THEOS_CURRENT_ARCH="arm64" 49 | 50 | (mkdir -p /Users/soongyukwon/Documents/Github/libpddokdo/.theos/obj/debug/arm64/) 51 | (printf "\e[0;3%im==> \e[1;39m%s…\e[m\n" 2 "Compiling libpddokdo.m (arm64)"); set -o pipefail; (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -x objective-c -c -I/Users/soongyukwon/theos/include -I/Users/soongyukwon/theos/vendor/include -I/Users/soongyukwon/theos/include/_fallback -include /Users/soongyukwon/theos/Prefix.pch -MT /Users/soongyukwon/Documents/Github/libpddokdo/.theos/obj/debug/arm64/libpddokdo.m.74ad1ed0.o -MMD -MP -MF "/Users/soongyukwon/Documents/Github/libpddokdo/.theos/obj/debug/arm64/libpddokdo.m.74ad1ed0.Td" -fcolor-diagnostics -DTARGET_IPHONE=1 -O0 -Wall -ggdb -Werror -isysroot "/Users/soongyukwon/theos/sdks/iPhoneOS11.4.sdk" -miphoneos-version-min=11.4 -fobjc-arc -DDEBUG -O0 -DTHEOS_INSTANCE_NAME="\"libpddokdo\"" -fmodules -fcxx-modules -fmodule-name=libpddokdo -fbuild-session-file=/Users/soongyukwon/Documents/Github/libpddokdo/.theos/build_session -fmodules-prune-after=345600 -fmodules-prune-interval=86400 -fmodules-validate-once-per-build-session -arch arm64 libpddokdo.m -o /Users/soongyukwon/Documents/Github/libpddokdo/.theos/obj/debug/arm64/libpddokdo.m.74ad1ed0.o) 52 | 53 | (mkdir -p /Users/soongyukwon/Documents/Github/libpddokdo/.theos/obj/debug/arm64) 54 | (printf "\e[0;3%im==> \e[1;39m%s…\e[m\n" 3 "Linking library libpddokdo (arm64)"); set -o pipefail; (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -fcolor-diagnostics -L/Users/soongyukwon/theos/lib -ggdb -L/Users/soongyukwon/theos/vendor/lib -lobjc -framework Foundation -framework CoreFoundation -dynamiclib -install_name "/usr/lib/libpddokdo.dylib" -isysroot "/Users/soongyukwon/theos/sdks/iPhoneOS11.4.sdk" -miphoneos-version-min=11.4 -multiply_defined suppress -arch arm64 -O0 -o "/Users/soongyukwon/Documents/Github/libpddokdo/.theos/obj/debug/arm64/libpddokdo.dylib" /Users/soongyukwon/Documents/Github/libpddokdo/.theos/obj/debug/arm64/libpddokdo.m.74ad1ed0.o) 55 | (printf "\e[0;3%im==> \e[1;39m%s…\e[m\n" 4 "Generating debug symbols for libpddokdo"); set -o pipefail; (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/dsymutil "/Users/soongyukwon/Documents/Github/libpddokdo/.theos/obj/debug/arm64/libpddokdo.dylib") 56 | 57 | mkdir -p /Users/soongyukwon/Documents/Github/libpddokdo/.theos/obj/debug/arm64e 58 | /Applications/Xcode.app/Contents/Developer/usr/bin/make -f Makefile --no-print-directory --no-keep-going internal-library-compile _THEOS_CURRENT_TYPE="library" THEOS_CURRENT_INSTANCE="libpddokdo" _THEOS_CURRENT_OPERATION="compile" THEOS_BUILD_DIR="." THEOS_CURRENT_ARCH="arm64e" 59 | 60 | (mkdir -p /Users/soongyukwon/Documents/Github/libpddokdo/.theos/obj/debug/arm64e/) 61 | (printf "\e[0;3%im==> \e[1;39m%s…\e[m\n" 2 "Compiling libpddokdo.m (arm64e)"); set -o pipefail; (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -x objective-c -c -I/Users/soongyukwon/theos/include -I/Users/soongyukwon/theos/vendor/include -I/Users/soongyukwon/theos/include/_fallback -include /Users/soongyukwon/theos/Prefix.pch -MT /Users/soongyukwon/Documents/Github/libpddokdo/.theos/obj/debug/arm64e/libpddokdo.m.f9c9668d.o -MMD -MP -MF "/Users/soongyukwon/Documents/Github/libpddokdo/.theos/obj/debug/arm64e/libpddokdo.m.f9c9668d.Td" -fcolor-diagnostics -DTARGET_IPHONE=1 -O0 -Wall -ggdb -Werror -isysroot "/Users/soongyukwon/theos/sdks/iPhoneOS11.4.sdk" -miphoneos-version-min=11.4 -fobjc-arc -DDEBUG -O0 -DTHEOS_INSTANCE_NAME="\"libpddokdo\"" -fmodules -fcxx-modules -fmodule-name=libpddokdo -fbuild-session-file=/Users/soongyukwon/Documents/Github/libpddokdo/.theos/build_session -fmodules-prune-after=345600 -fmodules-prune-interval=86400 -fmodules-validate-once-per-build-session -arch arm64e libpddokdo.m -o /Users/soongyukwon/Documents/Github/libpddokdo/.theos/obj/debug/arm64e/libpddokdo.m.f9c9668d.o) 62 | 63 | (mkdir -p /Users/soongyukwon/Documents/Github/libpddokdo/.theos/obj/debug/arm64e) 64 | 65 | (printf "\e[0;3%im==> \e[1;39m%s…\e[m\n" 3 "Linking library libpddokdo (arm64e)"); set -o pipefail; (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -fcolor-diagnostics -L/Users/soongyukwon/theos/lib -ggdb -L/Users/soongyukwon/theos/vendor/lib -lobjc -framework Foundation -framework CoreFoundation -dynamiclib -install_name "/usr/lib/libpddokdo.dylib" -isysroot "/Users/soongyukwon/theos/sdks/iPhoneOS11.4.sdk" -miphoneos-version-min=11.4 -multiply_defined suppress -arch arm64e -O0 -o "/Users/soongyukwon/Documents/Github/libpddokdo/.theos/obj/debug/arm64e/libpddokdo.dylib" /Users/soongyukwon/Documents/Github/libpddokdo/.theos/obj/debug/arm64e/libpddokdo.m.f9c9668d.o) 66 | (printf "\e[0;3%im==> \e[1;39m%s…\e[m\n" 4 "Generating debug symbols for libpddokdo"); set -o pipefail; (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/dsymutil "/Users/soongyukwon/Documents/Github/libpddokdo/.theos/obj/debug/arm64e/libpddokdo.dylib") 67 | (printf "\e[0;3%im==> \e[1;39m%s…\e[m\n" 4 "Merging library libpddokdo"); set -o pipefail; (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/lipo -arch arm64 /Users/soongyukwon/Documents/Github/libpddokdo/.theos/obj/debug/arm64/libpddokdo.dylib -arch arm64e /Users/soongyukwon/Documents/Github/libpddokdo/.theos/obj/debug/arm64e/libpddokdo.dylib -create -output "/Users/soongyukwon/Documents/Github/libpddokdo/.theos/obj/debug/libpddokdo.dylib.47ba6b93.unsigned") 68 | (printf "\e[0;3%im==> \e[1;39m%s…\e[m\n" 4 "Signing libpddokdo"); set -o pipefail; (CODESIGN_ALLOCATE=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/codesign_allocate ldid -S "/Users/soongyukwon/Documents/Github/libpddokdo/.theos/obj/debug/libpddokdo.dylib.47ba6b93.unsigned" && mv "/Users/soongyukwon/Documents/Github/libpddokdo/.theos/obj/debug/libpddokdo.dylib.47ba6b93.unsigned" "/Users/soongyukwon/Documents/Github/libpddokdo/.theos/obj/debug/libpddokdo.dylib") 69 | rm /Users/soongyukwon/Documents/Github/libpddokdo/.theos/obj/debug/libpddokdo.dylib.47ba6b93.unsigned 70 | 71 | : 72 | : 73 | 74 | make: Leaving directory `/Users/soongyukwon/Documents/Github.nosync/libpddokdo' 75 | 76 | -------------------------------------------------------------------------------- /.vscode/settings.json: -------------------------------------------------------------------------------- 1 | { 2 | "makefile.extensionOutputFolder": "./.vscode" 3 | } -------------------------------------------------------------------------------- /.vscode/targets.log: -------------------------------------------------------------------------------- 1 | make all --print-data-base --no-builtin-variables --no-builtin-rules --question 2 | # GNU Make 3.81 3 | # Copyright (C) 2006 Free Software Foundation, Inc. 4 | # This is free software; see the source for copying conditions. 5 | # There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A 6 | # PARTICULAR PURPOSE. 7 | 8 | # This program built for i386-apple-darwin11.3.0 9 | 10 | 11 | # Make data base, printed on Wed Jun 1 23:09:31 2022 12 | 13 | # Variables 14 | 15 | # automatic 16 | /dev/null) 58 | # makefile (from `/Users/soongyukwon/theos/makefiles/package.mk', line 91) 59 | _THEOS_INSTALL_TYPE := remote 60 | # makefile (from `/Users/soongyukwon/theos/makefiles/messages.mk', line 42) 61 | PRINT_FORMAT_WARNING = printf "\e[0;33m==> \e[1;33mWarning:\e[m %s\n" 62 | # automatic 63 | @D = $(patsubst %/,%,$(dir $@)) 64 | # makefile (from `/Users/soongyukwon/theos/makefiles/messages.mk', line 3) 65 | ECHO_PIPEFAIL := set -o pipefail; 66 | # automatic 67 | @F = $(notdir $@) 68 | # makefile 69 | CURDIR := /Users/soongyukwon/Documents/Github.nosync/libpddokdo 70 | # makefile (from `/Users/soongyukwon/theos/makefiles/messages.mk', line 78) 71 | ECHO_DEBUG_SYMBOLS = $(ECHO_BEGIN)$(PRINT_FORMAT_BLUE) "Generating debug symbols for $(THEOS_CURRENT_INSTANCE)"$(ECHO_END); $(ECHO_PIPEFAIL) ( 72 | # makefile (from `/Users/soongyukwon/theos/makefiles/common.mk', line 15) 73 | SHELL = bash 74 | # makefile (from `/Users/soongyukwon/theos/makefiles/targets/_common/darwin_head.mk', line 43) 75 | TARGET_CODESIGN_FLAGS = -S 76 | # makefile (from `/Users/soongyukwon/theos/makefiles/common.mk', line 31) 77 | __theos_bool = $(if $(filter Y y YES yes TRUE true 1,$(1)),$(_THEOS_TRUE),$(_THEOS_FALSE)) 78 | # makefile (from `/Users/soongyukwon/theos/makefiles/targets/_common/darwin_head.mk', line 4) 79 | TARGET_AR_EXT := .a 80 | # environment 81 | VSCODE_NLS_CONFIG = {"locale":"en-us","availableLanguages":{},"_languagePackSupport":true} 82 | # makefile (from `/Users/soongyukwon/theos/makefiles/legacy.mk', line 40) 83 | FW_INSTANCE = $(THEOS_CURRENT_INSTANCE)$(warning FW_INSTANCE is deprecated. Please migrate to THEOS_CURRENT_INSTANCE.) 84 | # makefile (from `/Users/soongyukwon/theos/makefiles/package.mk', line 99) 85 | THEOS_DEVICE_IP := 86 | # environment 87 | _ = /usr/bin/make 88 | # makefile (from `/Users/soongyukwon/theos/makefiles/platform/Darwin.mk', line 39) 89 | _THEOS_PLATFORM_SHOW_IN_FILE_MANAGER := open -R 90 | # makefile (from `/Users/soongyukwon/theos/makefiles/targets/_common/iphone.mk', line 16) 91 | _TARGET_VERSION_GE_12_0 := 92 | # makefile (from `/Users/soongyukwon/theos/makefiles/legacy.mk', line 46) 93 | FW_PACKAGE_DEBVERSION = $(THEOS_PACKAGE_VERSION)$(warning FW_PACKAGE_DEBVERSION is deprecated. Please migrate to THEOS_PACKAGE_VERSION.) 94 | # makefile (from `/Users/soongyukwon/theos/makefiles/targets/_common/darwin_head.mk', line 7) 95 | TARGET_CFLAGS_DYNAMICLIB = 96 | # makefile (from `/Users/soongyukwon/theos/makefiles/package/deb.mk', line 12) 97 | _THEOS_DEB_PACKAGE_CONTROL_PATH := /Users/soongyukwon/Documents/Github/libpddokdo/control 98 | # makefile (from `/Users/soongyukwon/theos/makefiles/common.mk', line 91) 99 | _THEOS_ON_SCHEMA := DEFAULT DEBUG 100 | # makefile (from `/Users/soongyukwon/theos/makefiles/targets/_common/darwin_tail.mk', line 62) 101 | _THEOS_TARGET_BUNDLE_RESOURCE_SUBDIRECTORY := 102 | # makefile (from `/Users/soongyukwon/theos/makefiles/common.mk', line 105) 103 | __schema_all_var_names = $(foreach sch,$(THEOS_SCHEMA),$(subst DEFAULT.,,$(sch).)$(1)$(2)) 104 | # makefile (from `/Users/soongyukwon/theos/makefiles/common.mk', line 246) 105 | THEOS_LEGACY_PACKAGE_DIR = $(THEOS_BUILD_DIR)/debs 106 | # makefile (from `/Users/soongyukwon/theos/makefiles/targets/_common/darwin_head.mk', line 67) 107 | TARGET_LIPO = $(call __invocation,lipo) 108 | # makefile (from `/Users/soongyukwon/theos/makefiles/messages.mk', line 81) 109 | ECHO_COPYING_PUBLIC_HEADERS = $(ECHO_BEGIN)$(PRINT_FORMAT_MAGENTA) "Copying public headers into the $(_THEOS_CURRENT_TYPE) wrapper"$(ECHO_END); $(ECHO_PIPEFAIL) ( 110 | # makefile (from `/Users/soongyukwon/theos/makefiles/vercmp.mk', line 34) 111 | __vercmp = $(strip $(eval VERCMP_FIRST := $(subst .,$(space),$(1))) $(eval VERCMP_OP := $(if $(filter ge,$(2)),eq gt,$(if $(filter le,$(2)),eq lt,$(2)))) $(eval VERCMP_SECOND := $(subst .,$(space),$(3))) $(eval VERCMP_RES := eq) $(call ___vercmp_expand,VERCMP_FIRST,$(VERCMP_FIRST),$(VERCMP_SECOND)) $(call ___vercmp_expand,VERCMP_SECOND,$(VERCMP_SECOND),$(VERCMP_FIRST)) $(if $(filter $(VERCMP_OP),$(call ___vercmp_presplit,VERCMP_FIRST,VERCMP_SECOND,VERCMP_RES)),1,) ) 112 | # makefile (from `/Users/soongyukwon/theos/makefiles/common.mk', line 129) 113 | _THEOS_PLATFORM = $(uname_s) 114 | # makefile (from `/Users/soongyukwon/theos/makefiles/master/rules.mk', line 1) 115 | MAKEFILE_LIST := Makefile /Users/soongyukwon/theos/makefiles/common.mk /Users/soongyukwon/theos/makefiles/vercmp.mk /Users/soongyukwon/theos/makefiles/target.mk /Users/soongyukwon/theos/makefiles/legacy.mk /Users/soongyukwon/theos/makefiles/platform/Darwin.mk /Users/soongyukwon/theos/makefiles/platform/Darwin.mk /Users/soongyukwon/theos/makefiles/targets/Darwin/iphone.mk /Users/soongyukwon/theos/makefiles/targets/_common/darwin_head.mk /Users/soongyukwon/theos/makefiles/targets/_common/iphone.mk /Users/soongyukwon/theos/makefiles/targets/_common/darwin_tail.mk /Users/soongyukwon/theos/makefiles/targets/Darwin/iphone.mk /Users/soongyukwon/theos/makefiles/messages.mk /Users/soongyukwon/theos/makefiles/stage.mk /Users/soongyukwon/theos/makefiles/package.mk /Users/soongyukwon/theos/makefiles/package/deb.mk /Users/soongyukwon/theos/makefiles/install/deb_remote.mk /Users/soongyukwon/theos/makefiles/library.mk /Users/soongyukwon/theos/makefiles/master/library.mk /Users/soongyukwon/theos/makefiles/rules.mk /Users/soongyukwon/theos/makefiles/master/rules.mk 116 | # makefile (from `/Users/soongyukwon/theos/makefiles/targets/_common/darwin_head.mk', line 11) 117 | _THEOS_TARGET_CC := clang 118 | # makefile (from `/Users/soongyukwon/theos/makefiles/targets/_common/darwin_tail.mk', line 63) 119 | _THEOS_TARGET_BUNDLE_BINARY_SUBDIRECTORY := 120 | # makefile (from `/Users/soongyukwon/theos/makefiles/messages.mk', line 72) 121 | ECHO_LINKING_WITH_STRIP = $(ECHO_BEGIN)$(PRINT_FORMAT_YELLOW) "Linking $(_THEOS_CURRENT_TYPE) $(THEOS_CURRENT_INSTANCE) (with strip)"$(ECHO_END); $(ECHO_PIPEFAIL) ( 122 | # makefile (from `/Users/soongyukwon/theos/makefiles/master/rules.mk', line 17) 123 | THEOS_USE_PARALLEL_BUILDING := 124 | # makefile (from `/Users/soongyukwon/theos/makefiles/common.mk', line 64) 125 | THEOS_INCLUDE_PATH := /Users/soongyukwon/theos/include 126 | # makefile (from `/Users/soongyukwon/theos/makefiles/messages.mk', line 82) 127 | ECHO_COPYING_FRAMEWORK = $(ECHO_BEGIN)$(PRINT_FORMAT_MAGENTA) "Installing $(_THEOS_CURRENT_TYPE) to $(THEOS_LIBRARY_PATH)"$(ECHO_END); $(ECHO_PIPEFAIL) ( 128 | # makefile (from `/Users/soongyukwon/theos/makefiles/targets/_common/darwin_tail.mk', line 39) 129 | _THEOS_TARGET_SWIFT_LDPATHS = $(call __simplify,_THEOS_TARGET_SWIFT_LDPATHS,$(dir $(shell type -p $(TARGET_SWIFT)))../lib/swift/$(_THEOS_TARGET_PLATFORM_NAME) /usr/lib/swift) 130 | # makefile (from `/Users/soongyukwon/theos/makefiles/common.mk', line 66) 131 | THEOS_FALLBACK_INCLUDE_PATH := /Users/soongyukwon/theos/include/_fallback 132 | # makefile (from `/Users/soongyukwon/theos/makefiles/messages.mk', line 35) 133 | PRINT_FORMAT_STAGE = printf "\e[0;3%im==> \e[1;39m%s…\e[m\n" 134 | # makefile (from `/Users/soongyukwon/theos/makefiles/common.mk', line 88) 135 | DEBUG := 1 136 | 137 | # makefile (from `/Users/soongyukwon/theos/makefiles/messages.mk', line 89) 138 | ERROR_END = $(NULLSTRING) >&2; exit 1; 139 | # `override' directive (from `/Users/soongyukwon/theos/makefiles/common.mk', line 95) 140 | _THEOS_CLEANED_SCHEMA_SET := debug 141 | # makefile (from `/Users/soongyukwon/theos/makefiles/package.mk', line 105) 142 | _THEOS_SUDO_COMMAND = 143 | # makefile (from `/Users/soongyukwon/theos/makefiles/common.mk', line 62) 144 | THEOS_LIBRARY_PATH := /Users/soongyukwon/theos/lib 145 | # makefile (from `/Users/soongyukwon/theos/makefiles/common.mk', line 115) 146 | THEOS_LAYOUT_DIR = $(THEOS_PROJECT_DIR)/$(THEOS_LAYOUT_DIR_NAME) 147 | # makefile (from `/Users/soongyukwon/theos/makefiles/targets/_common/darwin_tail.mk', line 35) 148 | _THEOS_TARGET_CCFLAGS := 149 | # environment 150 | VSCODE_VERBOSE_LOGGING = true 151 | # makefile (from `/Users/soongyukwon/theos/makefiles/legacy.mk', line 17) 152 | FW_STAGING_DIR = $(THEOS_STAGING_DIR)$(warning FW_STAGING_DIR is deprecated. Please migrate to THEOS_STAGING_DIR.) 153 | # makefile (from `/Users/soongyukwon/theos/makefiles/messages.mk', line 38) 154 | PRINT_FORMAT_YELLOW = $(PRINT_FORMAT_STAGE) 3 155 | # makefile (from `/Users/soongyukwon/theos/makefiles/targets/_common/darwin_tail.mk', line 46) 156 | _THEOS_TARGET_SWIFT_VERSION := 5.6.1 157 | # makefile (from `/Users/soongyukwon/theos/makefiles/targets/_common/iphone.mk', line 39) 158 | _DEPLOY_VERSION_GE_3_0 := 1 159 | # makefile (from `/Users/soongyukwon/theos/makefiles/targets/_common/iphone.mk', line 48) 160 | _TARGET_VERSION_GE_12_1 := 161 | # makefile (from `/Users/soongyukwon/theos/makefiles/messages.mk', line 1) 162 | NULLSTRING := 163 | # makefile (from `/Users/soongyukwon/theos/makefiles/legacy.mk', line 14) 164 | FW_PLATFORM_NAME = $(THEOS_PLATFORM_NAME)$(warning FW_PLATFORM_NAME is deprecated. Please migrate to THEOS_PLATFORM_NAME.) 165 | # environment 166 | __CFBundleIdentifier = com.microsoft.VSCode 167 | # environment 168 | INFOPATH = /opt/homebrew/share/info: 169 | # makefile (from `/Users/soongyukwon/theos/makefiles/targets/_common/iphone.mk', line 9) 170 | _TARGET_VERSION_GE_4_0 = $(call __simplify,_TARGET_VERSION_GE_4_0,$(call __vercmp,$(_THEOS_TARGET_SDK_VERSION),ge,4.0)) 171 | # makefile (from `/Users/soongyukwon/theos/makefiles/common.mk', line 39) 172 | __THEOS_COMMON_MK_VERSION := 1k 173 | # makefile (from `/Users/soongyukwon/theos/makefiles/common.mk', line 242) 174 | _THEOS_ESCAPED_STAGING_DIR = $(subst $(_SPACE),\ ,$(THEOS_STAGING_DIR)) 175 | # makefile (from `/Users/soongyukwon/theos/makefiles/targets/Darwin/iphone.mk', line 6) 176 | _THEOS_TARGET_PLATFORM_SDK_NAME := iPhoneOS 177 | # makefile (from `/Users/soongyukwon/theos/makefiles/messages.mk', line 83) 178 | ECHO_PRE_UNLOADING = $(ECHO_BEGIN)$(PRINT_FORMAT_CYAN) "Unloading $(PREINSTALL_TARGET_PROCESSES)"$(ECHO_END); $(ECHO_PIPEFAIL) ( 179 | # environment 180 | VSCODE_IPC_HOOK_EXTHOST = /var/folders/s3/76jh_p892yg7vr351_hnyvsc0000gn/T/vscode-ipc-6b5b6c00-a1f2-456b-a87f-c094d06a86e2.sock 181 | # makefile (from `/Users/soongyukwon/theos/makefiles/stage.mk', line 2) 182 | _THEOS_STAGING_RULES_LOADED := 1 183 | # makefile (from `/Users/soongyukwon/theos/makefiles/package.mk', line 99) 184 | THEOS_DEVICE_PORT := 185 | # makefile (from `/Users/soongyukwon/theos/makefiles/targets/_common/darwin_head.mk', line 65) 186 | TARGET_LD = $(call __invocation,$(_THEOS_TARGET_CXX)) 187 | # environment 188 | VSCODE_CWD = /Users/soongyukwon/Documents/Github.nosync/libpddokdo 189 | # makefile (from `/Users/soongyukwon/theos/makefiles/targets/Darwin/iphone.mk', line 5) 190 | _THEOS_TARGET_PLATFORM_NAME := iphoneos 191 | # makefile (from `/Users/soongyukwon/theos/makefiles/common.mk', line 273) 192 | THEOS_PACKAGE_VERSION = $(call __simplify,THEOS_PACKAGE_VERSION,$(THEOS_PACKAGE_BASE_VERSION)$(warning THEOS_PACKAGE_VERSION is deprecated. Please migrate to THEOS_PACKAGE_BASE_VERSION.)) 193 | # makefile (from `/Users/soongyukwon/theos/makefiles/master/rules.mk', line 10) 194 | VERCMP_RES := lt 195 | # makefile (from `/Users/soongyukwon/theos/makefiles/common.mk', line 261) 196 | THEOS_RSYNC_EXCLUDES = _MTN .git .svn .DS_Store ._* 197 | # makefile (from `/Users/soongyukwon/theos/makefiles/targets/_common/darwin_tail.mk', line 38) 198 | _THEOS_TARGET_SWIFTFLAGS := -sdk "/Users/soongyukwon/theos/sdks/iPhoneOS11.4.sdk" 199 | # makefile (from `/Users/soongyukwon/theos/makefiles/package/deb.mk', line 27) 200 | THEOS_PACKAGE_BASE_VERSION := 1.3.4 201 | # makefile (from `/Users/soongyukwon/theos/makefiles/legacy.mk', line 43) 202 | FW_PACKAGE_NAME = $(THEOS_PACKAGE_NAME)$(warning FW_PACKAGE_NAME is deprecated. Please migrate to THEOS_PACKAGE_NAME.) 203 | # makefile (from `/Users/soongyukwon/theos/makefiles/common.mk', line 120) 204 | _THEOS_LOAD_MODULES := 205 | # makefile (from `/Users/soongyukwon/theos/makefiles/common.mk', line 72) 206 | PATH := /Users/soongyukwon/theos/bin:/opt/homebrew/bin:/opt/homebrew/sbin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Applications/VMware Fusion Tech Preview.app/Contents/Public:/Library/Apple/usr/bin 207 | # makefile (from `/Users/soongyukwon/theos/makefiles/messages.mk', line 43) 208 | PRINT_FORMAT_ERROR = printf "\e[0;31m==> \e[1;31mError:\e[m %s\n" 209 | # makefile (from `/Users/soongyukwon/theos/makefiles/common.mk', line 165) 210 | _THEOS_TARGET_HAS_INCLUDE_PATH := 211 | # makefile (from `/Users/soongyukwon/theos/makefiles/messages.mk', line 85) 212 | ECHO_UNLOADING = $(ECHO_BEGIN)$(PRINT_FORMAT_CYAN) "Unloading $(INSTALL_TARGET_PROCESSES)"$(ECHO_END); $(ECHO_PIPEFAIL) ( 213 | # makefile (from `/Users/soongyukwon/theos/makefiles/targets/_common/darwin_head.mk', line 74) 214 | TARGET_STRIP_FLAGS = -x 215 | # makefile (from `/Users/soongyukwon/theos/makefiles/legacy.mk', line 37) 216 | FW_SUBPROJECT_PRODUCT = $(THEOS_SUBPROJECT_PRODUCT)$(warning FW_SUBPROJECT_PRODUCT is deprecated. Please migrate to THEOS_SUBPROJECT_PRODUCT.) 217 | # `override' directive (from `/Users/soongyukwon/theos/makefiles/package.mk', line 70) 218 | PACKAGE_VERSION = $(__PACKAGE_VERSION) 219 | # makefile (from `/Users/soongyukwon/theos/makefiles/common.mk', line 93) 220 | _THEOS_OFF_SCHEMA := 221 | # makefile (from `/Users/soongyukwon/theos/makefiles/common.mk', line 46) 222 | _THEOS_STATIC_MAKEFILE_LIST := Makefile 223 | # environment 224 | LSCOLORS = Gxfxcxdxbxegedabagacad 225 | # makefile (from `/Users/soongyukwon/theos/makefiles/common.mk', line 109) 226 | __schema_var_last = $(strip $($(lastword $(call __schema_defined_var_names,$(1),$(2))))) 227 | # makefile (from `/Users/soongyukwon/theos/makefiles/vercmp.mk', line 2) 228 | space := $(subst ,, ) 229 | # makefile (from `/Users/soongyukwon/theos/makefiles/common.mk', line 140) 230 | __THEOS_TARGET_ARG_3 := 11.4 231 | # makefile (from `/Users/soongyukwon/theos/makefiles/common.mk', line 166) 232 | _THEOS_TARGET_HAS_LIBRARY_PATH := 233 | # makefile (from `/Users/soongyukwon/theos/makefiles/targets/_common/iphone.mk', line 12) 234 | _TARGET_VERSION_GE_13_0 := 235 | # makefile (from `/Users/soongyukwon/theos/makefiles/targets/_common/darwin_head.mk', line 6) 236 | TARGET_LDFLAGS_DYNAMICLIB = -dynamiclib -install_name "$(LOCAL_INSTALL_PATH)/$(1)" 237 | # makefile (from `Makefile', line 1) 238 | ARCHS = arm64 arm64e 239 | # makefile (from `/Users/soongyukwon/theos/makefiles/targets/_common/darwin_head.mk', line 9) 240 | _THEOS_TARGET_SUPPORTS_BUNDLES := 1 241 | # makefile (from `/Users/soongyukwon/theos/makefiles/common.mk', line 245) 242 | THEOS_PACKAGE_DIR = $(THEOS_BUILD_DIR)/$(THEOS_PACKAGE_DIR_NAME) 243 | # makefile (from `/Users/soongyukwon/theos/makefiles/common.mk', line 65) 244 | THEOS_VENDOR_INCLUDE_PATH := /Users/soongyukwon/theos/vendor/include 245 | # makefile (from `/Users/soongyukwon/theos/makefiles/common.mk', line 145) 246 | _THEOS_TARGET_CALCULATED := 1 247 | # makefile (from `/Users/soongyukwon/theos/makefiles/targets/_common/darwin_head.mk', line 63) 248 | TARGET_CC = $(call __invocation,$(_THEOS_TARGET_CC)) 249 | # makefile (from `/Users/soongyukwon/theos/makefiles/common.mk', line 187) 250 | _THEOS_SHOULD_STRIP_DEFAULT := 251 | # makefile (from `/Users/soongyukwon/theos/makefiles/messages.mk', line 79) 252 | ECHO_COPYING_RESOURCE_FILES = $(ECHO_BEGIN)$(PRINT_FORMAT_MAGENTA) "Copying resource files into the $(_THEOS_CURRENT_TYPE) wrapper"$(ECHO_END); $(ECHO_PIPEFAIL) ( 253 | # makefile (from `/Users/soongyukwon/theos/makefiles/targets/_common/darwin_head.mk', line 35) 254 | TARGET_CODESIGN = ldid 255 | # makefile (from `/Users/soongyukwon/theos/makefiles/platform/Darwin.mk', line 7) 256 | THEOS_PLATFORM_NAME := macosx 257 | # makefile (from `/Users/soongyukwon/theos/makefiles/legacy.mk', line 1) 258 | FRAMEWORKDIR = $(THEOS) 259 | # makefile (from `/Users/soongyukwon/theos/makefiles/common.mk', line 63) 260 | THEOS_VENDOR_LIBRARY_PATH := /Users/soongyukwon/theos/vendor/lib 261 | 262 | # makefile (from `/Users/soongyukwon/theos/makefiles/messages.mk', line 73) 263 | ECHO_STRIPPING = $(ECHO_BEGIN)$(PRINT_FORMAT_BLUE) "Stripping $(THEOS_CURRENT_INSTANCE)"$(ECHO_END); $(ECHO_PIPEFAIL) ( 264 | # makefile (from `/Users/soongyukwon/theos/makefiles/targets/_common/darwin_head.mk', line 66) 265 | TARGET_SWIFT = $(call __invocation,$(_THEOS_TARGET_SWIFT)) 266 | # makefile (from `Makefile', line 8) 267 | libpddokdo_CFLAGS = -fobjc-arc 268 | # makefile (from `/Users/soongyukwon/theos/makefiles/master/rules.mk', line 87) 269 | _THEOS_ABSOLUTE_BUILD_DIR = . 270 | # makefile (from `/Users/soongyukwon/theos/makefiles/targets/_common/darwin_head.mk', line 119) 271 | _THEOS_TARGET_OS_DEPLOYMENT_VERSION = $(or $(__THEOS_TARGET_ARG_$(word 2,$(_THEOS_TARGET_ARG_ORDER))),$(TARGET_OS_DEPLOYMENT_VERSION_$(THEOS_CURRENT_ARCH)),$(TARGET_OS_DEPLOYMENT_VERSION),$(_SDKVERSION),$(_THEOS_TARGET_DEFAULT_OS_DEPLOYMENT_VERSION)) 272 | # makefile (from `/Users/soongyukwon/theos/makefiles/package/deb.mk', line 15) 273 | _THEOS_PACKAGE_EXTRA_VERSION_PREFIX := + 274 | # makefile (from `/Users/soongyukwon/theos/makefiles/common.mk', line 78) 275 | _THEOS_FINAL_PACKAGE := 276 | # environment 277 | VSCODE_LOG_STACK = false 278 | # environment 279 | ELECTRON_RUN_AS_NODE = 1 280 | # makefile (from `/Users/soongyukwon/theos/makefiles/common.mk', line 21) 281 | _THEOS_RELATIVE_DATA_DIR = .theos 282 | # makefile (from `/Users/soongyukwon/theos/makefiles/messages.mk', line 23) 283 | ECHO_NOTHING = @( 284 | # default 285 | .FEATURES := target-specific order-only second-expansion else-if archives jobserver check-symlink 286 | # makefile (from `/Users/soongyukwon/theos/makefiles/targets/_common/darwin_head.mk', line 70) 287 | TARGET_LIBTOOL = $(call __invocation,libtool) 288 | # makefile (from `/Users/soongyukwon/theos/makefiles/package.mk', line 69) 289 | __PACKAGE_VERSION = $(call __simplify,__PACKAGE_VERSION,) 290 | # makefile (from `/Users/soongyukwon/theos/makefiles/package/deb.mk', line 14) 291 | _THEOS_PACKAGE_INC_VERSION_PREFIX := - 292 | # makefile (from `/Users/soongyukwon/theos/makefiles/messages.mk', line 86) 293 | ECHO_CLEANING = $(ECHO_BEGIN)$(PRINT_FORMAT_CYAN) "Cleaning"$(ECHO_END); $(ECHO_PIPEFAIL) ( 294 | # makefile (from `/Users/soongyukwon/theos/makefiles/common.mk', line 205) 295 | _THEOS_INTERNAL_IFLAGS_SWIFT = $(_THEOS_INTERNAL_IFLAGS_BASE) 296 | # makefile (from `/Users/soongyukwon/theos/makefiles/common.mk', line 27) 297 | __clean_pwd = $(shell (unset CDPATH; cd "$(1)"; pwd)) 298 | # makefile (from `/Users/soongyukwon/theos/makefiles/targets/_common/darwin_head.mk', line 78) 299 | TARGET_DSYMUTIL = $(call __invocation,dsymutil) 300 | # makefile (from `/Users/soongyukwon/theos/makefiles/common.mk', line 248) 301 | THEOS_SUBPROJECT_PRODUCT = subproject.a 302 | # makefile (from `/Users/soongyukwon/theos/makefiles/targets/_common/darwin_tail.mk', line 22) 303 | MODULESFLAGS := -fmodules -fcxx-modules -fmodule-name= -fbuild-session-file=/Users/soongyukwon/Documents/Github/libpddokdo/.theos/build_session -fmodules-prune-after=345600 -fmodules-prune-interval=86400 -fmodules-validate-once-per-build-session 304 | # makefile (from `/Users/soongyukwon/theos/makefiles/targets/_common/iphone.mk', line 77) 305 | __CMP_RES := gt 306 | # makefile (from `/Users/soongyukwon/theos/makefiles/messages.mk', line 58) 307 | ECHO_PREPROCESSING = $(ECHO_BEGIN)$(PRINT_FORMAT_RED) "Preprocessing $<"$(ECHO_END); $(ECHO_PIPEFAIL) ( 308 | # environment 309 | SSH_AUTH_SOCK = /private/tmp/com.apple.launchd.BH6O79llhW/Listeners 310 | # makefile (from `/Users/soongyukwon/theos/makefiles/targets/_common/darwin_head.mk', line 12) 311 | _THEOS_TARGET_CXX := clang++ 312 | # automatic 313 | %F = $(notdir $%) 314 | # makefile (from `/Users/soongyukwon/theos/makefiles/targets/_common/darwin_head.mk', line 13) 315 | _THEOS_TARGET_SWIFT := swift 316 | # makefile (from `/Users/soongyukwon/theos/makefiles/vercmp.mk', line 68) 317 | ___vercmp_expand = $(if $(filter $(words $(2)),$(words $(3))),, $(if $(filter $(words $(3)),$(firstword $(sort $(words $(2)) $(words $(3))))),, $(eval $(1) += 0) $(call ___vercmp_expand,$(1),$(value $(1)),$(3)) ) ) 318 | # command line 319 | COLOR = 1 320 | # makefile (from `/Users/soongyukwon/theos/makefiles/common.mk', line 220) 321 | _THEOS_INTERNAL_SWIFTCOLORFLAGS = -color-diagnostics 322 | # makefile (from `/Users/soongyukwon/theos/makefiles/package/deb.mk', line 9) 323 | THEOS_PLATFORM_DEB_COMPRESSION_LEVEL = 0 324 | # makefile (from `/Users/soongyukwon/theos/makefiles/targets/_common/darwin_head.mk', line 29) 325 | TARGET_INSTALL_REMOTE = $(_THEOS_TRUE) 326 | # makefile (from `/Users/soongyukwon/theos/makefiles/messages.mk', line 71) 327 | ECHO_STATIC_LINKING = $(ECHO_BEGIN)$(PRINT_FORMAT_YELLOW) "Linking static $(_THEOS_CURRENT_TYPE) $(THEOS_CURRENT_INSTANCE)"$(ECHO_END); $(ECHO_PIPEFAIL) ( 328 | # makefile (from `/Users/soongyukwon/theos/makefiles/package.mk', line 59) 329 | _THEOS_PACKAGE_DEFAULT_VERSION_FORMAT = $(THEOS_PACKAGE_BASE_VERSION)-$(VERSION.INC_BUILD_NUMBER)$(VERSION.EXTRAVERSION) 330 | # makefile (from `/Users/soongyukwon/theos/makefiles/targets/_common/darwin_tail.mk', line 14) 331 | ISYSROOT := /Users/soongyukwon/theos/sdks/iPhoneOS11.4.sdk 332 | # makefile (from `/Users/soongyukwon/theos/makefiles/platform/Darwin.mk', line 17) 333 | THEOS_PLATFORM_SDK_ROOT := /Applications/Xcode.app/Contents/Developer 334 | # makefile (from `/Users/soongyukwon/theos/makefiles/legacy.mk', line 6) 335 | FW_MODDIR = $(THEOS_MODULE_PATH) 336 | # environment 337 | VSCODE_PIPE_LOGGING = true 338 | # makefile (from `/Users/soongyukwon/theos/makefiles/targets/_common/iphone.mk', line 35) 339 | _DEPLOY_VERSION_GE_5_0 = $(call __simplify,_DEPLOY_VERSION_GE_5_0,$(call __vercmp,$(_THEOS_TARGET_OS_DEPLOYMENT_VERSION),ge,5.0)) 340 | # makefile (from `/Users/soongyukwon/theos/makefiles/package/deb.mk', line 56) 341 | _THEOS_DEB_PACKAGE_FILENAME = $(THEOS_PACKAGE_DIR)/$(THEOS_PACKAGE_NAME)_$(_THEOS_INTERNAL_PACKAGE_VERSION)_$(THEOS_PACKAGE_ARCH).deb 342 | # makefile (from `/Users/soongyukwon/theos/makefiles/package/deb.mk', line 13) 343 | _THEOS_DEB_CAN_PACKAGE := 1 344 | # makefile (from `/Users/soongyukwon/theos/makefiles/targets/_common/darwin_tail.mk', line 51) 345 | _THEOS_TARGET_SWIFT_LDFLAGS = $(call __simplify,_THEOS_TARGET_SWIFT_LDFLAGS,-rpath /usr/lib/swift -rpath /usr/lib/libswift/$(_THEOS_TARGET_SWIFT_VERSION_PATH)) 346 | # makefile (from `/Users/soongyukwon/theos/makefiles/messages.mk', line 70) 347 | ECHO_LINKING = $(ECHO_BEGIN)$(PRINT_FORMAT_YELLOW) "Linking $(_THEOS_CURRENT_TYPE) $(THEOS_CURRENT_INSTANCE)"$(ECHO_END); $(ECHO_PIPEFAIL) ( 348 | # makefile (from `Makefile', line 7) 349 | libpddokdo_FILES = libpddokdo.m 350 | # makefile (from `/Users/soongyukwon/theos/makefiles/legacy.mk', line 48) 351 | FW_PACKAGE_STAGING_DIR = $(THEOS_STAGING_DIR)$(warning FW_PACKAGE_STAGING_DIR is deprecated. Please migrate to THEOS_STAGING_DIR.) 352 | # environment 353 | PWD = /Users/soongyukwon/Documents/Github/libpddokdo 354 | # makefile (from `/Users/soongyukwon/theos/makefiles/targets/_common/iphone.mk', line 78) 355 | _THEOS_DARWIN_CAN_USE_MODULES := 1 356 | # makefile (from `/Users/soongyukwon/theos/makefiles/package/deb.mk', line 5) 357 | _THEOS_PLATFORM_DPKG_DEB_COMPRESSION = $(or $(THEOS_PLATFORM_DEB_COMPRESSION_TYPE),lzma) 358 | # makefile (from `/Users/soongyukwon/theos/makefiles/common.mk', line 182) 359 | DEBUG.LDFLAGS = -O0 360 | # makefile (from `/Users/soongyukwon/theos/makefiles/platform/Darwin.mk', line 3) 361 | _THEOS_PLATFORM_HAS_XCODE := 1 362 | # makefile (from `/Users/soongyukwon/theos/makefiles/legacy.mk', line 5) 363 | FW_LIBDIR = $(THEOS_LIBRARY_PATH) 364 | # makefile (from `/Users/soongyukwon/theos/makefiles/messages.mk', line 41) 365 | PRINT_FORMAT_CYAN = $(PRINT_FORMAT_STAGE) 6 366 | # environment 367 | HOMEBREW_CELLAR = /opt/homebrew/Cellar 368 | # makefile (from `/Users/soongyukwon/theos/makefiles/targets/_common/darwin_tail.mk', line 49) 369 | _THEOS_TARGET_SWIFT_VERSION_PATH = stable 370 | # makefile (from `/Users/soongyukwon/theos/makefiles/common.mk', line 29) 371 | _THEOS_TRUE := 1 372 | # makefile (from `/Users/soongyukwon/theos/makefiles/targets/_common/iphone.mk', line 74) 373 | NEUTRAL_ARCH := armv7 374 | # makefile (from `/Users/soongyukwon/theos/makefiles/targets/Darwin/iphone.mk', line 7) 375 | _THEOS_TARGET_PLATFORM_FLAG_NAME := iphoneos 376 | # makefile (from `/Users/soongyukwon/theos/makefiles/targets/_common/darwin_tail.mk', line 36) 377 | _THEOS_TARGET_LDFLAGS := -isysroot "/Users/soongyukwon/theos/sdks/iPhoneOS11.4.sdk" -miphoneos-version-min=11.4 -multiply_defined suppress 378 | # environment 379 | ORIGINAL_XDG_CURRENT_DESKTOP = undefined 380 | # makefile (from `/Users/soongyukwon/theos/makefiles/package.mk', line 41) 381 | __USERVER_FOR_BUILDNUM := 382 | 383 | # makefile (from `/Users/soongyukwon/theos/makefiles/targets/_common/iphone.mk', line 10) 384 | _TARGET_VERSION_GE_3_0 = $(call __simplify,_TARGET_VERSION_GE_3_0,$(call __vercmp,$(_THEOS_TARGET_SDK_VERSION),ge,3.0)) 385 | # makefile (from `/Users/soongyukwon/theos/makefiles/common.mk', line 47) 386 | _THEOS_PROJECT_MAKEFILE_NAME := Makefile 387 | # makefile (from `/Users/soongyukwon/theos/makefiles/common.mk', line 175) 388 | _THEOS_INTERNAL_LDFLAGS = $(if $(_THEOS_TARGET_HAS_LIBRARY_PATH),-L$(THEOS_TARGET_LIBRARY_PATH) )-L$(THEOS_LIBRARY_PATH) $(DEBUGFLAG) -L$(THEOS_VENDOR_LIBRARY_PATH) 389 | # makefile (from `/Users/soongyukwon/theos/makefiles/common.mk', line 181) 390 | DEBUG.SWIFTFLAGS = -DDEBUG -Onone 391 | # environment 392 | MANPATH = /opt/homebrew/share/man:: 393 | # makefile (from `/Users/soongyukwon/theos/makefiles/master/rules.mk', line 10) 394 | __CMP_NUM1 := 3 395 | # environment 396 | VSCODE_AMD_ENTRYPOINT = vs/workbench/api/node/extensionHostProcess 397 | # environment 398 | HOME = /Users/soongyukwon 399 | # makefile (from `/Users/soongyukwon/theos/makefiles/targets/_common/darwin_head.mk', line 72) 400 | TARGET_XCPRETTY = $(call __invocation,xcpretty) 401 | # makefile (from `/Users/soongyukwon/theos/makefiles/vercmp.mk', line 84) 402 | ___vercmp_expand_backward = $(if $(filter $(words $(2)),$(words $(3))),, $(if $(filter $(words $(3)),$(firstword $(sort $(words $(2)) $(words $(3))))),, $(eval $(1) := 0 $(1)) $(call ___vercmp_expand_backward,$(1),$(value $(1)),$(3)) ) ) 403 | # makefile (from `/Users/soongyukwon/theos/makefiles/messages.mk', line 25) 404 | ECHO_UNBUFFERED = 405 | # makefile (from `/Users/soongyukwon/theos/makefiles/common.mk', line 259) 406 | THEOS_CURRENT_INSTANCE := 407 | # makefile (from `/Users/soongyukwon/theos/makefiles/common.mk', line 197) 408 | TARGET_STRIP = : 409 | # makefile (from `/Users/soongyukwon/theos/makefiles/common.mk', line 52) 410 | _THEOS_INTERNAL_TRUE_PATH := /Users/soongyukwon/theos 411 | # makefile (from `/Users/soongyukwon/theos/makefiles/common.mk', line 170) 412 | _THEOS_PACKAGE_LAST_FILENAME = $(call __simplify,_THEOS_PACKAGE_LAST_FILENAME,$(shell cat "$(_THEOS_LOCAL_DATA_DIR)/last_package" 2>/dev/null)) 413 | # default 414 | MAKEFILEPATH := /Applications/Xcode.app/Contents/Developer/Makefiles 415 | # environment 416 | VSCODE_CLI = 1 417 | # makefile (from `/Users/soongyukwon/theos/makefiles/common.mk', line 275) 418 | THEOS_LINKAGE_TYPE = dynamic 419 | # environment 420 | VSCODE_CODE_CACHE_PATH = /Users/soongyukwon/Library/Application Support/Code/CachedData/c3511e6c69bb39013c4a4b7b9566ec1ca73fc4d5 421 | # `override' directive (from `/Users/soongyukwon/theos/makefiles/common.mk', line 94) 422 | THEOS_SCHEMA := DEFAULT DEBUG 423 | # environment 424 | LOGNAME = soongyukwon 425 | # makefile (from `/Users/soongyukwon/theos/makefiles/targets/_common/iphone.mk', line 23) 426 | _TARGET_VERSION_GE_10_0 := 427 | # environment 428 | APPLICATION_INSIGHTS_NO_DIAGNOSTIC_CHANNEL = 1 429 | # makefile (from `/Users/soongyukwon/theos/makefiles/common.mk', line 255) 430 | _THEOS_MAKEFLAGS := --no-keep-going COLOR=1 --no-print-directory 431 | # makefile (from `/Users/soongyukwon/theos/makefiles/common.mk', line 244) 432 | THEOS_PACKAGE_DIR_NAME = packages 433 | # makefile (from `/Users/soongyukwon/theos/makefiles/messages.mk', line 94) 434 | NOTICE_EMPTY_LINKING = @$(PRINT_FORMAT_WARNING) "No files to link - creating a bundle containing only resources" 435 | # makefile (from `/Users/soongyukwon/theos/makefiles/targets/Darwin/iphone.mk', line 8) 436 | _THEOS_TARGET_PLATFORM_SWIFT_NAME := apple-ios 437 | # environment 438 | ZSH = /Users/soongyukwon/.oh-my-zsh 439 | # makefile (from `/Users/soongyukwon/theos/makefiles/master/rules.mk', line 10) 440 | _THEOS_IS_MAKE_GT_4_0 := 441 | # makefile (from `/Users/soongyukwon/theos/makefiles/common.mk', line 51) 442 | _THEOS_RELATIVE_MAKE_PATH := /Users/soongyukwon/theos/makefiles/ 443 | # makefile (from `/Users/soongyukwon/theos/makefiles/targets/_common/darwin_tail.mk', line 61) 444 | _THEOS_TARGET_BUNDLE_INFO_PLIST_SUBDIRECTORY := 445 | # environment 446 | VSCODE_HANDLES_UNCAUGHT_ERRORS = true 447 | # makefile (from `/Users/soongyukwon/theos/makefiles/messages.mk', line 88) 448 | ERROR_BEGIN = @$(PRINT_FORMAT_ERROR) $(NULLSTRING) 449 | # makefile (from `/Users/soongyukwon/theos/makefiles/messages.mk', line 76) 450 | ECHO_MERGING = $(ECHO_BEGIN)$(PRINT_FORMAT_BLUE) "Merging $(_THEOS_CURRENT_TYPE) $(THEOS_CURRENT_INSTANCE)"$(ECHO_END); $(ECHO_PIPEFAIL) ( 451 | # automatic 452 | ^D = $(patsubst %/,%,$(dir $^)) 453 | # makefile (from `/Users/soongyukwon/theos/makefiles/common.mk', line 180) 454 | DEBUG.CFLAGS = -DDEBUG -O0 455 | # makefile (from `/Users/soongyukwon/theos/makefiles/target.mk', line 21) 456 | ___get_target_args = $(subst ;,$(___newline), $(shell args=('$(subst :,' ',$(1))'); for (( i=0; i<$${#args[@]}; i++ )); do if [[ $${args[$$i]} != '' ]]; then printf 'export __THEOS_TARGET_ARG_%s := %s;' "$$i" "$${args[$$i]}"; fi; done ) ) 457 | # makefile (from `/Users/soongyukwon/theos/makefiles/messages.mk', line 28) 458 | STDERR_NULL_REDIRECT = 2> /dev/null 459 | # makefile (from `/Users/soongyukwon/theos/makefiles/targets/_common/darwin_tail.mk', line 64) 460 | _THEOS_TARGET_BUNDLE_HEADERS_SUBDIRECTORY := /Headers 461 | # makefile (from `/Users/soongyukwon/theos/makefiles/targets/_common/darwin_head.mk', line 64) 462 | TARGET_CXX = $(call __invocation,$(_THEOS_TARGET_CXX)) 463 | # makefile (from `/Users/soongyukwon/theos/makefiles/package/deb.mk', line 17) 464 | _THEOS_DEB_HAS_DPKG_DEB := 1 465 | # makefile (from `/Users/soongyukwon/theos/makefiles/messages.mk', line 34) 466 | PRINT_FORMAT_MAKING = printf "\e[1;31m> \e[1;3;39m%s…\e[m\n" 467 | # makefile (from `/Users/soongyukwon/theos/makefiles/common.mk', line 202) 468 | _THEOS_INTERNAL_SWIFTFLAGS = -DTHEOS_SWIFT -DTARGET_$(_THEOS_TARGET_NAME_DEFINE) $(SWIFT_OPTFLAG) -module-name $(THEOS_CURRENT_INSTANCE) $(SWIFT_DEBUGFLAG) 469 | # makefile (from `/Users/soongyukwon/theos/makefiles/targets/_common/darwin_head.mk', line 16) 470 | _THEOS_TARGET_ARG_ORDER := 2 3 471 | # environment 472 | XPC_FLAGS = 0x0 473 | # environment 474 | COLORTERM = truecolor 475 | # default 476 | MAKE = $(MAKE_COMMAND) 477 | # environment 478 | LC_TERMINAL = iTerm2 479 | # makefile (from `/Users/soongyukwon/theos/makefiles/package/deb.mk', line 47) 480 | _THEOS_DEB_LIBSWIFT_DEPENDS := org.swift.libswift (>= 5.0) 481 | # makefile (from `/Users/soongyukwon/theos/makefiles/common.mk', line 231) 482 | THEOS_OBJ_DIR_NAME = obj$(_THEOS_OBJ_DIR_EXTENSION) 483 | # makefile (from `/Users/soongyukwon/theos/makefiles/common.mk', line 61) 484 | 485 | THEOS_BIN_PATH := /Users/soongyukwon/theos/bin 486 | # environment 487 | SHLVL = 3 488 | # makefile (from `/Users/soongyukwon/theos/makefiles/targets/_common/darwin_head.mk', line 93) 489 | _UNSORTED_SDKS := 10.3 11.4 12.4 13.7 14.5 9.3 15.5 490 | # makefile (from `/Users/soongyukwon/theos/makefiles/platform/Darwin.mk', line 29) 491 | _THEOS_PLATFORM_DU_EXCLUDE := -I 492 | # makefile (from `/Users/soongyukwon/theos/makefiles/master/library.mk', line 1) 493 | LIBRARY_NAME := libpddokdo 494 | # makefile (from `/Users/soongyukwon/theos/makefiles/messages.mk', line 33) 495 | PRINT_FORMAT = printf "\e[0;36m==> \e[1;36mNotice:\e[m %s\n" 496 | # makefile (from `/Users/soongyukwon/theos/makefiles/common.mk', line 163) 497 | THEOS_TARGET_INCLUDE_PATH := /Users/soongyukwon/theos/include/iphone 498 | # makefile (from `/Users/soongyukwon/theos/makefiles/targets/_common/iphone.mk', line 25) 499 | _TARGET_VERSION_GE_7_0 := 1 500 | # makefile (from `/Users/soongyukwon/theos/makefiles/target.mk', line 3) 501 | define ___newline 502 | 503 | 504 | endef 505 | # makefile (from `/Users/soongyukwon/theos/makefiles/master/rules.mk', line 10) 506 | __CMP_NUM2 := 4 507 | # default 508 | MAKE_VERSION := 3.81 509 | # makefile (from `/Users/soongyukwon/theos/makefiles/platform/Darwin.mk', line 2) 510 | _THEOS_PLATFORM_LOADED := 1 511 | # environment 512 | USER = soongyukwon 513 | # makefile (from `/Users/soongyukwon/theos/makefiles/targets/_common/iphone.mk', line 26) 514 | _THEOS_TARGET_DEFAULT_OS_DEPLOYMENT_VERSION := 5.0 515 | # makefile (from `/Users/soongyukwon/theos/makefiles/targets/_common/darwin_head.mk', line 2) 516 | TARGET_EXE_EXT := 517 | # makefile 518 | .DEFAULT_GOAL := all 519 | # default 520 | MAKECMDGOALS := all 521 | # environment 522 | TERM_SESSION_ID = w0t0p0:88E9E0CC-F4B7-4AB7-BA0B-A3E0E98F87A7 523 | # makefile (from `/Users/soongyukwon/theos/makefiles/common.mk', line 140) 524 | __THEOS_TARGET_ARG_0 := iphone 525 | # makefile (from `/Users/soongyukwon/theos/makefiles/messages.mk', line 26) 526 | ECHO_END = ) 527 | # makefile (from `/Users/soongyukwon/theos/makefiles/rules.mk', line 2) 528 | _THEOS_RULES_LOADED := 1 529 | # makefile (from `/Users/soongyukwon/theos/makefiles/targets/_common/darwin_tail.mk', line 34) 530 | _THEOS_TARGET_CFLAGS := -isysroot "/Users/soongyukwon/theos/sdks/iPhoneOS11.4.sdk" -miphoneos-version-min=11.4 531 | # environment 532 | LESS = -R 533 | # automatic 534 | %D = $(patsubst %/,%,$(dir $%)) 535 | # makefile (from `/Users/soongyukwon/theos/makefiles/legacy.mk', line 42) 536 | FW_SHARED_BUNDLE_RESOURCE_PATH = $(THEOS_SHARED_BUNDLE_RESOURCE_PATH)$(warning FW_SHARED_BUNDLE_RESOURCE_PATH is deprecated. Please migrate to THEOS_SHARED_BUNDLE_RESOURCE_PATH.) 537 | # makefile (from `/Users/soongyukwon/theos/makefiles/platform/Darwin.mk', line 43) 538 | _THEOS_PLATFORM_GET_LOGICAL_CORES := sysctl -n hw.ncpu 539 | # makefile (from `/Users/soongyukwon/theos/makefiles/targets/_common/iphone.mk', line 39) 540 | _TARGET_VERSION_GE_6_0 := 1 541 | # makefile (from `/Users/soongyukwon/theos/makefiles/common.mk', line 131) 542 | _THEOS_PLATFORM_CALCULATED := 1 543 | # default 544 | MAKE_COMMAND := /Applications/Xcode.app/Contents/Developer/usr/bin/make 545 | # makefile (from `/Users/soongyukwon/theos/makefiles/targets/_common/iphone.mk', line 39) 546 | _DEPLOY_VERSION_LT_4_3 := 547 | # makefile (from `/Users/soongyukwon/theos/makefiles/common.mk', line 203) 548 | _THEOS_INTERNAL_IFLAGS_BASE = $(if $(_THEOS_TARGET_HAS_INCLUDE_PATH),-I$(THEOS_TARGET_INCLUDE_PATH) )-I$(THEOS_INCLUDE_PATH) -I$(THEOS_VENDOR_INCLUDE_PATH) -I$(THEOS_FALLBACK_INCLUDE_PATH) 549 | # makefile (from `/Users/soongyukwon/theos/makefiles/messages.mk', line 84) 550 | ECHO_INSTALLING = $(ECHO_BEGIN)$(PRINT_FORMAT_CYAN) "Installing"$(ECHO_END); $(ECHO_PIPEFAIL) ( 551 | # makefile (from `/Users/soongyukwon/theos/makefiles/common.mk', line 30) 552 | _THEOS_FALSE := 553 | # makefile (from `/Users/soongyukwon/theos/makefiles/targets/_common/darwin_head.mk', line 92) 554 | _XCODE_SDK_DIR := /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs 555 | # environment 556 | TERM_PROGRAM = iTerm.app 557 | # default 558 | .VARIABLES := 559 | # environment 560 | TMPDIR = /var/folders/s3/76jh_p892yg7vr351_hnyvsc0000gn/T/ 561 | # makefile (from `/Users/soongyukwon/theos/makefiles/common.mk', line 107) 562 | __schema_var_all = $(strip $(foreach sch,$(call __schema_all_var_names,$(1),$(2)),$($(sch)))) 563 | # automatic 564 | *F = $(notdir $*) 565 | # makefile (from `/Users/soongyukwon/theos/makefiles/common.mk', line 60) 566 | THEOS_MAKE_PATH := /Users/soongyukwon/theos/makefiles 567 | # environment 568 | VSCODE_IPC_HOOK = /Users/soongyukwon/Library/Application Support/Code/1.67.2-main.sock 569 | # makefile (from `/Users/soongyukwon/theos/makefiles/legacy.mk', line 2) 570 | FW_BINDIR = $(THEOS_BIN_PATH) 571 | # makefile (from `/Users/soongyukwon/theos/makefiles/common.mk', line 208) 572 | _THEOS_INTERNAL_LOGOSFLAGS = -c warnings=error 573 | # makefile (from `/Users/soongyukwon/theos/makefiles/common.mk', line 114) 574 | THEOS_LAYOUT_DIR_NAME = layout 575 | # makefile (from `/Users/soongyukwon/theos/makefiles/platform/Darwin.mk', line 42) 576 | THEOS_SUDO_COMMAND = sudo 577 | # makefile 578 | MAKEFLAGS = S --no-print-directory -Rrqp -- $(MAKEOVERRIDES) 579 | # makefile (from `/Users/soongyukwon/theos/makefiles/legacy.mk', line 23) 580 | FW_BUILD_DIR = $(THEOS_BUILD_DIR)$(warning FW_BUILD_DIR is deprecated. Please migrate to THEOS_BUILD_DIR.) 581 | # environment 582 | MFLAGS = -S --no-print-directory -Rrqp 583 | # automatic 584 | *D = $(patsubst %/,%,$(dir $*)) 585 | # environment 586 | TERM_PROGRAM_VERSION = 3.4.15 587 | # makefile (from `/Users/soongyukwon/theos/makefiles/targets/_common/darwin_tail.mk', line 18) 588 | TARGET_PRIVATE_FRAMEWORK_INCLUDE_PATH = $(ISYSROOT)/System/Library/PrivateFrameworks 589 | # makefile (from `/Users/soongyukwon/theos/makefiles/targets/_common/iphone.mk', line 47) 590 | _DEPLOY_VERSION_GE_11_0 := 1 591 | # makefile (from `/Users/soongyukwon/theos/makefiles/common.mk', line 169) 592 | _THEOS_PACKAGE_FORMAT := deb 593 | # makefile (from `/Users/soongyukwon/theos/makefiles/common.mk', line 127) 594 | uname_o := 595 | # environment 596 | XPC_SERVICE_NAME = application.com.microsoft.VSCode.21933469.21933475.095F6D6A-6287-4A84-A031-39132163FD16 597 | # environment 598 | LC_TERMINAL_VERSION = 3.4.15 599 | # environment 600 | HOMEBREW_PREFIX = /opt/homebrew 601 | # automatic 602 | +D = $(patsubst %/,%,$(dir $+)) 603 | # makefile (from `/Users/soongyukwon/theos/makefiles/package/deb.mk', line 25) 604 | THEOS_PACKAGE_NAME := com.peterdev.libpddokdo 605 | # makefile (from `/Users/soongyukwon/theos/makefiles/targets/_common/darwin_head.mk', line 105) 606 | _SORTED_SDKS = $(call __simplify,_SORTED_SDKS,$(shell echo $(_UNSORTED_SDKS) | tr ' ' $$'\n' | sort -t. -k 1,1n -k 2,2n)) 607 | # makefile (from `/Users/soongyukwon/theos/makefiles/common.mk', line 22) 608 | _THEOS_LOCAL_DATA_DIR := /Users/soongyukwon/Documents/Github/libpddokdo/.theos 609 | # makefile (from `/Users/soongyukwon/theos/makefiles/messages.mk', line 91) 610 | WARNING_EMPTY_LINKING = @$(PRINT_FORMAT_WARNING) "No files to link. Please check your Makefile! Make sure you set $(THEOS_CURRENT_INSTANCE)_FILES (or similar variables)" 611 | # makefile (from `/Users/soongyukwon/theos/makefiles/package.mk', line 42) 612 | __BASEVER_FOR_BUILDNUM = $(or $(__USERVER_FOR_BUILDNUM),$(THEOS_PACKAGE_BASE_VERSION)) 613 | # automatic 614 | +F = $(notdir $+) 615 | # makefile (from `/Users/soongyukwon/theos/makefiles/common.mk', line 34) 616 | __executable = $(if $(shell PATH="$(THEOS_BIN_PATH):$$PATH" type "$(1)" > /dev/null 2>&1 && echo 1),$(_THEOS_TRUE),$(_THEOS_FALSE)) 617 | # makefile (from `/Users/soongyukwon/theos/makefiles/common.mk', line 259) 618 | _THEOS_CURRENT_TYPE := 619 | # makefile (from `/Users/soongyukwon/theos/makefiles/target.mk', line 39) 620 | __eval_target = $(eval $(call ___get_target_args,$(3)) $(call ___get_target_args,$(2)) $(call ___get_target_args,$(1)) ) 621 | # makefile (from `/Users/soongyukwon/theos/makefiles/vercmp.mk', line 52) 622 | 623 | ___vercmp_presplit = $(strip $(foreach ver1,$(value $(1)),$(if $(filter eq,$(value $(3))), $(eval $(3):=$(call __cmp,$(ver1),$(firstword $(value $(2)))$(eval $(2):=$(wordlist 2,$(words $(value $(2))),$(value $(2)))))) ,)) $(value $(3)) ) 624 | # environment 625 | ITERM_SESSION_ID = w0t0p0:88E9E0CC-F4B7-4AB7-BA0B-A3E0E98F87A7 626 | # makefile (from `/Users/soongyukwon/theos/makefiles/common.mk', line 264) 627 | FAKEROOT := /Users/soongyukwon/theos/bin/fakeroot.sh -p "/Users/soongyukwon/Documents/Github/libpddokdo/.theos/fakeroot" 628 | # environment 629 | HOMEBREW_REPOSITORY = /opt/homebrew 630 | # makefile (from `/Users/soongyukwon/theos/makefiles/common.mk', line 140) 631 | __THEOS_TARGET_ARG_1 := clang 632 | # environment 633 | COLORFGBG = 15;0 634 | # makefile (from `/Users/soongyukwon/theos/makefiles/common.mk', line 159) 635 | _THEOS_TARGET_NAME_DEFINE := IPHONE 636 | # makefile (from `/Users/soongyukwon/theos/makefiles/targets/_common/darwin_tail.mk', line 17) 637 | TARGET_PRIVATE_FRAMEWORK_PATH = $(SYSROOT)/System/Library/PrivateFrameworks 638 | # environment 639 | __CF_USER_TEXT_ENCODING = 0x1F5:0x0:0x0 640 | # makefile (from `/Users/soongyukwon/theos/makefiles/package.mk', line 72) 641 | _THEOS_INTERNAL_PACKAGE_VERSION = $(call __simplify,_THEOS_INTERNAL_PACKAGE_VERSION,$(or $(__PACKAGE_VERSION),$(_THEOS_PACKAGE_DEFAULT_VERSION_FORMAT),1)) 642 | # environment 643 | COMMAND_MODE = unix2003 644 | # makefile (from `/Users/soongyukwon/theos/makefiles/common.mk', line 164) 645 | THEOS_TARGET_LIBRARY_PATH := /Users/soongyukwon/theos/lib/iphone 646 | # makefile (from `/Users/soongyukwon/theos/makefiles/legacy.mk', line 4) 647 | FW_INCDIR = $(THEOS_INCLUDE_PATH) 648 | # default 649 | MAKEFILES := 650 | # makefile (from `/Users/soongyukwon/theos/makefiles/common.mk', line 204) 651 | _THEOS_INTERNAL_IFLAGS_C = $(_THEOS_INTERNAL_IFLAGS_BASE) -include $(THEOS)/Prefix.pch 652 | # automatic 653 | /dev/null 672 | # makefile (from `/Users/soongyukwon/theos/makefiles/common.mk', line 121) 673 | __mod = -include $$(foreach mod,$$(_THEOS_LOAD_MODULES),$$(THEOS_MODULE_PATH)/$$(mod)/$(1)) 674 | # makefile (from `/Users/soongyukwon/theos/makefiles/master/rules.mk', line 10) 675 | VERCMP_SECOND := 0 676 | # makefile (from `/Users/soongyukwon/theos/makefiles/common.mk', line 226) 677 | _THEOS_OBJ_DIR_EXTENSION = /$(_THEOS_CLEANED_SCHEMA_SET) 678 | # makefile (from `/Users/soongyukwon/theos/makefiles/targets/_common/darwin_tail.mk', line 11) 679 | SYSROOT := /Users/soongyukwon/theos/sdks/iPhoneOS11.4.sdk 680 | # makefile (from `/Users/soongyukwon/theos/makefiles/common.mk', line 223) 681 | THEOS_BUILD_DIR = . 682 | # makefile (from `/Users/soongyukwon/theos/makefiles/package.mk', line 98) 683 | THEOS_DEVICE_USER = root 684 | # makefile (from `/Users/soongyukwon/theos/makefiles/common.mk', line 239) 685 | THEOS_STAGING_DIR_NAME = _ 686 | # makefile (from `/Users/soongyukwon/theos/makefiles/messages.mk', line 5) 687 | _THEOS_VERBOSE := 688 | # makefile (from `/Users/soongyukwon/theos/makefiles/targets/_common/darwin_head.mk', line 71) 689 | TARGET_XCODEBUILD = $(call __invocation,xcodebuild) 690 | # makefile (from `/Users/soongyukwon/theos/makefiles/master/library.mk', line 11) 691 | LIBRARYS_WITH_SUBPROJECTS = $(strip $(foreach library,$(LIBRARY_NAME),$(patsubst %,$(library),$(call __schema_var_all,$(library)_,SUBPROJECTS)))) 692 | # environment 693 | PAGER = less 694 | # makefile (from `/Users/soongyukwon/theos/makefiles/messages.mk', line 24) 695 | ECHO_MAKE = +@ 696 | # environment 697 | LC_ALL = C 698 | # makefile (from `/Users/soongyukwon/theos/makefiles/common.mk', line 33) 699 | __exists = $(if $(wildcard $(1)),$(_THEOS_TRUE),$(_THEOS_FALSE)) 700 | # makefile (from `/Users/soongyukwon/theos/makefiles/common.mk', line 117) 701 | _THEOS_HAS_STAGING_LAYOUT := 702 | # makefile (from `/Users/soongyukwon/theos/makefiles/messages.mk', line 80) 703 | ECHO_COPYING_RESOURCE_DIRS = $(ECHO_BEGIN)$(PRINT_FORMAT_MAGENTA) "Copying resource directories into the $(_THEOS_CURRENT_TYPE) wrapper"$(ECHO_END); $(ECHO_PIPEFAIL) ( 704 | # makefile (from `/Users/soongyukwon/theos/makefiles/common.mk', line 106) 705 | __schema_defined_var_names = $(foreach tuple,$(filter-out undefined:%,$(foreach schvar,$(call __schema_all_var_names,$(1),$(2)),$(origin $(schvar)):$(schvar))),$(lastword $(subst :, ,$(tuple)))) 706 | # makefile (from `/Users/soongyukwon/theos/makefiles/common.mk', line 178) 707 | DEBUGFLAG = -ggdb 708 | # makefile (from `/Users/soongyukwon/theos/makefiles/targets/_common/iphone.mk', line 77) 709 | _TARGET_VERSION_GE_8_4 := 1 710 | # makefile (from `/Users/soongyukwon/theos/makefiles/targets/_common/darwin_head.mk', line 69) 711 | TARGET_CODESIGN_ALLOCATE = $(call __invocation,codesign_allocate) 712 | # makefile (from `/Users/soongyukwon/theos/makefiles/common.mk', line 23) 713 | _THEOS_BUILD_SESSION_FILE = $(_THEOS_LOCAL_DATA_DIR)/build_session 714 | # makefile (from `/Users/soongyukwon/theos/makefiles/package/deb.mk', line 41) 715 | _THEOS_DEB_LIBSWIFT_PACKAGE := org.swift.libswift 716 | # makefile (from `/Users/soongyukwon/theos/makefiles/common.mk', line 179) 717 | SWIFT_DEBUGFLAG = -g 718 | # makefile (from `/Users/soongyukwon/theos/makefiles/targets/_common/darwin_tail.mk', line 31) 719 | VERSIONFLAGS := -miphoneos-version-min=11.4 720 | # makefile (from `/Users/soongyukwon/theos/makefiles/common.mk', line 141) 721 | _THEOS_TARGET := iphone 722 | # makefile (from `/Users/soongyukwon/theos/makefiles/messages.mk', line 40) 723 | PRINT_FORMAT_MAGENTA = $(PRINT_FORMAT_STAGE) 5 724 | # makefile (from `/Users/soongyukwon/theos/makefiles/package.mk', line 52) 725 | VERSION.EXTRAVERSION = $(if $(PACKAGE_BUILDNAME),+$(PACKAGE_BUILDNAME)) 726 | # makefile (from `/Users/soongyukwon/theos/makefiles/package.mk', line 2) 727 | _THEOS_PACKAGE_RULES_LOADED := 1 728 | # automatic 729 | ^F = $(notdir $^) 730 | # `override' directive (from `/Users/soongyukwon/theos/makefiles/targets/_common/darwin_head.mk', line 115) 731 | _THEOS_TARGET_INCLUDE_SDK_VERSION := 11.4 732 | # makefile (from `/Users/soongyukwon/theos/makefiles/messages.mk', line 37) 733 | PRINT_FORMAT_GREEN = $(PRINT_FORMAT_STAGE) 2 734 | # makefile (from `/Users/soongyukwon/theos/makefiles/messages.mk', line 39) 735 | PRINT_FORMAT_BLUE = $(PRINT_FORMAT_STAGE) 4 736 | # makefile (from `/Users/soongyukwon/theos/makefiles/messages.mk', line 68) 737 | ECHO_COMPILING = $(ECHO_BEGIN)$(PRINT_FORMAT_GREEN) "Compiling $<"$(ECHO_END); $(ECHO_PIPEFAIL) ( 738 | # makefile (from `/Users/soongyukwon/theos/makefiles/legacy.mk', line 44) 739 | FW_PACKAGE_ARCH = $(THEOS_PACKAGE_ARCH)$(warning FW_PACKAGE_ARCH is deprecated. Please migrate to THEOS_PACKAGE_ARCH.) 740 | # makefile (from `/Users/soongyukwon/theos/makefiles/common.mk', line 108) 741 | __schema_var_name_last = $(strip $(lastword $(call __schema_defined_var_names,$(1),$(2)))) 742 | # default 743 | SUFFIXES := 744 | # makefile (from `/Users/soongyukwon/theos/makefiles/legacy.mk', line 8) 745 | FW_PROJECT_DIR = $(THEOS_PROJECT_DIR) 746 | # makefile (from `/Users/soongyukwon/theos/makefiles/legacy.mk', line 31) 747 | FW_OBJ_DIR = $(THEOS_OBJ_DIR)$(warning FW_OBJ_DIR is deprecated. Please migrate to THEOS_OBJ_DIR.) 748 | # makefile (from `/Users/soongyukwon/theos/makefiles/common.mk', line 140) 749 | __THEOS_TARGET_ARG_2 := 11.4 750 | # makefile (from `/Users/soongyukwon/theos/makefiles/master/rules.mk', line 10) 751 | VERCMP_FIRST := 3 81 752 | # makefile (from `/Users/soongyukwon/theos/makefiles/common.mk', line 126) 753 | uname_s := Darwin 754 | # makefile (from `/Users/soongyukwon/theos/makefiles/package/deb.mk', line 44) 755 | _THEOS_DEB_LIBSWIFT_PACKAGE_VERSION := 5.0 756 | 757 | # makefile (from `/Users/soongyukwon/theos/makefiles/messages.mk', line 69) 758 | ECHO_SWIFTMODULE_HEADER = $(ECHO_BEGIN)$(PRINT_FORMAT_BLUE) "Generating $(notdir $@)"$(ECHO_END); $(ECHO_PIPEFAIL) ( 759 | # makefile (from `/Users/soongyukwon/theos/makefiles/common.mk', line 191) 760 | SHOULD_STRIP := 761 | # makefile (from `/Users/soongyukwon/theos/makefiles/messages.mk', line 22) 762 | ECHO_BEGIN = @( 763 | # makefile (from `/Users/soongyukwon/theos/makefiles/targets/_common/darwin_head.mk', line 3) 764 | TARGET_LIB_EXT := .dylib 765 | # makefile (from `/Users/soongyukwon/theos/makefiles/package/deb.mk', line 2) 766 | _THEOS_PACKAGE_FORMAT_LOADED := 1 767 | # makefile (from `/Users/soongyukwon/theos/makefiles/common.mk', line 198) 768 | OPTFLAG = -O0 769 | # makefile (from `/Users/soongyukwon/theos/makefiles/legacy.mk', line 47) 770 | FW_PACKAGE_FILENAME = $(THEOS_PACKAGE_FILENAME)$(warning FW_PACKAGE_FILENAME is deprecated. Please migrate to THEOS_PACKAGE_FILENAME.) 771 | # makefile (from `/Users/soongyukwon/theos/makefiles/common.mk', line 67) 772 | THEOS_MODULE_PATH := /Users/soongyukwon/theos/mod 773 | # makefile (from `/Users/soongyukwon/theos/makefiles/targets/Darwin/iphone.mk', line 3) 774 | THEOS_TARGET_NAME := iphone 775 | # environment 776 | MAKELEVEL := 0 777 | # makefile (from `/Users/soongyukwon/theos/makefiles/targets/_common/iphone.mk', line 34) 778 | _DEPLOY_VERSION_GE_9_0 = $(call __simplify,_DEPLOY_VERSION_GE_9_0,$(call __vercmp,$(_THEOS_TARGET_OS_DEPLOYMENT_VERSION),ge,9.0)) 779 | # makefile (from `/Users/soongyukwon/theos/makefiles/common.mk', line 241) 780 | _SPACE := $(subst ,, ) 781 | # `override' directive (from `/Users/soongyukwon/theos/makefiles/common.mk', line 57) 782 | THEOS := /Users/soongyukwon/theos 783 | # makefile (from `/Users/soongyukwon/theos/makefiles/targets/_common/darwin_head.mk', line 86) 784 | _THEOS_TARGET_SDK_VERSION := 11.4 785 | # makefile (from `/Users/soongyukwon/theos/makefiles/master/rules.mk', line 1) 786 | __THEOS_RULES_MK_VERSION := 1k 787 | # makefile (from `/Users/soongyukwon/theos/makefiles/common.mk', line 219) 788 | _THEOS_INTERNAL_COLORFLAGS = -fcolor-diagnostics 789 | # makefile (from `/Users/soongyukwon/theos/makefiles/common.mk', line 85) 790 | _THEOS_SCHEMA := 791 | # makefile (from `/Users/soongyukwon/theos/makefiles/messages.mk', line 77) 792 | ECHO_SIGNING = $(ECHO_BEGIN)$(PRINT_FORMAT_BLUE) "Signing $(THEOS_CURRENT_INSTANCE)"$(ECHO_END); $(ECHO_PIPEFAIL) ( 793 | # makefile (from `/Users/soongyukwon/theos/makefiles/vercmp.mk', line 13) 794 | __cmp = $(if $(filter $(1),$(2)),eq,$(strip $(eval __CMP_NUM1:=$(subst 0,0 ,$(subst 1,1 ,$(subst 2,2 ,$(subst 3,3 ,$(subst 4,4 ,$(subst 5,5 ,$(subst 6,6 ,$(subst 7,7 ,$(subst 8,8 ,$(subst 9,9 ,$(1)))))))))))) $(eval __CMP_NUM2:=$(subst 0,0 ,$(subst 1,1 ,$(subst 2,2 ,$(subst 3,3 ,$(subst 4,4 ,$(subst 5,5 ,$(subst 6,6 ,$(subst 7,7 ,$(subst 8,8 ,$(subst 9,9 ,$(2)))))))))))) $(if $(filter-out 1,$(words $(__CMP_NUM1)))$(filter-out 1,$(words $(__CMP_NUM2))),$(strip $(call ___vercmp_expand_backward,__CMP_NUM1,$(__CMP_NUM1),$(__CMP_NUM2)) $(call ___vercmp_expand_backward,__CMP_NUM2,$(__CMP_NUM2),$(__CMP_NUM1)) $(eval __CMP_RES:=eq) $(call ___vercmp_presplit,__CMP_NUM1,__CMP_NUM2,__CMP_RES) ),$(if $(filter $(1),$(firstword $(sort $(1) $(2)))),lt,gt) ) )) 795 | # makefile (from `/Users/soongyukwon/theos/makefiles/package/deb.mk', line 37) 796 | _TARGET_SWIFT_VERSION_GE_5_0 := 1 797 | # makefile (from `/Users/soongyukwon/theos/makefiles/targets/_common/darwin_tail.mk', line 26) 798 | _THEOS_TARGET_SWIFT_TARGET := apple-ios11.4 799 | # makefile (from `/Users/soongyukwon/theos/makefiles/legacy.mk', line 45) 800 | FW_PACKAGE_VERSION = $(THEOS_PACKAGE_BASE_VERSION)$(warning FW_PACKAGE_VERSION is deprecated. Please migrate to THEOS_PACKAGE_BASE_VERSION.) 801 | # environment 802 | LANG = C 803 | # environment 804 | TERM = xterm-256color 805 | # makefile (from `/Users/soongyukwon/theos/makefiles/vercmp.mk', line 1) 806 | empty := 807 | # makefile (from `/Users/soongyukwon/theos/makefiles/platform/Darwin.mk', line 23) 808 | _THEOS_PLATFORM_DEFAULT_TARGET := iphone 809 | # makefile (from `/Users/soongyukwon/theos/makefiles/common.mk', line 209) 810 | _THEOS_INTERNAL_CFLAGS = -DTARGET_$(_THEOS_TARGET_NAME_DEFINE)=1 $(OPTFLAG) -Wall $(DEBUGFLAG) -Werror 811 | # makefile (from `/Users/soongyukwon/theos/makefiles/package.mk', line 58) 812 | VERSION.INC_BUILD_NUMBER = $(shell THEOS_PROJECT_DIR="$(THEOS_PROJECT_DIR)" "$(THEOS_BIN_PATH)/package_version.sh" -N "$(THEOS_PACKAGE_NAME)" -V "$(__BASEVER_FOR_BUILDNUM)") 813 | # environment 814 | VSCODE_PID = 2633 815 | # makefile (from `/Users/soongyukwon/theos/makefiles/targets/_common/darwin_head.mk', line 106) 816 | _LATEST_SDK = $(call __simplify,_LATEST_SDK,$(lastword $(_SORTED_SDKS))) 817 | # variable set hash-table stats: 818 | # Load=396/1024=39%, Rehash=0, Collisions=337/1950=17% 819 | 820 | # Pattern-specific Variable Values 821 | 822 | %.variables : 823 | # makefile (from `/Users/soongyukwon/theos/makefiles/master/rules.mk', line 112) 824 | # _INSTANCE := $$(basename $$(basename $$*)) 825 | 826 | %.variables : 827 | # makefile (from `/Users/soongyukwon/theos/makefiles/master/rules.mk', line 113) 828 | # _OPERATION := $$(subst .,,$$(suffix $$(basename $$*))) 829 | 830 | %.variables : 831 | # makefile (from `/Users/soongyukwon/theos/makefiles/master/rules.mk', line 114) 832 | # _TYPE := $$(subst -,_,$$(subst .,,$$(suffix $$*))) 833 | 834 | %.variables : 835 | # makefile (from `/Users/soongyukwon/theos/makefiles/master/rules.mk', line 115) 836 | # __SUBPROJECTS := $$(strip $$(call __schema_var_all,$$(_INSTANCE)_,SUBPROJECTS)) 837 | 838 | %.subprojects : 839 | # makefile (from `/Users/soongyukwon/theos/makefiles/master/rules.mk', line 144) 840 | # _INSTANCE := $$(basename $$(basename $$*)) 841 | 842 | %.subprojects : 843 | # makefile (from `/Users/soongyukwon/theos/makefiles/master/rules.mk', line 145) 844 | # _OPERATION := $$(subst .,,$$(suffix $$(basename $$*))) 845 | 846 | %.subprojects : 847 | # makefile (from `/Users/soongyukwon/theos/makefiles/master/rules.mk', line 146) 848 | # _TYPE := $$(subst -,_,$$(subst .,,$$(suffix $$*))) 849 | 850 | %.subprojects : 851 | # makefile (from `/Users/soongyukwon/theos/makefiles/master/rules.mk', line 147) 852 | # __SUBPROJECTS := $$(strip $$(call __schema_var_all,$$(_INSTANCE)_,SUBPROJECTS)) 853 | 854 | # 8 pattern-specific variable values 855 | # Directories 856 | 857 | # . (device 16777229, inode 21564215): 15 files, no impossibilities. 858 | # /Users/soongyukwon/Documents/Github/libpddokdo (device 16777229, inode 21564215): 15 files, no impossibilities. 859 | # /Users/soongyukwon/theos/lib (device 16777229, inode 3746399): 6 files, no impossibilities. 860 | # /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs (device 16777229, inode 23003926): 4 files, no impossibilities. 861 | # /Users/soongyukwon (device 16777229, inode 35016): 53 files, no impossibilities. 862 | 863 | # /Users/soongyukwon/Documents/Github/libpddokdo/.theos (device 16777229, inode 21575928): 8 files, no impossibilities so far. 864 | # /Users/soongyukwon/theos/vendor/lib (device 16777229, inode 3746508): 22 files, no impossibilities so far. 865 | # /Users/soongyukwon/theos/include (device 16777229, inode 3746397): 8 files, no impossibilities. 866 | # /Users/soongyukwon/theos/vendor/include (device 16777229, inode 3746507): 96 files, no impossibilities so far. 867 | # /Users/soongyukwon/theos/sdks (device 16777229, inode 3746499): 21 files, no impossibilities. 868 | 869 | # 248 files, no impossibilities in 10 directories. 870 | 871 | # Implicit Rules 872 | 873 | %.variables: 874 | # commands to execute (from `/Users/soongyukwon/theos/makefiles/master/rules.mk', line 117): 875 | +@ \ 876 | abs_build_dir=$(_THEOS_ABSOLUTE_BUILD_DIR); \ 877 | if [[ "$(__SUBPROJECTS)" != "" ]]; then \ 878 | $(PRINT_FORMAT_MAKING) "Making $(_OPERATION) in subprojects of $(_TYPE) $(_INSTANCE)"; \ 879 | for d in $(__SUBPROJECTS); do \ 880 | d="$${d%:*}"; \ 881 | if [[ "$${abs_build_dir}" = "." ]]; then \ 882 | lbuilddir="."; \ 883 | else \ 884 | lbuilddir="$${abs_build_dir}/$$d"; \ 885 | fi; \ 886 | if $(MAKE) -C $$d -f $(_THEOS_PROJECT_MAKEFILE_NAME) $(_THEOS_MAKEFLAGS) $(_OPERATION) \ 887 | THEOS_BUILD_DIR="$$lbuilddir" \ 888 | ; then\ 889 | :; \ 890 | else exit $$?; \ 891 | fi; \ 892 | done; \ 893 | fi; \ 894 | $(PRINT_FORMAT_MAKING) "Making $(_OPERATION) for $(_TYPE) $(_INSTANCE)"; \ 895 | $(MAKE) -f $(_THEOS_PROJECT_MAKEFILE_NAME) $(_THEOS_MAKEFLAGS) \ 896 | internal-$(_TYPE)-$(_OPERATION) \ 897 | _THEOS_CURRENT_TYPE="$(_TYPE)" \ 898 | THEOS_CURRENT_INSTANCE="$(_INSTANCE)" \ 899 | _THEOS_CURRENT_OPERATION="$(_OPERATION)" \ 900 | THEOS_BUILD_DIR="$(_THEOS_ABSOLUTE_BUILD_DIR)" 901 | 902 | 903 | %.subprojects: 904 | # commands to execute (from `/Users/soongyukwon/theos/makefiles/master/rules.mk', line 149): 905 | +@ \ 906 | abs_build_dir=$(_THEOS_ABSOLUTE_BUILD_DIR); \ 907 | if [[ "$(__SUBPROJECTS)" != "" ]]; then \ 908 | $(PRINT_FORMAT_MAKING) "Making $(_OPERATION) in subprojects of $(_TYPE) $(_INSTANCE)"; \ 909 | for d in $(__SUBPROJECTS); do \ 910 | d="$${d%:*}"; \ 911 | if [[ "$${abs_build_dir}" = "." ]]; then \ 912 | lbuilddir="."; \ 913 | else \ 914 | lbuilddir="$${abs_build_dir}/$$d"; \ 915 | fi; \ 916 | if $(MAKE) -C $$d -f $(_THEOS_PROJECT_MAKEFILE_NAME) $(_THEOS_MAKEFLAGS) $(_OPERATION) \ 917 | THEOS_BUILD_DIR="$$lbuilddir" \ 918 | ; then\ 919 | :; \ 920 | else exit $$?; \ 921 | fi; \ 922 | done; \ 923 | fi 924 | 925 | 926 | %.mm: %.l.mm 927 | # commands to execute (from `/Users/soongyukwon/theos/makefiles/rules.mk', line 17): 928 | $(THEOS_BIN_PATH)/logos.pl $(ALL_LOGOSFLAGS) $< > $@ 929 | 930 | 931 | %.mm: %.xmm 932 | # commands to execute (from `/Users/soongyukwon/theos/makefiles/rules.mk', line 20): 933 | $(THEOS_BIN_PATH)/logos.pl $(ALL_LOGOSFLAGS) $< > $@ 934 | 935 | 936 | %.mm: %.xm 937 | # commands to execute (from `/Users/soongyukwon/theos/makefiles/rules.mk', line 23): 938 | $(THEOS_BIN_PATH)/logos.pl $(ALL_LOGOSFLAGS) $< > $@ 939 | 940 | 941 | %.m: %.xm 942 | # commands to execute (from `/Users/soongyukwon/theos/makefiles/rules.mk', line 26): 943 | $(THEOS_BIN_PATH)/logos.pl $(ALL_LOGOSFLAGS) $< > $@ 944 | 945 | 946 | %.swift: %.xswift 947 | # commands to execute (from `/Users/soongyukwon/theos/makefiles/rules.mk', line 29): 948 | $(THEOS_BIN_PATH)/logos.pl $(ALL_LOGOSFLAGS) $< > $@ 949 | 950 | 951 | /Users/soongyukwon/Documents/Github/libpddokdo/.theos/obj/debug/%/.stamp: /Users/soongyukwon/Documents/Github/libpddokdo/.theos/obj/debug 952 | # commands to execute (from `/Users/soongyukwon/theos/makefiles/rules.mk', line 43): 953 | @mkdir -p $(dir $@); touch $@ 954 | 955 | 956 | /Users/soongyukwon/theos/makefiles/%.mk: 957 | # commands to execute (from `/Users/soongyukwon/theos/makefiles/rules.mk', line 47): 958 | 959 | 960 | /Users/soongyukwon/theos/makefiles/master/%.mk: 961 | # commands to execute (from `/Users/soongyukwon/theos/makefiles/rules.mk', line 48): 962 | 963 | 964 | /Users/soongyukwon/theos/makefiles/instance/%.mk: 965 | # commands to execute (from `/Users/soongyukwon/theos/makefiles/rules.mk', line 49): 966 | 967 | 968 | /Users/soongyukwon/theos/makefiles/instance/shared/%.mk: 969 | # commands to execute (from `/Users/soongyukwon/theos/makefiles/rules.mk', line 50): 970 | 971 | 972 | /Users/soongyukwon/theos/makefiles/platform/%.mk: 973 | # commands to execute (from `/Users/soongyukwon/theos/makefiles/rules.mk', line 51): 974 | 975 | 976 | /Users/soongyukwon/theos/makefiles/targets/%.mk: 977 | # commands to execute (from `/Users/soongyukwon/theos/makefiles/rules.mk', line 52): 978 | 979 | 980 | /Users/soongyukwon/theos/makefiles/targets/%/%.mk: 981 | # commands to execute (from `/Users/soongyukwon/theos/makefiles/rules.mk', line 53): 982 | 983 | 984 | # 15 implicit rules, 0 (0.0%) terminal. 985 | 986 | # Files 987 | 988 | /Users/soongyukwon/Documents/Github/libpddokdo/.theos/obj/debug: 989 | # Implicit rule search has not been done. 990 | # Modification time never checked. 991 | # File has not been updated. 992 | # commands to execute (from `/Users/soongyukwon/theos/makefiles/rules.mk', line 37): 993 | @mkdir -p $@ 994 | 995 | 996 | before-package:: packages 997 | # Phony target (prerequisite of .PHONY). 998 | # Implicit rule search has not been done. 999 | # File does not exist. 1000 | # File has not been updated. 1001 | 1002 | before-package:: /Users/soongyukwon/Documents/Github/libpddokdo/.theos/_/DEBIAN/control 1003 | # Phony target (prerequisite of .PHONY). 1004 | # Implicit rule search has not been done. 1005 | # File does not exist. 1006 | # File has not been updated. 1007 | 1008 | clean-packages:: before-clean-packages internal-clean-packages after-clean-packages 1009 | # Phony target (prerequisite of .PHONY). 1010 | # Implicit rule search has not been done. 1011 | # File does not exist. 1012 | # File has not been updated. 1013 | 1014 | after-uninstall:: internal-after-uninstall 1015 | # Implicit rule search has not been done. 1016 | # Modification time never checked. 1017 | # File has not been updated. 1018 | 1019 | after-clean-packages:: 1020 | 1021 | # Phony target (prerequisite of .PHONY). 1022 | # Implicit rule search has not been done. 1023 | # File does not exist. 1024 | # File has not been updated. 1025 | 1026 | /Users/soongyukwon/theos/makefiles/targets/_common/darwin_tail.mk: 1027 | # Implicit rule search has been done. 1028 | # Implicit/static pattern stem: `targets/_common/darwin_tail' 1029 | # Last modified 2022-03-17 22:20:30 1030 | # File has been updated. 1031 | # Successfully updated. 1032 | # variable set hash-table stats: 1033 | # Load=0/32=0%, Rehash=0, Collisions=0/0=0% 1034 | # commands to execute (from `/Users/soongyukwon/theos/makefiles/rules.mk', line 47): 1035 | 1036 | 1037 | /Users/soongyukwon/theos/makefiles/targets/Darwin/iphone.mk: 1038 | # A default, MAKEFILES, or -include/sinclude makefile. 1039 | # Implicit rule search has been done. 1040 | # Implicit/static pattern stem: `targets/Darwin/iphone' 1041 | # Last modified 2022-03-17 22:20:30 1042 | # File has been updated. 1043 | # Successfully updated. 1044 | # variable set hash-table stats: 1045 | # Load=0/32=0%, Rehash=0, Collisions=0/0=0% 1046 | # commands to execute (from `/Users/soongyukwon/theos/makefiles/rules.mk', line 47): 1047 | 1048 | 1049 | all:: 1050 | # Phony target (prerequisite of .PHONY). 1051 | # Command-line target. 1052 | # Implicit rule search has not been done. 1053 | # File does not exist. 1054 | # File has been updated. 1055 | # Successfully updated. 1056 | # variable set hash-table stats: 1057 | # Load=0/32=0%, Rehash=0, Collisions=0/3=0% 1058 | 1059 | all:: 1060 | # Phony target (prerequisite of .PHONY). 1061 | # Implicit rule search has not been done. 1062 | # Implicit/static pattern stem: `' 1063 | # File does not exist. 1064 | # File has been updated. 1065 | # Needs to be updated (-q is set). 1066 | # automatic 1067 | # @ := all 1068 | # automatic 1069 | # % := 1070 | # automatic 1071 | # * := 1072 | # automatic 1073 | # + := 1074 | # automatic 1075 | # | := 1076 | # automatic 1077 | # < := 1078 | # automatic 1079 | # ^ := 1080 | # automatic 1081 | # ? := 1082 | # variable set hash-table stats: 1083 | # Load=8/32=25%, Rehash=0, Collisions=1/11=9% 1084 | # commands to execute (from `/Users/soongyukwon/theos/makefiles/master/rules.mk', line 14): 1085 | @$(PRINT_FORMAT) "Build may be slow as Theos isn’t using all available CPU cores on this computer. Consider upgrading GNU Make: https://theos.dev/docs/parallel-building" 1086 | 1087 | 1088 | all:: /Users/soongyukwon/Documents/Github/libpddokdo/.theos/build_session before-all internal-all after-all 1089 | # Phony target (prerequisite of .PHONY). 1090 | # Implicit rule search has not been done. 1091 | # File does not exist. 1092 | # File has not been updated. 1093 | 1094 | /Users/soongyukwon/theos/makefiles/targets/iphone.mk: 1095 | # A default, MAKEFILES, or -include/sinclude makefile. 1096 | # Implicit rule search has been done. 1097 | # Implicit/static pattern stem: `targets/iphone' 1098 | # File does not exist. 1099 | # File has been updated. 1100 | # Successfully updated. 1101 | # variable set hash-table stats: 1102 | # Load=0/32=0%, Rehash=0, Collisions=0/0=0% 1103 | # commands to execute (from `/Users/soongyukwon/theos/makefiles/rules.mk', line 47): 1104 | 1105 | 1106 | do:: all package install 1107 | # Implicit rule search has not been done. 1108 | # Modification time never checked. 1109 | # File has not been updated. 1110 | 1111 | internal-after-uninstall:: 1112 | # Implicit rule search has not been done. 1113 | # Modification time never checked. 1114 | # File has not been updated. 1115 | # commands to execute (from `/Users/soongyukwon/theos/makefiles/package.mk', line 138): 1116 | @: 1117 | 1118 | 1119 | .PHONY: stage before-stage internal-stage after-stage package internal-package-check before-package internal-package after-package all before-all internal-all after-all clean before-clean internal-clean after-clean clean-packages before-clean-packages internal-clean-packages after-clean-packages update-theos 1120 | # Implicit rule search has not been done. 1121 | # Modification time never checked. 1122 | # File has not been updated. 1123 | 1124 | update-theos:: 1125 | # Phony target (prerequisite of .PHONY). 1126 | # Implicit rule search has not been done. 1127 | # File does not exist. 1128 | # File has not been updated. 1129 | # commands to execute (from `/Users/soongyukwon/theos/makefiles/master/rules.mk', line 170): 1130 | @$(PRINT_FORMAT_MAKING) "Updating Theos" 1131 | $(ECHO_NOTHING)$(THEOS_BIN_PATH)/update-theos$(ECHO_END) 1132 | 1133 | 1134 | troubleshoot:: 1135 | # Implicit rule search has not been done. 1136 | # Modification time never checked. 1137 | # File has not been updated. 1138 | # commands to execute (from `/Users/soongyukwon/theos/makefiles/master/rules.mk', line 174): 1139 | @$(PRINT_FORMAT) "Be sure to check the troubleshooting page at https://theos.dev/docs/troubleshooting first." 1140 | @$(PRINT_FORMAT) "For support with build errors, ask on Discord: https://theos.dev/discord. If you think you've found a bug in Theos, check the issue tracker at https://github.com/theos/theos/issues." 1141 | @echo 1142 | $(ERROR_BEGIN) "You don't have the GitHub CLI installed. For more information, refer to https://cli.github.com." $(ERROR_END) 1143 | 1144 | 1145 | /Users/soongyukwon/theos/makefiles/common.mk: 1146 | # Implicit rule search has been done. 1147 | # Implicit/static pattern stem: `common' 1148 | # Last modified 2022-03-17 22:20:30 1149 | # File has been updated. 1150 | # Successfully updated. 1151 | # variable set hash-table stats: 1152 | # Load=0/32=0%, Rehash=0, Collisions=0/0=0% 1153 | # commands to execute (from `/Users/soongyukwon/theos/makefiles/rules.mk', line 47): 1154 | 1155 | 1156 | internal-all:: 1157 | # Phony target (prerequisite of .PHONY). 1158 | # Implicit rule search has not been done. 1159 | 1160 | # File does not exist. 1161 | # File has not been updated. 1162 | 1163 | internal-all:: libpddokdo.all.library.variables 1164 | # Phony target (prerequisite of .PHONY). 1165 | # Implicit rule search has not been done. 1166 | # File does not exist. 1167 | # File has not been updated. 1168 | # commands to execute (from `/Users/soongyukwon/theos/makefiles/master/library.mk', line 7): 1169 | 1170 | 1171 | /Users/soongyukwon/theos/makefiles/target.mk: 1172 | # Implicit rule search has been done. 1173 | # Implicit/static pattern stem: `target' 1174 | # Last modified 2022-03-17 22:20:30 1175 | # File has been updated. 1176 | # Successfully updated. 1177 | # variable set hash-table stats: 1178 | # Load=0/32=0%, Rehash=0, Collisions=0/0=0% 1179 | # commands to execute (from `/Users/soongyukwon/theos/makefiles/rules.mk', line 47): 1180 | 1181 | 1182 | after-install:: internal-after-install 1183 | # Implicit rule search has not been done. 1184 | # Modification time never checked. 1185 | # File has not been updated. 1186 | 1187 | after-install:: 1188 | # Implicit rule search has not been done. 1189 | # Modification time never checked. 1190 | # File has not been updated. 1191 | # commands to execute (from `Makefile', line 13): 1192 | install.exec "killall -9 SpringBoard" 1193 | 1194 | 1195 | /Users/soongyukwon/theos/makefiles/library.mk: 1196 | # Implicit rule search has been done. 1197 | # Implicit/static pattern stem: `library' 1198 | # Last modified 2022-03-17 22:20:30 1199 | # File has been updated. 1200 | # Successfully updated. 1201 | # variable set hash-table stats: 1202 | # Load=0/32=0%, Rehash=0, Collisions=0/0=0% 1203 | # commands to execute (from `/Users/soongyukwon/theos/makefiles/rules.mk', line 47): 1204 | 1205 | 1206 | .PRECIOUS: %.variables %.subprojects 1207 | # Implicit rule search has not been done. 1208 | # Modification time never checked. 1209 | # File has not been updated. 1210 | 1211 | before-stage:: 1212 | # Phony target (prerequisite of .PHONY). 1213 | # Implicit rule search has not been done. 1214 | # File does not exist. 1215 | # File has not been updated. 1216 | # commands to execute (from `/Users/soongyukwon/theos/makefiles/stage.mk', line 17): 1217 | $(ECHO_NOTHING)rm -rf "$(THEOS_STAGING_DIR)"$(ECHO_END) 1218 | $(ECHO_NOTHING)$(FAKEROOT) -c$(ECHO_END) 1219 | $(ECHO_NOTHING)mkdir -p "$(THEOS_STAGING_DIR)"$(ECHO_END) 1220 | 1221 | 1222 | internal-after-install:: 1223 | # Implicit rule search has not been done. 1224 | # Modification time never checked. 1225 | # File has not been updated. 1226 | # commands to execute (from `/Users/soongyukwon/theos/makefiles/package.mk', line 122): 1227 | @: 1228 | 1229 | 1230 | /Users/soongyukwon/theos/makefiles/messages.mk: 1231 | # Implicit rule search has been done. 1232 | # Implicit/static pattern stem: `messages' 1233 | # Last modified 2022-03-17 22:20:30 1234 | # File has been updated. 1235 | # Successfully updated. 1236 | # variable set hash-table stats: 1237 | # Load=0/32=0%, Rehash=0, Collisions=0/0=0% 1238 | # commands to execute (from `/Users/soongyukwon/theos/makefiles/rules.mk', line 47): 1239 | 1240 | 1241 | /Users/soongyukwon/theos/makefiles/platform/Darwin.mk: 1242 | # A default, MAKEFILES, or -include/sinclude makefile. 1243 | # Implicit rule search has been done. 1244 | # Implicit/static pattern stem: `platform/Darwin' 1245 | # Last modified 2022-03-17 22:20:30 1246 | # File has been updated. 1247 | # Successfully updated. 1248 | # variable set hash-table stats: 1249 | # Load=0/32=0%, Rehash=0, Collisions=0/0=0% 1250 | # commands to execute (from `/Users/soongyukwon/theos/makefiles/rules.mk', line 47): 1251 | 1252 | 1253 | /Users/soongyukwon/Documents/Github/libpddokdo/.theos/build_session: 1254 | # Implicit rule search has not been done. 1255 | # Modification time never checked. 1256 | # File has not been updated. 1257 | # commands to execute (from `/Users/soongyukwon/theos/makefiles/master/rules.mk', line 104): 1258 | @mkdir -p $(_THEOS_LOCAL_DATA_DIR) 1259 | 1260 | 1261 | /Users/soongyukwon/theos/makefiles/legacy.mk: 1262 | # Implicit rule search has been done. 1263 | # Implicit/static pattern stem: `legacy' 1264 | # Last modified 2022-03-17 22:20:30 1265 | # File has been updated. 1266 | # Successfully updated. 1267 | # variable set hash-table stats: 1268 | # Load=0/32=0%, Rehash=0, Collisions=0/0=0% 1269 | # commands to execute (from `/Users/soongyukwon/theos/makefiles/rules.mk', line 47): 1270 | 1271 | 1272 | # Not a target: 1273 | .SUFFIXES: 1274 | # Implicit rule search has not been done. 1275 | # Modification time never checked. 1276 | # File has not been updated. 1277 | 1278 | uninstall:: before-uninstall internal-uninstall after-uninstall 1279 | # Implicit rule search has not been done. 1280 | # Modification time never checked. 1281 | # File has not been updated. 1282 | 1283 | Makefile: 1284 | # Implicit rule search has not been done. 1285 | # Last modified 2022-06-01 00:32:41 1286 | # File has been updated. 1287 | # Successfully updated. 1288 | # commands to execute (from `/Users/soongyukwon/theos/makefiles/rules.mk', line 45): 1289 | 1290 | 1291 | # Not a target: 1292 | libpddokdo.all.library.variables: 1293 | # Implicit rule search has not been done. 1294 | # Modification time never checked. 1295 | # File has not been updated. 1296 | 1297 | .NOTPARALLEL: 1298 | # Implicit rule search has not been done. 1299 | # Modification time never checked. 1300 | # File has not been updated. 1301 | 1302 | # Not a target: 1303 | %.variables: 1304 | # Precious file (prerequisite of .PRECIOUS). 1305 | # Implicit rule search has not been done. 1306 | # Modification time never checked. 1307 | # File has not been updated. 1308 | 1309 | after-package:: 1310 | # Phony target (prerequisite of .PHONY). 1311 | # Implicit rule search has not been done. 1312 | # File does not exist. 1313 | # File has not been updated. 1314 | # makefile (from `/Users/soongyukwon/theos/makefiles/package/deb.mk', line 62) 1315 | # __THEOS_LAST_PACKAGE_FILENAME = $(_THEOS_DEB_PACKAGE_FILENAME) 1316 | # variable set hash-table stats: 1317 | # Load=1/32=3%, Rehash=0, Collisions=0/1=0% 1318 | # commands to execute (from `/Users/soongyukwon/theos/makefiles/package.mk', line 18): 1319 | @echo "$(__THEOS_LAST_PACKAGE_FILENAME)" > "$(_THEOS_LOCAL_DATA_DIR)/last_package" 1320 | 1321 | 1322 | /Users/soongyukwon/theos/makefiles/package.mk: 1323 | # Implicit rule search has been done. 1324 | # Implicit/static pattern stem: `package' 1325 | # Last modified 2022-03-17 22:20:30 1326 | # File has been updated. 1327 | # Successfully updated. 1328 | # variable set hash-table stats: 1329 | # Load=0/32=0%, Rehash=0, Collisions=0/0=0% 1330 | # commands to execute (from `/Users/soongyukwon/theos/makefiles/rules.mk', line 47): 1331 | 1332 | 1333 | 1334 | internal-clean-packages:: 1335 | # Phony target (prerequisite of .PHONY). 1336 | # Implicit rule search has not been done. 1337 | # File does not exist. 1338 | # File has not been updated. 1339 | # commands to execute (from `/Users/soongyukwon/theos/makefiles/master/rules.mk', line 98): 1340 | $(ECHO_NOTHING)rm -rf $(THEOS_PACKAGE_DIR)/$(THEOS_PACKAGE_NAME)_*-*_$(THEOS_PACKAGE_ARCH).deb$(ECHO_END) 1341 | $(ECHO_NOTHING)rm -rf $(THEOS_PACKAGE_DIR)/$(THEOS_PACKAGE_NAME)-*-*.$(THEOS_PACKAGE_ARCH).rpm$(ECHO_END) 1342 | 1343 | 1344 | before-clean:: 1345 | # Phony target (prerequisite of .PHONY). 1346 | # Implicit rule search has not been done. 1347 | # File does not exist. 1348 | # File has not been updated. 1349 | 1350 | packages: 1351 | # Implicit rule search has not been done. 1352 | # Modification time never checked. 1353 | # File has not been updated. 1354 | # commands to execute (from `/Users/soongyukwon/theos/makefiles/rules.mk', line 57): 1355 | @cd $(THEOS_BUILD_DIR); mkdir -p $(THEOS_PACKAGE_DIR_NAME) 1356 | 1357 | 1358 | internal-install:: 1359 | # Implicit rule search has not been done. 1360 | # Modification time never checked. 1361 | # File has not been updated. 1362 | # commands to execute (from `/Users/soongyukwon/theos/makefiles/package.mk', line 94): 1363 | @$(PRINT_FORMAT_ERROR) "$(MAKE) install requires that you set THEOS_DEVICE_IP in your environment." >&2 1364 | @$(PRINT_FORMAT) "It is also recommended that you have public-key authentication set up for root over SSH, or you will be entering your password a lot." >&2 1365 | @exit 1 1366 | 1367 | 1368 | internal-install:: 1369 | # Implicit rule search has not been done. 1370 | # Modification time never checked. 1371 | # File has not been updated. 1372 | # commands to execute (from `/Users/soongyukwon/theos/makefiles/package.mk', line 118): 1373 | @: 1374 | 1375 | 1376 | internal-install:: internal-install-check 1377 | # Implicit rule search has not been done. 1378 | # Modification time never checked. 1379 | # File has not been updated. 1380 | # commands to execute (from `/Users/soongyukwon/theos/makefiles/install/deb_remote.mk', line 2): 1381 | $(ECHO_INSTALLING)install.exec "cat > /tmp/_theos_install.deb; $(_THEOS_SUDO_COMMAND) dpkg -i /tmp/_theos_install.deb && rm /tmp/_theos_install.deb" < "$(_THEOS_PACKAGE_LAST_FILENAME)"$(ECHO_END) 1382 | 1383 | 1384 | stage:: all before-stage internal-stage after-stage 1385 | # Phony target (prerequisite of .PHONY). 1386 | # Implicit rule search has not been done. 1387 | # File does not exist. 1388 | # File has not been updated. 1389 | 1390 | /Users/soongyukwon/theos/makefiles/master/rules.mk: 1391 | # Implicit rule search has been done. 1392 | # Implicit/static pattern stem: `master/rules' 1393 | # Last modified 2022-03-17 22:20:30 1394 | # File has been updated. 1395 | # Successfully updated. 1396 | # variable set hash-table stats: 1397 | # Load=0/32=0%, Rehash=0, Collisions=0/0=0% 1398 | # commands to execute (from `/Users/soongyukwon/theos/makefiles/rules.mk', line 47): 1399 | 1400 | 1401 | /Users/soongyukwon/Documents/Github/libpddokdo/.theos/_/DEBIAN/control: /Users/soongyukwon/Documents/Github/libpddokdo/.theos/_/DEBIAN 1402 | # Implicit rule search has not been done. 1403 | # Modification time never checked. 1404 | # File has not been updated. 1405 | # commands to execute (from `/Users/soongyukwon/theos/makefiles/package/deb.mk', line 50): 1406 | $(ECHO_NOTHING)sed -e 's/\$${LIBSWIFT}/$(_THEOS_DEB_LIBSWIFT_DEPENDS)/g; s/\$${LIBSWIFT_VERSION}/$(_THEOS_DEB_LIBSWIFT_PACKAGE_VERSION)/g; /^[Vv]ersion:/d; /^$$/d; $$a\' "$(_THEOS_DEB_PACKAGE_CONTROL_PATH)" > "$@"$(ECHO_END) 1407 | $(ECHO_NOTHING)echo "Version: $(_THEOS_INTERNAL_PACKAGE_VERSION)" >> "$@"$(ECHO_END) 1408 | $(ECHO_NOTHING)echo "Installed-Size: $(shell du $(_THEOS_PLATFORM_DU_EXCLUDE) DEBIAN -ks "$(THEOS_STAGING_DIR)" | cut -f 1)" >> "$@"$(ECHO_END) 1409 | 1410 | 1411 | after-stage:: 1412 | # Phony target (prerequisite of .PHONY). 1413 | # Implicit rule search has not been done. 1414 | # File does not exist. 1415 | # File has not been updated. 1416 | # commands to execute (from `/Users/soongyukwon/theos/makefiles/stage.mk', line 29): 1417 | @: 1418 | 1419 | 1420 | /Users/soongyukwon/theos/makefiles/stage.mk: 1421 | # Implicit rule search has been done. 1422 | # Implicit/static pattern stem: `stage' 1423 | # Last modified 2022-03-17 22:20:30 1424 | # File has been updated. 1425 | # Successfully updated. 1426 | # variable set hash-table stats: 1427 | # Load=0/32=0%, Rehash=0, Collisions=0/0=0% 1428 | # commands to execute (from `/Users/soongyukwon/theos/makefiles/rules.mk', line 47): 1429 | 1430 | 1431 | /Users/soongyukwon/Documents/Github/libpddokdo/.theos/obj/debug/.stamp: /Users/soongyukwon/Documents/Github/libpddokdo/.theos/obj/debug 1432 | # Implicit rule search has not been done. 1433 | # Modification time never checked. 1434 | # File has not been updated. 1435 | # commands to execute (from `/Users/soongyukwon/theos/makefiles/rules.mk', line 40): 1436 | @mkdir -p $(dir $@); touch $@ 1437 | 1438 | 1439 | before-all:: 1440 | # Phony target (prerequisite of .PHONY). 1441 | # Implicit rule search has not been done. 1442 | # File does not exist. 1443 | # File has not been updated. 1444 | 1445 | internal-uninstall:: 1446 | # Implicit rule search has not been done. 1447 | # Modification time never checked. 1448 | # File has not been updated. 1449 | # commands to execute (from `/Users/soongyukwon/theos/makefiles/package.mk', line 134): 1450 | @: 1451 | 1452 | 1453 | internal-uninstall:: 1454 | # Implicit rule search has not been done. 1455 | # Modification time never checked. 1456 | # File has not been updated. 1457 | # commands to execute (from `/Users/soongyukwon/theos/makefiles/install/deb_remote.mk', line 5): 1458 | $(ECHO_NOTHING)install.exec "$(_THEOS_SUDO_COMMAND) dpkg -r \"$(THEOS_PACKAGE_NAME)\""$(ECHO_END) 1459 | 1460 | 1461 | /Users/soongyukwon/theos/makefiles/targets/_common/darwin_head.mk: 1462 | # Implicit rule search has been done. 1463 | # Implicit/static pattern stem: `targets/_common/darwin_head' 1464 | # Last modified 2022-03-17 22:20:30 1465 | # File has been updated. 1466 | # Successfully updated. 1467 | # variable set hash-table stats: 1468 | # Load=0/32=0%, Rehash=0, Collisions=0/0=0% 1469 | # commands to execute (from `/Users/soongyukwon/theos/makefiles/rules.mk', line 47): 1470 | 1471 | 1472 | internal-install-check:: 1473 | # Implicit rule search has not been done. 1474 | # Modification time never checked. 1475 | # File has not been updated. 1476 | # commands to execute (from `/Users/soongyukwon/theos/makefiles/package.mk', line 79): 1477 | @if [[ -z "$(_THEOS_PACKAGE_LAST_FILENAME)" ]]; then \ 1478 | $(PRINT_FORMAT_ERROR) "$(MAKE) install and show require that you build a package before you try to install it." >&2; exit 1; \ 1479 | fi 1480 | @if [[ ! -f "$(_THEOS_PACKAGE_LAST_FILENAME)" ]]; then \ 1481 | $(PRINT_FORMAT_ERROR) "Could not find “$(_THEOS_PACKAGE_LAST_FILENAME)” to install. Aborting." >&2; exit 1; \ 1482 | fi 1483 | 1484 | 1485 | # Not a target: 1486 | .DEFAULT: 1487 | # Implicit rule search has not been done. 1488 | # Modification time never checked. 1489 | # File has not been updated. 1490 | 1491 | libpddokdo: 1492 | # Implicit rule search has not been done. 1493 | # Modification time never checked. 1494 | # File has not been updated. 1495 | # commands to execute (from `/Users/soongyukwon/theos/makefiles/master/library.mk', line 17): 1496 | $(ECHO_MAKE)$(MAKE) -f $(_THEOS_PROJECT_MAKEFILE_NAME) $(_THEOS_MAKEFLAGS) $@.all.library.variables 1497 | 1498 | 1499 | /Users/soongyukwon/theos/makefiles/package/deb.mk: 1500 | # A default, MAKEFILES, or -include/sinclude makefile. 1501 | # Implicit rule search has been done. 1502 | # Implicit/static pattern stem: `package/deb' 1503 | # Last modified 2022-03-17 22:20:30 1504 | # File has been updated. 1505 | # Successfully updated. 1506 | # variable set hash-table stats: 1507 | # Load=0/32=0%, Rehash=0, Collisions=0/0=0% 1508 | # commands to execute (from `/Users/soongyukwon/theos/makefiles/rules.mk', line 47): 1509 | 1510 | 1511 | # Not a target: 1512 | %.subprojects: 1513 | # Precious file (prerequisite of .PRECIOUS). 1514 | # Implicit rule search has not been done. 1515 | # Modification time never checked. 1516 | # File has not been updated. 1517 | 1518 | internal-package:: 1519 | # Phony target (prerequisite of .PHONY). 1520 | # Implicit rule search has not been done. 1521 | 1522 | # File does not exist. 1523 | # File has not been updated. 1524 | 1525 | internal-package:: 1526 | # Phony target (prerequisite of .PHONY). 1527 | # Implicit rule search has not been done. 1528 | # File does not exist. 1529 | # File has not been updated. 1530 | # commands to execute (from `/Users/soongyukwon/theos/makefiles/package/deb.mk', line 59): 1531 | $(ECHO_NOTHING)COPYFILE_DISABLE=1 $(FAKEROOT) -r $(_THEOS_PLATFORM_DPKG_DEB) -Z$(_THEOS_PLATFORM_DPKG_DEB_COMPRESSION) -z$(THEOS_PLATFORM_DEB_COMPRESSION_LEVEL) -b "$(THEOS_STAGING_DIR)" "$(_THEOS_DEB_PACKAGE_FILENAME)"$(ECHO_END) 1532 | 1533 | 1534 | package:: internal-package-check stage before-package internal-package after-package 1535 | # Phony target (prerequisite of .PHONY). 1536 | # Implicit rule search has not been done. 1537 | # File does not exist. 1538 | # File has not been updated. 1539 | 1540 | clean:: before-clean internal-clean after-clean 1541 | # Phony target (prerequisite of .PHONY). 1542 | # Implicit rule search has not been done. 1543 | # File does not exist. 1544 | # File has not been updated. 1545 | 1546 | /Users/soongyukwon/theos/makefiles/rules.mk: 1547 | # Implicit rule search has been done. 1548 | # Implicit/static pattern stem: `rules' 1549 | # Last modified 2022-03-17 22:20:30 1550 | # File has been updated. 1551 | # Successfully updated. 1552 | # variable set hash-table stats: 1553 | # Load=0/32=0%, Rehash=0, Collisions=0/0=0% 1554 | # commands to execute (from `/Users/soongyukwon/theos/makefiles/rules.mk', line 47): 1555 | 1556 | 1557 | /Users/soongyukwon/theos/makefiles/install/deb_remote.mk: 1558 | # A default, MAKEFILES, or -include/sinclude makefile. 1559 | # Implicit rule search has been done. 1560 | # Implicit/static pattern stem: `install/deb_remote' 1561 | # Last modified 2022-03-17 22:20:30 1562 | # File has been updated. 1563 | # Successfully updated. 1564 | # variable set hash-table stats: 1565 | # Load=0/32=0%, Rehash=0, Collisions=0/0=0% 1566 | # commands to execute (from `/Users/soongyukwon/theos/makefiles/rules.mk', line 47): 1567 | 1568 | 1569 | after-clean:: 1570 | # Phony target (prerequisite of .PHONY). 1571 | # Implicit rule search has not been done. 1572 | # File does not exist. 1573 | # File has not been updated. 1574 | 1575 | # Not a target: 1576 | libpddokdo.stage.library.variables: 1577 | # Implicit rule search has not been done. 1578 | # Modification time never checked. 1579 | # File has not been updated. 1580 | 1581 | show:: internal-install-check 1582 | # Implicit rule search has not been done. 1583 | # Modification time never checked. 1584 | # File has not been updated. 1585 | # commands to execute (from `/Users/soongyukwon/theos/makefiles/package.mk', line 155): 1586 | $(ECHO_NOTHING)$(_THEOS_PLATFORM_SHOW_IN_FILE_MANAGER) "$(shell cat "$(_THEOS_LOCAL_DATA_DIR)/last_package")"$(ECHO_END) 1587 | 1588 | 1589 | before-uninstall:: 1590 | # Implicit rule search has not been done. 1591 | # Modification time never checked. 1592 | # File has not been updated. 1593 | 1594 | before-clean-packages:: 1595 | # Phony target (prerequisite of .PHONY). 1596 | # Implicit rule search has not been done. 1597 | # File does not exist. 1598 | # File has not been updated. 1599 | 1600 | internal-stage:: 1601 | # Phony target (prerequisite of .PHONY). 1602 | # Implicit rule search has not been done. 1603 | # File does not exist. 1604 | # File has not been updated. 1605 | # commands to execute (from `/Users/soongyukwon/theos/makefiles/stage.mk', line 26): 1606 | $(ECHO_NOTHING)[ -d $(THEOS_LAYOUT_DIR_NAME) ] && rsync -a "$(THEOS_LAYOUT_DIR_NAME)/" "$(THEOS_STAGING_DIR)" --exclude "DEBIAN" $(_THEOS_RSYNC_EXCLUDE_COMMANDLINE) || true$(ECHO_END) 1607 | 1608 | 1609 | internal-stage:: libpddokdo.stage.library.variables 1610 | # Phony target (prerequisite of .PHONY). 1611 | # Implicit rule search has not been done. 1612 | # File does not exist. 1613 | # File has not been updated. 1614 | # commands to execute (from `/Users/soongyukwon/theos/makefiles/master/library.mk', line 9): 1615 | 1616 | 1617 | internal-package-check:: 1618 | # Phony target (prerequisite of .PHONY). 1619 | # Implicit rule search has not been done. 1620 | # File does not exist. 1621 | # File has not been updated. 1622 | # commands to execute (from `/Users/soongyukwon/theos/makefiles/package.mk', line 14): 1623 | @: 1624 | 1625 | 1626 | /Users/soongyukwon/theos/makefiles/vercmp.mk: 1627 | # Implicit rule search has been done. 1628 | # Implicit/static pattern stem: `vercmp' 1629 | # Last modified 2022-03-17 22:20:30 1630 | # File has been updated. 1631 | # Successfully updated. 1632 | # variable set hash-table stats: 1633 | # Load=0/32=0%, Rehash=0, Collisions=0/0=0% 1634 | # commands to execute (from `/Users/soongyukwon/theos/makefiles/rules.mk', line 47): 1635 | 1636 | 1637 | /Users/soongyukwon/theos/makefiles/targets/_common/iphone.mk: 1638 | # Implicit rule search has been done. 1639 | # Implicit/static pattern stem: `targets/_common/iphone' 1640 | # Last modified 2022-03-17 22:20:30 1641 | # File has been updated. 1642 | # Successfully updated. 1643 | # variable set hash-table stats: 1644 | # Load=0/32=0%, Rehash=0, Collisions=0/0=0% 1645 | # commands to execute (from `/Users/soongyukwon/theos/makefiles/rules.mk', line 47): 1646 | 1647 | 1648 | before-install:: 1649 | # Implicit rule search has not been done. 1650 | # Modification time never checked. 1651 | # File has not been updated. 1652 | # commands to execute (from `/Users/soongyukwon/theos/makefiles/package.mk', line 112): 1653 | @: 1654 | 1655 | 1656 | after-all:: 1657 | # Phony target (prerequisite of .PHONY). 1658 | # Implicit rule search has not been done. 1659 | # File does not exist. 1660 | # File has not been updated. 1661 | 1662 | /Users/soongyukwon/Documents/Github/libpddokdo/.theos/_/DEBIAN: 1663 | # Implicit rule search has not been done. 1664 | # Modification time never checked. 1665 | # File has not been updated. 1666 | # commands to execute (from `/Users/soongyukwon/theos/makefiles/package/deb.mk', line 30): 1667 | $(ECHO_NOTHING)mkdir -p "$(THEOS_STAGING_DIR)/DEBIAN"$(ECHO_END) 1668 | 1669 | 1670 | /Users/soongyukwon/theos/makefiles/master/library.mk: 1671 | # Implicit rule search has been done. 1672 | # Implicit/static pattern stem: `master/library' 1673 | # Last modified 2022-03-17 22:20:30 1674 | # File has been updated. 1675 | # Successfully updated. 1676 | # variable set hash-table stats: 1677 | # Load=0/32=0%, Rehash=0, Collisions=0/0=0% 1678 | # commands to execute (from `/Users/soongyukwon/theos/makefiles/rules.mk', line 47): 1679 | 1680 | 1681 | internal-clean:: 1682 | # Phony target (prerequisite of .PHONY). 1683 | # Implicit rule search has not been done. 1684 | # File does not exist. 1685 | # File has not been updated. 1686 | # commands to execute (from `/Users/soongyukwon/theos/makefiles/master/rules.mk', line 70): 1687 | $(ECHO_CLEANING)rm -rf "$(subst $(_THEOS_OBJ_DIR_EXTENSION),,$(THEOS_OBJ_DIR))"$(ECHO_END) 1688 | $(ECHO_NOTHING)rm "$(_THEOS_BUILD_SESSION_FILE)"$(ECHO_END) 1689 | $(ECHO_NOTHING)touch "$(_THEOS_BUILD_SESSION_FILE)"$(ECHO_END) 1690 | 1691 | $(ECHO_NOTHING)rm -rf "$(THEOS_STAGING_DIR)"$(ECHO_END) 1692 | 1693 | 1694 | install:: before-install internal-install after-install 1695 | # Implicit rule search has not been done. 1696 | # Modification time never checked. 1697 | # File has not been updated. 1698 | 1699 | # files hash-table stats: 1700 | # Load=72/1024=7%, Rehash=0, Collisions=15/248=6% 1701 | # VPATH Search Paths 1702 | 1703 | # No `vpath' search paths. 1704 | 1705 | # No general (`VPATH' variable) search path. 1706 | 1707 | # # of strings in strcache: 20 1708 | # # of strcache buffers: 1 1709 | # strcache size: total = 4096 / max = 4096 / min = 4096 / avg = 4096 1710 | # strcache free: total = 3109 / max = 3109 / min = 3109 / avg = 3109 1711 | 1712 | # Finished Make data base on Wed Jun 1 23:09:32 2022 1713 | 1714 | 1715 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2020 Soongyu Kwon 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- 1 | ARCHS = arm64 arm64e 2 | TARGET = iphone:clang:latest:11.4 3 | 4 | include $(THEOS)/makefiles/common.mk 5 | 6 | LIBRARY_NAME = libpddokdo 7 | libpddokdo_FILES = libpddokdo.m 8 | libpddokdo_CFLAGS = -fobjc-arc 9 | 10 | include $(THEOS_MAKE_PATH)/library.mk 11 | 12 | after-install:: 13 | install.exec "killall -9 SpringBoard" -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | ## libpddokdo (libPDDokdo) 2 | This is a library to get weather which provides by iOS Weather.app easily for jailbroken devices. 3 | **This library is only for 64-bit deivces. and will be available to download on Packix.** 4 | *PRs are appreciated!* 5 | 6 | ## What is Dokdo? 7 | Dokdo is a beautiful island in the east sea of Republic of Korea(South Korea). 8 | For more information, visit [https://dokdo.mofa.go.kr/eng/] 9 | 10 | ## Methods 11 | ```objc 12 | @interface PDDokdo : NSObject 13 | + (instancetype)sharedInstance; 14 | @property (nonatomic, copy, readonly) NSString *currentTemperature; 15 | @property (nonatomic, copy, readonly) NSString *currentConditions; 16 | @property (nonatomic, copy, readonly) NSString *currentLocation; 17 | @property (nonatomic, strong, readonly) UIImage *currentConditionsImage; 18 | @property(nonatomic, strong, readonly) NSDate *sunrise; 19 | @property(nonatomic, strong, readonly) NSDate *sunset; 20 | @property (nonatomic, strong, readonly) NSDictionary *weatherData; 21 | -(void)refreshWeatherData; 22 | -(NSString *)highestTemperatureIn:(int)type; 23 | -(NSString *)lowestTemperatureIn:(int)type; 24 | @end 25 | ``` 26 | 27 | ## What does it provide? 28 | - Current temperature (ex. 14°) 29 | - Current Conditions (ex. Mostly Cloudy) 30 | - Current Location (ex. Gwanak-gu) 31 | - Current Conditions In Image 32 | - Today's sunrise time 33 | - Today's sunset time 34 | - Today's high temperature (ex. 24°) 35 | = Today's low temperature (ex. 10°) 36 | 37 | ## How can I use it on my project? 38 | Here is step by step guide how to use it on your project: 39 | 1. Clone or download this repository on your computer. 40 | 2. run `make clean stage`. This will install libpddokdo on your computer. 41 | 3. run `make do THEOS_DEVICE_IP=(your device ip)`. This will install libpddokdo on your iOS device. 42 | 4. Now, go to your project and open Makefile and add pddokdo, `$(TWEAK_NAME)_LIBRARIES += pddokdo` 43 | 5. Open control and add it as a dependency. `Depends: com.peterdev.libpddokdo` 44 | 6. Open Tweak.x(m) or wherever you want to use this library and add `#import ` at the top of the source code to import libpddokdo. 45 | 7. Done. Follow below to learn how to get those values from libpddokdo. 46 | 47 | ## How to update libPDDokdo. 48 | 1. Clone or download this repository on your computer. 49 | 2. run `make clean stage`. This will install libpodokdo on your computer. 50 | 3. run `make do THEOS_DEVICE_IP=(your device ip)`. This will install libpddokdo on your iOS device. 51 | 4. Done. Check if documentation of libPDDokdo has been changed, and update your tweak. 52 | 53 | ## To get multiple values at once. 54 | If you are going to get multiple values at once, **USE this method instead of methods below.** 55 | As you can see the property above, `@property (nonatomic, strong, readonly) NSDictionary *weatherData;` is a NSDictionary. 56 | And you need to refresh weather data. 57 | ```objc 58 | //Example code 59 | [[PDDokdo sharedInstance] refreshWeatherData]; 60 | NSDictionary *weatherData = [[PDDokdo sharedInstance] weatherData]; 61 | 62 | NSString *temperature = [weatherData objectForKey:@"temperature"]; 63 | NSString *condition = [weatherData objectForKey:@"conditions"]; 64 | NSString *location = [weatherData objectForKey:@"location"]; 65 | UIImage *conditionsImage = [weatherData objectForKey:@"conditionsImage"]; 66 | NSDate *sunrise = [weatherData objectForKey:@"sunrise"]; 67 | NSDate *sunset = [weatherData objectForKey:@"sunset"]; 68 | ``` 69 | 70 | ## How to get current temperature. 71 | As you can see the property above, `@property (nonatomic, copy, readonly) NSString *currentTemperature;` is a NSString. 72 | And you need to refresh weather data. 73 | ```objc 74 | //Example code 75 | [[PDDokdo sharedInstance] refreshWeatherData]; 76 | NSString *temperature = [[PDDokdo sharedInstance] currentTemperature]; 77 | ``` 78 | 79 | ## How to get current conditions. 80 | As you can see the property above, `@property (nonatomic, copy, readonly) NSString *currentConditions;` is a NSString. 81 | And you need to refresh weather data. 82 | ```objc 83 | //Example code 84 | [[PDDokdo sharedInstance] refreshWeatherData]; 85 | NSString *conditions = [[PDDokdo sharedInstance] currentConditions]; 86 | ``` 87 | 88 | ## How to get current location. 89 | As you can see the property above, `@property (nonatomic, copy, readonly) NSString *currentLocation;` is a NSString. 90 | And you need to refresh weather data. 91 | ```objc 92 | //Example code 93 | [[PDDokdo sharedInstance] refreshWeatherData]; 94 | NSString *location = [[PDDokdo sharedInstance] currentLocation]; 95 | ``` 96 | 97 | ## How to get current conditions image. 98 | As you can see the property above, `@property (nonatomic, strong, readonly) UIImage *currentConditionsImage;` is an UIImage. 99 | And you need to refresh weather data. 100 | ```objc 101 | //Example code 102 | [[PDDokdo sharedInstance] refreshWeatherData]; 103 | UIImage *conditionsImage = [[PDDokdo sharedInstance] currentConditionsImage]; 104 | ``` 105 | 106 | ## How to get today's sunrise time. 107 | As you can see the property above, `@property(nonatomic, strong, readonly) NSDate *sunrise;` is a NSDate. 108 | And you need to refresh weather data. 109 | ```objc 110 | //Example code 111 | [[PDDokdo sharedInstance] refreshWeatherData]; 112 | NSDate *sunrise = [[PDDokdo sharedInstance] sunrise]; 113 | ``` 114 | 115 | ## How to get today's sunset time. 116 | As you can see the property above, `@property(nonatomic, strong, readonly) NSDate *sunset;` is a NSDate. 117 | And you need to refresh weather data. 118 | ```objc 119 | //Example code 120 | [[PDDokdo sharedInstance] refreshWeatherData]; 121 | NSDate *sunset = [[PDDokdo sharedInstance] sunset]; 122 | ``` 123 | 124 | ## How to get today's high temperature. 125 | As you can see the method above, `-(NSString *)highestTemperatureIn:(int)type;` returns a NSString. 126 | And you need to refresh weather data. 127 | 128 | **types** 129 | - 0: celsius 130 | - 1: fahrenheit 131 | - 2: kelvin 132 | 133 | ```objc 134 | //Example code 135 | [[PDDokdo sharedInstance] refreshWeatherData]; 136 | NSString *highTemperature = [[PDDokdo sharedInstance] highestTemperatureIn:0]; 137 | ``` 138 | 139 | ## How to get today's low temperature. 140 | As you can see the method above, `-(NSString *)lowestTemperatureIn:(int)type;` returns a NSString. 141 | And you need to refresh weather data. 142 | 143 | **types** 144 | - 0: celsius 145 | - 1: fahrenheit 146 | - 2: kelvin 147 | 148 | ```objc 149 | //Example code 150 | [[PDDokdo sharedInstance] refreshWeatherData]; 151 | NSString *lowTemperature = [[PDDokdo sharedInstance] lowestTemperatureIn:0]; 152 | ``` 153 | 154 | ## Special Thanks To 155 | Special thanks to UBIK(@HiMyNameIsUbik) and Appie(@Baw_Appie) for helping me to make this library. 156 | 157 | Thanks to Janosch Hübner(@sharedRoutine) and John Zarogiannis(@johnzaro) for PRs. 158 | -------------------------------------------------------------------------------- /control: -------------------------------------------------------------------------------- 1 | Package: com.peterdev.libpddokdo 2 | Name: libPDDokdo 3 | Version: 1.3.5 4 | Architecture: iphoneos-arm 5 | Description: An awesome library to get current weather which provides by iOS Weater.app easily. 6 | Maintainer: Soongyu Kwon 7 | Author: Soongyu Kwon 8 | Section: Development 9 | -------------------------------------------------------------------------------- /libpddokdo.m: -------------------------------------------------------------------------------- 1 | #import "public/libpddokdo.h" 2 | #import 3 | 4 | @interface WFTemperature : NSObject 5 | @property (assign,nonatomic) double celsius; 6 | @property (assign,nonatomic) double fahrenheit; 7 | @property (assign,nonatomic) double kelvin; 8 | @end 9 | 10 | @interface WADayForecast : NSObject 11 | @property (nonatomic,copy) WFTemperature * high; 12 | @property (nonatomic,copy) WFTemperature * low; 13 | @end 14 | 15 | @interface WACurrentForecast : NSObject 16 | -(WFTemperature *)feelsLike; 17 | @end 18 | 19 | @interface WAForecastModel : NSObject 20 | -(NSDate *)sunrise; 21 | -(NSDate *)sunset; 22 | -(NSArray *)dailyForecasts; 23 | @end 24 | 25 | @interface WALockscreenWidgetViewController : UIViewController 26 | -(WAForecastModel *)currentForecastModel; 27 | -(id)_temperature; 28 | -(id)_conditionsLine; 29 | -(id)_locationName; 30 | -(id)_conditionsImage; 31 | -(void)_updateTodayView; 32 | -(void)updateWeather; 33 | @end 34 | 35 | @interface PDDokdo() 36 | @property (nonatomic, retain, readonly) WALockscreenWidgetViewController *weatherWidget; 37 | @end 38 | 39 | @implementation PDDokdo 40 | @dynamic currentTemperature; 41 | @dynamic currentConditions; 42 | @dynamic currentLocation; 43 | @dynamic currentConditionsImage; 44 | @dynamic sunrise; 45 | @dynamic sunset; 46 | @dynamic weatherData; 47 | @synthesize weatherWidget = _weatherWidget; 48 | 49 | + (instancetype)sharedInstance { 50 | static dispatch_once_t p = 0; 51 | static __strong PDDokdo *_sharedSelf = nil; 52 | dispatch_once(&p, ^{ 53 | _sharedSelf = [[PDDokdo alloc] init]; 54 | }); 55 | return _sharedSelf; 56 | } 57 | 58 | - (WALockscreenWidgetViewController *)weatherWidget { 59 | if (_weatherWidget) { 60 | return _weatherWidget; 61 | } 62 | _weatherWidget = [[objc_getClass("WALockscreenWidgetViewController") alloc] init]; 63 | return _weatherWidget; 64 | } 65 | 66 | -(void)refreshWeatherData { 67 | if ([self.weatherWidget respondsToSelector:@selector(updateWeather)]) { 68 | [self.weatherWidget updateWeather]; 69 | } 70 | if ([self.weatherWidget respondsToSelector:@selector(_updateTodayView)]) { 71 | [self.weatherWidget _updateTodayView]; 72 | } 73 | } 74 | 75 | -(NSDictionary *)weatherData { 76 | NSMutableDictionary *data = [NSMutableDictionary dictionary]; 77 | if (self.currentTemperature) [data setObject:self.currentTemperature forKey:@"temperature"]; else [data setObject:@"N/A" forKey:@"temperature"]; 78 | if (self.currentConditions) [data setObject:self.currentConditions forKey:@"conditions"]; else [data setObject:@"N/A" forKey:@"conditions"]; 79 | if (self.currentLocation) [data setObject:self.currentLocation forKey:@"location"]; else [data setObject:@"N/A" forKey:@"location"]; 80 | if (self.sunrise) [data setObject:self.sunrise forKey:@"sunrise"]; 81 | if (self.sunset) [data setObject:self.sunset forKey:@"sunset"]; 82 | UIImage *currentConditionsImage = self.currentConditionsImage; 83 | if (currentConditionsImage) { 84 | [data setObject:currentConditionsImage forKey:@"conditionsImage"]; 85 | } 86 | return data; 87 | } 88 | 89 | -(NSString *)currentTemperature { 90 | if ([self.weatherWidget respondsToSelector:@selector(_temperature)]) { 91 | return [self.weatherWidget _temperature]; 92 | } 93 | return @"N/A"; 94 | } 95 | 96 | -(NSString *)currentConditions { 97 | if ([self.weatherWidget respondsToSelector:@selector(_conditionsLine)]) { 98 | return [self.weatherWidget _conditionsLine]; 99 | } 100 | return @"N/A"; 101 | } 102 | 103 | -(NSString *)currentLocation { 104 | if ([self.weatherWidget respondsToSelector:@selector(_locationName)]) { 105 | return [self.weatherWidget _locationName]; 106 | } 107 | return @"N/A"; 108 | } 109 | 110 | -(UIImage *)currentConditionsImage { 111 | if ([self.weatherWidget respondsToSelector:@selector(_conditionsImage)]) { 112 | return [self.weatherWidget _conditionsImage]; 113 | } 114 | return NULL; 115 | } 116 | 117 | -(NSDate *)sunrise { 118 | if ([self.weatherWidget respondsToSelector:@selector(currentForecastModel)]) { 119 | if ([self.weatherWidget currentForecastModel]) { 120 | return [[self.weatherWidget currentForecastModel] sunrise]; 121 | } 122 | } 123 | return NULL; 124 | } 125 | 126 | -(NSDate *)sunset { 127 | if ([self.weatherWidget respondsToSelector:@selector(currentForecastModel)]) { 128 | if ([self.weatherWidget currentForecastModel]) { 129 | return [[self.weatherWidget currentForecastModel] sunset]; 130 | } 131 | } 132 | return NULL; 133 | } 134 | 135 | -(NSString *)highestTemperatureIn:(int)type { 136 | /* 137 | 0: celsius 138 | 1: fahrenheit 139 | 2: kelvin 140 | */ 141 | if ([self.weatherWidget respondsToSelector:@selector(currentForecastModel)]) { 142 | if ([self.weatherWidget currentForecastModel]) { 143 | WADayForecast *dailyForecast = [[self.weatherWidget currentForecastModel] dailyForecasts][0]; 144 | if (type == 0) { 145 | return [NSString stringWithFormat:@"%.0f°", dailyForecast.high.celsius]; 146 | } else if (type == 1) { 147 | return [NSString stringWithFormat:@"%.0f°", dailyForecast.high.fahrenheit]; 148 | } else if (type == 2) { 149 | return [NSString stringWithFormat:@"%.0f°", dailyForecast.high.kelvin]; 150 | } else { 151 | return @"BAD TYPE"; 152 | } 153 | } 154 | } 155 | return NULL; 156 | } 157 | 158 | -(NSString *)lowestTemperatureIn:(int)type { 159 | /* 160 | 0: celsius 161 | 1: fahrenheit 162 | 2: kelvin 163 | */ 164 | if ([self.weatherWidget respondsToSelector:@selector(currentForecastModel)]) { 165 | if ([self.weatherWidget currentForecastModel]) { 166 | WADayForecast *dailyForecast = [[self.weatherWidget currentForecastModel] dailyForecasts][0]; 167 | if (type == 0) { 168 | return [NSString stringWithFormat:@"%.0f°", dailyForecast.low.celsius]; 169 | } else if (type == 1) { 170 | return [NSString stringWithFormat:@"%.0f°", dailyForecast.low.fahrenheit]; 171 | } else if (type == 2) { 172 | return [NSString stringWithFormat:@"%.0f°", dailyForecast.low.kelvin]; 173 | } else { 174 | return @"BAD TYPE"; 175 | } 176 | } 177 | } 178 | return NULL; 179 | } 180 | 181 | @end -------------------------------------------------------------------------------- /public/libpddokdo.h: -------------------------------------------------------------------------------- 1 | #include 2 | @class UIImage; 3 | 4 | @interface PDDokdo : NSObject 5 | + (instancetype)sharedInstance; 6 | @property (nonatomic, copy, readonly) NSString *currentTemperature; 7 | @property (nonatomic, copy, readonly) NSString *currentConditions; 8 | @property (nonatomic, copy, readonly) NSString *currentLocation; 9 | @property (nonatomic, strong, readonly) UIImage *currentConditionsImage; 10 | @property(nonatomic, strong, readonly) NSDate *sunrise; 11 | @property(nonatomic, strong, readonly) NSDate *sunset; 12 | @property (nonatomic, strong, readonly) NSDictionary *weatherData; 13 | -(void)refreshWeatherData; 14 | 15 | -(NSString *)highestTemperatureIn:(int)type; 16 | -(NSString *)lowestTemperatureIn:(int)type; 17 | @end 18 | --------------------------------------------------------------------------------