Merge commit 'origin/gallium-master-merge'
[mesa.git] / src / gallium / winsys / drm / nouveau / dri / Makefile
1 TOP = ../../../../../..
2 include $(TOP)/configs/current
3
4 LIBNAME = nouveau_dri.so
5
6 MINIGLX_SOURCES =
7
8 PIPE_DRIVERS = \
9 $(TOP)/src/gallium/drivers/softpipe/libsoftpipe.a \
10 $(TOP)/src/gallium/drivers/nv04/libnv04.a \
11 $(TOP)/src/gallium/drivers/nv10/libnv10.a \
12 $(TOP)/src/gallium/drivers/nv20/libnv20.a \
13 $(TOP)/src/gallium/drivers/nv30/libnv30.a \
14 $(TOP)/src/gallium/drivers/nv40/libnv40.a \
15 $(TOP)/src/gallium/drivers/nv50/libnv50.a
16
17 DRIVER_SOURCES = \
18 nouveau_context_dri.c \
19 nouveau_screen_dri.c \
20 nouveau_swapbuffers.c \
21 ../common/libnouveaudrm.a
22
23 C_SOURCES = \
24 $(COMMON_GALLIUM_SOURCES) \
25 $(DRIVER_SOURCES)
26
27 ASM_SOURCES =
28
29 DRIVER_DEFINES = $(shell pkg-config libdrm_nouveau --cflags)
30 DRI_LIB_DEPS += $(shell pkg-config libdrm_nouveau --libs)
31
32 include ../../Makefile.template
33
34 symlinks: