Merge commit 'origin/gallium-master-merge'
[mesa.git] / src / gallium / winsys / drm / nouveau / common / Makefile
1 TOP = ../../../../../..
2 include $(TOP)/configs/current
3
4 LIBNAME = nouveaudrm
5
6 C_SOURCES = \
7 nouveau_context.c \
8 nouveau_lock.c \
9 nouveau_screen.c \
10 nouveau_winsys.c \
11 nouveau_winsys_pipe.c \
12 nouveau_winsys_softpipe.c
13
14 include ./Makefile.template
15
16 DRIVER_DEFINES = $(shell pkg-config libdrm --cflags \
17 && pkg-config libdrm --atleast-version=2.3.1 \
18 && pkg-config libdrm_nouveau --exact-version=0.5 \
19 && pkg-config libdrm_nouveau --cflags \
20 && echo "-DDRM_VBLANK_FLIP=DRM_VBLANK_FLIP")
21 symlinks:
22