]> git.saurik.com Git - veency.git/blob - makefile
Use an embedded copy of libvncserver for ARM64.
[veency.git] / makefile
1 TARGET := iphone:7.0:2.0
2 ARCHS := armv6 arm64
3 PACKAGE_VERSION := $(shell ./version.sh)
4
5 include theos/makefiles/common.mk
6
7 TWEAK_NAME := Veency
8 Veency_FILES := Tweak.mm SpringBoardAccess.c
9
10 Veency_FRAMEWORKS :=
11 Veency_FRAMEWORKS += CoreSurface
12 Veency_FRAMEWORKS += GraphicsServices
13 Veency_FRAMEWORKS += IOMobileFramebuffer
14 Veency_FRAMEWORKS += QuartzCore
15 Veency_FRAMEWORKS += UIKit
16
17 ADDITIONAL_OBJCFLAGS += -Wno-gnu
18 ADDITIONAL_OBJCFLAGS += -Wno-dangling-else
19
20 ADDITIONAL_OBJCFLAGS += -idirafter .
21
22 ADDITIONAL_OBJCFLAGS += -Ilibvncserver
23 ADDITIONAL_OBJCFLAGS += -Xarch_armv6 -Ilibvncserver.armv6
24 ADDITIONAL_OBJCFLAGS += -Xarch_arm64 -Ilibvncserver.arm64
25
26 ADDITIONAL_CFLAGS += -fvisibility=hidden
27
28 ADDITIONAL_LDFLAGS += -Xarch_armv6 -Llibvncserver.armv6/libvncserver/.libs
29 ADDITIONAL_LDFLAGS += -Xarch_arm64 -Llibvncserver.arm64/libvncserver/.libs
30 ADDITIONAL_LDFLAGS += -lvncserver -lz
31
32 ADDITIONAL_LDFLAGS += -F/System/Library/PrivateFrameworks
33 ADDITIONAL_LDFLAGS += -weak_reference_mismatches weak
34
35 include $(THEOS_MAKE_PATH)/tweak.mk