-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathMakefile
More file actions
43 lines (38 loc) · 1.57 KB
/
Copy pathMakefile
File metadata and controls
43 lines (38 loc) · 1.57 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
THEOS ?= $(HOME)/theos
ARCHS = arm64 arm64e
ifeq ($(THEOS_PACKAGE_SCHEME),rootless)
TARGET = iphone:clang:latest:15.0
else ifeq ($(THEOS_PACKAGE_SCHEME),roothide)
TARGET = iphone:clang:latest:15.0
else
TARGET = iphone:clang:latest:13.0
ARCHS = arm64
endif
include $(THEOS)/makefiles/common.mk
TOOL_NAME = codex-notesd
codex-notesd_FILES = Sources/main.m Sources/CNCommon.m Sources/CNConfig.m Sources/CNMCP.m Sources/CNStore.m Sources/CNWorkflow.m Sources/CNPower.m Sources/CNPollScheduler.m Sources/CNTestFeedback.m
codex-notesd_CFLAGS = -fobjc-arc -Wall -Wextra
codex-notesd_FRAMEWORKS = Foundation
codex-notesd_CODESIGN_FLAGS = -Sentitlements.plist
codex-notesd_INSTALL_PATH = /usr/bin
ifeq ($(THEOS_PACKAGE_SCHEME),rootless)
codex-notesd_CFLAGS += -DCN_ROOTLESS=1
else ifeq ($(THEOS_PACKAGE_SCHEME),roothide)
codex-notesd_LIBRARIES = roothide
endif
include $(THEOS_MAKE_PATH)/tool.mk
APPLICATION_NAME = iOSAutomator
iOSAutomator_FILES = App/main.m App/CNEditor.m Sources/CNCommon.m Sources/CNConfig.m Sources/CNFlowTransfer.m Sources/CNMCP.m
iOSAutomator_CFLAGS = -fobjc-arc -Wall -Wextra
iOSAutomator_FRAMEWORKS = UIKit Foundation CoreGraphics
iOSAutomator_WEAK_FRAMEWORKS = UniformTypeIdentifiers
iOSAutomator_CODESIGN_FLAGS = -SApp/entitlements.plist
iOSAutomator_RESOURCE_DIRS = App/Resources
ifeq ($(THEOS_PACKAGE_SCHEME),rootless)
iOSAutomator_CFLAGS += -DCN_ROOTLESS=1
else ifeq ($(THEOS_PACKAGE_SCHEME),roothide)
iOSAutomator_LIBRARIES = roothide
endif
include $(THEOS_MAKE_PATH)/application.mk
after-stage::
python3 tools/stage.py "$(THEOS_STAGING_DIR)" "$(THEOS_PACKAGE_INSTALL_PREFIX)"