1534df791878ed90cf7c2e4f14482ff03b7c41e77Chia-I Wu# Mesa 3-D graphics library 2534df791878ed90cf7c2e4f14482ff03b7c41e77Chia-I Wu# 3534df791878ed90cf7c2e4f14482ff03b7c41e77Chia-I Wu# Copyright (C) 2011 Chia-I Wu <olvaffe@gmail.com> 4534df791878ed90cf7c2e4f14482ff03b7c41e77Chia-I Wu# Copyright (C) 2011 LunarG Inc. 5534df791878ed90cf7c2e4f14482ff03b7c41e77Chia-I Wu# 6534df791878ed90cf7c2e4f14482ff03b7c41e77Chia-I Wu# Permission is hereby granted, free of charge, to any person obtaining a 7534df791878ed90cf7c2e4f14482ff03b7c41e77Chia-I Wu# copy of this software and associated documentation files (the "Software"), 8534df791878ed90cf7c2e4f14482ff03b7c41e77Chia-I Wu# to deal in the Software without restriction, including without limitation 9534df791878ed90cf7c2e4f14482ff03b7c41e77Chia-I Wu# the rights to use, copy, modify, merge, publish, distribute, sublicense, 10534df791878ed90cf7c2e4f14482ff03b7c41e77Chia-I Wu# and/or sell copies of the Software, and to permit persons to whom the 11534df791878ed90cf7c2e4f14482ff03b7c41e77Chia-I Wu# Software is furnished to do so, subject to the following conditions: 12534df791878ed90cf7c2e4f14482ff03b7c41e77Chia-I Wu# 13534df791878ed90cf7c2e4f14482ff03b7c41e77Chia-I Wu# The above copyright notice and this permission notice shall be included 14534df791878ed90cf7c2e4f14482ff03b7c41e77Chia-I Wu# in all copies or substantial portions of the Software. 15534df791878ed90cf7c2e4f14482ff03b7c41e77Chia-I Wu# 16534df791878ed90cf7c2e4f14482ff03b7c41e77Chia-I Wu# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 17534df791878ed90cf7c2e4f14482ff03b7c41e77Chia-I Wu# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 18534df791878ed90cf7c2e4f14482ff03b7c41e77Chia-I Wu# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 19534df791878ed90cf7c2e4f14482ff03b7c41e77Chia-I Wu# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 20534df791878ed90cf7c2e4f14482ff03b7c41e77Chia-I Wu# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 21534df791878ed90cf7c2e4f14482ff03b7c41e77Chia-I Wu# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 22534df791878ed90cf7c2e4f14482ff03b7c41e77Chia-I Wu# DEALINGS IN THE SOFTWARE. 23534df791878ed90cf7c2e4f14482ff03b7c41e77Chia-I Wu 24534df791878ed90cf7c2e4f14482ff03b7c41e77Chia-I WuLOCAL_PATH := $(call my-dir) 25534df791878ed90cf7c2e4f14482ff03b7c41e77Chia-I Wu 26534df791878ed90cf7c2e4f14482ff03b7c41e77Chia-I Wu# get C_SOURCES 27534df791878ed90cf7c2e4f14482ff03b7c41e77Chia-I Wuinclude $(LOCAL_PATH)/Makefile.sources 28534df791878ed90cf7c2e4f14482ff03b7c41e77Chia-I Wu 29534df791878ed90cf7c2e4f14482ff03b7c41e77Chia-I Wuinclude $(CLEAR_VARS) 30534df791878ed90cf7c2e4f14482ff03b7c41e77Chia-I Wu 31534df791878ed90cf7c2e4f14482ff03b7c41e77Chia-I WuLOCAL_SRC_FILES := $(C_SOURCES) 3210e931219f0619c01456dd13fea65b8c21f3b87bMarcin SlusarzLOCAL_C_INCLUDES := $(DRM_TOP) \ 3310e931219f0619c01456dd13fea65b8c21f3b87bMarcin Slusarz $(DRM_TOP)/include/drm \ 3410e931219f0619c01456dd13fea65b8c21f3b87bMarcin Slusarz $(DRM_TOP)/nouveau 35534df791878ed90cf7c2e4f14482ff03b7c41e77Chia-I Wu 36534df791878ed90cf7c2e4f14482ff03b7c41e77Chia-I WuLOCAL_MODULE := libmesa_pipe_nouveau 37534df791878ed90cf7c2e4f14482ff03b7c41e77Chia-I Wu 38534df791878ed90cf7c2e4f14482ff03b7c41e77Chia-I Wuinclude $(GALLIUM_COMMON_MK) 39534df791878ed90cf7c2e4f14482ff03b7c41e77Chia-I Wuinclude $(BUILD_STATIC_LIBRARY) 40