]> git.saurik.com Git - veency.git/blame - makefile
Port settings to CFPreferences{Get,Copy}App*Value.
[veency.git] / makefile
CommitLineData
523e945c 1TARGET := iphone:7.0:2.0
7a024130 2ARCHS := armv6 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 :=
11Veency_FRAMEWORKS += CoreSurface
12Veency_FRAMEWORKS += GraphicsServices
13Veency_FRAMEWORKS += IOMobileFramebuffer
14Veency_FRAMEWORKS += QuartzCore
15Veency_FRAMEWORKS += UIKit
16
20b5b9d9
JF
17ADDITIONAL_LDFLAGS += -weak_framework IOKit
18
523e945c
JF
19ADDITIONAL_OBJCFLAGS += -Wno-gnu
20ADDITIONAL_OBJCFLAGS += -Wno-dangling-else
21
20b5b9d9
JF
22ADDITIONAL_OBJCFLAGS += -idirafter xnu-2422.1.72/iokit
23ADDITIONAL_OBJCFLAGS += -idirafter xnu-2422.1.72/libkern
24ADDITIONAL_OBJCFLAGS += -idirafter xnu-2422.1.72/osfmk
25ADDITIONAL_OBJCFLAGS += -idirafter include
523e945c 26
7a024130
JF
27ADDITIONAL_OBJCFLAGS += -Ilibvncserver
28ADDITIONAL_OBJCFLAGS += -Xarch_armv6 -Ilibvncserver.armv6
29ADDITIONAL_OBJCFLAGS += -Xarch_arm64 -Ilibvncserver.arm64
30
523e945c
JF
31ADDITIONAL_CFLAGS += -fvisibility=hidden
32
7a024130
JF
33ADDITIONAL_LDFLAGS += -Xarch_armv6 -Llibvncserver.armv6/libvncserver/.libs
34ADDITIONAL_LDFLAGS += -Xarch_arm64 -Llibvncserver.arm64/libvncserver/.libs
b7f88a8a
JF
35ADDITIONAL_LDFLAGS += -lvncserver
36
37ADDITIONAL_LDFLAGS += -Xarch_armv6 -Llibjpeg.armv6/.libs
38ADDITIONAL_LDFLAGS += -Xarch_arm64 -Llibjpeg.arm64/.libs
39ADDITIONAL_LDFLAGS += -ljpeg
40
41ADDITIONAL_LDFLAGS += -lz
7a024130 42
523e945c
JF
43ADDITIONAL_LDFLAGS += -F/System/Library/PrivateFrameworks
44ADDITIONAL_LDFLAGS += -weak_reference_mismatches weak
45
1da4e7ef
JF
46ADDITIONAL_CFLAGS += -mllvm -arm-reserve-r9
47ADDITIONAL_LDFLAGS += -Xarch_armv6 -Wl,-lgcc_s.1
48
523e945c 49include $(THEOS_MAKE_PATH)/tweak.mk