summaryrefslogtreecommitdiffstats
path: root/configs/debian-dri-default
blob: f92c7eddd01181f4d8922c879f6b40abb9b44ade (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# Configuration defaults for building the DRI drivers and DRI/GLX-enabled
# libGL.

include $(TOP)/configs/debian-default

CONFIG_NAME = debian-dri-default

SRC_DIRS = glx/x11 mesa progs
DRIVER_DIRS = dri
PROGRAM_DIRS = xdemos
PROGS = glxdemo \
        glxgears \
        glxheads \
        glxinfo

LIB_DIR = lib/glx

DRI_DRIVER_INSTALL_DIR = $(INSTALL_DIR)/lib/dri
DRI_DRIVER_SEARCH_DIR = /usr/lib/dri

DRI_DIRS = mach64 mga r128 r200 r300 radeon s3v savage tdfx trident

ARCH_X86 = i386 amd64

ifneq ($(findstring $(DEB_BUILD_ARCH), $(ARCH_X86)),)
	DRI_DIRS += i810 i915 i915tex i965 sis unichrome
endif

ifeq ($(DEB_BUILD_ARCH), sparc)
	DRI_DIRS += ffb
endif

APP_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -l$(GL_LIB)

# vim: ft=make