1# Mesa 3-D graphics library
2#
3# Copyright (C) 2010-2011 Chia-I Wu <olvaffe@gmail.com>
4# Copyright (C) 2010-2011 LunarG Inc.
5#
6# Permission is hereby granted, free of charge, to any person obtaining a
7# copy of this software and associated documentation files (the "Software"),
8# to deal in the Software without restriction, including without limitation
9# the rights to use, copy, modify, merge, publish, distribute, sublicense,
10# and/or sell copies of the Software, and to permit persons to whom the
11# Software is furnished to do so, subject to the following conditions:
12#
13# The above copyright notice and this permission notice shall be included
14# in all copies or substantial portions of the Software.
15#
16# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL
19# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
21# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
22# DEALINGS IN THE SOFTWARE.
23
24# src/gallium/Android.mk
25
26GALLIUM_TOP := $(call my-dir)
27GALLIUM_COMMON_MK := $(GALLIUM_TOP)/Android.common.mk
28GALLIUM_TARGET_DRIVERS :=
29
30SUBDIRS := auxiliary
31SUBDIRS += auxiliary/pipe-loader
32
33#
34# Gallium drivers and their respective winsys
35#
36
37SUBDIRS += winsys/sw/dri drivers/softpipe
38SUBDIRS += winsys/freedreno/drm drivers/freedreno
39SUBDIRS += winsys/i915/drm drivers/i915
40SUBDIRS += winsys/nouveau/drm drivers/nouveau
41SUBDIRS += winsys/pl111/drm drivers/pl111
42SUBDIRS += winsys/radeon/drm drivers/r300
43SUBDIRS += winsys/radeon/drm drivers/r600
44SUBDIRS += winsys/radeon/drm winsys/amdgpu/drm drivers/radeonsi drivers/radeon
45SUBDIRS += winsys/vc4/drm drivers/vc4
46SUBDIRS += winsys/virgl/drm winsys/virgl/vtest drivers/virgl
47SUBDIRS += winsys/svga/drm drivers/svga
48SUBDIRS += winsys/etnaviv/drm drivers/etnaviv drivers/renderonly
49SUBDIRS += winsys/imx/drm
50SUBDIRS += state_trackers/dri
51
52# sort to eliminate any duplicates
53INC_DIRS := $(call all-named-subdir-makefiles,$(sort $(SUBDIRS)))
54# targets/dri must be included last
55INC_DIRS += $(call all-named-subdir-makefiles,targets/dri)
56
57include $(INC_DIRS)
58