]> git.saurik.com Git - veency.git/blame_incremental - makefile
This is so far the best tradeoff for no passwords.
[veency.git] / makefile
... / ...
CommitLineData
1TARGET := iphone:7.1:2.0
2ARCHS := armv6 armv7 arm64
3PACKAGE_VERSION := $(shell ./version.sh)
4
5include theos/makefiles/common.mk
6
7TWEAK_NAME := Veency
8Veency_FILES := Tweak.mm SpringBoardAccess.c
9
10Veency_FRAMEWORKS :=
11Veency_FRAMEWORKS += GraphicsServices
12Veency_FRAMEWORKS += IOMobileFramebuffer
13Veency_FRAMEWORKS += QuartzCore
14Veency_FRAMEWORKS += UIKit
15
16ADDITIONAL_LDFLAGS += -weak_framework IOKit
17
18ADDITIONAL_OBJCFLAGS += -Wno-gnu
19ADDITIONAL_OBJCFLAGS += -Wno-dangling-else
20
21ADDITIONAL_OBJCFLAGS += -idirafter xnu-2422.1.72/iokit
22ADDITIONAL_OBJCFLAGS += -idirafter xnu-2422.1.72/libkern
23ADDITIONAL_OBJCFLAGS += -idirafter xnu-2422.1.72/osfmk
24ADDITIONAL_OBJCFLAGS += -idirafter include
25
26ADDITIONAL_OBJCFLAGS += -Ilibvncserver
27# XXX: -Xarch_armv[67] doesn't even work... *sigh*
28ADDITIONAL_OBJCFLAGS += -Xarch_armv6 -Ilibvncserver.armv6
29ADDITIONAL_OBJCFLAGS += -Xarch_armv7 -Ilibvncserver.armv7
30ADDITIONAL_OBJCFLAGS += -Xarch_arm64 -Ilibvncserver.arm64
31
32ADDITIONAL_CFLAGS += -fvisibility=hidden
33
34ADDITIONAL_LDFLAGS += -Llibrary
35ADDITIONAL_LDFLAGS += -lsurface
36ADDITIONAL_LDFLAGS += -lvncserver
37ADDITIONAL_LDFLAGS += -ljpeg
38
39ADDITIONAL_LDFLAGS += -lz
40
41ADDITIONAL_LDFLAGS += -F/System/Library/PrivateFrameworks
42ADDITIONAL_LDFLAGS += -weak_reference_mismatches weak
43
44ADDITIONAL_CFLAGS += -mllvm -arm-reserve-r9
45ADDITIONAL_LDFLAGS += -Xarch_armv6 -Wl,-lgcc_s.1
46
47include $(THEOS_MAKE_PATH)/tweak.mk