summaryrefslogtreecommitdiff
path: root/src/gallium/winsys/svga/drm/Makefile
blob: 02ea91bf3345db3584db676112efaba6a3ff20ec (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
TOP = ../../../../..
include $(TOP)/configs/current

LIBNAME = svgadrm

# get C_SOURCES
include Makefile.sources

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