forked from malaythecool/Android-ImageMagick7
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Android.mk
126 lines (94 loc) · 4.54 KB
/
Android.mk
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
#----------------------------------------------------------------------------#
# _ _ _ #
# /\ | | (_) | | #
# / \ _ __ __| |_ __ ___ _ __| | #
# / /\ \ | '_ \ / _` | '__/ _ \| |/ _` | #
# / ____ \| | | | (_| | | | (_) | | (_| | #
# /_/ \_\_| |_|\__,_|_| \___/|_|\__,_| #
# #
# _____ __ __ _ _ ______ #
# |_ _| | \/ | (_) | | |____ | #
# | | _ __ ___ __ _ __ _ ___| \ / | __ _ __ _ _ ___| | __ / / #
# | | | '_ ` _ \ / _` |/ _` |/ _ \ |\/| |/ _` |/ _` | |/ __| |/ / / / #
# _| |_| | | | | | (_| | (_| | __/ | | | (_| | (_| | | (__| < / / #
# |_____|_| |_| |_|\__,_|\__, |\___|_| |_|\__,_|\__, |_|\___|_|\_\ /_/ #
# __/ | __/ | #
# |___/ |___/ #
# #
#----------------------------------------------------------------------------#
# Module Vars #
#----------------------------------------------------------------------------#
LOCAL_PATH := $(call my-dir)
MAKE_PATH := $(LOCAL_PATH)/make
OPENCL_PATH := $(LOCAL_PATH)/libopencl
OPENCL_LIB_PATH := $(OPENCL_PATH)/qualcomm/lib
OPENCL_INCLUDE_PATH := $(OPENCL_PATH)/qualcomm/include
LTDL_LIB_PATH := $(LOCAL_PATH)/libltdl-2.4.6
JMAGICK_DIR_PATH := $(LOCAL_PATH)/libjmagick-7
JMAGICK_LIB_PATH := $(JMAGICK_DIR_PATH)/src
IMAGE_MAGICK_BASEDIR := ImageMagick-7.0.9-17
IMAGE_MAGICK_PATCH_PATH := $(JMAGICK_DIR_PATH)/imagemagick-patches/$(IMAGE_MAGICK_BASEDIR)/MagickCore
IMAGE_MAGICK_PATCH_INCLUDE_PATH := $(JMAGICK_DIR_PATH)/imagemagick-patches/$(IMAGE_MAGICK_BASEDIR)
IMAGE_MAGICK := $(LOCAL_PATH)/$(IMAGE_MAGICK_BASEDIR)
JPEG_LIB_PATH := $(LOCAL_PATH)/libjpeg-turbo-2.0.2
PNG_LIB_PATH := $(LOCAL_PATH)/libpng-1.6.37
TIFF_LIB_PATH := $(LOCAL_PATH)/libtiff-v4.0.10/libtiff
FREETYPE_LIB_PATH := $(LOCAL_PATH)/libfreetype2-2.10.1
WEBP_LIB_PATH := $(LOCAL_PATH)/libwebp-1.0.3
OPENJPEG_LIB_PATH := $(LOCAL_PATH)/libopenjpeg-2.3.1
FFTW_LIB_PATH := $(LOCAL_PATH)/libfftw-3.3.8
XML2_LIB_PATH := $(LOCAL_PATH)/libxml2-2.9.9
ICONV_LIB_PATH := $(LOCAL_PATH)/libiconv-1.16
ICU_LIB_PATH := $(LOCAL_PATH)/libicu4c-64-2
ICU_COMMON_PATH := $(ICU_LIB_PATH)/common
ICU_I18N_PATH := $(ICU_LIB_PATH)/i18n
ICU_STUBDATA_PATH := $(ICU_LIB_PATH)/stubdata
LZMA_LIB_PATH := $(LOCAL_PATH)/xz-5.2.4
BZLIB_LIB_PATH := $(LOCAL_PATH)/bzip-1.0.8
LCMS_LIB_PATH := $(LOCAL_PATH)/liblcms2-2.9
#-------------------------------------------------------------
# Include all modules
#-------------------------------------------------------------
# libltdl
include $(MAKE_PATH)/libltdl.mk
# libopencl
include $(MAKE_PATH)/libopencl.mk
# libjmagick-7
include $(MAKE_PATH)/libjmagick-7.mk
# libjpeg-turbo
include $(MAKE_PATH)/libjpeg-turbo.mk
# libopenjpeg
include $(MAKE_PATH)/libopenjpeg.mk
# libtiff
include $(MAKE_PATH)/libtiff.mk
# libpng
include $(MAKE_PATH)/libpng.mk
# libfreetype2
include $(MAKE_PATH)/libfreetype2.mk
# libwebp
include $(MAKE_PATH)/libwebp.mk
# libfftw
include $(MAKE_PATH)/libfftw.mk
# libxml2
include $(MAKE_PATH)/libxml2.mk
# liblzma
include $(MAKE_PATH)/liblzma.mk
# libbz2
include $(MAKE_PATH)/libbz2.mk
# libiconv
include $(MAKE_PATH)/libiconv.mk
# libicu4c
include $(MAKE_PATH)/libicu4c.mk
# liblcms2
include $(MAKE_PATH)/liblcms2.mk
#-------------------------------------------------------------
# Magick
#-------------------------------------------------------------
# magick
include $(MAKE_PATH)/magick.mk
# libmagickcore-7
include $(MAKE_PATH)/libmagickcore-7.mk
# libmagickwand-7
include $(MAKE_PATH)/libmagickwand-7.mk
# libmagick++-7
include $(MAKE_PATH)/libmagick++-7.mk