1# Copyright (C) 2016 The Android Open Source Project
2#
3# Licensed under the Apache License, Version 2.0 (the "License");
4# you may not use this file except in compliance with the License.
5# You may obtain a copy of the License at
6#
7#      http://www.apache.org/licenses/LICENSE-2.0
8#
9# Unless required by applicable law or agreed to in writing, software
10# distributed under the License is distributed on an "AS IS" BASIS,
11# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12# See the License for the specific language governing permissions and
13# limitations under the License.
14
15LOCAL_PATH := $(call my-dir)
16
17include $(CLEAR_VARS)
18
19LOCAL_MODULE := MagickCore
20
21LOCAL_SDK_VERSION := 24
22
23LOCAL_SRC_FILES := accelerate.c\
24    client.c\
25    decorate.c\
26    feature.c\
27    linked-list.c\
28    monitor.c\
29    prepress.c\
30    resize.c\
31    string.c\
32    vms.c\
33    animate.c\
34    coder.c\
35    delegate.c\
36    fourier.c\
37    list.c\
38    montage.c\
39    profile.c\
40    resource.c\
41    thread.c\
42    widget.c\
43    annotate.c\
44    color.c\
45    deprecate.c\
46    fx.c\
47    locale.c\
48    morphology.c\
49    property.c\
50    segment.c\
51    threshold.c\
52    xml-tree.c\
53    artifact.c\
54    colormap.c\
55    display.c\
56    gem.c\
57    log.c\
58    nt-base.c\
59    quantize.c\
60    semaphore.c\
61    timer.c\
62    xwindow.c\
63    attribute.c\
64    colorspace.c\
65    distort.c\
66    geometry.c\
67    magic.c\
68    nt-feature.c\
69    quantum-export.c\
70    shear.c\
71    token.c\
72    blob.c\
73    compare.c\
74    distribute-cache.c\
75    histogram.c\
76    magick.c\
77    opencl.c\
78    quantum-import.c\
79    signature.c\
80    transform.c\
81    cache-view.c\
82    composite.c\
83    draw.c\
84    identify.c\
85    matrix.c\
86    option.c\
87    quantum.c\
88    splay-tree.c\
89    type.c\
90    cache.c\
91    compress.c\
92    effect.c\
93    image-view.c\
94    memory.c\
95    paint.c\
96    random.c\
97    static.c\
98    utility.c\
99    channel.c\
100    configure.c\
101    enhance.c\
102    image.c\
103    mime.c\
104    pixel.c\
105    registry.c\
106    statistic.c\
107    version.c\
108    cipher.c\
109    constitute.c\
110    exception.c\
111    layer.c\
112    module.c\
113    policy.c\
114    resample.c\
115    stream.c\
116    vision.c
117
118LOCAL_C_INCLUDES += $(LOCAL_PATH)/.. \
119    external/freetype/include
120
121LOCAL_CFLAGS += -DHAVE_CONFIG_H -Wno-unused-parameter -Wno-deprecated-register \
122    -Wno-enum-conversion -Wno-for-loop-analysis
123
124LOCAL_STATIC_LIBRARIES += libbz
125LOCAL_SHARED_LIBRARIES += libft2 liblzma libxml2 libicuuc libpng libjpeg
126
127include $(BUILD_STATIC_LIBRARY)
128