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