summaryrefslogtreecommitdiff
path: root/src/gallium/targets/dri-swrast/Makefile
blob: 948c45abe5c64c4c73c78ae863e2c40d19581ff4 (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
TOP = ../../../..
include $(TOP)/configs/current

LIBNAME = swrastg_dri.so

DRIVER_DEFINES = \
	-D__NOT_HAVE_DRM_H -DGALLIUM_SOFTPIPE \
	-DGALLIUM_RBUG -DGALLIUM_TRACE

PIPE_DRIVERS = \
	$(TOP)/src/gallium/state_trackers/dri/sw/libdrisw.a \
	$(TOP)/src/gallium/winsys/sw/dri/libswdri.a \
	$(TOP)/src/gallium/drivers/softpipe/libsoftpipe.a \
	$(TOP)/src/gallium/drivers/trace/libtrace.a \
	$(TOP)/src/gallium/drivers/rbug/librbug.a

SWRAST_COMMON_GALLIUM_SOURCES = \
	$(TOP)/src/mesa/drivers/dri/common/utils.c \
	$(TOP)/src/mesa/drivers/dri/common/drisw_util.c \
	$(TOP)/src/mesa/drivers/dri/common/xmlconfig.c

C_SOURCES = \
	swrast_drm_api.c \
	$(SWRAST_COMMON_GALLIUM_SOURCES) \
	$(DRIVER_SOURCES)

ASM_SOURCES =

include ../Makefile.dri

INCLUDES += \
	-I$(TOP)/src/gallium/winsys/sw/dri

symlinks: