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