summaryrefslogtreecommitdiffstats
path: root/src/gallium/targets/xorg-vmwgfx/Makefile
blob: 73a2cea232e49bf7e36c4a124b7a7e654376a321 (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 = vmwgfx_drv.so

C_SOURCES = \
	vmw_xorg.c \
	vmw_video.c \
	vmw_ioctl.c \
	vmw_ctrl.c \
	vmw_target.c \
	vmw_screen.c

DRIVER_INCLUDES = \
	-I$(TOP)/src/gallium

DRIVER_DEFINES = \
	-std=gnu99 \
	-DGALLIUM_RBUG \
	-DGALLIUM_TRACE \
	-DHAVE_CONFIG_H


DRIVER_LINKS = \
	$(TOP)/src/gallium/state_trackers/xorg/libxorgtracker.a \
	$(TOP)/src/gallium/winsys/svga/drm/libsvgadrm.a \
	$(TOP)/src/gallium/drivers/trace/libtrace.a \
	$(TOP)/src/gallium/drivers/rbug/librbug.a \
	$(TOP)/src/gallium/drivers/svga/libsvga.a \
	$(GALLIUM_AUXILIARIES) \
	$(shell pkg-config --libs --silence-errors libkms) \
	$(shell pkg-config --libs libdrm)

include ../Makefile.xorg