18 lines
707 B
Makefile
18 lines
707 B
Makefile
include $(THEOS)/makefiles/common.mk
|
|
|
|
TOOL_NAME = screendumpd
|
|
$(TOOL_NAME)_FILES = main.mm
|
|
$(TOOL_NAME)_ARCHS = arm64
|
|
$(TOOL_NAME)_FRAMEWORKS := IOSurface IOKit
|
|
$(TOOL_NAME)_PRIVATE_FRAMEWORKS := IOMobileFramebuffer IOSurface
|
|
$(TOOL_NAME)_OBJCFLAGS += -I../vncbuild/include -Iinclude
|
|
$(TOOL_NAME)_LDFLAGS += -Wl,-segalign,4000 -L../vncbuild/lib -lvncserver -lpng -llzo2 -ljpeg -lssl -lcrypto -lz
|
|
$(TOOL_NAME)_INSTALL_PATH = /usr/libexec
|
|
$(TOOL_NAME)_CFLAGS = -w
|
|
$(TOOL_NAME)_CODESIGN_FLAGS = -Sentitlements.plist
|
|
|
|
include $(THEOS_MAKE_PATH)/tool.mk
|
|
|
|
after-screendumpd-stage::
|
|
$(ECHO_NOTHING)$(FAKEROOT) chown root:wheel $(THEOS_STAGING_DIR)/Library/LaunchDaemons/ru.mostmodest.screendumpd.plist$(ECHO_END)
|