]> git.saurik.com Git - veency.git/blob - makefile
Implement keys with IOHIDEventCreateKeyboardEvent.
[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_LDFLAGS += -weak_framework IOKit
18
19 ADDITIONAL_OBJCFLAGS += -Wno-gnu
20 ADDITIONAL_OBJCFLAGS += -Wno-dangling-else
21
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
26
27 ADDITIONAL_OBJCFLAGS += -Ilibvncserver
28 ADDITIONAL_OBJCFLAGS += -Xarch_armv6 -Ilibvncserver.armv6
29 ADDITIONAL_OBJCFLAGS += -Xarch_arm64 -Ilibvncserver.arm64
30
31 ADDITIONAL_CFLAGS += -fvisibility=hidden
32
33 ADDITIONAL_LDFLAGS += -Xarch_armv6 -Llibvncserver.armv6/libvncserver/.libs
34 ADDITIONAL_LDFLAGS += -Xarch_arm64 -Llibvncserver.arm64/libvncserver/.libs
35 ADDITIONAL_LDFLAGS += -lvncserver
36
37 ADDITIONAL_LDFLAGS += -Xarch_armv6 -Llibjpeg.armv6/.libs
38 ADDITIONAL_LDFLAGS += -Xarch_arm64 -Llibjpeg.arm64/.libs
39 ADDITIONAL_LDFLAGS += -ljpeg
40
41 ADDITIONAL_LDFLAGS += -lz
42
43 ADDITIONAL_LDFLAGS += -F/System/Library/PrivateFrameworks
44 ADDITIONAL_LDFLAGS += -weak_reference_mismatches weak
45
46 include $(THEOS_MAKE_PATH)/tweak.mk