Merge branch 'gallium-edgeflags'
[mesa.git] / src / gallium / winsys / drm / i965 / egl / Makefile
1 TOP = ../../../../../..
2 GALLIUMDIR = ../../../..
3 include $(TOP)/configs/current
4
5 LIBNAME = EGL_i965.so
6
7 PIPE_DRIVERS = \
8 $(TOP)/src/gallium/state_trackers/egl/libegldrm.a \
9 $(GALLIUMDIR)/winsys/drm/i965/gem/libi965drm.a \
10 $(TOP)/src/gallium/drivers/softpipe/libsoftpipe.a \
11 $(TOP)/src/gallium/drivers/trace/libtrace.a \
12 $(TOP)/src/gallium/drivers/i965/libi965.a
13
14 DRIVER_SOURCES =
15
16 C_SOURCES = \
17 $(COMMON_GALLIUM_SOURCES) \
18 $(DRIVER_SOURCES)
19
20 DRIVER_EXTRAS = -ldrm_intel
21
22 ASM_SOURCES =
23
24 DRIVER_DEFINES = -I../gem $(shell pkg-config libdrm --atleast-version=2.3.1 \
25 && echo "-DDRM_VBLANK_FLIP=DRM_VBLANK_FLIP")
26
27 include ../../Makefile.template
28
29 symlinks: