1 TARGET := iphone:7.0:2.0
3 PACKAGE_VERSION := $(shell ./version.sh)
5 include theos/makefiles/common.mk
8 Veency_FILES := Tweak.mm SpringBoardAccess.c
11 Veency_FRAMEWORKS += CoreSurface
12 Veency_FRAMEWORKS += GraphicsServices
13 Veency_FRAMEWORKS += IOMobileFramebuffer
14 Veency_FRAMEWORKS += QuartzCore
15 Veency_FRAMEWORKS += UIKit
17 ADDITIONAL_LDFLAGS += -weak_framework IOKit
19 ADDITIONAL_OBJCFLAGS += -Wno-gnu
20 ADDITIONAL_OBJCFLAGS += -Wno-dangling-else
22 ADDITIONAL_OBJCFLAGS += -idirafter xnu-2422.1.72/iokit
23 ADDITIONAL_OBJCFLAGS += -idirafter xnu-2422.1.72/libkern
24 ADDITIONAL_OBJCFLAGS += -idirafter xnu-2422.1.72/osfmk
25 ADDITIONAL_OBJCFLAGS += -idirafter include
27 ADDITIONAL_OBJCFLAGS += -Ilibvncserver
28 ADDITIONAL_OBJCFLAGS += -Xarch_armv6 -Ilibvncserver.armv6
29 ADDITIONAL_OBJCFLAGS += -Xarch_arm64 -Ilibvncserver.arm64
31 ADDITIONAL_CFLAGS += -fvisibility=hidden
33 ADDITIONAL_LDFLAGS += -Xarch_armv6 -Llibvncserver.armv6/libvncserver/.libs
34 ADDITIONAL_LDFLAGS += -Xarch_arm64 -Llibvncserver.arm64/libvncserver/.libs
35 ADDITIONAL_LDFLAGS += -lvncserver
37 ADDITIONAL_LDFLAGS += -Xarch_armv6 -Llibjpeg.armv6/.libs
38 ADDITIONAL_LDFLAGS += -Xarch_arm64 -Llibjpeg.arm64/.libs
39 ADDITIONAL_LDFLAGS += -ljpeg
41 ADDITIONAL_LDFLAGS += -lz
43 ADDITIONAL_LDFLAGS += -F/System/Library/PrivateFrameworks
44 ADDITIONAL_LDFLAGS += -weak_reference_mismatches weak
46 ADDITIONAL_CFLAGS += -mllvm -arm-reserve-r9
47 ADDITIONAL_LDFLAGS += -Xarch_armv6 -Wl,-lgcc_s.1
49 include $(THEOS_MAKE_PATH)/tweak.mk