noinst_LTLIBRARIES = librandr.la

AM_CFLAGS = $(DIX_CFLAGS)

XINERAMA_SRCS = rrxinerama.c

if XORG
sdk_HEADERS = randrstr.h rrtransform.h
endif

librandr_la_SOURCES =	\
	randr.c		\
	randrstr.h	\
	rrcrtc.c	\
	rrdispatch.c	\
	rrinfo.c	\
	rrmode.c	\
	rroutput.c	\
	rrpixmap.c	\
	rrpointer.c	\
	rrproperty.c	\
	rrscreen.c	\
	rrsdispatch.c	\
	rrsprite.c	\
	rrtransform.h	\
	rrtransform.c	\
	mirrcrtc.c


if XINERAMA
librandr_la_SOURCES += ${XINERAMA_SRCS}
endif