]>
Commit | Line | Data |
---|---|---|
3d5b3ddd JF |
1 | TARGET := iphone:7.1:2.0 |
2 | ARCHS := armv6 armv7 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 := | |
523e945c JF |
11 | Veency_FRAMEWORKS += GraphicsServices |
12 | Veency_FRAMEWORKS += IOMobileFramebuffer | |
13 | Veency_FRAMEWORKS += QuartzCore | |
14 | Veency_FRAMEWORKS += UIKit | |
15 | ||
20b5b9d9 JF |
16 | ADDITIONAL_LDFLAGS += -weak_framework IOKit |
17 | ||
523e945c JF |
18 | ADDITIONAL_OBJCFLAGS += -Wno-gnu |
19 | ADDITIONAL_OBJCFLAGS += -Wno-dangling-else | |
20 | ||
20b5b9d9 JF |
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 | |
523e945c | 25 | |
7a024130 | 26 | ADDITIONAL_OBJCFLAGS += -Ilibvncserver |
3d5b3ddd | 27 | # XXX: -Xarch_armv[67] doesn't even work... *sigh* |
7a024130 | 28 | ADDITIONAL_OBJCFLAGS += -Xarch_armv6 -Ilibvncserver.armv6 |
3d5b3ddd | 29 | ADDITIONAL_OBJCFLAGS += -Xarch_armv7 -Ilibvncserver.armv7 |
7a024130 JF |
30 | ADDITIONAL_OBJCFLAGS += -Xarch_arm64 -Ilibvncserver.arm64 |
31 | ||
523e945c JF |
32 | ADDITIONAL_CFLAGS += -fvisibility=hidden |
33 | ||
3d5b3ddd JF |
34 | ADDITIONAL_LDFLAGS += -Llibrary |
35 | ADDITIONAL_LDFLAGS += -lsurface | |
b7f88a8a | 36 | ADDITIONAL_LDFLAGS += -lvncserver |
b7f88a8a JF |
37 | ADDITIONAL_LDFLAGS += -ljpeg |
38 | ||
39 | ADDITIONAL_LDFLAGS += -lz | |
7a024130 | 40 | |
523e945c JF |
41 | ADDITIONAL_LDFLAGS += -F/System/Library/PrivateFrameworks |
42 | ADDITIONAL_LDFLAGS += -weak_reference_mismatches weak | |
43 | ||
1da4e7ef JF |
44 | ADDITIONAL_CFLAGS += -mllvm -arm-reserve-r9 |
45 | ADDITIONAL_LDFLAGS += -Xarch_armv6 -Wl,-lgcc_s.1 | |
46 | ||
523e945c | 47 | include $(THEOS_MAKE_PATH)/tweak.mk |