blob: 953c6b11ed5a786dfc007108a64341a0e983166e [file] [log] [blame]
Marco Nelissen785d0462014-01-08 10:36:48 -08001#
2# Copyright (C) 2013 The Android Open Source Project
3#
4# Licensed under the Apache License, Version 2.0 (the "License");
5# you may not use this file except in compliance with the License.
6# You may obtain a copy of the License at
7#
8# http://www.apache.org/licenses/LICENSE-2.0
9#
10# Unless required by applicable law or agreed to in writing, software
11# distributed under the License is distributed on an "AS IS" BASIS,
12# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13# See the License for the specific language governing permissions and
14# limitations under the License.
15#
16LOCAL_PATH := $(my-dir)
17
18include $(CLEAR_VARS)
19
20# WARNING: this makefile builds a shared library. Do not ever make it build
21# a static library or otherwise statically link libexif with your code.
22
Marco Nelissen25d37132014-03-04 08:42:56 -080023LOCAL_CLANG := true
24
Marco Nelissen785d0462014-01-08 10:36:48 -080025LOCAL_C_INCLUDES := \
26 $(TOP)/external/libexif
27
28LOCAL_SRC_FILES:= \
29 exif-byte-order.c \
30 exif-content.c \
31 exif-data.c \
32 exif-entry.c \
33 exif-format.c \
34 exif-ifd.c \
35 exif-loader.c \
36 exif-log.c \
37 exif-mem.c \
38 exif-mnote-data.c \
39 exif-tag.c \
40 exif-utils.c \
41 canon/exif-mnote-data-canon.c \
42 canon/mnote-canon-entry.c \
43 canon/mnote-canon-tag.c \
44 olympus/exif-mnote-data-olympus.c \
45 olympus/mnote-olympus-tag.c \
46 olympus/mnote-olympus-entry.c \
47 fuji/exif-mnote-data-fuji.c \
48 fuji/mnote-fuji-entry.c \
49 fuji/mnote-fuji-tag.c \
50 pentax/exif-mnote-data-pentax.c \
51 pentax/mnote-pentax-entry.c \
52 pentax/mnote-pentax-tag.c
53
Sheng-Hao Tsaobcbfc5e2016-01-27 19:36:37 +080054# Because all the include statements in the header files are in double layer
55# ("libexif/XXXX.h") style, we need to set the export root to the parent folder.
56LOCAL_EXPORT_C_INCLUDE_DIRS := $(LOCAL_PATH)/..
Marco Nelissen785d0462014-01-08 10:36:48 -080057
58LOCAL_MODULE := libexif
59
60LOCAL_SHARED_LIBRARIES := \
61 libcutils \
62 libutils \
63 liblog
64
Marco Nelissen25d37132014-03-04 08:42:56 -080065LOCAL_CFLAGS += -ftrapv
66
Marco Nelissen785d0462014-01-08 10:36:48 -080067include $(BUILD_SHARED_LIBRARY)
68
69# WARNING: this makefile builds a shared library. Do not ever make it build
70# a static library or otherwise statically link libexif with your code.
71