summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/i915/Makefile
blob: e2e5382b782bdfc786457a97392efadff843cc20 (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
28
29
30

TOP = ../../../../..
include $(TOP)/configs/current

LIBNAME = i915_dri.so

include ../Makefile.defines

# Import variables i915_*.
include Makefile.sources

C_SOURCES = \
	$(COMMON_SOURCES) \
	$(i915_C_SOURCES)

ASM_SOURCES = 

DRIVER_DEFINES = $(addprefix -I$(TOP)/, $(i915_INCLUDES)) -DI915 \
	$(shell pkg-config libdrm --atleast-version=2.3.1 \
				&& echo "-DDRM_VBLANK_FLIP=DRM_VBLANK_FLIP")

INCLUDES += $(INTEL_CFLAGS)
DRI_LIB_DEPS += $(INTEL_LIBS)

include ../Makefile.targets

intel_decode.o: ../intel/intel_decode.c

intel_tex_layout.o: ../intel/intel_tex_layout.c