aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/winsys/svga/drm/Makefile
blob: c2f59e01b0d0a22c7f4cde6070830f11c09cd2eb (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
TOP = ../../../../..
include $(TOP)/configs/current

LIBNAME = svgadrm

C_SOURCES = \
        vmw_buffer.c \
        vmw_context.c  \
        vmw_fence.c  \
        vmw_screen.c  \
        vmw_screen_dri.c  \
        vmw_screen_ioctl.c  \
        vmw_screen_pools.c  \
        vmw_screen_svga.c  \
        vmw_surface.c

LIBRARY_INCLUDES = \
       -I$(TOP)/src/gallium/drivers/svga \
       -I$(TOP)/src/gallium/drivers/svga/include \
       $(shell pkg-config libdrm --cflags-only-I)

LIBRARY_DEFINES = \
       -std=gnu99 -fvisibility=hidden \
       -DHAVE_STDINT_H -D_FILE_OFFSET_BITS=64 \
       $(shell pkg-config libdrm --cflags-only-other)

include ../../../Makefile.template