Tizen 2.0 Release
[profile/ivi/osmesa.git] / src / gallium / targets / dri-i915 / Makefile
1 TOP = ../../../..
2 include $(TOP)/configs/current
3
4 LIBNAME = i915_dri.so
5
6 PIPE_DRIVERS = \
7         $(TOP)/src/gallium/state_trackers/dri/drm/libdridrm.a \
8         $(TOP)/src/gallium/winsys/i915/drm/libi915drm.a \
9         $(TOP)/src/gallium/winsys/sw/wrapper/libwsw.a \
10         $(TOP)/src/gallium/drivers/softpipe/libsoftpipe.a \
11         $(TOP)/src/gallium/drivers/galahad/libgalahad.a \
12         $(TOP)/src/gallium/drivers/trace/libtrace.a \
13         $(TOP)/src/gallium/drivers/rbug/librbug.a \
14         $(TOP)/src/gallium/drivers/i915/libi915.a
15
16 C_SOURCES = \
17         target.c \
18         $(COMMON_GALLIUM_SOURCES) \
19         $(DRIVER_SOURCES)
20
21 DRIVER_DEFINES = \
22         -DGALLIUM_RBUG -DGALLIUM_TRACE -DGALLIUM_GALAHAD -DGALLIUM_SOFTPIPE
23
24 ifeq ($(MESA_LLVM),1)
25 DRIVER_DEFINES += -DGALLIUM_LLVMPIPE
26 endif
27
28 include ../Makefile.dri
29
30 DRI_LIB_DEPS += -ldrm_intel
31
32 symlinks: