1 TARGET := iphone:7.1:2.0
2 ARCHS := armv6 armv7 arm64
3 PACKAGE_VERSION := $(shell ./version.sh)
5 include theos/makefiles/common.mk
8 Veency_FILES := Tweak.mm SpringBoardAccess.c
11 Veency_FRAMEWORKS += GraphicsServices
12 Veency_FRAMEWORKS += IOMobileFramebuffer
13 Veency_FRAMEWORKS += QuartzCore
14 Veency_FRAMEWORKS += UIKit
16 ADDITIONAL_LDFLAGS += -weak_framework IOKit
18 ADDITIONAL_OBJCFLAGS += -Wno-gnu
19 ADDITIONAL_OBJCFLAGS += -Wno-dangling-else
21 ADDITIONAL_OBJCFLAGS += -idirafter xnu-2422.1.72/iokit
22 ADDITIONAL_OBJCFLAGS += -idirafter xnu-2422.1.72/libkern
23 ADDITIONAL_OBJCFLAGS += -idirafter xnu-2422.1.72/osfmk
24 ADDITIONAL_OBJCFLAGS += -idirafter include
26 ADDITIONAL_OBJCFLAGS += -Ilibvncserver
27 # XXX: -Xarch_armv[67] doesn't even work... *sigh*
28 ADDITIONAL_OBJCFLAGS += -Xarch_armv6 -Ilibvncserver.armv6
29 ADDITIONAL_OBJCFLAGS += -Xarch_armv7 -Ilibvncserver.armv7
30 ADDITIONAL_OBJCFLAGS += -Xarch_arm64 -Ilibvncserver.arm64
32 ADDITIONAL_CFLAGS += -fvisibility=hidden
34 ADDITIONAL_LDFLAGS += -Llibrary
35 ADDITIONAL_LDFLAGS += -lsurface
36 ADDITIONAL_LDFLAGS += -lvncserver
37 ADDITIONAL_LDFLAGS += -ljpeg
39 ADDITIONAL_LDFLAGS += -lz
41 ADDITIONAL_LDFLAGS += -F/System/Library/PrivateFrameworks
42 ADDITIONAL_LDFLAGS += -weak_reference_mismatches weak
44 ADDITIONAL_CFLAGS += -mllvm -arm-reserve-r9
45 ADDITIONAL_LDFLAGS += -Xarch_armv6 -Wl,-lgcc_s.1
47 include $(THEOS_MAKE_PATH)/tweak.mk