blob: 78e821581b96df3072f45534db53f72b1cb3f7ad [file] [log] [blame]
Chia-I Wu688db6e2011-08-17 11:38:00 +08001# 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
Mauro Rossib7ee56b2017-07-01 17:52:49 +020028GALLIUM_TARGET_DRIVERS :=
Chia-I Wu688db6e2011-08-17 11:38:00 +080029
Emil Velikovec668cb2014-07-20 22:20:04 +010030SUBDIRS := auxiliary
Emil Velikovc4d33712015-10-14 23:44:17 +010031SUBDIRS += auxiliary/pipe-loader
Emil Velikovec668cb2014-07-20 22:20:04 +010032
33#
34# Gallium drivers and their respective winsys
35#
Chia-I Wu688db6e2011-08-17 11:38:00 +080036
Rob Herring2bb05d72018-07-24 11:09:39 +020037SUBDIRS += winsys/sw/kms-dri winsys/sw/dri drivers/softpipe
Emil Velikovbf05e062014-07-20 22:13:34 +010038SUBDIRS += winsys/freedreno/drm drivers/freedreno
Chia-I Wu99be9682011-08-22 11:04:46 +080039SUBDIRS += winsys/i915/drm drivers/i915
Rob Herring2a2dabe2017-05-03 14:35:19 -050040SUBDIRS += winsys/nouveau/drm drivers/nouveau
Eric Anholted65aee2018-10-23 12:33:09 -070041SUBDIRS += winsys/kmsro/drm drivers/kmsro
Rob Herring3f097392017-05-03 14:35:20 -050042SUBDIRS += winsys/radeon/drm drivers/r300
Rob Herringe5e93c72017-10-10 17:01:29 -050043SUBDIRS += winsys/radeon/drm drivers/r600
Marek Olšákc0dfc0c2018-04-01 20:56:07 -040044SUBDIRS += winsys/radeon/drm winsys/amdgpu/drm drivers/radeonsi
Eric Anholt6ce0b0e2015-06-03 10:15:31 -070045SUBDIRS += winsys/vc4/drm drivers/vc4
Mauro Rossi60c581b2019-06-15 07:39:02 +020046SUBDIRS += winsys/virgl/common winsys/virgl/drm winsys/virgl/vtest drivers/virgl
Chia-I Wu04dbb372011-08-22 11:14:33 +080047SUBDIRS += winsys/svga/drm drivers/svga
Rob Herring77c44672017-07-04 13:28:38 +020048SUBDIRS += winsys/etnaviv/drm drivers/etnaviv drivers/renderonly
Marek Olšákd6287a92019-12-03 18:01:31 -050049SUBDIRS += frontends/dri
Tapani Pälli96bb3282018-12-03 14:15:13 +020050SUBDIRS += winsys/iris/drm drivers/iris
Icenowy Zheng3e91c7d2019-04-15 12:32:43 +080051SUBDIRS += winsys/lima/drm drivers/lima
Robert Fossf1404672019-10-22 19:31:52 +020052SUBDIRS += winsys/panfrost/drm drivers/panfrost
Chia-I Wu04dbb372011-08-22 11:14:33 +080053
Rob Herring3f097392017-05-03 14:35:20 -050054# sort to eliminate any duplicates
55INC_DIRS := $(call all-named-subdir-makefiles,$(sort $(SUBDIRS)))
56# targets/dri must be included last
57INC_DIRS += $(call all-named-subdir-makefiles,targets/dri)
Chih-Wei Huangf4f609b2015-05-20 11:25:27 +080058
Rob Herring3f097392017-05-03 14:35:20 -050059include $(INC_DIRS)