25 lines
803 B
Makefile
25 lines
803 B
Makefile
export THEOS_PACKAGE_SCHEME = rootless
|
|
export ARCHS = arm64
|
|
export TARGET = iphone:16.5:14.0
|
|
export GO_EASY_ON_ME = 1
|
|
export COPYFILE_DISABLE = 1
|
|
|
|
include $(THEOS)/makefiles/common.mk
|
|
|
|
TOOL_NAME = screendumpd
|
|
|
|
screendumpd_FILES = $(wildcard *.m)
|
|
screendumpd_FRAMEWORKS = IOSurface IOKit
|
|
screendumpd_PRIVATE_FRAMEWORKS = IOMobileFramebuffer IOSurface
|
|
screendumpd_OBJCFLAGS = -I./vncbuild/include -Iinclude -fobjc-arc
|
|
screendumpd_LDFLAGS = -Wl,-segalign,4000 -L./vncbuild/lib -lvncserver -lpng -llzo2 -ljpeg -lssl -lcrypto -lz
|
|
screendumpd_CFLAGS = -w
|
|
screendumpd_CODESIGN_FLAGS = -Sen.plist
|
|
screendumpd_INSTALL_PATH = /usr/libexec
|
|
|
|
before-stage::
|
|
$(ECHO_NOTHING)find . -name '.DS_Store' -type f -delete$(ECHO_END)
|
|
$(ECHO_NOTHING)chmod 0775 layout/DEBIAN/*$(ECHO_END)
|
|
|
|
include $(THEOS_MAKE_PATH)/tool.mk
|