]>
Commit | Line | Data |
---|---|---|
523e945c | 1 | TARGET := iphone:7.0:2.0 |
7a024130 | 2 | ARCHS := armv6 arm64 |
523e945c JF |
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 | ||
20b5b9d9 JF |
17 | ADDITIONAL_LDFLAGS += -weak_framework IOKit |
18 | ||
523e945c JF |
19 | ADDITIONAL_OBJCFLAGS += -Wno-gnu |
20 | ADDITIONAL_OBJCFLAGS += -Wno-dangling-else | |
21 | ||
20b5b9d9 JF |
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 | |
523e945c | 26 | |
7a024130 JF |
27 | ADDITIONAL_OBJCFLAGS += -Ilibvncserver |
28 | ADDITIONAL_OBJCFLAGS += -Xarch_armv6 -Ilibvncserver.armv6 | |
29 | ADDITIONAL_OBJCFLAGS += -Xarch_arm64 -Ilibvncserver.arm64 | |
30 | ||
523e945c JF |
31 | ADDITIONAL_CFLAGS += -fvisibility=hidden |
32 | ||
7a024130 JF |
33 | ADDITIONAL_LDFLAGS += -Xarch_armv6 -Llibvncserver.armv6/libvncserver/.libs |
34 | ADDITIONAL_LDFLAGS += -Xarch_arm64 -Llibvncserver.arm64/libvncserver/.libs | |
b7f88a8a JF |
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 | |
7a024130 | 42 | |
523e945c JF |
43 | ADDITIONAL_LDFLAGS += -F/System/Library/PrivateFrameworks |
44 | ADDITIONAL_LDFLAGS += -weak_reference_mismatches weak | |
45 | ||
1da4e7ef JF |
46 | ADDITIONAL_CFLAGS += -mllvm -arm-reserve-r9 |
47 | ADDITIONAL_LDFLAGS += -Xarch_armv6 -Wl,-lgcc_s.1 | |
48 | ||
523e945c | 49 | include $(THEOS_MAKE_PATH)/tweak.mk |