intel: Change link order
[mesa.git] / src / gallium / winsys / drm / intel / egl / Makefile
1 TOP = ../../../../../..
2 include $(TOP)/configs/current
3
4 LIBNAME = EGL_i915.so
5
6 PIPE_DRIVERS = \
7 ../gem/libinteldrm.a \
8 $(TOP)/src/gallium/drivers/softpipe/libsoftpipe.a \
9 $(TOP)/src/gallium/drivers/i915simple/libi915simple.a \
10 $(TOP)/src/gallium/state_trackers/egl/libegldrm.a \
11
12
13 DRIVER_SOURCES = \
14 intel_context.c \
15 intel_device.c \
16 intel_api.c
17
18 C_SOURCES = \
19 $(COMMON_GALLIUM_SOURCES) \
20 $(DRIVER_SOURCES)
21
22 DRIVER_EXTRAS = -ldrm_intel
23
24 ASM_SOURCES =
25
26 DRIVER_DEFINES = -I../gem $(shell pkg-config libdrm --atleast-version=2.3.1 \
27 && echo "-DDRM_VBLANK_FLIP=DRM_VBLANK_FLIP")
28
29 include ../../Makefile.template
30
31 symlinks: