170cf1270d
Fixes https://bugs.freedesktop.org/show_bug.cgi?id=18710 . As this can't work without new EXA_PREPARE_AUX* indices, this requires a major version bump, so we can also drop the UploadToScratch driver hook and ExaOffscreenSwap*(). So this also fixes http://bugs.freedesktop.org/show_bug.cgi?id=20213 . Moreover, introduce EXA_DRIVER_KNOWN_MAJOR to break compilation of drivers which may not be able to handle EXA_PREPARE_AUX*, giving instructions how to make them build again in the #error message. Signed-off-by: Michel Dänzer <daenzer@vmware.com>
30 lines
675 B
Makefile
30 lines
675 B
Makefile
module_LTLIBRARIES = libexa.la
|
|
|
|
libexa_la_LDFLAGS = -avoid-version
|
|
|
|
INCLUDES = \
|
|
$(XORG_INCS) \
|
|
-I$(srcdir)/../../../exa \
|
|
-I$(srcdir)/../../../miext/cw
|
|
|
|
# Use an arbitrary high major version here to satisfy any driver checks in exa.h
|
|
AM_CFLAGS = $(DIX_CFLAGS) $(XORG_CFLAGS) -DEXA_DRIVER_KNOWN_MAJOR=99
|
|
|
|
libexa_la_SOURCES = \
|
|
examodule.c
|
|
|
|
libexa_la_LIBADD = \
|
|
../../../exa/libexa.la
|
|
|
|
include $(top_srcdir)/cpprules.in
|
|
|
|
drivermandir = $(DRIVER_MAN_DIR)
|
|
driverman_DATA = exa.$(DRIVER_MAN_SUFFIX)
|
|
CLEANFILES = $(driverman_DATA) exa.man
|
|
|
|
exa.$(DRIVER_MAN_SUFFIX): exa.man
|
|
-rm -f exa.$(DRIVER_MAN_SUFFIX)
|
|
$(LN_S) exa.man exa.$(DRIVER_MAN_SUFFIX)
|
|
|
|
EXTRA_DIST = exa.man.pre
|