]> git.saurik.com Git - veency.git/blame - makefile
Use an embedded copy of libjpeg to support ARM64.
[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
17ADDITIONAL_OBJCFLAGS += -Wno-gnu
18ADDITIONAL_OBJCFLAGS += -Wno-dangling-else
19
523e945c
JF
20ADDITIONAL_OBJCFLAGS += -idirafter .
21
7a024130
JF
22ADDITIONAL_OBJCFLAGS += -Ilibvncserver
23ADDITIONAL_OBJCFLAGS += -Xarch_armv6 -Ilibvncserver.armv6
24ADDITIONAL_OBJCFLAGS += -Xarch_arm64 -Ilibvncserver.arm64
25
523e945c
JF
26ADDITIONAL_CFLAGS += -fvisibility=hidden
27
7a024130
JF
28ADDITIONAL_LDFLAGS += -Xarch_armv6 -Llibvncserver.armv6/libvncserver/.libs
29ADDITIONAL_LDFLAGS += -Xarch_arm64 -Llibvncserver.arm64/libvncserver/.libs
b7f88a8a
JF
30ADDITIONAL_LDFLAGS += -lvncserver
31
32ADDITIONAL_LDFLAGS += -Xarch_armv6 -Llibjpeg.armv6/.libs
33ADDITIONAL_LDFLAGS += -Xarch_arm64 -Llibjpeg.arm64/.libs
34ADDITIONAL_LDFLAGS += -ljpeg
35
36ADDITIONAL_LDFLAGS += -lz
7a024130 37
523e945c
JF
38ADDITIONAL_LDFLAGS += -F/System/Library/PrivateFrameworks
39ADDITIONAL_LDFLAGS += -weak_reference_mismatches weak
40
41include $(THEOS_MAKE_PATH)/tweak.mk