aboutsummaryrefslogtreecommitdiff
path: root/xorg-server/randr/makefile
diff options
context:
space:
mode:
Diffstat (limited to 'xorg-server/randr/makefile')
-rw-r--r--xorg-server/randr/makefile19
1 files changed, 13 insertions, 6 deletions
diff --git a/xorg-server/randr/makefile b/xorg-server/randr/makefile
index 44516fc31..8dac78b7f 100644
--- a/xorg-server/randr/makefile
+++ b/xorg-server/randr/makefile
@@ -1,19 +1,26 @@
LIBRARY=librandr
+XINERAMA=1
-CSRCS = \
- rrxinerama.c \
+XINERAMA_SRCS = rrxinerama.c
+
+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.c \
- mirrcrtc.c
+ rrtransform.h \
+ rrtransform.c
+
+if XINERAMA
+librandr_la_SOURCES += ${XINERAMA_SRCS}
+endif
+
+CSRCS = $(filter %.c,$(librandr_la_SOURCES))