summaryrefslogtreecommitdiff
path: root/src/gallium/targets/xorg-vmwgfx/Makefile
blob: 0cc9be212b4926a30e89284071b593f1c63f17c2 (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
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 \
	-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