summaryrefslogtreecommitdiff
path: root/src/gallium/winsys/drm/intel/egl/Makefile
blob: 7147d89e0d0a86f06aaacea6f14f6f1bb165c7dc (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
31
TOP = ../../../../../..
include $(TOP)/configs/current

LIBNAME = EGL_i915.so

PIPE_DRIVERS = \
	../gem/libinteldrm.a \
	$(TOP)/src/gallium/drivers/softpipe/libsoftpipe.a \
	$(TOP)/src/gallium/drivers/i915simple/libi915simple.a \
	$(TOP)/src/gallium/state_trackers/egl/libegldrm.a \


DRIVER_SOURCES = \
	intel_context.c \
	intel_device.c \
	intel_api.c

C_SOURCES = \
	$(COMMON_GALLIUM_SOURCES) \
	$(DRIVER_SOURCES)

DRIVER_EXTRAS = -ldrm_intel

ASM_SOURCES = 

DRIVER_DEFINES = -I../gem $(shell pkg-config libdrm --atleast-version=2.3.1 \
				&& echo "-DDRM_VBLANK_FLIP=DRM_VBLANK_FLIP")

include ../../Makefile.template

symlinks: