xref: /third_party/libdrm/intel/Android.mk (revision d722e3fb)
1d722e3fbSopenharmony_ci#
2d722e3fbSopenharmony_ci# Copyright © 2011 Intel Corporation
3d722e3fbSopenharmony_ci#
4d722e3fbSopenharmony_ci# Permission is hereby granted, free of charge, to any person obtaining a
5d722e3fbSopenharmony_ci# copy of this software and associated documentation files (the "Software"),
6d722e3fbSopenharmony_ci# to deal in the Software without restriction, including without limitation
7d722e3fbSopenharmony_ci# the rights to use, copy, modify, merge, publish, distribute, sublicense,
8d722e3fbSopenharmony_ci# and/or sell copies of the Software, and to permit persons to whom the
9d722e3fbSopenharmony_ci# Software is furnished to do so, subject to the following conditions:
10d722e3fbSopenharmony_ci#
11d722e3fbSopenharmony_ci# The above copyright notice and this permission notice (including the next
12d722e3fbSopenharmony_ci# paragraph) shall be included in all copies or substantial portions of the
13d722e3fbSopenharmony_ci# Software.
14d722e3fbSopenharmony_ci#
15d722e3fbSopenharmony_ci# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16d722e3fbSopenharmony_ci# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17d722e3fbSopenharmony_ci# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL
18d722e3fbSopenharmony_ci# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19d722e3fbSopenharmony_ci# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
20d722e3fbSopenharmony_ci# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
21d722e3fbSopenharmony_ci# IN THE SOFTWARE.
22d722e3fbSopenharmony_ci#
23d722e3fbSopenharmony_ci
24d722e3fbSopenharmony_ciLOCAL_PATH := $(call my-dir)
25d722e3fbSopenharmony_ciinclude $(CLEAR_VARS)
26d722e3fbSopenharmony_ci
27d722e3fbSopenharmony_ci# Import variables LIBDRM_INTEL_FILES, LIBDRM_INTEL_H_FILES
28d722e3fbSopenharmony_ciinclude $(LOCAL_PATH)/Makefile.sources
29d722e3fbSopenharmony_ci
30d722e3fbSopenharmony_ciLOCAL_MODULE := libdrm_intel
31d722e3fbSopenharmony_ci
32d722e3fbSopenharmony_ciLOCAL_SRC_FILES := $(LIBDRM_INTEL_FILES)
33d722e3fbSopenharmony_ci
34d722e3fbSopenharmony_ciLOCAL_SHARED_LIBRARIES := \
35d722e3fbSopenharmony_ci	libdrm
36d722e3fbSopenharmony_ci
37d722e3fbSopenharmony_ciinclude $(LIBDRM_COMMON_MK)
38d722e3fbSopenharmony_ciinclude $(BUILD_SHARED_LIBRARY)
39