2014-09-27 11:52:59 -06:00
|
|
|
noinst_LTLIBRARIES = libXext.la libXextdpmsstubs.la
|
2006-11-26 11:13:41 -07:00
|
|
|
|
|
|
|
AM_CFLAGS = $(DIX_CFLAGS)
|
|
|
|
|
|
|
|
if XORG
|
2011-11-05 07:32:40 -06:00
|
|
|
sdk_HEADERS = xvdix.h xvmcext.h geext.h geint.h shmint.h syncsdk.h
|
2006-11-26 11:13:41 -07:00
|
|
|
endif
|
|
|
|
|
|
|
|
# Sources always included in libXextbuiltin.la & libXext.la
|
|
|
|
BUILTIN_SRCS = \
|
2009-09-06 13:44:18 -06:00
|
|
|
bigreq.c \
|
|
|
|
geext.c \
|
2006-11-26 11:13:41 -07:00
|
|
|
shape.c \
|
|
|
|
sleepuntil.c \
|
|
|
|
sleepuntil.h \
|
2009-09-06 13:44:18 -06:00
|
|
|
sync.c \
|
2011-11-05 07:32:40 -06:00
|
|
|
syncsdk.h \
|
2010-07-27 13:02:24 -06:00
|
|
|
syncsrv.h \
|
2009-09-06 13:44:18 -06:00
|
|
|
xcmisc.c \
|
2006-11-26 11:13:41 -07:00
|
|
|
xtest.c
|
2013-06-07 11:28:45 -06:00
|
|
|
BUILTIN_LIBS =
|
2006-11-26 11:13:41 -07:00
|
|
|
|
|
|
|
# Optional sources included if extension enabled by configure.ac rules
|
|
|
|
|
|
|
|
# MIT Shared Memory extension
|
|
|
|
MITSHM_SRCS = shm.c shmint.h
|
|
|
|
if MITSHM
|
|
|
|
BUILTIN_SRCS += $(MITSHM_SRCS)
|
|
|
|
endif
|
|
|
|
|
|
|
|
# XVideo extension
|
|
|
|
XV_SRCS = xvmain.c xvdisp.c xvmc.c xvdix.h xvmcext.h xvdisp.h
|
|
|
|
if XV
|
2013-06-07 11:28:45 -06:00
|
|
|
BUILTIN_SRCS += $(XV_SRCS)
|
2006-11-26 11:13:41 -07:00
|
|
|
endif
|
|
|
|
|
|
|
|
# XResource extension: lets clients get data about per-client resource usage
|
2013-06-07 11:28:45 -06:00
|
|
|
RES_SRCS = hashtable.c hashtable.h xres.c
|
2006-11-26 11:13:41 -07:00
|
|
|
if RES
|
2013-06-07 11:28:45 -06:00
|
|
|
BUILTIN_SRCS += $(RES_SRCS)
|
2006-11-26 11:13:41 -07:00
|
|
|
endif
|
|
|
|
|
|
|
|
# MIT ScreenSaver extension
|
|
|
|
SCREENSAVER_SRCS = saver.c
|
|
|
|
if SCREENSAVER
|
2013-06-07 11:28:45 -06:00
|
|
|
BUILTIN_SRCS += $(SCREENSAVER_SRCS)
|
2006-11-26 11:13:41 -07:00
|
|
|
endif
|
|
|
|
|
|
|
|
# Xinerama extension: making multiple video devices act as one virtual screen
|
|
|
|
XINERAMA_SRCS = panoramiX.c panoramiX.h panoramiXh.h panoramiXsrv.h panoramiXprocs.c panoramiXSwap.c
|
|
|
|
if XINERAMA
|
|
|
|
BUILTIN_SRCS += $(XINERAMA_SRCS)
|
2010-07-27 13:02:24 -06:00
|
|
|
if XORG
|
|
|
|
sdk_HEADERS += panoramiXsrv.h panoramiX.h
|
|
|
|
endif
|
2006-11-26 11:13:41 -07:00
|
|
|
endif
|
|
|
|
|
|
|
|
# X-ACE extension: provides hooks for building security policy extensions
|
|
|
|
# like XC-Security, X-SELinux & XTSol
|
|
|
|
XACE_SRCS = xace.c xace.h xacestr.h
|
|
|
|
if XACE
|
|
|
|
BUILTIN_SRCS += $(XACE_SRCS)
|
2010-07-27 13:02:24 -06:00
|
|
|
if XORG
|
|
|
|
sdk_HEADERS += xace.h xacestr.h
|
|
|
|
endif
|
2006-11-26 11:13:41 -07:00
|
|
|
endif
|
|
|
|
|
2008-11-02 08:26:08 -07:00
|
|
|
# SELinux extension: provides SELinux policy support for X objects
|
|
|
|
# requires X-ACE extension
|
2010-07-27 13:02:24 -06:00
|
|
|
XSELINUX_SRCS = xselinux_ext.c xselinux_hooks.c xselinux_label.c xselinux.h xselinuxint.h
|
2008-11-02 08:26:08 -07:00
|
|
|
if XSELINUX
|
2013-06-07 11:28:45 -06:00
|
|
|
BUILTIN_SRCS += $(XSELINUX_SRCS)
|
|
|
|
BUILTIN_LIBS += $(SELINUX_LIBS)
|
2008-11-02 08:26:08 -07:00
|
|
|
endif
|
|
|
|
|
2006-11-26 11:13:41 -07:00
|
|
|
# Security extension: multi-level security to protect clients from each other
|
|
|
|
XCSECURITY_SRCS = security.c securitysrv.h
|
|
|
|
if XCSECURITY
|
|
|
|
BUILTIN_SRCS += $(XCSECURITY_SRCS)
|
|
|
|
endif
|
|
|
|
|
|
|
|
# XF86 Big Font extension
|
2010-07-27 13:02:24 -06:00
|
|
|
BIGFONT_SRCS = xf86bigfont.c xf86bigfontsrv.h
|
2006-11-26 11:13:41 -07:00
|
|
|
if XF86BIGFONT
|
|
|
|
BUILTIN_SRCS += $(BIGFONT_SRCS)
|
|
|
|
endif
|
|
|
|
|
|
|
|
# DPMS extension
|
|
|
|
DPMS_SRCS = dpms.c dpmsproc.h
|
|
|
|
if DPMSExtension
|
2013-06-07 11:28:45 -06:00
|
|
|
BUILTIN_SRCS += $(DPMS_SRCS)
|
2006-11-26 11:13:41 -07:00
|
|
|
endif
|
|
|
|
|
|
|
|
# Now take all of the above, mix well, bake for 10 minutes and get libXext*.la
|
|
|
|
|
2013-06-07 11:28:45 -06:00
|
|
|
libXext_la_SOURCES = $(BUILTIN_SRCS)
|
|
|
|
libXext_la_LIBADD = $(BUILTIN_LIBS)
|
2006-11-26 11:13:41 -07:00
|
|
|
|
2014-09-27 11:52:59 -06:00
|
|
|
libXextdpmsstubs_la_SOURCES = dpmsstubs.c
|
|
|
|
|
2006-11-26 11:13:41 -07:00
|
|
|
EXTRA_DIST = \
|
|
|
|
$(MITSHM_SRCS) \
|
|
|
|
$(XV_SRCS) \
|
|
|
|
$(RES_SRCS) \
|
|
|
|
$(SCREENSAVER_SRCS) \
|
|
|
|
$(XACE_SRCS) \
|
|
|
|
$(XCSECURITY_SRCS) \
|
2010-07-27 13:02:24 -06:00
|
|
|
$(XSELINUX_SRCS) \
|
2006-11-26 11:13:41 -07:00
|
|
|
$(XINERAMA_SRCS) \
|
|
|
|
$(BIGFONT_SRCS) \
|
2009-09-06 13:44:18 -06:00
|
|
|
$(DPMS_SRCS) \
|
|
|
|
$(GE_SRCS)
|
2006-11-26 11:13:41 -07:00
|
|
|
|