Drop autotools build system
Only meson is supported for Xwayland-only releases.
This commit is contained in:
parent
c7730cfe55
commit
9de9c31273
|
@ -59,17 +59,6 @@ debian-buster:
|
||||||
after_script:
|
after_script:
|
||||||
- ccache --show-stats
|
- ccache --show-stats
|
||||||
|
|
||||||
autotools:
|
|
||||||
extends: .common-build-and-test
|
|
||||||
script:
|
|
||||||
- mkdir build/
|
|
||||||
- cd build/
|
|
||||||
- ../autogen.sh --prefix=/usr CFLAGS="-fno-common"
|
|
||||||
- make -j${FDO_CI_CONCURRENT:-4} distcheck
|
|
||||||
- PIGLIT_DIR=/root/piglit XTEST_DIR=/root/xts make -j${FDO_CI_CONCURRENT:-4} check
|
|
||||||
- cd ..
|
|
||||||
- .gitlab-ci/manpages-check
|
|
||||||
|
|
||||||
meson:
|
meson:
|
||||||
extends: .common-build-and-test
|
extends: .common-build-and-test
|
||||||
script:
|
script:
|
||||||
|
|
|
@ -13,7 +13,6 @@ osx_image: xcode9.2
|
||||||
matrix:
|
matrix:
|
||||||
include:
|
include:
|
||||||
- env: TOOL=meson
|
- env: TOOL=meson
|
||||||
- env: TOOL=autotools
|
|
||||||
|
|
||||||
install:
|
install:
|
||||||
- brew update
|
- brew update
|
||||||
|
|
215
Makefile.am
215
Makefile.am
|
@ -1,215 +0,0 @@
|
||||||
AUTOMAKE_OPTIONS=nostdinc
|
|
||||||
|
|
||||||
# Required for automake < 1.14
|
|
||||||
ACLOCAL_AMFLAGS = -I m4
|
|
||||||
|
|
||||||
if COMPOSITE
|
|
||||||
COMPOSITE_DIR=composite
|
|
||||||
endif
|
|
||||||
|
|
||||||
if GLX
|
|
||||||
GLX_DIR=glx
|
|
||||||
endif
|
|
||||||
|
|
||||||
if DBE
|
|
||||||
DBE_DIR=dbe
|
|
||||||
endif
|
|
||||||
|
|
||||||
if RECORD
|
|
||||||
RECORD_DIR=record
|
|
||||||
endif
|
|
||||||
|
|
||||||
if DRI3
|
|
||||||
DRI3_DIR=dri3
|
|
||||||
endif
|
|
||||||
|
|
||||||
if PRESENT
|
|
||||||
PRESENT_DIR=present
|
|
||||||
endif
|
|
||||||
|
|
||||||
if PSEUDORAMIX
|
|
||||||
PSEUDORAMIX_DIR=pseudoramiX
|
|
||||||
endif
|
|
||||||
|
|
||||||
if GLAMOR
|
|
||||||
GLAMOR_DIR=glamor
|
|
||||||
endif
|
|
||||||
|
|
||||||
SUBDIRS = \
|
|
||||||
doc \
|
|
||||||
man \
|
|
||||||
include \
|
|
||||||
dix \
|
|
||||||
fb \
|
|
||||||
mi \
|
|
||||||
Xext \
|
|
||||||
miext \
|
|
||||||
os \
|
|
||||||
randr \
|
|
||||||
render \
|
|
||||||
Xi \
|
|
||||||
xkb \
|
|
||||||
$(PSEUDORAMIX_DIR) \
|
|
||||||
$(DBE_DIR) \
|
|
||||||
$(RECORD_DIR) \
|
|
||||||
xfixes \
|
|
||||||
damageext \
|
|
||||||
$(COMPOSITE_DIR) \
|
|
||||||
$(GLX_DIR) \
|
|
||||||
$(PRESENT_DIR) \
|
|
||||||
$(DRI3_DIR) \
|
|
||||||
exa \
|
|
||||||
$(GLAMOR_DIR) \
|
|
||||||
config \
|
|
||||||
hw \
|
|
||||||
test
|
|
||||||
|
|
||||||
if XORG
|
|
||||||
aclocaldir = $(datadir)/aclocal
|
|
||||||
aclocal_DATA = xorg-server.m4
|
|
||||||
|
|
||||||
pkgconfigdir = $(libdir)/pkgconfig
|
|
||||||
pkgconfig_DATA = xorg-server.pc
|
|
||||||
endif
|
|
||||||
|
|
||||||
EXTRA_DIST = xorg-server.pc.in xorg-server.m4 autogen.sh README.md
|
|
||||||
|
|
||||||
DISTCHECK_CONFIGURE_FLAGS=\
|
|
||||||
--with-xkb-path=$(XKB_BASE_DIRECTORY) \
|
|
||||||
--with-xkb-bin-directory=$(XKB_BIN_DIRECTORY) \
|
|
||||||
--with-xkb-output='$${datadir}/X11/xkb/compiled'
|
|
||||||
|
|
||||||
.PHONY: ChangeLog INSTALL
|
|
||||||
|
|
||||||
INSTALL:
|
|
||||||
$(INSTALL_CMD)
|
|
||||||
|
|
||||||
ChangeLog:
|
|
||||||
$(CHANGELOG_CMD)
|
|
||||||
|
|
||||||
dist-hook: ChangeLog INSTALL
|
|
||||||
|
|
||||||
DIST_SUBDIRS = \
|
|
||||||
doc \
|
|
||||||
man \
|
|
||||||
include \
|
|
||||||
dix \
|
|
||||||
fb \
|
|
||||||
mi \
|
|
||||||
Xext \
|
|
||||||
miext \
|
|
||||||
os \
|
|
||||||
pseudoramiX \
|
|
||||||
randr \
|
|
||||||
render \
|
|
||||||
Xi \
|
|
||||||
xkb \
|
|
||||||
dbe \
|
|
||||||
record \
|
|
||||||
xfixes \
|
|
||||||
damageext \
|
|
||||||
composite \
|
|
||||||
glx \
|
|
||||||
exa \
|
|
||||||
glamor \
|
|
||||||
config \
|
|
||||||
dri3 \
|
|
||||||
present \
|
|
||||||
hw \
|
|
||||||
test
|
|
||||||
|
|
||||||
# gross hack
|
|
||||||
relink: all
|
|
||||||
$(AM_V_at)$(MAKE) -C hw relink
|
|
||||||
|
|
||||||
install-headers: Makefile
|
|
||||||
+find . -name Makefile | while read m; do \
|
|
||||||
if grep -q install-sdkHEADERS $$m; then \
|
|
||||||
(cd `dirname "$$m"` && make install-sdkHEADERS) \
|
|
||||||
fi \
|
|
||||||
done
|
|
||||||
|
|
||||||
distcheck-hook:
|
|
||||||
cd $(srcdir) && \
|
|
||||||
meson setup _distcheck_build && \
|
|
||||||
meson configure _distcheck_build && \
|
|
||||||
ninja -C _distcheck_build && \
|
|
||||||
rm -rf _distcheck_build && \
|
|
||||||
cd -
|
|
||||||
|
|
||||||
EXTRA_DIST += \
|
|
||||||
meson_options.txt \
|
|
||||||
include/xorg-config.h.meson.in \
|
|
||||||
include/xwin-config.h.meson.in \
|
|
||||||
hw/xfree86/loader/symbol-test.c \
|
|
||||||
composite/meson.build \
|
|
||||||
config/meson.build \
|
|
||||||
damageext/meson.build \
|
|
||||||
dbe/meson.build \
|
|
||||||
dix/meson.build \
|
|
||||||
dri3/meson.build \
|
|
||||||
exa/meson.build \
|
|
||||||
fb/meson.build \
|
|
||||||
glamor/meson.build \
|
|
||||||
glx/meson.build \
|
|
||||||
hw/dmx/config/meson.build \
|
|
||||||
hw/dmx/examples/meson.build \
|
|
||||||
hw/dmx/glxProxy/meson.build \
|
|
||||||
hw/dmx/input/meson.build \
|
|
||||||
hw/dmx/meson.build \
|
|
||||||
hw/kdrive/ephyr/meson.build \
|
|
||||||
hw/kdrive/meson.build \
|
|
||||||
hw/kdrive/src/meson.build \
|
|
||||||
hw/meson.build \
|
|
||||||
hw/vfb/meson.build \
|
|
||||||
hw/xfree86/common/meson.build \
|
|
||||||
hw/xfree86/ddc/meson.build \
|
|
||||||
hw/xfree86/dixmods/meson.build \
|
|
||||||
hw/xfree86/dri2/meson.build \
|
|
||||||
hw/xfree86/dri/meson.build \
|
|
||||||
hw/xfree86/drivers/modesetting/meson.build \
|
|
||||||
hw/xfree86/exa/meson.build \
|
|
||||||
hw/xfree86/fbdevhw/meson.build \
|
|
||||||
hw/xfree86/glamor_egl/meson.build \
|
|
||||||
hw/xfree86/i2c/meson.build \
|
|
||||||
hw/xfree86/int10/meson.build \
|
|
||||||
hw/xfree86/loader/meson.build \
|
|
||||||
hw/xfree86/meson.build \
|
|
||||||
hw/xfree86/modes/meson.build \
|
|
||||||
hw/xfree86/os-support/meson.build \
|
|
||||||
hw/xfree86/parser/meson.build \
|
|
||||||
hw/xfree86/ramdac/meson.build \
|
|
||||||
hw/xfree86/shadowfb/meson.build \
|
|
||||||
hw/xfree86/vgahw/meson.build \
|
|
||||||
hw/xfree86/x86emu/meson.build \
|
|
||||||
hw/xfree86/xkb/meson.build \
|
|
||||||
hw/xnest/meson.build \
|
|
||||||
hw/xquartz/meson.build \
|
|
||||||
hw/xwayland/meson.build \
|
|
||||||
hw/xwin/dri/meson.build \
|
|
||||||
hw/xwin/glx/meson.build \
|
|
||||||
hw/xwin/meson.build \
|
|
||||||
hw/xwin/winclipboard/meson.build \
|
|
||||||
include/meson.build \
|
|
||||||
meson.build \
|
|
||||||
miext/damage/meson.build \
|
|
||||||
miext/shadow/meson.build \
|
|
||||||
miext/sync/meson.build \
|
|
||||||
mi/meson.build \
|
|
||||||
os/meson.build \
|
|
||||||
present/meson.build \
|
|
||||||
pseudoramiX/meson.build \
|
|
||||||
randr/meson.build \
|
|
||||||
record/meson.build \
|
|
||||||
render/meson.build \
|
|
||||||
test/bigreq/meson.build \
|
|
||||||
test/bigreq/request-length.c \
|
|
||||||
test/meson.build \
|
|
||||||
test/sync/meson.build \
|
|
||||||
test/sync/sync.c \
|
|
||||||
Xext/meson.build \
|
|
||||||
xfixes/meson.build \
|
|
||||||
Xi/meson.build \
|
|
||||||
xkb/meson.build
|
|
||||||
|
|
||||||
DISTCLEANFILES = buildDateTime.h
|
|
120
Xext/Makefile.am
120
Xext/Makefile.am
|
@ -1,120 +0,0 @@
|
||||||
noinst_LTLIBRARIES = libXext.la libXvidmode.la libhashtable.la
|
|
||||||
|
|
||||||
AM_CFLAGS = $(DIX_CFLAGS)
|
|
||||||
|
|
||||||
if XORG
|
|
||||||
sdk_HEADERS = xvdix.h xvmcext.h geext.h geint.h shmint.h syncsdk.h
|
|
||||||
endif
|
|
||||||
|
|
||||||
# Sources always included in libXextbuiltin.la, libXext.la
|
|
||||||
BUILTIN_SRCS = \
|
|
||||||
bigreq.c \
|
|
||||||
geext.c \
|
|
||||||
shape.c \
|
|
||||||
sleepuntil.c \
|
|
||||||
sleepuntil.h \
|
|
||||||
sync.c \
|
|
||||||
syncsdk.h \
|
|
||||||
syncsrv.h \
|
|
||||||
xcmisc.c \
|
|
||||||
xtest.c
|
|
||||||
BUILTIN_LIBS =
|
|
||||||
|
|
||||||
# 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
|
|
||||||
BUILTIN_SRCS += $(XV_SRCS)
|
|
||||||
endif
|
|
||||||
|
|
||||||
# XResource extension: lets clients get data about per-client resource usage
|
|
||||||
RES_SRCS = xres.c
|
|
||||||
if RES
|
|
||||||
BUILTIN_SRCS += $(RES_SRCS)
|
|
||||||
endif
|
|
||||||
|
|
||||||
# MIT ScreenSaver extension
|
|
||||||
SCREENSAVER_SRCS = saver.c
|
|
||||||
if SCREENSAVER
|
|
||||||
BUILTIN_SRCS += $(SCREENSAVER_SRCS)
|
|
||||||
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)
|
|
||||||
if XORG
|
|
||||||
sdk_HEADERS += panoramiXsrv.h panoramiX.h
|
|
||||||
endif
|
|
||||||
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)
|
|
||||||
if XORG
|
|
||||||
sdk_HEADERS += xace.h xacestr.h
|
|
||||||
endif
|
|
||||||
endif
|
|
||||||
|
|
||||||
# SELinux extension: provides SELinux policy support for X objects
|
|
||||||
# requires X-ACE extension
|
|
||||||
XSELINUX_SRCS = xselinux_ext.c xselinux_hooks.c xselinux_label.c xselinux.h xselinuxint.h
|
|
||||||
if XSELINUX
|
|
||||||
BUILTIN_SRCS += $(XSELINUX_SRCS)
|
|
||||||
BUILTIN_LIBS += $(SELINUX_LIBS)
|
|
||||||
endif
|
|
||||||
|
|
||||||
# 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
|
|
||||||
BIGFONT_SRCS = xf86bigfont.c xf86bigfontsrv.h
|
|
||||||
if XF86BIGFONT
|
|
||||||
BUILTIN_SRCS += $(BIGFONT_SRCS)
|
|
||||||
endif
|
|
||||||
|
|
||||||
# DPMS extension
|
|
||||||
DPMS_SRCS = dpms.c dpmsproc.h
|
|
||||||
if DPMSExtension
|
|
||||||
BUILTIN_SRCS += $(DPMS_SRCS)
|
|
||||||
endif
|
|
||||||
|
|
||||||
# Now take all of the above, mix well, bake for 10 minutes and get libXext*.la
|
|
||||||
|
|
||||||
libXext_la_SOURCES = $(BUILTIN_SRCS)
|
|
||||||
libXext_la_LIBADD = $(BUILTIN_LIBS)
|
|
||||||
if RES
|
|
||||||
libXext_la_LIBADD += libhashtable.la
|
|
||||||
endif
|
|
||||||
|
|
||||||
# XVidMode extension
|
|
||||||
libXvidmode_la_SOURCES = vidmode.c
|
|
||||||
|
|
||||||
#Hashtable
|
|
||||||
libhashtable_la_SOURCES = hashtable.c hashtable.h
|
|
||||||
|
|
||||||
EXTRA_DIST = \
|
|
||||||
$(MITSHM_SRCS) \
|
|
||||||
$(XV_SRCS) \
|
|
||||||
$(RES_SRCS) \
|
|
||||||
$(SCREENSAVER_SRCS) \
|
|
||||||
$(XACE_SRCS) \
|
|
||||||
$(XCSECURITY_SRCS) \
|
|
||||||
$(XSELINUX_SRCS) \
|
|
||||||
$(XINERAMA_SRCS) \
|
|
||||||
$(BIGFONT_SRCS) \
|
|
||||||
$(DPMS_SRCS) \
|
|
||||||
$(GE_SRCS)
|
|
||||||
|
|
111
Xi/Makefile.am
111
Xi/Makefile.am
|
@ -1,111 +0,0 @@
|
||||||
noinst_LTLIBRARIES = libXi.la libXistubs.la
|
|
||||||
|
|
||||||
AM_CFLAGS = $(DIX_CFLAGS)
|
|
||||||
|
|
||||||
libXi_la_SOURCES = \
|
|
||||||
allowev.c \
|
|
||||||
allowev.h \
|
|
||||||
chgdctl.c \
|
|
||||||
chgdctl.h \
|
|
||||||
chgfctl.c \
|
|
||||||
chgfctl.h \
|
|
||||||
chgkbd.c \
|
|
||||||
chgkbd.h \
|
|
||||||
chgkmap.c \
|
|
||||||
chgkmap.h \
|
|
||||||
chgprop.c \
|
|
||||||
chgprop.h \
|
|
||||||
chgptr.c \
|
|
||||||
chgptr.h \
|
|
||||||
closedev.c \
|
|
||||||
closedev.h \
|
|
||||||
devbell.c \
|
|
||||||
devbell.h \
|
|
||||||
exevents.c \
|
|
||||||
exglobals.h \
|
|
||||||
extinit.c \
|
|
||||||
getbmap.c \
|
|
||||||
getbmap.h \
|
|
||||||
getdctl.c \
|
|
||||||
getdctl.h \
|
|
||||||
getfctl.c \
|
|
||||||
getfctl.h \
|
|
||||||
getfocus.c \
|
|
||||||
getfocus.h \
|
|
||||||
getkmap.c \
|
|
||||||
getkmap.h \
|
|
||||||
getmmap.c \
|
|
||||||
getmmap.h \
|
|
||||||
getprop.c \
|
|
||||||
getprop.h \
|
|
||||||
getselev.c \
|
|
||||||
getselev.h \
|
|
||||||
getvers.c \
|
|
||||||
getvers.h \
|
|
||||||
grabdev.c \
|
|
||||||
grabdev.h \
|
|
||||||
grabdevb.c \
|
|
||||||
grabdevb.h \
|
|
||||||
grabdevk.c \
|
|
||||||
grabdevk.h \
|
|
||||||
gtmotion.c \
|
|
||||||
gtmotion.h \
|
|
||||||
listdev.c \
|
|
||||||
listdev.h \
|
|
||||||
opendev.c \
|
|
||||||
opendev.h \
|
|
||||||
queryst.c \
|
|
||||||
queryst.h \
|
|
||||||
selectev.c \
|
|
||||||
selectev.h \
|
|
||||||
sendexev.c \
|
|
||||||
sendexev.h \
|
|
||||||
setbmap.c \
|
|
||||||
setbmap.h \
|
|
||||||
setdval.c \
|
|
||||||
setdval.h \
|
|
||||||
setfocus.c \
|
|
||||||
setfocus.h \
|
|
||||||
setmmap.c \
|
|
||||||
setmmap.h \
|
|
||||||
setmode.c \
|
|
||||||
setmode.h \
|
|
||||||
ungrdev.c \
|
|
||||||
ungrdev.h \
|
|
||||||
ungrdevb.c \
|
|
||||||
ungrdevb.h \
|
|
||||||
ungrdevk.c \
|
|
||||||
ungrdevk.h \
|
|
||||||
xiallowev.c \
|
|
||||||
xiallowev.h \
|
|
||||||
xibarriers.c \
|
|
||||||
xibarriers.h \
|
|
||||||
xichangecursor.c \
|
|
||||||
xichangecursor.h \
|
|
||||||
xichangehierarchy.c \
|
|
||||||
xichangehierarchy.h \
|
|
||||||
xigetclientpointer.c \
|
|
||||||
xigetclientpointer.h \
|
|
||||||
xigrabdev.c \
|
|
||||||
xigrabdev.h \
|
|
||||||
xipassivegrab.h \
|
|
||||||
xipassivegrab.c \
|
|
||||||
xiproperty.c \
|
|
||||||
xiproperty.h \
|
|
||||||
xiquerydevice.c \
|
|
||||||
xiquerydevice.h \
|
|
||||||
xiquerypointer.c \
|
|
||||||
xiquerypointer.h \
|
|
||||||
xiqueryversion.c \
|
|
||||||
xiqueryversion.h \
|
|
||||||
xiselectev.c \
|
|
||||||
xiselectev.h \
|
|
||||||
xisetclientpointer.c \
|
|
||||||
xisetclientpointer.h \
|
|
||||||
xisetdevfocus.c \
|
|
||||||
xisetdevfocus.h \
|
|
||||||
xiwarppointer.c \
|
|
||||||
xiwarppointer.h
|
|
||||||
|
|
||||||
libXistubs_la_SOURCES = \
|
|
||||||
stubs.c
|
|
17
autogen.sh
17
autogen.sh
|
@ -1,17 +0,0 @@
|
||||||
#! /bin/sh
|
|
||||||
|
|
||||||
srcdir=`dirname "$0"`
|
|
||||||
test -z "$srcdir" && srcdir=.
|
|
||||||
|
|
||||||
ORIGDIR=`pwd`
|
|
||||||
cd "$srcdir"
|
|
||||||
|
|
||||||
autoreconf --force -v --install || exit 1
|
|
||||||
cd "$ORIGDIR" || exit $?
|
|
||||||
|
|
||||||
git config --local --get format.subjectPrefix ||
|
|
||||||
git config --local format.subjectPrefix "PATCH xserver"
|
|
||||||
|
|
||||||
if test -z "$NOCONFIGURE"; then
|
|
||||||
exec "$srcdir"/configure "$@"
|
|
||||||
fi
|
|
|
@ -1,15 +0,0 @@
|
||||||
noinst_LTLIBRARIES = libcomposite.la
|
|
||||||
|
|
||||||
AM_CFLAGS = $(DIX_CFLAGS)
|
|
||||||
|
|
||||||
if XORG
|
|
||||||
sdk_HEADERS = compositeext.h
|
|
||||||
endif
|
|
||||||
|
|
||||||
libcomposite_la_SOURCES = \
|
|
||||||
compalloc.c \
|
|
||||||
compext.c \
|
|
||||||
compint.h \
|
|
||||||
compinit.c \
|
|
||||||
compoverlay.c \
|
|
||||||
compwindow.c
|
|
|
@ -1,41 +0,0 @@
|
||||||
AM_CFLAGS = $(DIX_CFLAGS)
|
|
||||||
|
|
||||||
noinst_LTLIBRARIES = libconfig.la
|
|
||||||
libconfig_la_SOURCES = config.c config-backends.h
|
|
||||||
libconfig_la_LIBADD =
|
|
||||||
|
|
||||||
if NEED_DBUS
|
|
||||||
AM_CFLAGS += $(DBUS_CFLAGS)
|
|
||||||
libconfig_la_SOURCES += dbus-core.c
|
|
||||||
libconfig_la_LIBADD += $(DBUS_LIBS)
|
|
||||||
endif
|
|
||||||
|
|
||||||
if CONFIG_UDEV
|
|
||||||
|
|
||||||
AM_CFLAGS += $(UDEV_CFLAGS)
|
|
||||||
libconfig_la_SOURCES += udev.c
|
|
||||||
libconfig_la_LIBADD += $(UDEV_LIBS)
|
|
||||||
|
|
||||||
if XORG
|
|
||||||
xorgconfddir = $(datadir)/X11/$(XF86CONFIGDIR)
|
|
||||||
xorgconfd_DATA = 10-quirks.conf
|
|
||||||
endif
|
|
||||||
|
|
||||||
else
|
|
||||||
|
|
||||||
if CONFIG_HAL
|
|
||||||
AM_CFLAGS += $(HAL_CFLAGS)
|
|
||||||
libconfig_la_SOURCES += hal.c
|
|
||||||
libconfig_la_LIBADD += $(HAL_LIBS)
|
|
||||||
|
|
||||||
else
|
|
||||||
|
|
||||||
if CONFIG_WSCONS
|
|
||||||
libconfig_la_SOURCES += wscons.c
|
|
||||||
endif # CONFIG_WSCONS
|
|
||||||
|
|
||||||
endif # !CONFIG_HAL
|
|
||||||
|
|
||||||
endif # !CONFIG_UDEV
|
|
||||||
|
|
||||||
EXTRA_DIST = x11-input.fdi fdi2iclass.py 10-quirks.conf
|
|
2526
configure.ac
2526
configure.ac
File diff suppressed because it is too large
Load Diff
|
@ -1,7 +0,0 @@
|
||||||
noinst_LTLIBRARIES = libdamageext.la
|
|
||||||
|
|
||||||
AM_CFLAGS = $(DIX_CFLAGS)
|
|
||||||
|
|
||||||
libdamageext_la_SOURCES = \
|
|
||||||
damageext.c \
|
|
||||||
damageextint.h
|
|
|
@ -1,12 +0,0 @@
|
||||||
noinst_LTLIBRARIES = libdbe.la
|
|
||||||
|
|
||||||
AM_CFLAGS = $(DIX_CFLAGS)
|
|
||||||
|
|
||||||
if XORG
|
|
||||||
sdk_HEADERS = dbestruct.h
|
|
||||||
endif
|
|
||||||
|
|
||||||
libdbe_la_SOURCES = \
|
|
||||||
dbe.c \
|
|
||||||
midbe.c \
|
|
||||||
midbe.h
|
|
|
@ -1,61 +0,0 @@
|
||||||
noinst_LTLIBRARIES = libdix.la libmain.la
|
|
||||||
|
|
||||||
AM_CPPFLAGS = -I$(top_srcdir)/include
|
|
||||||
AM_CFLAGS = $(DIX_CFLAGS)
|
|
||||||
|
|
||||||
libmain_la_SOURCES = \
|
|
||||||
stubmain.c
|
|
||||||
|
|
||||||
libdix_la_SOURCES = \
|
|
||||||
atom.c \
|
|
||||||
colormap.c \
|
|
||||||
cursor.c \
|
|
||||||
devices.c \
|
|
||||||
dispatch.c \
|
|
||||||
dispatch.h \
|
|
||||||
dixfonts.c \
|
|
||||||
main.c \
|
|
||||||
dixutils.c \
|
|
||||||
enterleave.c \
|
|
||||||
enterleave.h \
|
|
||||||
events.c \
|
|
||||||
eventconvert.c \
|
|
||||||
extension.c \
|
|
||||||
gc.c \
|
|
||||||
getevents.c \
|
|
||||||
globals.c \
|
|
||||||
glyphcurs.c \
|
|
||||||
grabs.c \
|
|
||||||
initatoms.c \
|
|
||||||
inpututils.c \
|
|
||||||
pixmap.c \
|
|
||||||
privates.c \
|
|
||||||
property.c \
|
|
||||||
ptrveloc.c \
|
|
||||||
region.c \
|
|
||||||
registry.c \
|
|
||||||
resource.c \
|
|
||||||
selection.c \
|
|
||||||
swaprep.c \
|
|
||||||
swapreq.c \
|
|
||||||
tables.c \
|
|
||||||
touch.c \
|
|
||||||
window.c
|
|
||||||
|
|
||||||
EXTRA_DIST = buildatoms BuiltInAtoms
|
|
||||||
|
|
||||||
# Install list of protocol names
|
|
||||||
miscconfigdir = $(SERVER_MISC_CONFIG_PATH)
|
|
||||||
dist_miscconfig_DATA = protocol.txt
|
|
||||||
|
|
||||||
if SPECIAL_DTRACE_OBJECTS
|
|
||||||
# Generate dtrace object code for probes in libdix
|
|
||||||
dtrace-dix.o: $(top_srcdir)/include/Xserver.d libdix.la
|
|
||||||
$(AM_V_GEN)$(DTRACE) -G -C -o $@ -s $(top_srcdir)/include/Xserver.d $(am_libdix_la_OBJECTS:%.lo=.libs/%.o)
|
|
||||||
|
|
||||||
noinst_PROGRAMS = dix.O
|
|
||||||
|
|
||||||
dix_O_SOURCES =
|
|
||||||
dix.O: dtrace-dix.o libdix.la
|
|
||||||
$(AM_V_GEN)ld -r -o $@ $(am_libdix_la_OBJECTS:%.lo=.libs/%.o)
|
|
||||||
endif
|
|
|
@ -1,15 +0,0 @@
|
||||||
SUBDIRS = dtrace
|
|
||||||
|
|
||||||
if ENABLE_DEVEL_DOCS
|
|
||||||
if HAVE_XMLTO
|
|
||||||
|
|
||||||
# Main DocBook/XML files (DOCTYPE book)
|
|
||||||
docbook = Xserver-spec.xml Xinput.xml
|
|
||||||
|
|
||||||
# Generate DocBook/XML output formats with or without stylesheets
|
|
||||||
include $(top_srcdir)/devbook.am
|
|
||||||
|
|
||||||
endif HAVE_XMLTO
|
|
||||||
endif ENABLE_DEVEL_DOCS
|
|
||||||
|
|
||||||
EXTRA_DIST = smartsched filter-xmlto.sh
|
|
|
@ -1,15 +0,0 @@
|
||||||
|
|
||||||
if ENABLE_DOCS
|
|
||||||
if XSERVER_DTRACE
|
|
||||||
|
|
||||||
# Main DocBook/XML files (DOCTYPE book)
|
|
||||||
docbook = Xserver-DTrace.xml
|
|
||||||
|
|
||||||
# The location where the DocBook/XML files and their generated formats are installed
|
|
||||||
shelfdir = $(docdir)
|
|
||||||
|
|
||||||
# Generate DocBook/XML output formats with or without stylesheets
|
|
||||||
include $(top_srcdir)/docbook.am
|
|
||||||
|
|
||||||
endif XSERVER_DTRACE
|
|
||||||
endif ENABLE_DOCS
|
|
|
@ -1,13 +0,0 @@
|
||||||
noinst_LTLIBRARIES = libdri3.la
|
|
||||||
AM_CFLAGS = \
|
|
||||||
@DIX_CFLAGS@ \
|
|
||||||
@LIBDRM_CFLAGS@
|
|
||||||
|
|
||||||
libdri3_la_SOURCES = \
|
|
||||||
dri3.h \
|
|
||||||
dri3_priv.h \
|
|
||||||
dri3.c \
|
|
||||||
dri3_request.c \
|
|
||||||
dri3_screen.c
|
|
||||||
|
|
||||||
sdk_HEADERS = dri3.h
|
|
|
@ -1,24 +0,0 @@
|
||||||
noinst_LTLIBRARIES = libexa.la
|
|
||||||
|
|
||||||
if XORG
|
|
||||||
sdk_HEADERS = exa.h
|
|
||||||
endif
|
|
||||||
|
|
||||||
AM_CPPFLAGS = $(XORG_INCS)
|
|
||||||
|
|
||||||
AM_CFLAGS = $(XORG_CFLAGS) $(DIX_CFLAGS)
|
|
||||||
|
|
||||||
libexa_la_SOURCES = \
|
|
||||||
exa.c \
|
|
||||||
exa.h \
|
|
||||||
exa_classic.c \
|
|
||||||
exa_migration_classic.c \
|
|
||||||
exa_driver.c \
|
|
||||||
exa_mixed.c \
|
|
||||||
exa_migration_mixed.c \
|
|
||||||
exa_accel.c \
|
|
||||||
exa_glyphs.c \
|
|
||||||
exa_offscreen.c \
|
|
||||||
exa_render.c \
|
|
||||||
exa_priv.h \
|
|
||||||
exa_unaccel.c
|
|
|
@ -1,49 +0,0 @@
|
||||||
noinst_LTLIBRARIES = libfb.la libwfb.la
|
|
||||||
|
|
||||||
AM_CFLAGS = $(DIX_CFLAGS)
|
|
||||||
|
|
||||||
if XORG
|
|
||||||
sdk_HEADERS = fb.h fbrop.h fboverlay.h wfbrename.h fbpict.h
|
|
||||||
endif
|
|
||||||
|
|
||||||
libfb_la_CFLAGS = $(AM_CFLAGS)
|
|
||||||
libfb_la_LIBADD = $(PIXMAN_LIBS)
|
|
||||||
|
|
||||||
libwfb_la_CFLAGS = $(AM_CFLAGS) -DFB_ACCESS_WRAPPER
|
|
||||||
libwfb_la_LIBADD = $(PIXMAN_LIBS)
|
|
||||||
|
|
||||||
libfb_la_SOURCES = \
|
|
||||||
fb.h \
|
|
||||||
fballpriv.c \
|
|
||||||
fbarc.c \
|
|
||||||
fbbits.c \
|
|
||||||
fbbits.h \
|
|
||||||
fbblt.c \
|
|
||||||
fbbltone.c \
|
|
||||||
fbcmap_mi.c \
|
|
||||||
fbcopy.c \
|
|
||||||
fbfill.c \
|
|
||||||
fbfillrect.c \
|
|
||||||
fbfillsp.c \
|
|
||||||
fbgc.c \
|
|
||||||
fbgetsp.c \
|
|
||||||
fbglyph.c \
|
|
||||||
fbimage.c \
|
|
||||||
fbline.c \
|
|
||||||
fboverlay.c \
|
|
||||||
fboverlay.h \
|
|
||||||
fbpict.c \
|
|
||||||
fbpict.h \
|
|
||||||
fbpixmap.c \
|
|
||||||
fbpoint.c \
|
|
||||||
fbpush.c \
|
|
||||||
fbrop.h \
|
|
||||||
fbscreen.c \
|
|
||||||
fbseg.c \
|
|
||||||
fbsetsp.c \
|
|
||||||
fbsolid.c \
|
|
||||||
fbtrap.c \
|
|
||||||
fbutil.c \
|
|
||||||
fbwindow.c
|
|
||||||
|
|
||||||
libwfb_la_SOURCES = $(libfb_la_SOURCES)
|
|
|
@ -1,62 +0,0 @@
|
||||||
noinst_LTLIBRARIES = libglamor.la libglamor_egl_stubs.la
|
|
||||||
|
|
||||||
libglamor_la_LIBADD = $(GLAMOR_LIBS)
|
|
||||||
|
|
||||||
AM_CFLAGS = $(CWARNFLAGS) $(DIX_CFLAGS) $(GLAMOR_CFLAGS)
|
|
||||||
|
|
||||||
libglamor_la_SOURCES = \
|
|
||||||
glamor.c \
|
|
||||||
glamor_context.h \
|
|
||||||
glamor_copy.c \
|
|
||||||
glamor_core.c \
|
|
||||||
glamor_dash.c \
|
|
||||||
glamor_debug.h \
|
|
||||||
glamor_font.c \
|
|
||||||
glamor_font.h \
|
|
||||||
glamor_glx.c \
|
|
||||||
glamor_composite_glyphs.c \
|
|
||||||
glamor_image.c \
|
|
||||||
glamor_lines.c \
|
|
||||||
glamor_segs.c \
|
|
||||||
glamor_render.c \
|
|
||||||
glamor_gradient.c \
|
|
||||||
glamor_prepare.c \
|
|
||||||
glamor_prepare.h \
|
|
||||||
glamor_program.c \
|
|
||||||
glamor_program.h \
|
|
||||||
glamor_rects.c \
|
|
||||||
glamor_spans.c \
|
|
||||||
glamor_text.c \
|
|
||||||
glamor_transfer.c \
|
|
||||||
glamor_transfer.h \
|
|
||||||
glamor_transform.c \
|
|
||||||
glamor_transform.h \
|
|
||||||
glamor_trapezoid.c \
|
|
||||||
glamor_triangles.c\
|
|
||||||
glamor_addtraps.c\
|
|
||||||
glamor_glyphblt.c\
|
|
||||||
glamor_points.c\
|
|
||||||
glamor_priv.h\
|
|
||||||
glamor_pixmap.c\
|
|
||||||
glamor_largepixmap.c\
|
|
||||||
glamor_picture.c\
|
|
||||||
glamor_vbo.c \
|
|
||||||
glamor_window.c\
|
|
||||||
glamor_fbo.c\
|
|
||||||
glamor_compositerects.c\
|
|
||||||
glamor_utils.c\
|
|
||||||
glamor_utils.h\
|
|
||||||
glamor_sync.c \
|
|
||||||
glamor.h
|
|
||||||
|
|
||||||
if XV
|
|
||||||
libglamor_la_SOURCES += \
|
|
||||||
glamor_xv.c
|
|
||||||
endif
|
|
||||||
|
|
||||||
libglamor_egl_stubs_la_SOURCES = \
|
|
||||||
glamor_egl_stubs.c \
|
|
||||||
glamor_egl_ext.h \
|
|
||||||
glamor_egl.h
|
|
||||||
|
|
||||||
sdk_HEADERS = glamor.h
|
|
|
@ -1,95 +0,0 @@
|
||||||
if DRI2
|
|
||||||
GLXDRI_LIBRARY = libglxdri.la
|
|
||||||
endif
|
|
||||||
|
|
||||||
noinst_LTLIBRARIES = libglx.la $(GLXDRI_LIBRARY) libglxvnd.la
|
|
||||||
|
|
||||||
AM_CFLAGS = \
|
|
||||||
@DIX_CFLAGS@ \
|
|
||||||
@GL_CFLAGS@ \
|
|
||||||
@XLIB_CFLAGS@ \
|
|
||||||
@LIBDRM_CFLAGS@ \
|
|
||||||
@GLX_DEFINES@ \
|
|
||||||
@GLX_ARCH_DEFINES@
|
|
||||||
|
|
||||||
sdk_HEADERS = vndserver.h
|
|
||||||
|
|
||||||
AM_CPPFLAGS = \
|
|
||||||
-I$(top_srcdir)/hw/xfree86/os-support \
|
|
||||||
-I$(top_srcdir)/hw/xfree86/os-support/bus \
|
|
||||||
-I$(top_srcdir)/hw/xfree86/common \
|
|
||||||
-I$(top_srcdir)/hw/xfree86/dri \
|
|
||||||
-I$(top_srcdir)/hw/xfree86/dri2 \
|
|
||||||
-I$(top_srcdir)/mi \
|
|
||||||
-I$(top_srcdir)/present
|
|
||||||
|
|
||||||
indirect_sources = \
|
|
||||||
indirect_dispatch.c \
|
|
||||||
indirect_dispatch.h \
|
|
||||||
indirect_dispatch_swap.c \
|
|
||||||
indirect_reqsize.c \
|
|
||||||
indirect_reqsize.h \
|
|
||||||
indirect_size.h \
|
|
||||||
indirect_size_get.c \
|
|
||||||
indirect_size_get.h \
|
|
||||||
indirect_table.c
|
|
||||||
|
|
||||||
libglxdri_la_SOURCES =
|
|
||||||
if DRI2
|
|
||||||
libglxdri_la_SOURCES += glxdri2.c
|
|
||||||
endif
|
|
||||||
|
|
||||||
libglxdri_la_LIBADD = $(DLOPEN_LIBS)
|
|
||||||
|
|
||||||
libglx_la_SOURCES = \
|
|
||||||
$(indirect_sources) \
|
|
||||||
clientinfo.c \
|
|
||||||
createcontext.c \
|
|
||||||
extension_string.c \
|
|
||||||
extension_string.h \
|
|
||||||
indirect_util.c \
|
|
||||||
indirect_util.h \
|
|
||||||
indirect_program.c \
|
|
||||||
indirect_table.h \
|
|
||||||
indirect_texture_compression.c \
|
|
||||||
glxbyteorder.h \
|
|
||||||
glxcmds.c \
|
|
||||||
glxcmdsswap.c \
|
|
||||||
glxcontext.h \
|
|
||||||
glxdrawable.h \
|
|
||||||
glxext.c \
|
|
||||||
glxext.h \
|
|
||||||
glxdriswrast.c \
|
|
||||||
glxdricommon.c \
|
|
||||||
glxdricommon.h \
|
|
||||||
glxscreens.c \
|
|
||||||
glxscreens.h \
|
|
||||||
glxserver.h \
|
|
||||||
glxutil.h \
|
|
||||||
render2.c \
|
|
||||||
render2swap.c \
|
|
||||||
renderpix.c \
|
|
||||||
renderpixswap.c \
|
|
||||||
rensize.c \
|
|
||||||
single2.c \
|
|
||||||
single2swap.c \
|
|
||||||
singlepix.c \
|
|
||||||
singlepixswap.c \
|
|
||||||
singlesize.c \
|
|
||||||
singlesize.h \
|
|
||||||
swap_interval.c \
|
|
||||||
unpack.h \
|
|
||||||
xfont.c
|
|
||||||
|
|
||||||
libglx_la_LIBADD = $(DLOPEN_LIBS) $(top_builddir)/Xext/libhashtable.la
|
|
||||||
|
|
||||||
libglxvnd_la_SOURCES = \
|
|
||||||
vndcmds.c \
|
|
||||||
vndext.c \
|
|
||||||
vndservermapping.c \
|
|
||||||
vndservervendor.h \
|
|
||||||
vndservervendor.c
|
|
||||||
|
|
||||||
libglxvnd_la_LIBADD = $(top_builddir)/Xext/libhashtable.la
|
|
||||||
|
|
||||||
EXTRA_DIST = vnd_dispatch_stubs.c
|
|
|
@ -1,46 +0,0 @@
|
||||||
if DMX
|
|
||||||
DMX_SUBDIRS = dmx
|
|
||||||
endif
|
|
||||||
|
|
||||||
if XORG
|
|
||||||
XORG_SUBDIRS = xfree86
|
|
||||||
endif
|
|
||||||
|
|
||||||
if XVFB
|
|
||||||
XVFB_SUBDIRS = vfb
|
|
||||||
endif
|
|
||||||
|
|
||||||
if XNEST
|
|
||||||
XNEST_SUBDIRS = xnest
|
|
||||||
endif
|
|
||||||
|
|
||||||
if XWIN
|
|
||||||
XWIN_SUBDIRS = xwin
|
|
||||||
endif
|
|
||||||
|
|
||||||
if KDRIVE
|
|
||||||
KDRIVE_SUBDIRS = kdrive
|
|
||||||
endif
|
|
||||||
|
|
||||||
if XQUARTZ
|
|
||||||
XQUARTZ_SUBDIRS = xquartz
|
|
||||||
endif
|
|
||||||
|
|
||||||
if XWAYLAND
|
|
||||||
XWAYLAND_SUBDIRS = xwayland
|
|
||||||
endif
|
|
||||||
|
|
||||||
SUBDIRS = \
|
|
||||||
$(XORG_SUBDIRS) \
|
|
||||||
$(XWIN_SUBDIRS) \
|
|
||||||
$(XVFB_SUBDIRS) \
|
|
||||||
$(XNEST_SUBDIRS) \
|
|
||||||
$(DMX_SUBDIRS) \
|
|
||||||
$(KDRIVE_SUBDIRS) \
|
|
||||||
$(XQUARTZ_SUBDIRS) \
|
|
||||||
$(XWAYLAND_SUBDIRS)
|
|
||||||
|
|
||||||
DIST_SUBDIRS = dmx xfree86 vfb xnest xwin xquartz kdrive xwayland
|
|
||||||
|
|
||||||
relink:
|
|
||||||
$(AM_V_at)for i in $(SUBDIRS) ; do $(MAKE) -C $$i relink || exit 1 ; done
|
|
|
@ -1,87 +0,0 @@
|
||||||
|
|
||||||
SUBDIRS = input config examples doc doxygen man
|
|
||||||
bin_PROGRAMS = Xdmx
|
|
||||||
|
|
||||||
if XINERAMA
|
|
||||||
PANORAMIX_SRCS = $(top_srcdir)/Xext/panoramiX.c
|
|
||||||
endif
|
|
||||||
|
|
||||||
if GLX
|
|
||||||
SUBDIRS += glxProxy
|
|
||||||
GLX_LIBS = glxProxy/libglxproxy.a
|
|
||||||
GLX_SRCS = $(PANORAMIX_SRCS) dmx_glxvisuals.c dmx_glxvisuals.h
|
|
||||||
GLX_INCS = -I$(top_srcdir)/hw/xfree86/dixmods/extmod
|
|
||||||
GLX_DEFS = @GL_CFLAGS@
|
|
||||||
endif
|
|
||||||
|
|
||||||
AM_CFLAGS = \
|
|
||||||
-DHAVE_DMX_CONFIG_H \
|
|
||||||
$(DIX_CFLAGS) \
|
|
||||||
$(GLX_INCS) \
|
|
||||||
$(GLX_DEFS) \
|
|
||||||
$(DMX_CFLAGS) \
|
|
||||||
@DMXMODULES_CFLAGS@
|
|
||||||
|
|
||||||
Xdmx_SOURCES = dmx.c \
|
|
||||||
dmxcb.c \
|
|
||||||
dmxcb.h \
|
|
||||||
dmxclient.h \
|
|
||||||
dmxcmap.c \
|
|
||||||
dmxcmap.h \
|
|
||||||
dmx-config.h \
|
|
||||||
dmxcursor.c \
|
|
||||||
dmxcursor.h \
|
|
||||||
dmxdpms.c \
|
|
||||||
dmxdpms.h \
|
|
||||||
dmxextension.c \
|
|
||||||
dmxextension.h \
|
|
||||||
dmxfont.c \
|
|
||||||
dmxfont.h \
|
|
||||||
dmxgc.c \
|
|
||||||
dmxgc.h \
|
|
||||||
dmxgcops.c \
|
|
||||||
dmxgcops.h \
|
|
||||||
dmx.h \
|
|
||||||
dmxinit.c \
|
|
||||||
dmxinit.h \
|
|
||||||
dmxinput.c \
|
|
||||||
dmxinput.h \
|
|
||||||
dmxlog.c \
|
|
||||||
dmxlog.h \
|
|
||||||
dmxpict.c \
|
|
||||||
dmxpict.h \
|
|
||||||
dmxpixmap.c \
|
|
||||||
dmxpixmap.h \
|
|
||||||
dmxprop.c \
|
|
||||||
dmxprop.h \
|
|
||||||
dmxscrinit.c \
|
|
||||||
dmxscrinit.h \
|
|
||||||
dmxstat.c \
|
|
||||||
dmxstat.h \
|
|
||||||
dmxsync.c \
|
|
||||||
dmxsync.h \
|
|
||||||
dmxvisual.c \
|
|
||||||
dmxvisual.h \
|
|
||||||
dmxwindow.c \
|
|
||||||
dmxwindow.h \
|
|
||||||
$(top_srcdir)/mi/miinitext.c \
|
|
||||||
$(top_srcdir)/mi/miinitext.h \
|
|
||||||
$(GLX_SRCS)
|
|
||||||
|
|
||||||
|
|
||||||
#if COMPOSITE
|
|
||||||
#Xdmx_SOURCES += fakecw.c
|
|
||||||
#endif
|
|
||||||
|
|
||||||
XDMX_LIBS = \
|
|
||||||
$(GLX_LIBS) \
|
|
||||||
@XDMX_LIBS@ \
|
|
||||||
input/libdmxinput.a \
|
|
||||||
config/libdmxconfig.a
|
|
||||||
|
|
||||||
Xdmx_LDFLAGS = $(LD_EXPORT_SYMBOLS_FLAG)
|
|
||||||
Xdmx_DEPENDENCIES= $(XDMX_LIBS)
|
|
||||||
Xdmx_LDADD = $(XDMX_LIBS) $(XDMX_SYS_LIBS) $(XSERVER_SYS_LIBS)
|
|
||||||
|
|
||||||
relink:
|
|
||||||
$(AM_V_at)rm -f Xdmx$(EXEEXT) && $(MAKE) Xdmx$(EXEEXT)
|
|
|
@ -1,71 +0,0 @@
|
||||||
SUBDIRS = man
|
|
||||||
|
|
||||||
noinst_LIBRARIES = libdmxconfig.a
|
|
||||||
|
|
||||||
LIBSRCS = parser.y \
|
|
||||||
scanner.l \
|
|
||||||
dmxparse.c \
|
|
||||||
dmxparse.h \
|
|
||||||
dmxprint.c \
|
|
||||||
dmxprint.h \
|
|
||||||
dmxcompat.c \
|
|
||||||
dmxcompat.h \
|
|
||||||
dmxconfig.c \
|
|
||||||
dmxconfig.h
|
|
||||||
|
|
||||||
parser.h: parser.c
|
|
||||||
scanner.c: scanner.l parser.h
|
|
||||||
|
|
||||||
BUILT_SOURCES = parser.c parser.h scanner.c
|
|
||||||
|
|
||||||
MAINTAINERCLEANFILES = $(BUILT_SOURCES)
|
|
||||||
|
|
||||||
libdmxconfig_a_SOURCES = $(LIBSRCS)
|
|
||||||
libdmxconfig_a_SOURCES += $(top_srcdir)/os/strlcpy.c
|
|
||||||
|
|
||||||
if GLX
|
|
||||||
GLX_DEFS = @GL_CFLAGS@
|
|
||||||
endif
|
|
||||||
|
|
||||||
AM_YFLAGS = -d
|
|
||||||
AM_CFLAGS = \
|
|
||||||
$(DIX_CFLAGS) \
|
|
||||||
-I$(top_srcdir)/hw/dmx \
|
|
||||||
-DHAVE_DMX_CONFIG_H \
|
|
||||||
-DDMX_LOG_STANDALONE \
|
|
||||||
$(GLX_DEFS) \
|
|
||||||
@DMXMODULES_CFLAGS@
|
|
||||||
|
|
||||||
bin_PROGRAMS = xdmxconfig vdltodmx dmxtodmx
|
|
||||||
|
|
||||||
xdmxconfig_DEPENDENCIES = libdmxconfig.a
|
|
||||||
xdmxconfig_SOURCES = \
|
|
||||||
xdmxconfig.c \
|
|
||||||
$(top_srcdir)/hw/dmx/dmxlog.c \
|
|
||||||
Canvas.c \
|
|
||||||
Canvas.h \
|
|
||||||
CanvasP.h
|
|
||||||
xdmxconfig_LDADD = -L. -ldmxconfig @XDMXCONFIG_DEP_LIBS@
|
|
||||||
xdmxconfig_CFLAGS = $(AM_CFLAGS) @XDMXCONFIG_DEP_CFLAGS@
|
|
||||||
|
|
||||||
vdltodmx_DEPENDENCIES = libdmxconfig.a
|
|
||||||
vdltodmx_SOURCES = vdltodmx.c
|
|
||||||
vdltodmx_LDADD = -L. -ldmxconfig
|
|
||||||
|
|
||||||
dmxtodmx_DEPENDENCIES = libdmxconfig.a
|
|
||||||
dmxtodmx_SOURCES = dmxtodmx.c
|
|
||||||
dmxtodmx_LDADD = -L. -ldmxconfig
|
|
||||||
|
|
||||||
EXTRA_DIST = \
|
|
||||||
test-a.in test-a.out \
|
|
||||||
test-b.in test-b.out \
|
|
||||||
test-c.in test-c.out \
|
|
||||||
test-d.in test-d.out \
|
|
||||||
test-e.in test-e.out \
|
|
||||||
test-f.in test-f.out \
|
|
||||||
test-g.in test-g.out \
|
|
||||||
test-h.in test-h.out \
|
|
||||||
test-i.in test-i.out \
|
|
||||||
test-j.in test-j.out \
|
|
||||||
test-k.in test-k.out \
|
|
||||||
test-l.in test-l.out
|
|
|
@ -1,2 +0,0 @@
|
||||||
include $(top_srcdir)/manpages.am
|
|
||||||
appman_PRE = xdmxconfig.man vdltodmx.man dmxtodmx.man
|
|
|
@ -1,34 +0,0 @@
|
||||||
# Copyright 2005 Red Hat, Inc.
|
|
||||||
#
|
|
||||||
# Permission to use, copy, modify, distribute, and sell this software
|
|
||||||
# and its documentation for any purpose is hereby granted without
|
|
||||||
# fee, provided that the above copyright notice appear in all copies
|
|
||||||
# and that both that copyright notice and this permission notice
|
|
||||||
# appear in supporting documentation, and that the name of Red Hat
|
|
||||||
# not be used in advertising or publicity pertaining to distribution
|
|
||||||
# of the software without specific, written prior permission. Red
|
|
||||||
# Hat makes no representations about the suitability of this software
|
|
||||||
# for any purpose. It is provided "as is" without express or implied
|
|
||||||
# warranty.
|
|
||||||
#
|
|
||||||
# RED HAT DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
|
|
||||||
# INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN
|
|
||||||
# NO EVENT SHALL RED HAT BE LIABLE FOR ANY SPECIAL, INDIRECT OR
|
|
||||||
# CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS
|
|
||||||
# OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
|
|
||||||
# NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
|
|
||||||
# CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
|
||||||
|
|
||||||
if ENABLE_DEVEL_DOCS
|
|
||||||
if HAVE_XMLTO
|
|
||||||
|
|
||||||
# Main DocBook/XML files (DOCTYPE book)
|
|
||||||
docbook = dmx.xml scaled.xml
|
|
||||||
|
|
||||||
# Generate DocBook/XML output formats with or without stylesheets
|
|
||||||
include $(top_srcdir)/devbook.am
|
|
||||||
|
|
||||||
endif HAVE_XMLTO
|
|
||||||
endif ENABLE_DEVEL_DOCS
|
|
||||||
|
|
||||||
EXTRA_DIST = DMXSpec.txt DMXSpec-v1.txt
|
|
|
@ -1,36 +0,0 @@
|
||||||
# Copyright 2005 Red Hat, Inc.
|
|
||||||
#
|
|
||||||
# Permission to use, copy, modify, distribute, and sell this software
|
|
||||||
# and its documentation for any purpose is hereby granted without
|
|
||||||
# fee, provided that the above copyright notice appear in all copies
|
|
||||||
# and that both that copyright notice and this permission notice
|
|
||||||
# appear in supporting documentation, and that the name of Red Hat
|
|
||||||
# not be used in advertising or publicity pertaining to distribution
|
|
||||||
# of the software without specific, written prior permission. Red
|
|
||||||
# Hat makes no representations about the suitability of this software
|
|
||||||
# for any purpose. It is provided "as is" without express or implied
|
|
||||||
# warranty.
|
|
||||||
#
|
|
||||||
# RED HAT DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
|
|
||||||
# INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN
|
|
||||||
# NO EVENT SHALL RED HAT BE LIABLE FOR ANY SPECIAL, INDIRECT OR
|
|
||||||
# CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS
|
|
||||||
# OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
|
|
||||||
# NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
|
|
||||||
# CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
|
||||||
|
|
||||||
if ENABLE_DEVEL_DOCS
|
|
||||||
if HAVE_DOXYGEN
|
|
||||||
|
|
||||||
# Developers documentation is not installed
|
|
||||||
noinst_DATA = html/index.html
|
|
||||||
dist_noinst_DATA = doxygen.conf.in footer.html
|
|
||||||
|
|
||||||
html/index.html:
|
|
||||||
$(AM_V_GEN)$(DOXYGEN) doxygen.conf
|
|
||||||
|
|
||||||
clean-local:
|
|
||||||
$(AM_V_at)rm -fr html/
|
|
||||||
|
|
||||||
endif HAVE_DOXYGEN
|
|
||||||
endif ENABLE_DEVEL_DOCS
|
|
|
@ -1,70 +0,0 @@
|
||||||
if DMX_BUILD_USB
|
|
||||||
# Requires <linux/input.h>
|
|
||||||
EV_PROG = ev
|
|
||||||
endif
|
|
||||||
|
|
||||||
bin_PROGRAMS = \
|
|
||||||
dmxinfo dmxwininfo dmxreconfig dmxresize \
|
|
||||||
dmxaddscreen dmxrmscreen \
|
|
||||||
dmxaddinput dmxrminput
|
|
||||||
noinst_PROGRAMS = xinput xtest evi res xled xbell $(EV_PROG)
|
|
||||||
|
|
||||||
dmxinfo_SOURCES = dmxinfo.c
|
|
||||||
dmxinfo_LDADD = $(DMXEXAMPLES_DEP_LIBS)
|
|
||||||
dmxinfo_CFLAGS = $(DMXEXAMPLES_DEP_CFLAGS) $(CWARNFLAGS)
|
|
||||||
|
|
||||||
dmxwininfo_SOURCES = dmxwininfo.c
|
|
||||||
dmxwininfo_LDADD = $(DMXXMUEXAMPLES_DEP_LIBS)
|
|
||||||
dmxwininfo_CFLAGS = $(DMXXMUEXAMPLES_DEP_CFLAGS) $(CWARNFLAGS)
|
|
||||||
|
|
||||||
dmxreconfig_SOURCES = dmxreconfig.c
|
|
||||||
dmxreconfig_LDADD = $(DMXEXAMPLES_DEP_LIBS)
|
|
||||||
dmxreconfig_CFLAGS = $(DMXEXAMPLES_DEP_CFLAGS) $(CWARNFLAGS)
|
|
||||||
|
|
||||||
dmxresize_SOURCES = dmxresize.c
|
|
||||||
dmxresize_LDADD = $(DMXEXAMPLES_DEP_LIBS)
|
|
||||||
dmxresize_CFLAGS = $(DMXEXAMPLES_DEP_CFLAGS) $(CWARNFLAGS)
|
|
||||||
|
|
||||||
dmxaddscreen_SOURCES = dmxaddscreen.c
|
|
||||||
dmxaddscreen_LDADD = $(DMXEXAMPLES_DEP_LIBS)
|
|
||||||
dmxaddscreen_CFLAGS = $(DMXEXAMPLES_DEP_CFLAGS) $(CWARNFLAGS)
|
|
||||||
|
|
||||||
dmxrmscreen_SOURCES = dmxrmscreen.c
|
|
||||||
dmxrmscreen_LDADD = $(DMXEXAMPLES_DEP_LIBS)
|
|
||||||
dmxrmscreen_CFLAGS = $(DMXEXAMPLES_DEP_CFLAGS) $(CWARNFLAGS)
|
|
||||||
|
|
||||||
dmxaddinput_SOURCES = dmxaddinput.c
|
|
||||||
dmxaddinput_LDADD = $(DMXEXAMPLES_DEP_LIBS)
|
|
||||||
dmxaddinput_CFLAGS = $(DMXEXAMPLES_DEP_CFLAGS) $(CWARNFLAGS)
|
|
||||||
|
|
||||||
dmxrminput_SOURCES = dmxrminput.c
|
|
||||||
dmxrminput_LDADD = $(DMXEXAMPLES_DEP_LIBS)
|
|
||||||
dmxrminput_CFLAGS = $(DMXEXAMPLES_DEP_CFLAGS) $(CWARNFLAGS)
|
|
||||||
|
|
||||||
xinput_SOURCES = xinput.c
|
|
||||||
xinput_LDADD = $(DMXXIEXAMPLES_DEP_LIBS)
|
|
||||||
xinput_CFLAGS = $(DMXXIEXAMPLES_DEP_CFLAGS) $(CWARNFLAGS)
|
|
||||||
|
|
||||||
xtest_SOURCES = xtest.c
|
|
||||||
xtest_LDADD = $(XTSTEXAMPLES_DEP_LIBS)
|
|
||||||
xtest_CFLAGS = $(XTSTEXAMPLES_DEP_CFLAGS) $(CWARNFLAGS)
|
|
||||||
|
|
||||||
evi_SOURCES = evi.c
|
|
||||||
evi_LDADD = $(X11EXAMPLES_DEP_LIBS)
|
|
||||||
evi_CFLAGS = $(X11EXAMPLES_DEP_CFLAGS) $(CWARNFLAGS)
|
|
||||||
|
|
||||||
res_SOURCES = res.c
|
|
||||||
res_LDADD = $(XRESEXAMPLES_DEP_LIBS)
|
|
||||||
res_CFLAGS = $(XRESEXAMPLES_DEP_CFLAGS) $(CWARNFLAGS)
|
|
||||||
|
|
||||||
xled_SOURCES = xled.c
|
|
||||||
xled_LDADD = $(X11EXAMPLES_DEP_LIBS)
|
|
||||||
xled_CFLAGS = $(X11EXAMPLES_DEP_CFLAGS) $(CWARNFLAGS)
|
|
||||||
|
|
||||||
xbell_SOURCES = xbell.c
|
|
||||||
xbell_LDADD = $(X11EXAMPLES_DEP_LIBS)
|
|
||||||
xbell_CFLAGS = $(X11EXAMPLES_DEP_CFLAGS) $(CWARNFLAGS)
|
|
||||||
|
|
||||||
ev_SOURCES = ev.c
|
|
||||||
ev_LDADD =
|
|
||||||
ev_CFLAGS =
|
|
|
@ -1,42 +0,0 @@
|
||||||
noinst_LIBRARIES = libglxproxy.a
|
|
||||||
|
|
||||||
libglxproxy_a_SOURCES = compsize.c \
|
|
||||||
compsize.h \
|
|
||||||
g_disptab.c \
|
|
||||||
g_disptab.h \
|
|
||||||
global.c \
|
|
||||||
glxcmds.c \
|
|
||||||
glxcmds.h \
|
|
||||||
glxcmdsswap.c \
|
|
||||||
glxcontext.h \
|
|
||||||
glxdrawable.h \
|
|
||||||
glxerror.h \
|
|
||||||
glxext.c \
|
|
||||||
glxext.h \
|
|
||||||
glxfbconfig.c \
|
|
||||||
glxfbconfig.h \
|
|
||||||
glxscreens.c \
|
|
||||||
glxscreens.h \
|
|
||||||
glxserver.h \
|
|
||||||
glxsingle.c \
|
|
||||||
glxsingle.h \
|
|
||||||
glxswap.c \
|
|
||||||
glxswap.h \
|
|
||||||
glxutil.h \
|
|
||||||
glxvendor.c \
|
|
||||||
glxvendor.h \
|
|
||||||
glxvisuals.c \
|
|
||||||
glxvisuals.h \
|
|
||||||
g_renderswap.c \
|
|
||||||
render2swap.c \
|
|
||||||
renderpixswap.c \
|
|
||||||
unpack.h
|
|
||||||
|
|
||||||
AM_CFLAGS = \
|
|
||||||
@GLX_ARCH_DEFINES@ \
|
|
||||||
$(DIX_CFLAGS) \
|
|
||||||
-I$(top_srcdir)/hw/dmx \
|
|
||||||
-I$(top_srcdir)/include \
|
|
||||||
-DHAVE_DMX_CONFIG_H \
|
|
||||||
@DMXMODULES_CFLAGS@ \
|
|
||||||
-I$(top_srcdir)/hw/xfree86/os-support
|
|
|
@ -1,56 +0,0 @@
|
||||||
noinst_LIBRARIES = libdmxinput.a
|
|
||||||
|
|
||||||
if DMX_BUILD_USB
|
|
||||||
USBSRCS = usb-keyboard.c \
|
|
||||||
usb-keyboard.h \
|
|
||||||
usb-mouse.c \
|
|
||||||
usb-mouse.h \
|
|
||||||
usb-other.c \
|
|
||||||
usb-other.h \
|
|
||||||
usb-common.c \
|
|
||||||
usb-common.h \
|
|
||||||
usb-private.h
|
|
||||||
endif
|
|
||||||
|
|
||||||
DRVSRCS = dmxdummy.c \
|
|
||||||
dmxdummy.h \
|
|
||||||
dmxbackend.c \
|
|
||||||
dmxbackend.h \
|
|
||||||
dmxconsole.c \
|
|
||||||
dmxconsole.h \
|
|
||||||
dmxcommon.c \
|
|
||||||
dmxcommon.h
|
|
||||||
|
|
||||||
DMXSRCS = dmxinputinit.c \
|
|
||||||
dmxinputinit.h \
|
|
||||||
dmxarg.c \
|
|
||||||
dmxarg.h \
|
|
||||||
dmxevents.c \
|
|
||||||
dmxevents.h \
|
|
||||||
dmxxinput.c \
|
|
||||||
dmxmotion.c \
|
|
||||||
dmxmotion.h \
|
|
||||||
dmxmap.c \
|
|
||||||
dmxmap.h
|
|
||||||
|
|
||||||
|
|
||||||
libdmxinput_a_SOURCES = ChkNotMaskEv.c \
|
|
||||||
ChkNotMaskEv.h \
|
|
||||||
atKeynames.h \
|
|
||||||
$(RAWSRCS) \
|
|
||||||
$(USBSRCS) \
|
|
||||||
$(DRVSRCS) \
|
|
||||||
$(DMXSRCS) \
|
|
||||||
$(LIBSRCS)
|
|
||||||
|
|
||||||
if GLX
|
|
||||||
GLX_DEFS = @GL_CFLAGS@
|
|
||||||
endif
|
|
||||||
|
|
||||||
AM_CFLAGS = $(DIX_CFLAGS) \
|
|
||||||
-I$(top_srcdir)/hw/dmx \
|
|
||||||
-DHAVE_DMX_CONFIG_H \
|
|
||||||
$(GLX_DEFS) \
|
|
||||||
@DMXMODULES_CFLAGS@
|
|
||||||
|
|
||||||
EXTRA_DIST = dmxdetach.c
|
|
|
@ -1,2 +0,0 @@
|
||||||
include $(top_srcdir)/manpages.am
|
|
||||||
appman_PRE = Xdmx.man
|
|
|
@ -1,15 +0,0 @@
|
||||||
if XEPHYR
|
|
||||||
XEPHYR_SUBDIRS = ephyr
|
|
||||||
endif
|
|
||||||
|
|
||||||
SERVER_SUBDIRS = \
|
|
||||||
$(XEPHYR_SUBDIRS)
|
|
||||||
|
|
||||||
SUBDIRS = \
|
|
||||||
src \
|
|
||||||
$(SERVER_SUBDIRS)
|
|
||||||
|
|
||||||
DIST_SUBDIRS = ephyr src
|
|
||||||
|
|
||||||
relink:
|
|
||||||
$(AM_V_at)for i in $(SERVER_SUBDIRS) ; do $(MAKE) -C $$i relink || exit 1 ; done
|
|
|
@ -1,84 +0,0 @@
|
||||||
# Copyright © 2013 Intel Corporation
|
|
||||||
#
|
|
||||||
# Permission is hereby granted, free of charge, to any person obtaining a
|
|
||||||
# copy of this software and associated documentation files (the "Software"),
|
|
||||||
# to deal in the Software without restriction, including without limitation
|
|
||||||
# the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
|
||||||
# and/or sell copies of the Software, and to permit persons to whom the
|
|
||||||
# Software is furnished to do so, subject to the following conditions:
|
|
||||||
#
|
|
||||||
# The above copyright notice and this permission notice (including the next
|
|
||||||
# paragraph) shall be included in all copies or substantial portions of the
|
|
||||||
# Software.
|
|
||||||
#
|
|
||||||
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
||||||
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
||||||
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
|
|
||||||
# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
||||||
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
|
||||||
# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
|
||||||
# IN THE SOFTWARE.
|
|
||||||
|
|
||||||
SUBDIRS = man
|
|
||||||
|
|
||||||
AM_CPPFLAGS = \
|
|
||||||
@KDRIVE_INCS@ \
|
|
||||||
@KDRIVE_CFLAGS@ \
|
|
||||||
@XEPHYR_INCS@ \
|
|
||||||
@XEPHYR_CFLAGS@ \
|
|
||||||
-DHAVE_DIX_CONFIG_H \
|
|
||||||
-I$(top_srcdir) \
|
|
||||||
-I$(top_srcdir)/glamor \
|
|
||||||
-I$(top_srcdir)/exa
|
|
||||||
|
|
||||||
if XV
|
|
||||||
XV_SRCS = ephyrvideo.c
|
|
||||||
endif
|
|
||||||
|
|
||||||
if GLAMOR
|
|
||||||
if XV
|
|
||||||
GLAMOR_XV_SRCS = ephyr_glamor_xv.c
|
|
||||||
endif
|
|
||||||
|
|
||||||
GLAMOR_SRCS = \
|
|
||||||
ephyr_glamor_glx.c \
|
|
||||||
ephyr_glamor_glx.h \
|
|
||||||
$(GLAMOR_XV_SRCS) \
|
|
||||||
$()
|
|
||||||
endif
|
|
||||||
|
|
||||||
bin_PROGRAMS = Xephyr
|
|
||||||
|
|
||||||
Xephyr_SOURCES = \
|
|
||||||
ephyr.c \
|
|
||||||
ephyr.h \
|
|
||||||
ephyrlog.h \
|
|
||||||
ephyr_draw.c \
|
|
||||||
ephyrinit.c \
|
|
||||||
ephyrcursor.c \
|
|
||||||
hostx.c \
|
|
||||||
hostx.h \
|
|
||||||
$(XV_SRCS) \
|
|
||||||
$(GLAMOR_SRCS) \
|
|
||||||
$()
|
|
||||||
|
|
||||||
if GLAMOR
|
|
||||||
AM_CPPFLAGS += $(XLIB_CFLAGS)
|
|
||||||
XEPHYR_GLAMOR_LIB = \
|
|
||||||
$(top_builddir)/glamor/libglamor.la \
|
|
||||||
$(top_builddir)/glamor/libglamor_egl_stubs.la \
|
|
||||||
$()
|
|
||||||
endif
|
|
||||||
|
|
||||||
Xephyr_LDADD = \
|
|
||||||
$(top_builddir)/exa/libexa.la \
|
|
||||||
$(XEPHYR_GLAMOR_LIB) \
|
|
||||||
@KDRIVE_LIBS@ \
|
|
||||||
@XEPHYR_LIBS@
|
|
||||||
|
|
||||||
Xephyr_DEPENDENCIES = @KDRIVE_LOCAL_LIBS@ $(XEPHYR_GLAMOR_LIB)
|
|
||||||
|
|
||||||
Xephyr_LDFLAGS = $(LD_EXPORT_SYMBOLS_FLAG)
|
|
||||||
|
|
||||||
relink:
|
|
||||||
$(AM_V_at)rm -f $(bin_PROGRAMS) && $(MAKE) $(bin_PROGRAMS)
|
|
|
@ -1,2 +0,0 @@
|
||||||
include $(top_srcdir)/manpages.am
|
|
||||||
appman_PRE = Xephyr.man
|
|
|
@ -1,32 +0,0 @@
|
||||||
AM_CPPFLAGS = \
|
|
||||||
@KDRIVE_INCS@ \
|
|
||||||
@KDRIVE_CFLAGS@
|
|
||||||
|
|
||||||
AM_CFLAGS = -DHAVE_DIX_CONFIG_H
|
|
||||||
|
|
||||||
noinst_LTLIBRARIES = libkdrive.la
|
|
||||||
|
|
||||||
if XV
|
|
||||||
KDRIVE_XV_SOURCES = \
|
|
||||||
kxv.c \
|
|
||||||
kxv.h
|
|
||||||
endif
|
|
||||||
|
|
||||||
libkdrive_la_SOURCES = \
|
|
||||||
kcmap.c \
|
|
||||||
kdrive.c \
|
|
||||||
kdrive.h \
|
|
||||||
kinfo.c \
|
|
||||||
kinput.c \
|
|
||||||
kshadow.c \
|
|
||||||
$(KDRIVE_XV_SOURCES) \
|
|
||||||
$(top_srcdir)/mi/miinitext.c \
|
|
||||||
$(top_srcdir)/mi/miinitext.h
|
|
||||||
|
|
||||||
if CONFIG_UDEV
|
|
||||||
libkdrive_la_LIBADD = $(top_builddir)/config/libconfig.la
|
|
||||||
else
|
|
||||||
if CONFIG_HAL
|
|
||||||
libkdrive_la_LIBADD = $(top_builddir)/config/libconfig.la
|
|
||||||
endif
|
|
||||||
endif
|
|
|
@ -1,27 +0,0 @@
|
||||||
SUBDIRS = man
|
|
||||||
|
|
||||||
bin_PROGRAMS = Xvfb
|
|
||||||
|
|
||||||
AM_CFLAGS = -DHAVE_DIX_CONFIG_H \
|
|
||||||
$(XVFBMODULES_CFLAGS) \
|
|
||||||
$(DIX_CFLAGS)
|
|
||||||
|
|
||||||
SRCS = InitInput.c \
|
|
||||||
InitOutput.c \
|
|
||||||
$(top_srcdir)/mi/miinitext.c \
|
|
||||||
$(top_srcdir)/mi/miinitext.h
|
|
||||||
|
|
||||||
Xvfb_SOURCES = $(SRCS)
|
|
||||||
|
|
||||||
XVFB_LIBS = \
|
|
||||||
@XVFB_LIBS@ \
|
|
||||||
$(MAIN_LIB) \
|
|
||||||
$(XSERVER_LIBS) \
|
|
||||||
$(top_builddir)/Xi/libXistubs.la
|
|
||||||
|
|
||||||
Xvfb_LDADD = $(XVFB_LIBS) $(XVFB_SYS_LIBS) $(XSERVER_SYS_LIBS)
|
|
||||||
Xvfb_DEPENDENCIES = $(XVFB_LIBS)
|
|
||||||
Xvfb_LDFLAGS = $(LD_EXPORT_SYMBOLS_FLAG)
|
|
||||||
|
|
||||||
relink:
|
|
||||||
$(AM_V_at)rm -f Xvfb$(EXEEXT) && $(MAKE) Xvfb$(EXEEXT)
|
|
|
@ -1,2 +0,0 @@
|
||||||
include $(top_srcdir)/manpages.am
|
|
||||||
appman_PRE = Xvfb.man
|
|
|
@ -1,154 +0,0 @@
|
||||||
|
|
||||||
if DRI
|
|
||||||
DRI_SUBDIR = dri
|
|
||||||
DRI_LIB = dri/libdri.la
|
|
||||||
endif
|
|
||||||
|
|
||||||
if DRI2
|
|
||||||
DRI2_SUBDIR = dri2
|
|
||||||
DRI2_LIB = dri2/libdri2.la
|
|
||||||
endif
|
|
||||||
|
|
||||||
if DRI3
|
|
||||||
DRI3_BUILDDIR = $(top_builddir)/dri3
|
|
||||||
DRI3_LIB = $(DRI3_BUILDDIR)/libdri3.la
|
|
||||||
endif
|
|
||||||
|
|
||||||
if GLX
|
|
||||||
GLXVND_LIB = $(top_builddir)/glx/libglxvnd.la
|
|
||||||
endif
|
|
||||||
|
|
||||||
if GLAMOR_EGL
|
|
||||||
GLAMOR_EGL_SUBDIR = glamor_egl
|
|
||||||
endif
|
|
||||||
|
|
||||||
if XF86UTILS
|
|
||||||
XF86UTILS_SUBDIR = utils
|
|
||||||
endif
|
|
||||||
|
|
||||||
if VGAHW
|
|
||||||
VGAHW_SUBDIR = vgahw
|
|
||||||
endif
|
|
||||||
|
|
||||||
if INT10MODULE
|
|
||||||
INT10_SUBDIR = int10
|
|
||||||
endif
|
|
||||||
|
|
||||||
SUBDIRS = common ddc x86emu $(INT10_SUBDIR) os-support parser \
|
|
||||||
ramdac $(VGAHW_SUBDIR) loader modes $(DRI_SUBDIR) \
|
|
||||||
$(DRI2_SUBDIR) . i2c dixmods xkb \
|
|
||||||
fbdevhw shadowfb exa $(XF86UTILS_SUBDIR) doc man \
|
|
||||||
$(GLAMOR_EGL_SUBDIR) drivers
|
|
||||||
|
|
||||||
DIST_SUBDIRS = common ddc i2c x86emu int10 fbdevhw os-support \
|
|
||||||
parser ramdac shadowfb vgahw \
|
|
||||||
loader dixmods xkb dri dri2 exa modes \
|
|
||||||
utils doc man glamor_egl drivers
|
|
||||||
|
|
||||||
bin_PROGRAMS = Xorg
|
|
||||||
nodist_Xorg_SOURCES = sdksyms.c
|
|
||||||
|
|
||||||
AM_CFLAGS = $(DIX_CFLAGS) @XORG_CFLAGS@
|
|
||||||
AM_CPPFLAGS = $(XORG_INCS) -I$(srcdir)/parser \
|
|
||||||
-I$(srcdir)/ddc -I$(srcdir)/i2c -I$(srcdir)/modes -I$(srcdir)/ramdac \
|
|
||||||
-I$(srcdir)/dri -I$(srcdir)/dri2 -I$(top_srcdir)/dri3
|
|
||||||
|
|
||||||
LOCAL_LIBS = \
|
|
||||||
$(MAIN_LIB) \
|
|
||||||
$(XSERVER_LIBS) \
|
|
||||||
loader/libloader.la \
|
|
||||||
common/libcommon.la \
|
|
||||||
os-support/libxorgos.la \
|
|
||||||
parser/libxf86config.la \
|
|
||||||
dixmods/libdixmods.la \
|
|
||||||
modes/libxf86modes.la \
|
|
||||||
ramdac/libramdac.la \
|
|
||||||
ddc/libddc.la \
|
|
||||||
i2c/libi2c.la \
|
|
||||||
$(XORG_LIBS) \
|
|
||||||
xkb/libxorgxkb.la \
|
|
||||||
$(DRI_LIB) \
|
|
||||||
$(DRI2_LIB) \
|
|
||||||
$(DRI3_LIB) \
|
|
||||||
$(GLXVND_LIB) \
|
|
||||||
$(top_builddir)/fb/libfb.la \
|
|
||||||
$(top_builddir)/miext/sync/libsync.la \
|
|
||||||
$(top_builddir)/mi/libmi.la \
|
|
||||||
$(top_builddir)/os/libos.la \
|
|
||||||
$(top_builddir)/Xext/libXvidmode.la
|
|
||||||
|
|
||||||
Xorg_LDADD = \
|
|
||||||
$(LOCAL_LIBS) \
|
|
||||||
$(XORG_SYS_LIBS) \
|
|
||||||
$(XSERVER_SYS_LIBS)
|
|
||||||
Xorg_DEPENDENCIES = $(LOCAL_LIBS)
|
|
||||||
|
|
||||||
Xorg_LDFLAGS = $(LD_EXPORT_SYMBOLS_FLAG)
|
|
||||||
|
|
||||||
if SUID_WRAPPER
|
|
||||||
wrapexecdir = $(SUID_WRAPPER_DIR)
|
|
||||||
wrapexec_PROGRAMS = Xorg.wrap
|
|
||||||
Xorg_wrap_SOURCES = xorg-wrapper.c
|
|
||||||
endif
|
|
||||||
|
|
||||||
BUILT_SOURCES = xorg.conf.example
|
|
||||||
DISTCLEANFILES = xorg.conf.example
|
|
||||||
EXTRA_DIST = xorgconf.cpp
|
|
||||||
|
|
||||||
# Without logdir, X will post an error on the terminal and will not start
|
|
||||||
install-data-local:
|
|
||||||
$(AM_V_GEN)$(MKDIR_P) $(DESTDIR)$(logdir)
|
|
||||||
if CYGWIN
|
|
||||||
$(INSTALL_DATA) libXorg.exe.a $(DESTDIR)$(libdir)/libXorg.exe.a
|
|
||||||
endif
|
|
||||||
|
|
||||||
install-exec-hook:
|
|
||||||
(cd $(DESTDIR)$(bindir) && rm -f X && $(LN_S) Xorg$(EXEEXT) X)
|
|
||||||
if INSTALL_SETUID
|
|
||||||
chown 0 $(DESTDIR)$(bindir)/Xorg
|
|
||||||
chmod u+s $(DESTDIR)$(bindir)/Xorg
|
|
||||||
endif
|
|
||||||
if SUID_WRAPPER
|
|
||||||
$(MKDIR_P) $(DESTDIR)$(SUID_WRAPPER_DIR)
|
|
||||||
mv $(DESTDIR)$(bindir)/Xorg $(DESTDIR)$(SUID_WRAPPER_DIR)/Xorg
|
|
||||||
${INSTALL} -m 755 Xorg.sh $(DESTDIR)$(bindir)/Xorg
|
|
||||||
-chown 0 $(DESTDIR)$(SUID_WRAPPER_DIR)/Xorg.wrap && chmod u+s $(DESTDIR)$(SUID_WRAPPER_DIR)/Xorg.wrap
|
|
||||||
endif
|
|
||||||
|
|
||||||
uninstall-local:
|
|
||||||
if CYGWIN
|
|
||||||
$(AM_V_at)rm -f $(DESTDIR)$(libdir)/libXorg.exe.a
|
|
||||||
endif
|
|
||||||
|
|
||||||
uninstall-hook:
|
|
||||||
$(AM_V_at)rm -f $(DESTDIR)$(bindir)/X
|
|
||||||
|
|
||||||
# Use variables from XORG_MANPAGE_SECTIONS and X Server configuration
|
|
||||||
# Do not include manpages.am as values are not appropriate for rc files
|
|
||||||
CONF_SUBSTS = -e 's|__filemansuffix__|$(FILE_MAN_SUFFIX)|g' \
|
|
||||||
-e 's|MODULEPATH|$(DEFAULT_MODULE_PATH)|g' \
|
|
||||||
-e 's|DEFAULTFONTPATH|$(COMPILEDDEFAULTFONTPATH)|g'
|
|
||||||
|
|
||||||
xorg.conf.example: xorgconf.cpp
|
|
||||||
$(AM_V_GEN)$(SED) $(CONF_SUBSTS) < $(srcdir)/xorgconf.cpp > $@
|
|
||||||
|
|
||||||
relink:
|
|
||||||
$(AM_V_at)rm -f Xorg$(EXEEXT) && $(MAKE) Xorg$(EXEEXT)
|
|
||||||
|
|
||||||
CLEANFILES = sdksyms.c sdksyms.dep Xorg.sh
|
|
||||||
EXTRA_DIST += sdksyms.sh
|
|
||||||
|
|
||||||
sdksyms.dep sdksyms.c: sdksyms.sh
|
|
||||||
$(AM_V_GEN)CPP='$(CPP)' AWK='$(AWK)' $(SHELL) $(srcdir)/sdksyms.sh $(top_srcdir) $(CFLAGS) $(AM_CFLAGS) $(AM_CPPFLAGS)
|
|
||||||
|
|
||||||
SDKSYMS_DEP = sdksyms.dep
|
|
||||||
-include $(SDKSYMS_DEP)
|
|
||||||
|
|
||||||
i2c/libi2c.la:
|
|
||||||
$(AM_V_at)cd i2c && $(MAKE) libi2c.la
|
|
||||||
|
|
||||||
dixmods/libdixmods.la:
|
|
||||||
$(AM_V_at)cd dixmods && $(MAKE) libdixmods.la
|
|
||||||
|
|
||||||
xkb/libxorgxkb.la:
|
|
||||||
$(AM_V_at)cd xkb && $(MAKE) libxorgxkb.la
|
|
|
@ -1,104 +0,0 @@
|
||||||
noinst_LTLIBRARIES = libcommon.la
|
|
||||||
|
|
||||||
if XORG_BUS_PCI
|
|
||||||
PCI_SOURCES = xf86pciBus.c xf86VGAarbiter.c xf86VGAarbiter.h \
|
|
||||||
xf86VGAarbiterPriv.h
|
|
||||||
endif
|
|
||||||
|
|
||||||
if XORG_BUS_SPARC
|
|
||||||
SBUS_SOURCES = xf86sbusBus.c
|
|
||||||
endif
|
|
||||||
|
|
||||||
if XV
|
|
||||||
XVSOURCES = xf86xv.c xf86xvmc.c
|
|
||||||
XVSDKINCS = xf86xv.h xf86xvmc.h xf86xvpriv.h
|
|
||||||
endif
|
|
||||||
|
|
||||||
if DGA
|
|
||||||
DGASOURCES = xf86DGA.c
|
|
||||||
DGA_SDK = dgaproc.h
|
|
||||||
endif
|
|
||||||
|
|
||||||
if XORG_BUS_PLATFORM
|
|
||||||
PLATSOURCES = xf86platformBus.c
|
|
||||||
endif
|
|
||||||
|
|
||||||
RANDRSOURCES = xf86RandR.c
|
|
||||||
|
|
||||||
BUSSOURCES = xf86fbBus.c xf86noBus.c $(PCI_SOURCES) $(SBUS_SOURCES) $(PLATSOURCES)
|
|
||||||
|
|
||||||
MODEDEFSOURCES = $(srcdir)/vesamodes $(srcdir)/extramodes
|
|
||||||
|
|
||||||
xf86DefModeSet.c: $(srcdir)/modeline2c.awk $(MODEDEFSOURCES)
|
|
||||||
$(AM_V_GEN)cat $(MODEDEFSOURCES) | LC_ALL=C $(AWK) -f $(srcdir)/modeline2c.awk > $@
|
|
||||||
$(AM_V_GEN)echo >> $@
|
|
||||||
|
|
||||||
BUILT_SOURCES = xf86DefModeSet.c
|
|
||||||
|
|
||||||
AM_LDFLAGS = -r
|
|
||||||
libcommon_la_SOURCES = xf86Configure.c xf86Bus.c xf86Config.c \
|
|
||||||
xf86Cursor.c $(DGASOURCES) xf86DPMS.c \
|
|
||||||
xf86Events.c xf86Globals.c xf86AutoConfig.c \
|
|
||||||
xf86Option.c xf86Init.c \
|
|
||||||
xf86VidMode.c xf86fbman.c xf86cmap.c \
|
|
||||||
xf86Helper.c xf86PM.c xf86Xinput.c xisb.c \
|
|
||||||
xf86Mode.c xorgHelper.c xf86Extensions.h \
|
|
||||||
xf86Extensions.c $(XF86VMODESOURCES) \
|
|
||||||
$(XVSOURCES) $(BUSSOURCES) $(RANDRSOURCES)
|
|
||||||
nodist_libcommon_la_SOURCES = xf86DefModeSet.c
|
|
||||||
libcommon_la_LIBADD = $(top_builddir)/config/libconfig.la
|
|
||||||
|
|
||||||
AM_CPPFLAGS = $(XORG_INCS) -I$(srcdir)/../ddc -I$(srcdir)/../i2c \
|
|
||||||
-I$(srcdir)/../loader -I$(srcdir)/../parser \
|
|
||||||
-I$(srcdir)/../vbe -I$(srcdir)/../int10 \
|
|
||||||
-I$(srcdir)/../vgahw -I$(srcdir)/../dixmods/extmod \
|
|
||||||
-I$(srcdir)/../modes -I$(srcdir)/../ramdac -I$(srcdir)/../dri2 \
|
|
||||||
-I$(top_builddir)
|
|
||||||
|
|
||||||
sdk_HEADERS = compiler.h xf86.h xf86Module.h xf86Opt.h \
|
|
||||||
xf86PciInfo.h xf86Priv.h xf86Privstr.h \
|
|
||||||
xf86cmap.h xf86fbman.h xf86str.h xf86Xinput.h xisb.h \
|
|
||||||
$(XVSDKINCS) $(XF86VMODE_SDK) $(DGA_SDK) xorgVersion.h \
|
|
||||||
xf86sbusBus.h xf86VGAarbiter.h xf86Optionstr.h \
|
|
||||||
xf86platformBus.h xf86MatchDrivers.h \
|
|
||||||
xaarop.h
|
|
||||||
|
|
||||||
CLEANFILES = $(BUILT_SOURCES)
|
|
||||||
|
|
||||||
EXTRA_DIST = \
|
|
||||||
compiler.h \
|
|
||||||
xf86.h \
|
|
||||||
xf86Bus.h \
|
|
||||||
xf86Config.h \
|
|
||||||
xf86InPriv.h \
|
|
||||||
xf86Module.h \
|
|
||||||
xf86Opt.h \
|
|
||||||
xf86PciInfo.h \
|
|
||||||
xf86Priv.h \
|
|
||||||
xf86Privstr.h \
|
|
||||||
xf86Xinput.h \
|
|
||||||
xf86cmap.h \
|
|
||||||
xf86fbman.h \
|
|
||||||
xf86pciBus.h \
|
|
||||||
xf86str.h \
|
|
||||||
xf86xv.h \
|
|
||||||
xf86xvmc.h \
|
|
||||||
xf86xvpriv.h \
|
|
||||||
xisb.h \
|
|
||||||
xorgVersion.h \
|
|
||||||
$(MODEDEFSOURCES) \
|
|
||||||
modeline2c.awk \
|
|
||||||
xf86VGAarbiter.h \
|
|
||||||
xf86VGAarbiterPriv.h \
|
|
||||||
$(DISTKBDSOURCES) \
|
|
||||||
xaarop.h
|
|
||||||
|
|
||||||
if LNXACPI
|
|
||||||
XORG_CFLAGS += -DHAVE_ACPI
|
|
||||||
endif
|
|
||||||
|
|
||||||
if NEED_DBUS
|
|
||||||
XORG_CFLAGS += $(DBUS_CFLAGS)
|
|
||||||
endif
|
|
||||||
|
|
||||||
AM_CFLAGS = $(DIX_CFLAGS) $(XORG_CFLAGS)
|
|
|
@ -1,11 +0,0 @@
|
||||||
sdk_HEADERS = edid.h xf86DDC.h
|
|
||||||
|
|
||||||
noinst_LTLIBRARIES = libddc.la
|
|
||||||
|
|
||||||
libddc_la_SOURCES = ddc.c interpret_edid.c print_edid.c ddcProperty.c
|
|
||||||
|
|
||||||
AM_CPPFLAGS = $(XORG_INCS) -I$(srcdir)/../i2c
|
|
||||||
|
|
||||||
AM_CFLAGS = $(DIX_CFLAGS) $(XORG_CFLAGS)
|
|
||||||
|
|
||||||
EXTRA_DIST = DDC.HOWTO
|
|
|
@ -1,41 +0,0 @@
|
||||||
noinst_LTLIBRARIES = libdixmods.la
|
|
||||||
|
|
||||||
if GLX
|
|
||||||
GLXMODS = libglx.la
|
|
||||||
endif
|
|
||||||
|
|
||||||
module_LTLIBRARIES = libwfb.la \
|
|
||||||
libshadow.la
|
|
||||||
|
|
||||||
extsmoduledir = $(moduledir)/extensions
|
|
||||||
extsmodule_LTLIBRARIES = $(GLXMODS)
|
|
||||||
|
|
||||||
AM_CFLAGS = @XORG_CFLAGS@ @DIX_CFLAGS@
|
|
||||||
AM_CPPFLAGS = @XORG_INCS@ \
|
|
||||||
-I$(top_srcdir)/hw/xfree86/loader \
|
|
||||||
-I$(top_srcdir)/miext/shadow \
|
|
||||||
-I$(top_srcdir)/glx
|
|
||||||
|
|
||||||
libwfb_la_LDFLAGS = -module -avoid-version $(LD_NO_UNDEFINED_FLAG)
|
|
||||||
libwfb_la_LIBADD = $(top_builddir)/fb/libwfb.la
|
|
||||||
libwfb_la_SOURCES = fbmodule.c
|
|
||||||
libwfb_la_CFLAGS = $(AM_CFLAGS) -DFB_ACCESS_WRAPPER
|
|
||||||
|
|
||||||
libglx_la_LDFLAGS = -module -avoid-version $(LD_NO_UNDEFINED_FLAG)
|
|
||||||
libglx_la_LIBADD = $(top_builddir)/glx/libglx.la $(GLX_SYS_LIBS)
|
|
||||||
if DRI2
|
|
||||||
libglx_la_LIBADD += $(top_builddir)/glx/libglxdri.la
|
|
||||||
if NO_UNDEFINED
|
|
||||||
libglx_la_LIBADD += $(LIBDRM_LIBS) $(PIXMAN_LIBS)
|
|
||||||
endif
|
|
||||||
endif
|
|
||||||
libglx_la_SOURCES = glxmodule.c
|
|
||||||
|
|
||||||
libshadow_la_LDFLAGS = -module -avoid-version $(LD_NO_UNDEFINED_FLAG)
|
|
||||||
libshadow_la_LIBADD = $(top_builddir)/miext/shadow/libshadow.la
|
|
||||||
libshadow_la_SOURCES = shmodule.c
|
|
||||||
|
|
||||||
libdixmods_la_SOURCES = \
|
|
||||||
$(top_srcdir)/mi/miinitext.c \
|
|
||||||
$(top_srcdir)/mi/miinitext.h
|
|
||||||
libdixmods_la_CFLAGS = $(AM_CFLAGS)
|
|
|
@ -1,17 +0,0 @@
|
||||||
|
|
||||||
if ENABLE_DEVEL_DOCS
|
|
||||||
if HAVE_XMLTO
|
|
||||||
|
|
||||||
# Main DocBook/XML files (DOCTYPE book)
|
|
||||||
docbook = ddxDesign.xml
|
|
||||||
|
|
||||||
# Generate DocBook/XML output formats with or without stylesheets
|
|
||||||
include $(top_srcdir)/devbook.am
|
|
||||||
|
|
||||||
endif HAVE_XMLTO
|
|
||||||
endif ENABLE_DEVEL_DOCS
|
|
||||||
|
|
||||||
EXTRA_DIST = \
|
|
||||||
Registry \
|
|
||||||
exa-driver.txt \
|
|
||||||
README.modes
|
|
|
@ -1,20 +0,0 @@
|
||||||
noinst_LTLIBRARIES = libdri.la
|
|
||||||
AM_CFLAGS = -I$(top_srcdir)/hw/xfree86/common \
|
|
||||||
-I$(top_srcdir)/hw/xfree86/os-support \
|
|
||||||
-I$(top_srcdir)/hw/xfree86/modes \
|
|
||||||
-I$(top_srcdir)/hw/xfree86/ddc \
|
|
||||||
-I$(top_srcdir)/hw/xfree86/i2c \
|
|
||||||
-I$(top_srcdir)/hw/xfree86/parser \
|
|
||||||
-I$(top_srcdir)/hw/xfree86/ramdac \
|
|
||||||
-I$(top_srcdir)/hw/xfree86/os-support/bus \
|
|
||||||
-I$(top_srcdir)/glx \
|
|
||||||
-DHAVE_XORG_CONFIG_H \
|
|
||||||
@DIX_CFLAGS@ @XORG_CFLAGS@
|
|
||||||
libdri_la_SOURCES = \
|
|
||||||
dri.c \
|
|
||||||
dri.h \
|
|
||||||
dristruct.h \
|
|
||||||
sarea.h \
|
|
||||||
xf86dri.c
|
|
||||||
|
|
||||||
sdk_HEADERS = dri.h sarea.h dristruct.h
|
|
|
@ -1,16 +0,0 @@
|
||||||
SUBDIRS=pci_ids
|
|
||||||
|
|
||||||
noinst_LTLIBRARIES = libdri2.la
|
|
||||||
AM_CFLAGS = \
|
|
||||||
-DHAVE_XORG_CONFIG_H \
|
|
||||||
@DIX_CFLAGS@ @XORG_CFLAGS@ \
|
|
||||||
-I$(top_srcdir)/hw/xfree86/common \
|
|
||||||
-I$(top_srcdir)/hw/xfree86/os-support/bus
|
|
||||||
|
|
||||||
libdri2_la_SOURCES = \
|
|
||||||
dri2.c \
|
|
||||||
dri2.h \
|
|
||||||
dri2ext.c \
|
|
||||||
dri2int.h
|
|
||||||
|
|
||||||
sdk_HEADERS = dri2.h
|
|
|
@ -1,12 +0,0 @@
|
||||||
EXTRA_DIST = \
|
|
||||||
pci_id_driver_map.h \
|
|
||||||
i810_pci_ids.h \
|
|
||||||
i915_pci_ids.h \
|
|
||||||
i965_pci_ids.h \
|
|
||||||
r200_pci_ids.h \
|
|
||||||
r300_pci_ids.h \
|
|
||||||
r600_pci_ids.h \
|
|
||||||
radeon_pci_ids.h \
|
|
||||||
radeonsi_pci_ids.h \
|
|
||||||
virtio_gpu_pci_ids.h \
|
|
||||||
vmwgfx_pci_ids.h
|
|
|
@ -1,8 +0,0 @@
|
||||||
SUBDIRS =
|
|
||||||
|
|
||||||
if XORG_DRIVER_MODESETTING
|
|
||||||
SUBDIRS += modesetting
|
|
||||||
endif
|
|
||||||
if XORG_DRIVER_INPUT_INPUTTEST
|
|
||||||
SUBDIRS += inputtest
|
|
||||||
endif
|
|
|
@ -1,48 +0,0 @@
|
||||||
# Copyright 2005 Adam Jackson.
|
|
||||||
#
|
|
||||||
# Permission is hereby granted, free of charge, to any person obtaining a
|
|
||||||
# copy of this software and associated documentation files (the "Software"),
|
|
||||||
# to deal in the Software without restriction, including without limitation
|
|
||||||
# on the rights to use, copy, modify, merge, publish, distribute, sub
|
|
||||||
# license, and/or sell copies of the Software, and to permit persons to whom
|
|
||||||
# the Software is furnished to do so, subject to the following conditions:
|
|
||||||
#
|
|
||||||
# The above copyright notice and this permission notice (including the next
|
|
||||||
# paragraph) shall be included in all copies or substantial portions of the
|
|
||||||
# Software.
|
|
||||||
#
|
|
||||||
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
||||||
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
||||||
# FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL
|
|
||||||
# ADAM JACKSON BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
|
||||||
# IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
|
||||||
# CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
||||||
|
|
||||||
# this is obnoxious:
|
|
||||||
# -module lets us name the module exactly how we want
|
|
||||||
# -avoid-version prevents gratuitous .0.0.0 version numbers on the end
|
|
||||||
# _ladir passes a dummy rpath to libtool so the thing will actually link
|
|
||||||
# TODO: -nostdlib/-Bstatic/-lgcc platform magic, not installing the .a, etc.
|
|
||||||
|
|
||||||
include $(top_srcdir)/manpages.am
|
|
||||||
|
|
||||||
AM_CFLAGS = $(DIX_CFLAGS) $(XORG_CFLAGS) $(CWARNFLAGS)
|
|
||||||
|
|
||||||
AM_CPPFLAGS = $(XORG_INCS)
|
|
||||||
|
|
||||||
inputtest_drv_la_LTLIBRARIES = inputtest_drv.la
|
|
||||||
inputtest_drv_la_LDFLAGS = -module -avoid-version
|
|
||||||
inputtest_drv_ladir = @moduledir@/input
|
|
||||||
|
|
||||||
inputtest_drv_la_SOURCES = xf86-input-inputtest.c xf86-input-inputtest-protocol.h
|
|
||||||
|
|
||||||
sdk_HEADERS = xf86-input-inputtest-protocol.h
|
|
||||||
|
|
||||||
drivermandir = $(DRIVER_MAN_DIR)
|
|
||||||
driverman_PRE = inputtestdrv.man
|
|
||||||
driverman_DATA = $(driverman_PRE:man=@DRIVER_MAN_SUFFIX@)
|
|
||||||
|
|
||||||
EXTRA_DIST = inputtestdrv.man
|
|
||||||
|
|
||||||
CLEANFILES = $(driverman_DATA)
|
|
||||||
|
|
|
@ -1,66 +0,0 @@
|
||||||
# Copyright 2005 Adam Jackson.
|
|
||||||
#
|
|
||||||
# Permission is hereby granted, free of charge, to any person obtaining a
|
|
||||||
# copy of this software and associated documentation files (the "Software"),
|
|
||||||
# to deal in the Software without restriction, including without limitation
|
|
||||||
# on the rights to use, copy, modify, merge, publish, distribute, sub
|
|
||||||
# license, and/or sell copies of the Software, and to permit persons to whom
|
|
||||||
# the Software is furnished to do so, subject to the following conditions:
|
|
||||||
#
|
|
||||||
# The above copyright notice and this permission notice (including the next
|
|
||||||
# paragraph) shall be included in all copies or substantial portions of the
|
|
||||||
# Software.
|
|
||||||
#
|
|
||||||
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
||||||
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
||||||
# FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL
|
|
||||||
# ADAM JACKSON BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
|
||||||
# IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
|
||||||
# CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
||||||
|
|
||||||
# this is obnoxious:
|
|
||||||
# -module lets us name the module exactly how we want
|
|
||||||
# -avoid-version prevents gratuitous .0.0.0 version numbers on the end
|
|
||||||
# _ladir passes a dummy rpath to libtool so the thing will actually link
|
|
||||||
# TODO: -nostdlib/-Bstatic/-lgcc platform magic, not installing the .a, etc.
|
|
||||||
|
|
||||||
include $(top_srcdir)/manpages.am
|
|
||||||
|
|
||||||
AM_CFLAGS = $(DIX_CFLAGS) $(XORG_CFLAGS) $(LIBDRM_CFLAGS) $(UDEV_CFLAGS) $(CWARNFLAGS)
|
|
||||||
|
|
||||||
AM_CPPFLAGS = \
|
|
||||||
$(XORG_INCS) \
|
|
||||||
-I$(top_srcdir)/glamor \
|
|
||||||
-I$(srcdir)/../../ddc \
|
|
||||||
-I$(srcdir)/../../dri2 \
|
|
||||||
-I$(srcdir)/../../i2c \
|
|
||||||
-I$(srcdir)/../../modes \
|
|
||||||
-I$(srcdir)/../../parser \
|
|
||||||
-I$(srcdir)/../../ramdac \
|
|
||||||
$(NULL)
|
|
||||||
|
|
||||||
modesetting_drv_la_LTLIBRARIES = modesetting_drv.la
|
|
||||||
modesetting_drv_la_LDFLAGS = -module -avoid-version
|
|
||||||
modesetting_drv_la_LIBADD = $(UDEV_LIBS) $(DRM_LIBS)
|
|
||||||
modesetting_drv_ladir = @moduledir@/drivers
|
|
||||||
|
|
||||||
modesetting_drv_la_SOURCES = \
|
|
||||||
dri2.c \
|
|
||||||
driver.c \
|
|
||||||
driver.h \
|
|
||||||
drmmode_display.c \
|
|
||||||
drmmode_display.h \
|
|
||||||
dumb_bo.c \
|
|
||||||
dumb_bo.h \
|
|
||||||
present.c \
|
|
||||||
vblank.c \
|
|
||||||
pageflip.c \
|
|
||||||
$(NULL)
|
|
||||||
|
|
||||||
drivermandir = $(DRIVER_MAN_DIR)
|
|
||||||
driverman_PRE = modesetting.man
|
|
||||||
driverman_DATA = $(driverman_PRE:man=@DRIVER_MAN_SUFFIX@)
|
|
||||||
|
|
||||||
EXTRA_DIST = modesetting.man
|
|
||||||
|
|
||||||
CLEANFILES = $(driverman_DATA)
|
|
|
@ -1,17 +0,0 @@
|
||||||
SUBDIRS = man
|
|
||||||
|
|
||||||
module_LTLIBRARIES = libexa.la
|
|
||||||
|
|
||||||
libexa_la_LDFLAGS = -module -avoid-version $(LD_NO_UNDEFINED_FLAG)
|
|
||||||
|
|
||||||
AM_CPPFLAGS = \
|
|
||||||
$(XORG_INCS) \
|
|
||||||
-I$(srcdir)/../../../exa
|
|
||||||
|
|
||||||
AM_CFLAGS = $(DIX_CFLAGS) $(XORG_CFLAGS)
|
|
||||||
|
|
||||||
libexa_la_SOURCES = \
|
|
||||||
examodule.c
|
|
||||||
|
|
||||||
libexa_la_LIBADD = \
|
|
||||||
../../../exa/libexa.la $(PIXMAN_LIBS)
|
|
|
@ -1,2 +0,0 @@
|
||||||
include $(top_srcdir)/manpages.am
|
|
||||||
driverman_PRE = exa.man
|
|
|
@ -1,19 +0,0 @@
|
||||||
SUBDIRS = man
|
|
||||||
|
|
||||||
module_LTLIBRARIES = libfbdevhw.la
|
|
||||||
|
|
||||||
libfbdevhw_la_LDFLAGS = -module -avoid-version $(LD_NO_UNDEFINED_FLAG)
|
|
||||||
|
|
||||||
if FBDEVHW
|
|
||||||
libfbdevhw_la_SOURCES = fbdevhw.c
|
|
||||||
else
|
|
||||||
libfbdevhw_la_SOURCES = fbdevhwstub.c
|
|
||||||
endif
|
|
||||||
|
|
||||||
AM_CPPFLAGS = $(XORG_INCS) -I$(srcdir)/../i2c -I$(srcdir)/../modes -I$(srcdir)/../ddc -I$(srcdir)/../parser
|
|
||||||
|
|
||||||
AM_CFLAGS = $(DIX_CFLAGS) $(XORG_CFLAGS)
|
|
||||||
|
|
||||||
sdk_HEADERS = fbdevhw.h
|
|
||||||
|
|
||||||
EXTRA_DIST = fbpriv.h README
|
|
|
@ -1,2 +0,0 @@
|
||||||
include $(top_srcdir)/manpages.am
|
|
||||||
driverman_PRE = fbdevhw.man
|
|
|
@ -1,44 +0,0 @@
|
||||||
# Copyright © 2013 Intel Corporation
|
|
||||||
#
|
|
||||||
# Permission is hereby granted, free of charge, to any person obtaining a
|
|
||||||
# copy of this software and associated documentation files (the "Software"),
|
|
||||||
# to deal in the Software without restriction, including without limitation
|
|
||||||
# the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
|
||||||
# and/or sell copies of the Software, and to permit persons to whom the
|
|
||||||
# Software is furnished to do so, subject to the following conditions:
|
|
||||||
#
|
|
||||||
# The above copyright notice and this permission notice (including the next
|
|
||||||
# paragraph) shall be included in all copies or substantial portions of the
|
|
||||||
# Software.
|
|
||||||
#
|
|
||||||
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
||||||
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
||||||
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
|
|
||||||
# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
||||||
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
|
||||||
# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
|
||||||
# IN THE SOFTWARE.
|
|
||||||
|
|
||||||
module_LTLIBRARIES = libglamoregl.la
|
|
||||||
|
|
||||||
libglamoregl_la_SOURCES = \
|
|
||||||
$(top_srcdir)/glamor/glamor_egl.c \
|
|
||||||
$(top_srcdir)/glamor/glamor_eglmodule.c \
|
|
||||||
glamor_xf86_xv.c \
|
|
||||||
$()
|
|
||||||
|
|
||||||
libglamoregl_la_LDFLAGS = \
|
|
||||||
-avoid-version \
|
|
||||||
$(GBM_LIBS) \
|
|
||||||
$()
|
|
||||||
|
|
||||||
libglamoregl_la_LIBADD = \
|
|
||||||
$(top_builddir)/glamor/libglamor.la \
|
|
||||||
$()
|
|
||||||
|
|
||||||
AM_CPPFLAGS = $(XORG_INCS) \
|
|
||||||
-I$(top_srcdir)/dri3 \
|
|
||||||
-I$(top_srcdir)/glamor \
|
|
||||||
$()
|
|
||||||
|
|
||||||
AM_CFLAGS = $(DIX_CFLAGS) $(XORG_CFLAGS) $(GLAMOR_CFLAGS) $(GBM_CFLAGS)
|
|
|
@ -1,9 +0,0 @@
|
||||||
noinst_LTLIBRARIES = libi2c.la
|
|
||||||
|
|
||||||
libi2c_la_SOURCES = xf86i2c.c
|
|
||||||
|
|
||||||
AM_CPPFLAGS = $(XORG_INCS)
|
|
||||||
|
|
||||||
AM_CFLAGS = $(DIX_CFLAGS) $(XORG_CFLAGS)
|
|
||||||
|
|
||||||
sdk_HEADERS = xf86i2c.h i2c_def.h
|
|
|
@ -1,49 +0,0 @@
|
||||||
module_LTLIBRARIES = libint10.la
|
|
||||||
|
|
||||||
sdk_HEADERS = xf86int10.h vbe.h vbeModes.h
|
|
||||||
|
|
||||||
EXTRA_CFLAGS =
|
|
||||||
|
|
||||||
libint10_la_LDFLAGS = -avoid-version
|
|
||||||
libint10_la_LIBADD = $(PCIACCESS_LIBS)
|
|
||||||
|
|
||||||
COMMON_SOURCES = \
|
|
||||||
vbe.c \
|
|
||||||
vbeModes.c \
|
|
||||||
helper_exec.c \
|
|
||||||
helper_mem.c \
|
|
||||||
xf86int10.c \
|
|
||||||
xf86int10module.c
|
|
||||||
|
|
||||||
if I386_VIDEO
|
|
||||||
I386_VIDEO_CFLAGS = -D_PC
|
|
||||||
endif
|
|
||||||
|
|
||||||
AM_CPPFLAGS = $(XORG_INCS) -I$(srcdir)/../ddc -I$(srcdir)/../modes -I$(srcdir)/../i2c \
|
|
||||||
-I$(srcdir)/../parser
|
|
||||||
|
|
||||||
if INT10_VM86
|
|
||||||
AM_CFLAGS = $(I386_VIDEO_CFLAGS) -D_VM86_LINUX $(DIX_CFLAGS) $(XORG_CFLAGS) $(EXTRA_CFLAGS)
|
|
||||||
libint10_la_SOURCES = \
|
|
||||||
$(COMMON_SOURCES) \
|
|
||||||
$(srcdir)/../os-support/linux/int10/vm86/linux_vm86.c \
|
|
||||||
$(srcdir)/../os-support/linux/int10/linux.c
|
|
||||||
endif
|
|
||||||
|
|
||||||
if INT10_X86EMU
|
|
||||||
AM_CFLAGS = $(I386_VIDEO_CFLAGS) -D_X86EMU -DNO_SYS_HEADERS \
|
|
||||||
$(XORG_CFLAGS) $(EXTRA_CFLAGS) $(DIX_CFLAGS)
|
|
||||||
AM_CPPFLAGS += -I$(srcdir)/../x86emu
|
|
||||||
libint10_la_SOURCES = \
|
|
||||||
$(COMMON_SOURCES) \
|
|
||||||
xf86x86emu.c \
|
|
||||||
generic.c \
|
|
||||||
x86emu.c
|
|
||||||
endif
|
|
||||||
|
|
||||||
if INT10_STUB
|
|
||||||
AM_CFLAGS = $(I386_VIDEO_CFLAGS) -D_VM86_LINUX $(DIX_CFLAGS) $(XORG_CFLAGS) $(EXTRA_CFLAGS)
|
|
||||||
libint10_la_SOURCES = stub.c xf86int10module.c
|
|
||||||
endif
|
|
||||||
|
|
||||||
EXTRA_DIST = xf86x86emu.h INT10.HOWTO
|
|
|
@ -1,19 +0,0 @@
|
||||||
noinst_LTLIBRARIES = libloader.la
|
|
||||||
|
|
||||||
AM_CPPFLAGS = $(XORG_INCS) -I$(srcdir)/../parser \
|
|
||||||
-I$(srcdir)/../ddc -I$(srcdir)/../i2c -I$(srcdir)/../modes \
|
|
||||||
-I$(srcdir)/../ramdac -I$(srcdir)/../dri -I$(srcdir)/../dri2
|
|
||||||
|
|
||||||
#AM_LDFLAGS = -r
|
|
||||||
AM_CFLAGS = $(DIX_CFLAGS) $(XORG_CFLAGS)
|
|
||||||
|
|
||||||
EXTRA_DIST = \
|
|
||||||
loader.h \
|
|
||||||
loaderProcs.h
|
|
||||||
|
|
||||||
libloader_la_SOURCES = \
|
|
||||||
loader.c \
|
|
||||||
loaderProcs.h \
|
|
||||||
loadmod.c
|
|
||||||
|
|
||||||
libloader_la_LIBADD = $(DLOPEN_LIBS)
|
|
|
@ -1,10 +0,0 @@
|
||||||
include $(top_srcdir)/manpages.am
|
|
||||||
appman_PRE = Xorg.man
|
|
||||||
fileman_PRE = xorg.conf.man xorg.conf.d.man
|
|
||||||
|
|
||||||
if SUID_WRAPPER
|
|
||||||
appman_PRE += Xorg.wrap.man
|
|
||||||
fileman_PRE += Xwrapper.config.man
|
|
||||||
else
|
|
||||||
EXTRA_DIST += Xorg.wrap.man Xwrapper.config.man
|
|
||||||
endif
|
|
|
@ -1,32 +0,0 @@
|
||||||
noinst_LTLIBRARIES = libxf86modes.la
|
|
||||||
|
|
||||||
if DGA
|
|
||||||
DGA_SRCS = xf86DiDGA.c
|
|
||||||
endif
|
|
||||||
|
|
||||||
libxf86modes_la_SOURCES = \
|
|
||||||
xf86Crtc.c \
|
|
||||||
xf86Crtc.h \
|
|
||||||
xf86Cursors.c \
|
|
||||||
xf86cvt.c \
|
|
||||||
xf86gtf.c \
|
|
||||||
xf86EdidModes.c \
|
|
||||||
xf86Modes.c \
|
|
||||||
xf86Modes.h \
|
|
||||||
xf86RandR12.c \
|
|
||||||
xf86RandR12.h \
|
|
||||||
xf86Rotate.c \
|
|
||||||
$(DGA_SRCS)
|
|
||||||
|
|
||||||
AM_CPPFLAGS = $(XORG_INCS) -I$(srcdir)/../ddc -I$(srcdir)/../i2c \
|
|
||||||
-I$(srcdir)/../loader -I$(srcdir)/../rac -I$(srcdir)/../parser \
|
|
||||||
-I$(srcdir)/../vbe -I$(srcdir)/../int10 \
|
|
||||||
-I$(srcdir)/../vgahw -I$(srcdir)/../ramdac \
|
|
||||||
-I$(srcdir)/../dixmods/extmod
|
|
||||||
|
|
||||||
sdk_HEADERS = \
|
|
||||||
xf86Crtc.h \
|
|
||||||
xf86Modes.h \
|
|
||||||
xf86RandR12.h
|
|
||||||
|
|
||||||
AM_CFLAGS = $(DIX_CFLAGS) $(XORG_CFLAGS)
|
|
|
@ -1,18 +0,0 @@
|
||||||
SUBDIRS = bus @XORG_OS_SUBDIR@ misc $(DRI_SUBDIRS)
|
|
||||||
DIST_SUBDIRS = bsd bus misc linux solaris stub hurd
|
|
||||||
|
|
||||||
sdk_HEADERS = xf86_OSproc.h xf86_OSlib.h
|
|
||||||
|
|
||||||
EXTRA_DIST = int10Defines.h xf86OSpriv.h
|
|
||||||
|
|
||||||
# to get the grouping semantics right, you have to glom these three together
|
|
||||||
# as one library, otherwise libtool will actively defeat your attempts to
|
|
||||||
# list them multiple times on the link line.
|
|
||||||
noinst_LTLIBRARIES = libxorgos.la
|
|
||||||
libxorgos_la_SOURCES =
|
|
||||||
libxorgos_la_LIBADD = @XORG_OS_SUBDIR@/lib@XORG_OS_SUBDIR@.la \
|
|
||||||
bus/libbus.la \
|
|
||||||
misc/libmisc.la
|
|
||||||
|
|
||||||
AM_CFLAGS = $(DIX_CFLAGS)
|
|
||||||
|
|
|
@ -1,65 +0,0 @@
|
||||||
noinst_LTLIBRARIES = libbsd.la
|
|
||||||
|
|
||||||
# No APM support.
|
|
||||||
APM_SOURCES = $(srcdir)/../shared/pm_noop.c
|
|
||||||
|
|
||||||
if FREEBSD_KLDLOAD
|
|
||||||
KMOD_SOURCES = bsd_kmod.c
|
|
||||||
else
|
|
||||||
KMOD_SOURCES = $(srcdir)/../shared/kmod_noop.c
|
|
||||||
endif
|
|
||||||
|
|
||||||
if AGP
|
|
||||||
AGP_SOURCES = $(srcdir)/../linux/lnx_agp.c
|
|
||||||
else
|
|
||||||
AGP_SOURCES = $(srcdir)/../shared/agp_noop.c
|
|
||||||
endif
|
|
||||||
|
|
||||||
if ALPHA_VIDEO
|
|
||||||
# Cheat here and piggyback other alpha bits on ALPHA_VIDEO.
|
|
||||||
ARCH_SOURCES = \
|
|
||||||
alpha_video.c
|
|
||||||
endif
|
|
||||||
|
|
||||||
if ARM_VIDEO
|
|
||||||
ARCH_SOURCES = arm_video.c
|
|
||||||
endif
|
|
||||||
|
|
||||||
if I386_VIDEO
|
|
||||||
ARCH_SOURCES = i386_video.c
|
|
||||||
endif
|
|
||||||
|
|
||||||
if PPC_VIDEO
|
|
||||||
ARCH_SOURCES = ppc_video.c
|
|
||||||
endif
|
|
||||||
|
|
||||||
if SPARC64_VIDEO
|
|
||||||
# Cheat here and piggyback other sparc64 bits on SPARC64_VIDEO.
|
|
||||||
ARCH_SOURCES = \
|
|
||||||
sparc64_video.c \
|
|
||||||
$(srcdir)/../shared/ioperm_noop.c
|
|
||||||
endif
|
|
||||||
|
|
||||||
# FIXME: NetBSD Aperture defines (configure.ac)
|
|
||||||
AM_CFLAGS = $(XORG_CFLAGS) $(DIX_CFLAGS)
|
|
||||||
|
|
||||||
AM_CPPFLAGS = $(XORG_INCS)
|
|
||||||
|
|
||||||
libbsd_la_SOURCES = \
|
|
||||||
$(srcdir)/../shared/posix_tty.c \
|
|
||||||
$(srcdir)/../shared/sigio.c \
|
|
||||||
$(srcdir)/../shared/vidmem.c \
|
|
||||||
bsd_VTsw.c \
|
|
||||||
bsd_init.c \
|
|
||||||
bsd_bell.c \
|
|
||||||
$(ARCH_SOURCES) \
|
|
||||||
$(AGP_SOURCES) \
|
|
||||||
$(APM_SOURCES) \
|
|
||||||
$(AXP_SOURCES) \
|
|
||||||
$(DRI_SOURCES) \
|
|
||||||
$(KMOD_SOURCES) \
|
|
||||||
$(RES_SOURCES)
|
|
||||||
|
|
||||||
# FIXME: Add these files to the build as needed
|
|
||||||
EXTRA_DIST = \
|
|
||||||
memrange.h
|
|
|
@ -1,24 +0,0 @@
|
||||||
noinst_LTLIBRARIES = libbus.la
|
|
||||||
sdk_HEADERS = xf86Pci.h
|
|
||||||
|
|
||||||
PCI_SOURCES =
|
|
||||||
if XORG_BUS_PCI
|
|
||||||
PCI_SOURCES += Pci.c Pci.h
|
|
||||||
endif
|
|
||||||
|
|
||||||
if XORG_BUS_BSDPCI
|
|
||||||
PCI_SOURCES += bsd_pci.c
|
|
||||||
endif
|
|
||||||
|
|
||||||
if XORG_BUS_SPARC
|
|
||||||
PLATFORM_SOURCES = Sbus.c
|
|
||||||
sdk_HEADERS += xf86Sbus.h
|
|
||||||
endif
|
|
||||||
|
|
||||||
libbus_la_SOURCES = $(PCI_SOURCES) $(PLATFORM_SOURCES) nobus.c
|
|
||||||
|
|
||||||
AM_CPPFLAGS = $(XORG_INCS)
|
|
||||||
|
|
||||||
AM_CFLAGS = $(XORG_CFLAGS) $(DIX_CFLAGS)
|
|
||||||
|
|
||||||
EXTRA_DIST = $(sdk_HEADERS)
|
|
|
@ -1,15 +0,0 @@
|
||||||
noinst_LTLIBRARIES = libhurd.la
|
|
||||||
|
|
||||||
libhurd_la_SOURCES = hurd_bell.c hurd_init.c \
|
|
||||||
hurd_video.c \
|
|
||||||
$(srcdir)/../shared/VTsw_noop.c \
|
|
||||||
$(srcdir)/../shared/posix_tty.c \
|
|
||||||
$(srcdir)/../shared/vidmem.c \
|
|
||||||
$(srcdir)/../shared/sigiostubs.c \
|
|
||||||
$(srcdir)/../shared/pm_noop.c \
|
|
||||||
$(srcdir)/../shared/kmod_noop.c \
|
|
||||||
$(srcdir)/../shared/agp_noop.c
|
|
||||||
|
|
||||||
AM_CFLAGS = -DHAVE_SYSV_IPC $(XORG_CFLAGS) $(DIX_CFLAGS)
|
|
||||||
|
|
||||||
AM_CPPFLAGS = $(XORG_INCS)
|
|
|
@ -1,44 +0,0 @@
|
||||||
noinst_LTLIBRARIES = liblinux.la
|
|
||||||
|
|
||||||
if LNXACPI
|
|
||||||
ACPI_SRCS = lnx_acpi.c
|
|
||||||
if !LNXAPM
|
|
||||||
ACPI_SRCS += lnx_apm.c
|
|
||||||
endif
|
|
||||||
XORG_CFLAGS += -DHAVE_ACPI
|
|
||||||
endif
|
|
||||||
|
|
||||||
if LNXAPM
|
|
||||||
APM_SRCS = lnx_apm.c
|
|
||||||
XORG_CFLAGS += -DHAVE_APM
|
|
||||||
endif
|
|
||||||
|
|
||||||
if !LNXAPM
|
|
||||||
if !LNXACPI
|
|
||||||
ACPI_SRCS = $(srcdir)/../shared/pm_noop.c
|
|
||||||
endif
|
|
||||||
endif
|
|
||||||
|
|
||||||
if SYSTEMD_LOGIND
|
|
||||||
LOGIND_SRCS = systemd-logind.c
|
|
||||||
XORG_CFLAGS += $(DBUS_CFLAGS)
|
|
||||||
endif
|
|
||||||
|
|
||||||
if AGP
|
|
||||||
AGP_SRCS = lnx_agp.c
|
|
||||||
endif
|
|
||||||
|
|
||||||
liblinux_la_SOURCES = linux.h lnx_init.c lnx_video.c \
|
|
||||||
lnx_kmod.c lnx_bell.c lnx_platform.c \
|
|
||||||
$(srcdir)/../shared/VTsw_usl.c \
|
|
||||||
$(srcdir)/../shared/posix_tty.c \
|
|
||||||
$(srcdir)/../shared/vidmem.c \
|
|
||||||
$(srcdir)/../shared/sigio.c \
|
|
||||||
$(ACPI_SRCS) \
|
|
||||||
$(APM_SRCS) \
|
|
||||||
$(LOGIND_SRCS) \
|
|
||||||
$(AGP_SRCS)
|
|
||||||
|
|
||||||
AM_CFLAGS = -DHAVE_SYSV_IPC $(DIX_CFLAGS) $(XORG_CFLAGS) $(PLATFORM_DEFINES)
|
|
||||||
|
|
||||||
AM_CPPFLAGS = $(XORG_INCS) $(PLATFORM_INCLUDES) $(LIBDRM_CFLAGS)
|
|
|
@ -1,12 +0,0 @@
|
||||||
|
|
||||||
noinst_LTLIBRARIES = libmisc.la
|
|
||||||
|
|
||||||
libmisc_la_SOURCES = SlowBcopy.c
|
|
||||||
|
|
||||||
#AM_LDFLAGS = -r
|
|
||||||
|
|
||||||
AM_CPPFLAGS = $(XORG_INCS)
|
|
||||||
|
|
||||||
AM_CFLAGS = $(XORG_CFLAGS) $(DIX_CFLAGS)
|
|
||||||
|
|
||||||
EXTRA_DIST = $(I386_SRCS) $(PORTIO_SRCS)
|
|
|
@ -1,36 +0,0 @@
|
||||||
if SOLARIS_VT
|
|
||||||
VTSW_SRC = sun_VTsw.c
|
|
||||||
else
|
|
||||||
VTSW_SRC = $(srcdir)/../shared/VTsw_noop.c
|
|
||||||
endif
|
|
||||||
|
|
||||||
if AGP
|
|
||||||
AGP_SRC = sun_agp.c
|
|
||||||
else
|
|
||||||
AGP_SRC = $(srcdir)/../shared/agp_noop.c
|
|
||||||
endif
|
|
||||||
|
|
||||||
SOLARIS_INOUT_SRC = solaris-@SOLARIS_INOUT_ARCH@.S
|
|
||||||
DISTCLEANFILES = solaris-@SOLARIS_INOUT_ARCH@.il
|
|
||||||
|
|
||||||
solaris-@SOLARIS_INOUT_ARCH@.il: solaris-@SOLARIS_INOUT_ARCH@.S
|
|
||||||
$(CPP) -P -DINLINE_ASM $(srcdir)/solaris-@SOLARIS_INOUT_ARCH@.S > $@
|
|
||||||
|
|
||||||
noinst_LTLIBRARIES = libsolaris.la
|
|
||||||
libsolaris_la_SOURCES = sun_init.c \
|
|
||||||
sun_vid.c sun_bell.c $(AGP_SRC) sun_apm.c \
|
|
||||||
$(srcdir)/../shared/kmod_noop.c \
|
|
||||||
$(srcdir)/../shared/posix_tty.c \
|
|
||||||
$(srcdir)/../shared/sigio.c \
|
|
||||||
$(srcdir)/../shared/vidmem.c \
|
|
||||||
$(VTSW_SRC)
|
|
||||||
nodist_libsolaris_la_SOURCES = $(SOLARIS_INOUT_SRC)
|
|
||||||
|
|
||||||
sdk_HEADERS =
|
|
||||||
nodist_sdk_HEADERS = solaris-@SOLARIS_INOUT_ARCH@.il
|
|
||||||
|
|
||||||
AM_CFLAGS = -DHAVE_SYSV_IPC $(XORG_CFLAGS) $(DIX_CFLAGS)
|
|
||||||
|
|
||||||
AM_CPPFLAGS = $(XORG_INCS)
|
|
||||||
|
|
||||||
EXTRA_DIST = solaris-amd64.S solaris-ia32.S solaris-sparcv8plus.S sun_inout.s
|
|
|
@ -1,18 +0,0 @@
|
||||||
noinst_LTLIBRARIES = libstub.la
|
|
||||||
|
|
||||||
AM_CFLAGS = $(XORG_CFLAGS) $(DIX_CFLAGS)
|
|
||||||
|
|
||||||
AM_CPPFLAGS = $(XORG_INCS)
|
|
||||||
|
|
||||||
libstub_la_SOURCES = \
|
|
||||||
$(srcdir)/../shared/VTsw_noop.c \
|
|
||||||
$(srcdir)/../shared/agp_noop.c \
|
|
||||||
$(srcdir)/../shared/ioperm_noop.c \
|
|
||||||
$(srcdir)/../shared/kmod_noop.c \
|
|
||||||
$(srcdir)/../shared/pm_noop.c \
|
|
||||||
$(srcdir)/../shared/vidmem.c \
|
|
||||||
$(srcdir)/../shared/posix_tty.c \
|
|
||||||
$(srcdir)/../shared/sigio.c \
|
|
||||||
stub_bell.c \
|
|
||||||
stub_init.c \
|
|
||||||
stub_video.c
|
|
|
@ -1,40 +0,0 @@
|
||||||
noinst_LTLIBRARIES = libxf86config.la
|
|
||||||
|
|
||||||
INTERNAL_SOURCES= \
|
|
||||||
Device.c \
|
|
||||||
Files.c \
|
|
||||||
Flags.c \
|
|
||||||
Input.c \
|
|
||||||
InputClass.c \
|
|
||||||
OutputClass.c \
|
|
||||||
Layout.c \
|
|
||||||
Module.c \
|
|
||||||
Video.c \
|
|
||||||
Monitor.c \
|
|
||||||
Pointer.c \
|
|
||||||
Screen.c \
|
|
||||||
Vendor.c \
|
|
||||||
read.c \
|
|
||||||
scan.c \
|
|
||||||
write.c \
|
|
||||||
DRI.c \
|
|
||||||
Extensions.c
|
|
||||||
|
|
||||||
libxf86config_la_SOURCES = \
|
|
||||||
$(INTERNAL_SOURCES)
|
|
||||||
|
|
||||||
AM_CFLAGS = $(DIX_CFLAGS) $(XORG_CFLAGS) \
|
|
||||||
-DDATADIR=\"$(datadir)\"
|
|
||||||
|
|
||||||
EXTRA_DIST = \
|
|
||||||
Configint.h \
|
|
||||||
configProcs.h \
|
|
||||||
xf86Optrec.h \
|
|
||||||
xf86Parser.h \
|
|
||||||
xf86tokens.h
|
|
||||||
|
|
||||||
sdk_HEADERS = \
|
|
||||||
xf86Parser.h \
|
|
||||||
xf86Optrec.h
|
|
||||||
|
|
||||||
AM_CPPFLAGS = -I$(srcdir)/../common
|
|
|
@ -1,10 +0,0 @@
|
||||||
noinst_LTLIBRARIES = libramdac.la
|
|
||||||
|
|
||||||
libramdac_la_SOURCES = xf86CursorRD.c xf86HWCurs.c
|
|
||||||
|
|
||||||
sdk_HEADERS = xf86Cursor.h
|
|
||||||
|
|
||||||
EXTRA_DIST = xf86CursorPriv.h CURSOR.NOTES
|
|
||||||
|
|
||||||
AM_CFLAGS = $(DIX_CFLAGS) $(XORG_CFLAGS)
|
|
||||||
AM_CPPFLAGS = $(XORG_INCS)
|
|
|
@ -1,10 +0,0 @@
|
||||||
module_LTLIBRARIES = libshadowfb.la
|
|
||||||
libshadowfb_la_LDFLAGS = -module -avoid-version $(LD_NO_UNDEFINED_FLAG)
|
|
||||||
libshadowfb_la_SOURCES = sfbmodule.c shadowfb.c
|
|
||||||
libshadowfb_la_LIBADD = $(PIXMAN_LIBS)
|
|
||||||
|
|
||||||
sdk_HEADERS = shadowfb.h
|
|
||||||
|
|
||||||
AM_CPPFLAGS = $(XORG_INCS)
|
|
||||||
|
|
||||||
AM_CFLAGS = $(DIX_CFLAGS) $(XORG_CFLAGS)
|
|
|
@ -1,4 +0,0 @@
|
||||||
SUBDIRS = \
|
|
||||||
gtf \
|
|
||||||
cvt \
|
|
||||||
man
|
|
|
@ -1,35 +0,0 @@
|
||||||
# Copyright (c) 2005, Oracle and/or its affiliates. All rights reserved.
|
|
||||||
#
|
|
||||||
# Permission is hereby granted, free of charge, to any person obtaining a
|
|
||||||
# copy of this software and associated documentation files (the "Software"),
|
|
||||||
# to deal in the Software without restriction, including without limitation
|
|
||||||
# the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
|
||||||
# and/or sell copies of the Software, and to permit persons to whom the
|
|
||||||
# Software is furnished to do so, subject to the following conditions:
|
|
||||||
#
|
|
||||||
# The above copyright notice and this permission notice (including the next
|
|
||||||
# paragraph) shall be included in all copies or substantial portions of the
|
|
||||||
# Software.
|
|
||||||
#
|
|
||||||
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
||||||
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
||||||
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
|
|
||||||
# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
||||||
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
|
||||||
# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
|
||||||
# DEALINGS IN THE SOFTWARE.
|
|
||||||
#
|
|
||||||
|
|
||||||
bin_PROGRAMS = cvt
|
|
||||||
|
|
||||||
AM_CPPFLAGS = $(XORG_INCS) \
|
|
||||||
-I$(top_srcdir)/hw/xfree86/ddc \
|
|
||||||
-I$(top_srcdir)/hw/xfree86/modes \
|
|
||||||
-I$(top_srcdir)/hw/xfree86/parser
|
|
||||||
|
|
||||||
# gah
|
|
||||||
cvt_SOURCES = cvt.c \
|
|
||||||
$(top_srcdir)/hw/xfree86/modes/xf86cvt.c \
|
|
||||||
$(top_srcdir)/os/xprintf.c
|
|
||||||
|
|
||||||
cvt_CFLAGS = $(DIX_CFLAGS) $(XORG_CFLAGS)
|
|
|
@ -1,27 +0,0 @@
|
||||||
# Copyright (c) 2005, Oracle and/or its affiliates. All rights reserved.
|
|
||||||
#
|
|
||||||
# Permission is hereby granted, free of charge, to any person obtaining a
|
|
||||||
# copy of this software and associated documentation files (the "Software"),
|
|
||||||
# to deal in the Software without restriction, including without limitation
|
|
||||||
# the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
|
||||||
# and/or sell copies of the Software, and to permit persons to whom the
|
|
||||||
# Software is furnished to do so, subject to the following conditions:
|
|
||||||
#
|
|
||||||
# The above copyright notice and this permission notice (including the next
|
|
||||||
# paragraph) shall be included in all copies or substantial portions of the
|
|
||||||
# Software.
|
|
||||||
#
|
|
||||||
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
||||||
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
||||||
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
|
|
||||||
# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
||||||
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
|
||||||
# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
|
||||||
# DEALINGS IN THE SOFTWARE.
|
|
||||||
#
|
|
||||||
|
|
||||||
bin_PROGRAMS = gtf
|
|
||||||
|
|
||||||
gtf_SOURCES = gtf.c
|
|
||||||
gtf_CFLAGS = $(XORG_CFLAGS)
|
|
||||||
gtf_LDADD = -lm
|
|
|
@ -1,2 +0,0 @@
|
||||||
include $(top_srcdir)/manpages.am
|
|
||||||
appman_PRE = cvt.man gtf.man
|
|
|
@ -1,8 +0,0 @@
|
||||||
module_LTLIBRARIES = libvgahw.la
|
|
||||||
libvgahw_la_LDFLAGS = -avoid-version
|
|
||||||
libvgahw_la_LIBADD = $(PCIACCESS_LIBS)
|
|
||||||
libvgahw_la_SOURCES = vgaHW.c vgaHWmodule.c
|
|
||||||
AM_CPPFLAGS = $(XORG_INCS) -I$(srcdir)/../ddc -I$(srcdir)/../i2c
|
|
||||||
AM_CFLAGS = $(DIX_CFLAGS) $(XORG_CFLAGS)
|
|
||||||
|
|
||||||
sdk_HEADERS = vgaHW.h
|
|
|
@ -1,29 +0,0 @@
|
||||||
if INT10_X86EMU
|
|
||||||
noinst_LTLIBRARIES = libx86emu.la
|
|
||||||
endif
|
|
||||||
|
|
||||||
libx86emu_la_SOURCES = debug.c \
|
|
||||||
decode.c \
|
|
||||||
fpu.c \
|
|
||||||
ops2.c \
|
|
||||||
ops.c \
|
|
||||||
prim_ops.c \
|
|
||||||
sys.c \
|
|
||||||
x86emu.h
|
|
||||||
|
|
||||||
AM_CPPFLAGS =
|
|
||||||
|
|
||||||
AM_CFLAGS = $(DIX_CFLAGS) $(XORG_CFLAGS)
|
|
||||||
|
|
||||||
EXTRA_DIST = validate.c \
|
|
||||||
x86emu/debug.h \
|
|
||||||
x86emu/decode.h \
|
|
||||||
x86emu/fpu.h \
|
|
||||||
x86emu/fpu_regs.h \
|
|
||||||
x86emu/ops.h \
|
|
||||||
x86emu/prim_asm.h \
|
|
||||||
x86emu/prim_ops.h \
|
|
||||||
x86emu/prim_x86_gcc.h \
|
|
||||||
x86emu/regs.h \
|
|
||||||
x86emu/types.h \
|
|
||||||
x86emu/x86emui.h
|
|
|
@ -1,6 +0,0 @@
|
||||||
noinst_LTLIBRARIES = libxorgxkb.la
|
|
||||||
|
|
||||||
AM_CFLAGS = @XORG_CFLAGS@ @DIX_CFLAGS@
|
|
||||||
AM_CPPFLAGS = @XORG_INCS@
|
|
||||||
|
|
||||||
libxorgxkb_la_SOURCES = xkbVT.c xkbPrivate.c xkbKillSrv.c
|
|
|
@ -1,61 +0,0 @@
|
||||||
SUBDIRS = man
|
|
||||||
|
|
||||||
bin_PROGRAMS = Xnest
|
|
||||||
|
|
||||||
AM_CFLAGS = -DHAVE_XNEST_CONFIG_H \
|
|
||||||
$(DIX_CFLAGS) \
|
|
||||||
$(XNESTMODULES_CFLAGS)
|
|
||||||
|
|
||||||
SRCS = Args.c \
|
|
||||||
Args.h \
|
|
||||||
Color.c \
|
|
||||||
Color.h \
|
|
||||||
Cursor.c \
|
|
||||||
Display.c \
|
|
||||||
Display.h \
|
|
||||||
Drawable.h \
|
|
||||||
Events.c \
|
|
||||||
Events.h \
|
|
||||||
Font.c \
|
|
||||||
GC.c \
|
|
||||||
GCOps.c \
|
|
||||||
GCOps.h \
|
|
||||||
Handlers.c \
|
|
||||||
Handlers.h \
|
|
||||||
Init.c \
|
|
||||||
Init.h \
|
|
||||||
Keyboard.c \
|
|
||||||
Keyboard.h \
|
|
||||||
Pixmap.c \
|
|
||||||
Pointer.c \
|
|
||||||
Pointer.h \
|
|
||||||
Screen.c \
|
|
||||||
Screen.h \
|
|
||||||
Visual.c \
|
|
||||||
Visual.h \
|
|
||||||
Window.c \
|
|
||||||
XNCursor.h \
|
|
||||||
Xnest.h \
|
|
||||||
XNFont.h \
|
|
||||||
XNGC.h \
|
|
||||||
XNPixmap.h \
|
|
||||||
XNWindow.h \
|
|
||||||
xnest-config.h \
|
|
||||||
$(top_srcdir)/mi/miinitext.c \
|
|
||||||
$(top_srcdir)/mi/miinitext.h
|
|
||||||
|
|
||||||
XNEST_LIBS = \
|
|
||||||
@XNEST_LIBS@ \
|
|
||||||
$(top_builddir)/Xi/libXistubs.la
|
|
||||||
|
|
||||||
Xnest_SOURCES = $(SRCS)
|
|
||||||
|
|
||||||
Xnest_DEPENDENCIES = $(XNEST_LIBS)
|
|
||||||
Xnest_LDADD = $(XNEST_LIBS) $(XNEST_SYS_LIBS) $(XSERVER_SYS_LIBS)
|
|
||||||
Xnest_LDFLAGS = $(LD_EXPORT_SYMBOLS_FLAG)
|
|
||||||
|
|
||||||
EXTRA_DIST = icon \
|
|
||||||
screensaver
|
|
||||||
|
|
||||||
relink:
|
|
||||||
$(AM_V_at)rm -f Xnest$(EXEEXT) && $(MAKE) Xnest$(EXEEXT)
|
|
|
@ -1,2 +0,0 @@
|
||||||
include $(top_srcdir)/manpages.am
|
|
||||||
appman_PRE = Xnest.man
|
|
|
@ -1,17 +0,0 @@
|
||||||
noinst_LTLIBRARIES = libCGLCore.la
|
|
||||||
AM_CFLAGS = $(DIX_CFLAGS) $(GL_CFLAGS)
|
|
||||||
AM_CPPFLAGS = \
|
|
||||||
-I$(top_srcdir) \
|
|
||||||
-I$(top_srcdir)/glx \
|
|
||||||
-I$(top_srcdir)/hw/xquartz \
|
|
||||||
-I$(top_srcdir)/hw/xquartz/xpr \
|
|
||||||
-I$(top_srcdir)/miext/damage
|
|
||||||
|
|
||||||
libCGLCore_la_SOURCES = \
|
|
||||||
indirect.c \
|
|
||||||
capabilities.c \
|
|
||||||
visualConfigs.c
|
|
||||||
|
|
||||||
EXTRA_DIST = \
|
|
||||||
capabilities.h \
|
|
||||||
visualConfigs.h
|
|
|
@ -1,53 +0,0 @@
|
||||||
noinst_LTLIBRARIES = libXquartz.la
|
|
||||||
AM_CFLAGS = $(DIX_CFLAGS)
|
|
||||||
AM_OBJCFLAGS = $(DIX_CFLAGS)
|
|
||||||
AM_CPPFLAGS = \
|
|
||||||
-DXSERVER_VERSION=\"$(VERSION)\" \
|
|
||||||
-DINXQUARTZ \
|
|
||||||
-DUSE_NEW_CLUT \
|
|
||||||
-DXFree86Server \
|
|
||||||
-I$(top_srcdir)/miext/rootless \
|
|
||||||
-I$(top_builddir)/pseudoramiX \
|
|
||||||
-I$(top_builddir) \
|
|
||||||
-DX11LIBDIR=\"$(libdir)\"
|
|
||||||
|
|
||||||
if GLX
|
|
||||||
GL_DIR = GL
|
|
||||||
endif
|
|
||||||
|
|
||||||
SUBDIRS = bundle . $(GL_DIR) xpr pbproxy mach-startup man
|
|
||||||
|
|
||||||
DIST_SUBDIRS = bundle . GL xpr pbproxy mach-startup man
|
|
||||||
|
|
||||||
libXquartz_la_SOURCES = \
|
|
||||||
$(top_srcdir)/mi/miinitext.c \
|
|
||||||
$(top_srcdir)/mi/miinitext.h \
|
|
||||||
X11Application.m \
|
|
||||||
X11Controller.m \
|
|
||||||
applewm.c \
|
|
||||||
darwin.c \
|
|
||||||
darwinEvents.c \
|
|
||||||
darwinXinput.c \
|
|
||||||
keysym2ucs.c \
|
|
||||||
quartz.c \
|
|
||||||
quartzCocoa.m \
|
|
||||||
quartzKeyboard.c \
|
|
||||||
quartzStartup.c \
|
|
||||||
quartzRandR.c
|
|
||||||
|
|
||||||
libXquartz_la_LIBADD = $(top_builddir)/pseudoramiX/libPseudoramiX.la
|
|
||||||
|
|
||||||
EXTRA_DIST = \
|
|
||||||
X11Application.h \
|
|
||||||
X11Controller.h \
|
|
||||||
applewmExt.h \
|
|
||||||
darwin.h \
|
|
||||||
darwinfb.h \
|
|
||||||
darwinEvents.h \
|
|
||||||
keysym2ucs.h \
|
|
||||||
quartz.h \
|
|
||||||
quartzCommon.h \
|
|
||||||
quartzKeyboard.h \
|
|
||||||
quartzRandR.h \
|
|
||||||
sanitizedCarbon.h \
|
|
||||||
sanitizedCocoa.h
|
|
|
@ -1,155 +0,0 @@
|
||||||
include cpprules.in
|
|
||||||
|
|
||||||
CPP_FILES_FLAGS = \
|
|
||||||
-DAPPLE_APPLICATION_NAME="$(APPLE_APPLICATION_NAME)" \
|
|
||||||
-DBUNDLE_ID_PREFIX="$(BUNDLE_ID_PREFIX)" \
|
|
||||||
-DBUNDLE_VERSION="$(BUNDLE_VERSION)" \
|
|
||||||
-DBUNDLE_VERSION_STRING="$(BUNDLE_VERSION_STRING)"
|
|
||||||
|
|
||||||
if XQUARTZ_SPARKLE
|
|
||||||
CPP_FILES_FLAGS += -DXQUARTZ_SPARKLE -DXQUARTZ_SPARKLE_FEED_URL="$(XQUARTZ_SPARKLE_FEED_URL)"
|
|
||||||
endif
|
|
||||||
|
|
||||||
install-data-hook:
|
|
||||||
$(srcdir)/mk_bundke.sh $(srcdir) $(builddir) $(DESTDIR)$(APPLE_APPLICATIONS_DIR)/$(APPLE_APPLICATION_NAME).app install
|
|
||||||
|
|
||||||
uninstall-hook:
|
|
||||||
$(RM) -rf $(DESTDIR)$(APPLE_APPLICATIONS_DIR)/$(APPLE_APPLICATION_NAME).app/Contents/Resources
|
|
||||||
$(RM) -rf $(DESTDIR)$(APPLE_APPLICATIONS_DIR)/$(APPLE_APPLICATION_NAME).app/Contents/Info.plist
|
|
||||||
$(RM) -rf $(DESTDIR)$(APPLE_APPLICATIONS_DIR)/$(APPLE_APPLICATION_NAME).app/Contents/PkgInfo
|
|
||||||
|
|
||||||
noinst_PRE = Info.plist.cpp
|
|
||||||
noinst_DATA = $(noinst_PRE:plist.cpp=plist)
|
|
||||||
|
|
||||||
CLEANFILES = $(noinst_DATA)
|
|
||||||
|
|
||||||
resourcedir=$(libdir)/X11/xserver
|
|
||||||
resource_DATA = Xquartz.plist
|
|
||||||
|
|
||||||
EXTRA_DIST = \
|
|
||||||
mk_bundke.sh \
|
|
||||||
X11.sh \
|
|
||||||
Info.plist.cpp \
|
|
||||||
PkgInfo \
|
|
||||||
$(resource_DATA) \
|
|
||||||
Resources/ar.lproj/Localizable.strings \
|
|
||||||
Resources/ar.lproj/locversion.plist \
|
|
||||||
Resources/ar.lproj/main.nib/designable.nib \
|
|
||||||
Resources/ar.lproj/main.nib/keyedobjects.nib \
|
|
||||||
Resources/ca.lproj/Localizable.strings \
|
|
||||||
Resources/ca.lproj/locversion.plist \
|
|
||||||
Resources/ca.lproj/main.nib/designable.nib \
|
|
||||||
Resources/ca.lproj/main.nib/keyedobjects.nib \
|
|
||||||
Resources/cs.lproj/Localizable.strings \
|
|
||||||
Resources/cs.lproj/locversion.plist \
|
|
||||||
Resources/cs.lproj/main.nib/designable.nib \
|
|
||||||
Resources/cs.lproj/main.nib/keyedobjects.nib \
|
|
||||||
Resources/da.lproj/Localizable.strings \
|
|
||||||
Resources/da.lproj/locversion.plist \
|
|
||||||
Resources/da.lproj/main.nib/designable.nib \
|
|
||||||
Resources/da.lproj/main.nib/keyedobjects.nib \
|
|
||||||
Resources/Dutch.lproj/Localizable.strings \
|
|
||||||
Resources/Dutch.lproj/locversion.plist \
|
|
||||||
Resources/Dutch.lproj/main.nib/designable.nib \
|
|
||||||
Resources/Dutch.lproj/main.nib/keyedobjects.nib \
|
|
||||||
Resources/el.lproj/Localizable.strings \
|
|
||||||
Resources/el.lproj/locversion.plist \
|
|
||||||
Resources/el.lproj/main.nib/designable.nib \
|
|
||||||
Resources/el.lproj/main.nib/keyedobjects.nib \
|
|
||||||
Resources/English.lproj/Localizable.strings \
|
|
||||||
Resources/English.lproj/locversion.plist \
|
|
||||||
Resources/English.lproj/main.nib/designable.nib \
|
|
||||||
Resources/English.lproj/main.nib/keyedobjects.nib \
|
|
||||||
Resources/fi.lproj/Localizable.strings \
|
|
||||||
Resources/fi.lproj/locversion.plist \
|
|
||||||
Resources/fi.lproj/main.nib/designable.nib \
|
|
||||||
Resources/fi.lproj/main.nib/keyedobjects.nib \
|
|
||||||
Resources/French.lproj/Localizable.strings \
|
|
||||||
Resources/French.lproj/locversion.plist \
|
|
||||||
Resources/French.lproj/main.nib/designable.nib \
|
|
||||||
Resources/French.lproj/main.nib/keyedobjects.nib \
|
|
||||||
Resources/German.lproj/Localizable.strings \
|
|
||||||
Resources/German.lproj/locversion.plist \
|
|
||||||
Resources/German.lproj/main.nib/designable.nib \
|
|
||||||
Resources/German.lproj/main.nib/keyedobjects.nib \
|
|
||||||
Resources/he.lproj/Localizable.strings \
|
|
||||||
Resources/he.lproj/locversion.plist \
|
|
||||||
Resources/he.lproj/main.nib/designable.nib \
|
|
||||||
Resources/he.lproj/main.nib/keyedobjects.nib \
|
|
||||||
Resources/hr.lproj/Localizable.strings \
|
|
||||||
Resources/hr.lproj/locversion.plist \
|
|
||||||
Resources/hr.lproj/main.nib/designable.nib \
|
|
||||||
Resources/hr.lproj/main.nib/keyedobjects.nib \
|
|
||||||
Resources/hu.lproj/Localizable.strings \
|
|
||||||
Resources/hu.lproj/locversion.plist \
|
|
||||||
Resources/hu.lproj/main.nib/designable.nib \
|
|
||||||
Resources/hu.lproj/main.nib/keyedobjects.nib \
|
|
||||||
Resources/Italian.lproj/Localizable.strings \
|
|
||||||
Resources/Italian.lproj/locversion.plist \
|
|
||||||
Resources/Italian.lproj/main.nib/designable.nib \
|
|
||||||
Resources/Italian.lproj/main.nib/keyedobjects.nib \
|
|
||||||
Resources/Japanese.lproj/Localizable.strings \
|
|
||||||
Resources/Japanese.lproj/locversion.plist \
|
|
||||||
Resources/Japanese.lproj/main.nib/designable.nib \
|
|
||||||
Resources/Japanese.lproj/main.nib/keyedobjects.nib \
|
|
||||||
Resources/ko.lproj/Localizable.strings \
|
|
||||||
Resources/ko.lproj/locversion.plist \
|
|
||||||
Resources/ko.lproj/main.nib/designable.nib \
|
|
||||||
Resources/ko.lproj/main.nib/keyedobjects.nib \
|
|
||||||
Resources/no.lproj/Localizable.strings \
|
|
||||||
Resources/no.lproj/locversion.plist \
|
|
||||||
Resources/no.lproj/main.nib/designable.nib \
|
|
||||||
Resources/no.lproj/main.nib/keyedobjects.nib \
|
|
||||||
Resources/pl.lproj/Localizable.strings \
|
|
||||||
Resources/pl.lproj/locversion.plist \
|
|
||||||
Resources/pl.lproj/main.nib/designable.nib \
|
|
||||||
Resources/pl.lproj/main.nib/keyedobjects.nib \
|
|
||||||
Resources/pt.lproj/Localizable.strings \
|
|
||||||
Resources/pt.lproj/locversion.plist \
|
|
||||||
Resources/pt.lproj/main.nib/designable.nib \
|
|
||||||
Resources/pt.lproj/main.nib/keyedobjects.nib \
|
|
||||||
Resources/pt_PT.lproj/Localizable.strings \
|
|
||||||
Resources/pt_PT.lproj/locversion.plist \
|
|
||||||
Resources/pt_PT.lproj/main.nib/designable.nib \
|
|
||||||
Resources/pt_PT.lproj/main.nib/keyedobjects.nib \
|
|
||||||
Resources/ro.lproj/Localizable.strings \
|
|
||||||
Resources/ro.lproj/locversion.plist \
|
|
||||||
Resources/ro.lproj/main.nib/designable.nib \
|
|
||||||
Resources/ro.lproj/main.nib/keyedobjects.nib \
|
|
||||||
Resources/ru.lproj/Localizable.strings \
|
|
||||||
Resources/ru.lproj/locversion.plist \
|
|
||||||
Resources/ru.lproj/main.nib/designable.nib \
|
|
||||||
Resources/ru.lproj/main.nib/keyedobjects.nib \
|
|
||||||
Resources/sk.lproj/Localizable.strings \
|
|
||||||
Resources/sk.lproj/locversion.plist \
|
|
||||||
Resources/sk.lproj/main.nib/designable.nib \
|
|
||||||
Resources/sk.lproj/main.nib/keyedobjects.nib \
|
|
||||||
Resources/Spanish.lproj/Localizable.strings \
|
|
||||||
Resources/Spanish.lproj/locversion.plist \
|
|
||||||
Resources/Spanish.lproj/main.nib/designable.nib \
|
|
||||||
Resources/Spanish.lproj/main.nib/keyedobjects.nib \
|
|
||||||
Resources/sv.lproj/Localizable.strings \
|
|
||||||
Resources/sv.lproj/locversion.plist \
|
|
||||||
Resources/sv.lproj/main.nib/designable.nib \
|
|
||||||
Resources/sv.lproj/main.nib/keyedobjects.nib \
|
|
||||||
Resources/th.lproj/Localizable.strings \
|
|
||||||
Resources/th.lproj/locversion.plist \
|
|
||||||
Resources/th.lproj/main.nib/designable.nib \
|
|
||||||
Resources/th.lproj/main.nib/keyedobjects.nib \
|
|
||||||
Resources/tr.lproj/Localizable.strings \
|
|
||||||
Resources/tr.lproj/locversion.plist \
|
|
||||||
Resources/tr.lproj/main.nib/designable.nib \
|
|
||||||
Resources/tr.lproj/main.nib/keyedobjects.nib \
|
|
||||||
Resources/uk.lproj/Localizable.strings \
|
|
||||||
Resources/uk.lproj/locversion.plist \
|
|
||||||
Resources/uk.lproj/main.nib/designable.nib \
|
|
||||||
Resources/uk.lproj/main.nib/keyedobjects.nib \
|
|
||||||
Resources/X11.icns \
|
|
||||||
Resources/zh_CN.lproj/Localizable.strings \
|
|
||||||
Resources/zh_CN.lproj/locversion.plist \
|
|
||||||
Resources/zh_CN.lproj/main.nib/designable.nib \
|
|
||||||
Resources/zh_CN.lproj/main.nib/keyedobjects.nib \
|
|
||||||
Resources/zh_TW.lproj/Localizable.strings \
|
|
||||||
Resources/zh_TW.lproj/locversion.plist \
|
|
||||||
Resources/zh_TW.lproj/main.nib/designable.nib \
|
|
||||||
Resources/zh_TW.lproj/main.nib/keyedobjects.nib
|
|
|
@ -1,98 +0,0 @@
|
||||||
AM_CPPFLAGS = \
|
|
||||||
-I$(srcdir)/.. \
|
|
||||||
-I$(top_builddir) \
|
|
||||||
-DXSERVER_VERSION=\"$(VERSION)\" \
|
|
||||||
-DX11BINDIR=\"$(bindir)\"
|
|
||||||
|
|
||||||
AM_CFLAGS = $(DIX_CFLAGS)
|
|
||||||
|
|
||||||
x11appdir = $(APPLE_APPLICATIONS_DIR)/$(APPLE_APPLICATION_NAME).app/Contents/MacOS
|
|
||||||
x11app_PROGRAMS = X11.bin
|
|
||||||
|
|
||||||
dist_X11_bin_SOURCES = \
|
|
||||||
bundle-main.c
|
|
||||||
|
|
||||||
# strndup(3) was added in Mac OS X 10.7, but we do this unconditionally to deal
|
|
||||||
# with the case where we build on Lion but target Snow Leopard as the minimum
|
|
||||||
# OS version.
|
|
||||||
#if NEED_STRNDUP
|
|
||||||
dist_X11_bin_SOURCES += $(top_srcdir)/os/strndup.c
|
|
||||||
#endif
|
|
||||||
|
|
||||||
nodist_X11_bin_SOURCES = \
|
|
||||||
mach_startupServer.c \
|
|
||||||
mach_startupUser.c
|
|
||||||
|
|
||||||
X11_bin_DEPENDENCIES = \
|
|
||||||
$(top_builddir)/hw/xquartz/libXquartz.la \
|
|
||||||
$(top_builddir)/hw/xquartz/xpr/libXquartzXpr.la \
|
|
||||||
$(top_builddir)/dix/dixfonts.lo \
|
|
||||||
$(top_builddir)/miext/rootless/librootless.la \
|
|
||||||
$(top_builddir)/hw/xquartz/pbproxy/libxpbproxy.la \
|
|
||||||
$(XQUARTZ_LIBS) $(XSERVER_LIBS)
|
|
||||||
|
|
||||||
# $(XSERVER_SYS_LIBS) is placed here in order to set command line ordering
|
|
||||||
# to work around build issues on Tiger.
|
|
||||||
X11_bin_LDADD = $(X11_bin_DEPENDENCIES) $(XSERVER_SYS_LIBS)
|
|
||||||
|
|
||||||
X11_bin_LDFLAGS = \
|
|
||||||
-lXplugin \
|
|
||||||
-XCClinker -Objc \
|
|
||||||
-Wl,-u,_miDCInitialize \
|
|
||||||
-Wl,-framework,Carbon \
|
|
||||||
-Wl,-framework,Cocoa \
|
|
||||||
-Wl,-framework,CoreAudio \
|
|
||||||
-Wl,-framework,IOKit
|
|
||||||
|
|
||||||
if GLX
|
|
||||||
X11_bin_DEPENDENCIES += \
|
|
||||||
$(top_builddir)/hw/xquartz/GL/libCGLCore.la \
|
|
||||||
$(top_builddir)/glx/libglxvnd.la \
|
|
||||||
$(top_builddir)/glx/libglx.la
|
|
||||||
|
|
||||||
X11_bin_LDFLAGS += \
|
|
||||||
-Wl,-framework,OpenGL
|
|
||||||
endif
|
|
||||||
|
|
||||||
if XQUARTZ_SPARKLE
|
|
||||||
X11_bin_LDFLAGS += \
|
|
||||||
-Wl,-framework,Sparkle
|
|
||||||
endif
|
|
||||||
|
|
||||||
if RECORD
|
|
||||||
X11_bin_DEPENDENCIES += \
|
|
||||||
$(top_builddir)/record/librecord.la
|
|
||||||
endif
|
|
||||||
|
|
||||||
bin_PROGRAMS = Xquartz
|
|
||||||
|
|
||||||
dist_Xquartz_SOURCES = \
|
|
||||||
stub.c \
|
|
||||||
launchd_fd.c
|
|
||||||
|
|
||||||
nodist_Xquartz_SOURCES = \
|
|
||||||
mach_startupUser.c
|
|
||||||
|
|
||||||
Xquartz_LDFLAGS = \
|
|
||||||
-Wl,-framework,CoreServices
|
|
||||||
|
|
||||||
if XQUARTZ
|
|
||||||
|
|
||||||
BUILT_SOURCES = \
|
|
||||||
mach_startupServer.c \
|
|
||||||
mach_startupUser.c \
|
|
||||||
mach_startupServer.h \
|
|
||||||
mach_startup.h
|
|
||||||
|
|
||||||
CLEANFILES = \
|
|
||||||
$(BUILT_SOURCES)
|
|
||||||
|
|
||||||
$(BUILT_SOURCES): $(srcdir)/mach_startup.defs
|
|
||||||
mig -sheader mach_startupServer.h $(srcdir)/mach_startup.defs
|
|
||||||
|
|
||||||
endif
|
|
||||||
|
|
||||||
EXTRA_DIST = \
|
|
||||||
launchd_fd.h \
|
|
||||||
mach_startup.defs \
|
|
||||||
mach_startup_types.h
|
|
|
@ -1,2 +0,0 @@
|
||||||
include $(top_srcdir)/manpages.am
|
|
||||||
appman_PRE = Xquartz.man
|
|
|
@ -1,28 +0,0 @@
|
||||||
AM_CPPFLAGS=-DBUNDLE_ID_PREFIX=\"$(BUNDLE_ID_PREFIX)\"
|
|
||||||
|
|
||||||
AM_CFLAGS=$(XPBPROXY_CFLAGS)
|
|
||||||
AM_OBJCFLAGS=$(XPBPROXY_CFLAGS)
|
|
||||||
|
|
||||||
noinst_LTLIBRARIES = libxpbproxy.la
|
|
||||||
libxpbproxy_la_SOURCES = \
|
|
||||||
trick_autotools.c \
|
|
||||||
main.m \
|
|
||||||
x-input.m \
|
|
||||||
x-selection.m
|
|
||||||
|
|
||||||
libxpbproxy_la_LDFLAGS=$(XPBPROXY_LIBS)
|
|
||||||
|
|
||||||
if STANDALONE_XPBPROXY
|
|
||||||
|
|
||||||
bin_PROGRAMS = xpbproxy
|
|
||||||
xpbproxy_SOURCES = app-main.m
|
|
||||||
xpbproxy_LDADD = libxpbproxy.la
|
|
||||||
xpbproxy_LDFLAGS = -Wl,-framework,Cocoa
|
|
||||||
|
|
||||||
AM_CPPFLAGS += -DSTANDALONE_XPBPROXY
|
|
||||||
|
|
||||||
endif
|
|
||||||
|
|
||||||
EXTRA_DIST = \
|
|
||||||
pbproxy.h \
|
|
||||||
x-selection.h
|
|
|
@ -1,33 +0,0 @@
|
||||||
noinst_LTLIBRARIES = libXquartzXpr.la
|
|
||||||
|
|
||||||
AM_CFLAGS = $(DIX_CFLAGS)
|
|
||||||
AM_CPPFLAGS = \
|
|
||||||
-I$(srcdir) -I$(srcdir)/.. \
|
|
||||||
-I$(top_builddir)/pseudoramiX \
|
|
||||||
-I$(top_srcdir)/miext \
|
|
||||||
-I$(top_srcdir)/miext/rootless
|
|
||||||
|
|
||||||
libXquartzXpr_la_SOURCES = \
|
|
||||||
appledri.c \
|
|
||||||
dri.c \
|
|
||||||
driWrap.c \
|
|
||||||
xprAppleWM.c \
|
|
||||||
xprCursor.c \
|
|
||||||
xprEvent.c \
|
|
||||||
xprFrame.c \
|
|
||||||
xprScreen.c \
|
|
||||||
x-hash.c \
|
|
||||||
x-hook.c \
|
|
||||||
x-list.c
|
|
||||||
|
|
||||||
EXTRA_DIST = \
|
|
||||||
dri.h \
|
|
||||||
driWrap.h \
|
|
||||||
dristruct.h \
|
|
||||||
appledri.h \
|
|
||||||
appledristr.h \
|
|
||||||
x-hash.h \
|
|
||||||
x-hook.h \
|
|
||||||
x-list.h \
|
|
||||||
xpr.h \
|
|
||||||
xprEvent.h
|
|
|
@ -1,187 +0,0 @@
|
||||||
SUBDIRS = man
|
|
||||||
|
|
||||||
DIST_SUBDIRS = man
|
|
||||||
|
|
||||||
bindir = @xwayland_path@
|
|
||||||
bin_PROGRAMS = Xwayland
|
|
||||||
|
|
||||||
Xwayland_CFLAGS = \
|
|
||||||
-I$(top_srcdir)/glamor \
|
|
||||||
-I$(top_srcdir)/dri3 \
|
|
||||||
-DHAVE_DIX_CONFIG_H \
|
|
||||||
$(XWAYLANDMODULES_CFLAGS) \
|
|
||||||
$(DIX_CFLAGS) \
|
|
||||||
$(GLAMOR_CFLAGS) \
|
|
||||||
$(GBM_CFLAGS)
|
|
||||||
|
|
||||||
Xwayland_SOURCES = \
|
|
||||||
xwayland.c \
|
|
||||||
xwayland-input.c \
|
|
||||||
xwayland-input.h \
|
|
||||||
xwayland-cursor.c \
|
|
||||||
xwayland-cursor.h \
|
|
||||||
xwayland-glamor.h \
|
|
||||||
xwayland-glx.h \
|
|
||||||
xwayland-pixmap.c \
|
|
||||||
xwayland-pixmap.h \
|
|
||||||
xwayland-present.h \
|
|
||||||
xwayland-screen.c \
|
|
||||||
xwayland-screen.h \
|
|
||||||
xwayland-shm.c \
|
|
||||||
xwayland-shm.h \
|
|
||||||
xwayland-types.h \
|
|
||||||
xwayland-output.c \
|
|
||||||
xwayland-output.h \
|
|
||||||
xwayland-cvt.c \
|
|
||||||
xwayland-cvt.h \
|
|
||||||
xwayland-vidmode.c \
|
|
||||||
xwayland-vidmode.h \
|
|
||||||
xwayland-window.c \
|
|
||||||
xwayland-window.h \
|
|
||||||
xwayland-window-buffers.c \
|
|
||||||
xwayland-window-buffers.h \
|
|
||||||
$(top_srcdir)/Xi/stubs.c \
|
|
||||||
$(top_srcdir)/mi/miinitext.c \
|
|
||||||
$(top_srcdir)/mi/miinitext.h
|
|
||||||
|
|
||||||
if GLAMOR
|
|
||||||
if GLX
|
|
||||||
Xwayland_SOURCES += \
|
|
||||||
xwayland-glx.c
|
|
||||||
Xwayland_CFLAGS += \
|
|
||||||
-I$(top_srcdir)/glx
|
|
||||||
GLXVND_LIB = $(top_builddir)/glx/libglxvnd.la
|
|
||||||
endif #GLX
|
|
||||||
endif # GLAMOR
|
|
||||||
|
|
||||||
Xwayland_LDADD = \
|
|
||||||
$(glamor_lib) \
|
|
||||||
$(XWAYLAND_LIBS) \
|
|
||||||
$(GLXVND_LIB) \
|
|
||||||
$(XWAYLAND_SYS_LIBS) \
|
|
||||||
$(top_builddir)/Xext/libXvidmode.la \
|
|
||||||
$(XSERVER_SYS_LIBS)
|
|
||||||
Xwayland_LDFLAGS = $(LD_EXPORT_SYMBOLS_FLAG)
|
|
||||||
|
|
||||||
Xwayland_built_sources =
|
|
||||||
|
|
||||||
if GLAMOR_EGL
|
|
||||||
Xwayland_SOURCES += \
|
|
||||||
xwayland-glamor.c \
|
|
||||||
xwayland-glamor-gbm.c \
|
|
||||||
xwayland-present.c
|
|
||||||
if XV
|
|
||||||
Xwayland_SOURCES += \
|
|
||||||
xwayland-glamor-xv.c
|
|
||||||
endif
|
|
||||||
|
|
||||||
if XWAYLAND_EGLSTREAM
|
|
||||||
Xwayland_SOURCES += \
|
|
||||||
xwayland-glamor-eglstream.c
|
|
||||||
endif
|
|
||||||
|
|
||||||
glamor_built_sources = \
|
|
||||||
drm-client-protocol.h \
|
|
||||||
drm-protocol.c
|
|
||||||
|
|
||||||
Xwayland_built_sources += $(glamor_built_sources)
|
|
||||||
|
|
||||||
glamor_lib = $(top_builddir)/glamor/libglamor.la
|
|
||||||
|
|
||||||
Xwayland_LDADD += $(GLAMOR_LIBS) $(GBM_LIBS) -lEGL -lGL
|
|
||||||
Xwayland_DEPENDENCIES = $(glamor_lib) $(XWAYLAND_LIBS)
|
|
||||||
endif
|
|
||||||
|
|
||||||
Xwayland_built_sources += \
|
|
||||||
relative-pointer-unstable-v1-client-protocol.h \
|
|
||||||
relative-pointer-unstable-v1-protocol.c \
|
|
||||||
pointer-constraints-unstable-v1-client-protocol.h \
|
|
||||||
pointer-constraints-unstable-v1-protocol.c \
|
|
||||||
tablet-unstable-v2-client-protocol.h \
|
|
||||||
tablet-unstable-v2-protocol.c \
|
|
||||||
xwayland-keyboard-grab-unstable-v1-protocol.c \
|
|
||||||
xwayland-keyboard-grab-unstable-v1-client-protocol.h \
|
|
||||||
xdg-output-unstable-v1-protocol.c \
|
|
||||||
xdg-output-unstable-v1-client-protocol.h \
|
|
||||||
linux-dmabuf-unstable-v1-client-protocol.h \
|
|
||||||
linux-dmabuf-unstable-v1-protocol.c \
|
|
||||||
viewporter-client-protocol.h \
|
|
||||||
viewporter-protocol.c\
|
|
||||||
xdg-shell-client-protocol.h\
|
|
||||||
xdg-shell-protocol.c
|
|
||||||
|
|
||||||
if XWAYLAND_EGLSTREAM
|
|
||||||
Xwayland_built_sources += \
|
|
||||||
wayland-eglstream-client-protocol.h \
|
|
||||||
wayland-eglstream-protocol.c \
|
|
||||||
wayland-eglstream-controller-client-protocol.h \
|
|
||||||
wayland-eglstream-controller-protocol.c
|
|
||||||
endif
|
|
||||||
|
|
||||||
nodist_Xwayland_SOURCES = $(Xwayland_built_sources)
|
|
||||||
CLEANFILES = $(Xwayland_built_sources)
|
|
||||||
|
|
||||||
pkgconfigdir = $(libdir)/pkgconfig
|
|
||||||
pkgconfig_DATA = xwayland.pc
|
|
||||||
|
|
||||||
EXTRA_DIST = xwayland.pc.in drm.xml
|
|
||||||
|
|
||||||
$(Xwayland_SOURCES): $(Xwayland_built_sources)
|
|
||||||
|
|
||||||
relink:
|
|
||||||
$(AM_V_at)rm -f Xwayland$(EXEEXT) && $(MAKE) Xwayland$(EXEEXT)
|
|
||||||
|
|
||||||
relative-pointer-unstable-v1-protocol.c : $(WAYLAND_PROTOCOLS_DATADIR)/unstable/relative-pointer/relative-pointer-unstable-v1.xml
|
|
||||||
$(AM_V_GEN)$(WAYLAND_SCANNER) @SCANNER_ARG@ < $< > $@
|
|
||||||
relative-pointer-unstable-v1-client-protocol.h : $(WAYLAND_PROTOCOLS_DATADIR)/unstable/relative-pointer/relative-pointer-unstable-v1.xml
|
|
||||||
$(AM_V_GEN)$(WAYLAND_SCANNER) client-header < $< > $@
|
|
||||||
|
|
||||||
pointer-constraints-unstable-v1-protocol.c : $(WAYLAND_PROTOCOLS_DATADIR)/unstable/pointer-constraints/pointer-constraints-unstable-v1.xml
|
|
||||||
$(AM_V_GEN)$(WAYLAND_SCANNER) @SCANNER_ARG@ < $< > $@
|
|
||||||
pointer-constraints-unstable-v1-client-protocol.h : $(WAYLAND_PROTOCOLS_DATADIR)/unstable/pointer-constraints/pointer-constraints-unstable-v1.xml
|
|
||||||
$(AM_V_GEN)$(WAYLAND_SCANNER) client-header < $< > $@
|
|
||||||
|
|
||||||
tablet-unstable-v2-protocol.c: $(WAYLAND_PROTOCOLS_DATADIR)/unstable/tablet/tablet-unstable-v2.xml
|
|
||||||
$(AM_V_GEN)$(WAYLAND_SCANNER) @SCANNER_ARG@ < $< > $@
|
|
||||||
tablet-unstable-v2-client-protocol.h: $(WAYLAND_PROTOCOLS_DATADIR)/unstable/tablet/tablet-unstable-v2.xml
|
|
||||||
$(AM_V_GEN)$(WAYLAND_SCANNER) client-header < $< > $@
|
|
||||||
|
|
||||||
xwayland-keyboard-grab-unstable-v1-protocol.c : $(WAYLAND_PROTOCOLS_DATADIR)/unstable/xwayland-keyboard-grab/xwayland-keyboard-grab-unstable-v1.xml
|
|
||||||
$(AM_V_GEN)$(WAYLAND_SCANNER) @SCANNER_ARG@ < $< > $@
|
|
||||||
xwayland-keyboard-grab-unstable-v1-client-protocol.h : $(WAYLAND_PROTOCOLS_DATADIR)/unstable/xwayland-keyboard-grab/xwayland-keyboard-grab-unstable-v1.xml
|
|
||||||
$(AM_V_GEN)$(WAYLAND_SCANNER) client-header < $< > $@
|
|
||||||
xdg-output-unstable-v1-protocol.c : $(WAYLAND_PROTOCOLS_DATADIR)/unstable/xdg-output/xdg-output-unstable-v1.xml
|
|
||||||
$(AM_V_GEN)$(WAYLAND_SCANNER) @SCANNER_ARG@ < $< > $@
|
|
||||||
xdg-output-unstable-v1-client-protocol.h : $(WAYLAND_PROTOCOLS_DATADIR)/unstable/xdg-output/xdg-output-unstable-v1.xml
|
|
||||||
$(AM_V_GEN)$(WAYLAND_SCANNER) client-header < $< > $@
|
|
||||||
|
|
||||||
linux-dmabuf-unstable-v1-protocol.c : $(WAYLAND_PROTOCOLS_DATADIR)/unstable/linux-dmabuf/linux-dmabuf-unstable-v1.xml
|
|
||||||
$(AM_V_GEN)$(WAYLAND_SCANNER) @SCANNER_ARG@ < $< > $@
|
|
||||||
linux-dmabuf-unstable-v1-client-protocol.h : $(WAYLAND_PROTOCOLS_DATADIR)/unstable/linux-dmabuf/linux-dmabuf-unstable-v1.xml
|
|
||||||
$(AM_V_GEN)$(WAYLAND_SCANNER) client-header < $< > $@
|
|
||||||
|
|
||||||
viewporter-protocol.c: $(WAYLAND_PROTOCOLS_DATADIR)/stable/viewporter/viewporter.xml
|
|
||||||
$(AM_V_GEN)$(WAYLAND_SCANNER) @SCANNER_ARG@ < $< > $@
|
|
||||||
viewporter-client-protocol.h: $(WAYLAND_PROTOCOLS_DATADIR)/stable/viewporter/viewporter.xml
|
|
||||||
$(AM_V_GEN)$(WAYLAND_SCANNER) client-header < $< > $@
|
|
||||||
|
|
||||||
xdg-shell-protocol.c: $(WAYLAND_PROTOCOLS_DATADIR)/stable/xdg-shell/xdg-shell.xml
|
|
||||||
$(AM_V_GEN)$(WAYLAND_SCANNER) @SCANNER_ARG@ < $< > $@
|
|
||||||
xdg-shell-client-protocol.h: $(WAYLAND_PROTOCOLS_DATADIR)/stable/xdg-shell/xdg-shell.xml
|
|
||||||
$(AM_V_GEN)$(WAYLAND_SCANNER) client-header < $< > $@
|
|
||||||
|
|
||||||
wayland-eglstream-client-protocol.h : $(WAYLAND_EGLSTREAM_DATADIR)/wayland-eglstream.xml
|
|
||||||
$(AM_V_GEN)$(WAYLAND_SCANNER) client-header < $< > $@
|
|
||||||
wayland-eglstream-controller-client-protocol.h : $(WAYLAND_EGLSTREAM_DATADIR)/wayland-eglstream-controller.xml
|
|
||||||
$(AM_V_GEN)$(WAYLAND_SCANNER) client-header < $< > $@
|
|
||||||
|
|
||||||
wayland-eglstream-protocol.c : $(WAYLAND_EGLSTREAM_DATADIR)/wayland-eglstream.xml
|
|
||||||
$(AM_V_GEN)$(WAYLAND_SCANNER) code < $< > $@
|
|
||||||
wayland-eglstream-controller-protocol.c : $(WAYLAND_EGLSTREAM_DATADIR)/wayland-eglstream-controller.xml
|
|
||||||
$(AM_V_GEN)$(WAYLAND_SCANNER) code < $< > $@
|
|
||||||
|
|
||||||
%-protocol.c : %.xml
|
|
||||||
$(AM_V_GEN)$(WAYLAND_SCANNER) @SCANNER_ARG@ < $< > $@
|
|
||||||
|
|
||||||
%-client-protocol.h : %.xml
|
|
||||||
$(AM_V_GEN)$(WAYLAND_SCANNER) client-header < $< > $@
|
|
|
@ -1,2 +0,0 @@
|
||||||
include $(top_srcdir)/manpages.am
|
|
||||||
appman_PRE = Xwayland.man
|
|
|
@ -1,162 +0,0 @@
|
||||||
bin_PROGRAMS = XWin
|
|
||||||
|
|
||||||
SRCS_CLIPBOARD = \
|
|
||||||
winclipboardinit.c \
|
|
||||||
winclipboardwrappers.c
|
|
||||||
CLIPBOARD_LIBS = $(top_builddir)/hw/xwin/winclipboard/libXWinclipboard.la
|
|
||||||
|
|
||||||
if XWIN_GLX_WINDOWS
|
|
||||||
GLX_DIR =
|
|
||||||
DEFS_GLX_WINDOWS =
|
|
||||||
XWIN_GLX_LIBS =
|
|
||||||
if XWIN_WINDOWS_DRI
|
|
||||||
GLX_DIR += dri
|
|
||||||
DEFS_GLX_WINDOWS += -DXWIN_WINDOWS_DRI
|
|
||||||
XWIN_GLX_LIBS += $(top_builddir)/hw/xwin/dri/libWindowsDRI.la
|
|
||||||
endif
|
|
||||||
GLX_DIR += glx
|
|
||||||
DEFS_GLX_WINDOWS += -DXWIN_GLX_WINDOWS
|
|
||||||
XWIN_GLX_LIBS += $(top_builddir)/hw/xwin/glx/libXwinGLX.la
|
|
||||||
XWIN_GLX_SYS_LIBS = -lopengl32
|
|
||||||
endif
|
|
||||||
|
|
||||||
SRCS_MULTIWINDOW = \
|
|
||||||
winmultiwindowshape.c \
|
|
||||||
winmultiwindowwindow.c \
|
|
||||||
winmultiwindowwm.c \
|
|
||||||
winmultiwindowwndproc.c \
|
|
||||||
propertystore.h \
|
|
||||||
winSetAppUserModelID.c
|
|
||||||
MULTIWINDOW_SYS_LIBS = -lshlwapi -lole32 -ldwmapi
|
|
||||||
|
|
||||||
SRCS_RANDR = \
|
|
||||||
winrandr.c
|
|
||||||
|
|
||||||
SRCS = InitInput.c \
|
|
||||||
InitOutput.c \
|
|
||||||
winallpriv.c \
|
|
||||||
winauth.c \
|
|
||||||
winblock.c \
|
|
||||||
wincmap.c \
|
|
||||||
winconfig.c \
|
|
||||||
wincreatewnd.c \
|
|
||||||
wincursor.c \
|
|
||||||
windialogs.c \
|
|
||||||
winengine.c \
|
|
||||||
winerror.c \
|
|
||||||
winglobals.c \
|
|
||||||
winkeybd.c \
|
|
||||||
winkeyhook.c \
|
|
||||||
winmisc.c \
|
|
||||||
winmonitors.c \
|
|
||||||
winmouse.c \
|
|
||||||
winmsg.c \
|
|
||||||
winmsgwindow.c \
|
|
||||||
winmultiwindowclass.c \
|
|
||||||
winmultiwindowicons.c \
|
|
||||||
winos.c \
|
|
||||||
winprefs.c \
|
|
||||||
winprefsyacc.y \
|
|
||||||
winprefslex.l \
|
|
||||||
winprocarg.c \
|
|
||||||
winscrinit.c \
|
|
||||||
winshadddnl.c \
|
|
||||||
winshadgdi.c \
|
|
||||||
wintaskbar.c \
|
|
||||||
wintrayicon.c \
|
|
||||||
winvalargs.c \
|
|
||||||
winwakeup.c \
|
|
||||||
winwindow.c \
|
|
||||||
winwndproc.c \
|
|
||||||
ddraw.h \
|
|
||||||
winconfig.h \
|
|
||||||
win.h \
|
|
||||||
winglobals.h \
|
|
||||||
winkeybd.h \
|
|
||||||
winkeynames.h \
|
|
||||||
winlayouts.h \
|
|
||||||
winmessages.h \
|
|
||||||
winmonitors.h \
|
|
||||||
winmsg.h \
|
|
||||||
winms.h \
|
|
||||||
winmultiwindowclass.h \
|
|
||||||
winmultiwindowicons.h \
|
|
||||||
winprefs.h \
|
|
||||||
winresource.h \
|
|
||||||
winwindow.h \
|
|
||||||
windisplay.c \
|
|
||||||
windisplay.h \
|
|
||||||
XWin.rc \
|
|
||||||
$(top_srcdir)/mi/miinitext.c \
|
|
||||||
$(top_srcdir)/mi/miinitext.h \
|
|
||||||
$(SRCS_CLIPBOARD) \
|
|
||||||
$(SRCS_MULTIWINDOW) \
|
|
||||||
$(SRCS_RANDR)
|
|
||||||
|
|
||||||
DEFS = \
|
|
||||||
$(DEFS_GLX_WINDOWS) \
|
|
||||||
$(DEFS_MULTIWINDOWEXTWM)
|
|
||||||
|
|
||||||
XWin_SOURCES = $(SRCS)
|
|
||||||
|
|
||||||
XWIN_SYS_LIBS += -ldxguid
|
|
||||||
|
|
||||||
XWIN_LIBS += \
|
|
||||||
$(top_builddir)/pseudoramiX/libPseudoramiX.la \
|
|
||||||
$(top_builddir)/Xi/libXistubs.la
|
|
||||||
|
|
||||||
XWin_DEPENDENCIES = \
|
|
||||||
$(XWIN_GLX_LIBS) \
|
|
||||||
$(XWIN_LIBS) \
|
|
||||||
$(CLIPBOARD_LIBS) \
|
|
||||||
$(XSERVER_LIBS)
|
|
||||||
|
|
||||||
|
|
||||||
XWin_LDADD = \
|
|
||||||
$(XWIN_GLX_LIBS) \
|
|
||||||
$(XWIN_LIBS) \
|
|
||||||
$(CLIPBOARD_LIBS) \
|
|
||||||
$(XSERVER_LIBS) \
|
|
||||||
$(XWIN_GLX_SYS_LIBS) \
|
|
||||||
$(XSERVER_SYS_LIBS) \
|
|
||||||
$(XWIN_SYS_LIBS) \
|
|
||||||
$(MULTIWINDOW_SYS_LIBS)
|
|
||||||
|
|
||||||
XWin_LDFLAGS = -mwindows -Wl,--disable-stdcall-fixup $(LD_EXPORT_SYMBOLS_FLAG)
|
|
||||||
|
|
||||||
|
|
||||||
.rc.o:
|
|
||||||
$(AM_V_GEN)$(WINDRES) --use-temp-file -i $< --input-format=rc -o $@ -O coff -I $(top_builddir)/include
|
|
||||||
|
|
||||||
XWin.o: XWin.rc XWin.exe.manifest X.ico
|
|
||||||
|
|
||||||
winprefsyacc.h: winprefsyacc.c
|
|
||||||
winprefslex.c: winprefslex.l winprefsyacc.c winprefsyacc.h
|
|
||||||
|
|
||||||
BUILT_SOURCES = winprefsyacc.h winprefsyacc.c winprefslex.c
|
|
||||||
CLEANFILES = $(BUILT_SOURCES)
|
|
||||||
|
|
||||||
AM_YFLAGS = -d
|
|
||||||
AM_LFLAGS = -i
|
|
||||||
AM_CFLAGS = -DHAVE_XWIN_CONFIG_H $(DIX_CFLAGS) \
|
|
||||||
$(XWINMODULES_CFLAGS) \
|
|
||||||
-I$(top_srcdir) \
|
|
||||||
-Wno-bad-function-cast
|
|
||||||
|
|
||||||
xwinconfigdir = $(sysconfdir)/X11
|
|
||||||
xwinconfig_DATA = system.XWinrc
|
|
||||||
|
|
||||||
install-exec-hook:
|
|
||||||
(cd $(DESTDIR)$(bindir) && rm -f X && $(LN_S) XWin$(EXEEXT) X)
|
|
||||||
|
|
||||||
EXTRA_DIST = \
|
|
||||||
$(xwinconfig_DATA) \
|
|
||||||
X.ico \
|
|
||||||
XWin.rc \
|
|
||||||
XWin.exe.manifest
|
|
||||||
|
|
||||||
relink:
|
|
||||||
$(AM_V_at)rm -f XWin$(EXEEXT) && $(MAKE) XWin$(EXEEXT)
|
|
||||||
|
|
||||||
SUBDIRS = man $(GLX_DIR) winclipboard .
|
|
||||||
DIST_SUBDIRS = man dri glx winclipboard .
|
|
|
@ -1,9 +0,0 @@
|
||||||
noinst_LTLIBRARIES = libWindowsDRI.la
|
|
||||||
|
|
||||||
libWindowsDRI_la_SOURCES = \
|
|
||||||
windowsdri.c \
|
|
||||||
windowsdri.h
|
|
||||||
|
|
||||||
AM_CFLAGS = $(DIX_CFLAGS) \
|
|
||||||
@WINDOWSDRI_CFLAGS@ \
|
|
||||||
-I$(top_srcdir)/hw/xwin/
|
|
|
@ -1,64 +0,0 @@
|
||||||
noinst_LTLIBRARIES = libXwinGLX.la
|
|
||||||
lib_LTLIBRARIES = libnativeGLthunk.la
|
|
||||||
|
|
||||||
libXwinGLX_la_SOURCES = \
|
|
||||||
winpriv.c \
|
|
||||||
winpriv.h \
|
|
||||||
glwindows.h \
|
|
||||||
glshim.c \
|
|
||||||
indirect.c \
|
|
||||||
indirect.h \
|
|
||||||
wgl_ext_api.c \
|
|
||||||
wgl_ext_api.h
|
|
||||||
|
|
||||||
if XWIN_WINDOWS_DRI
|
|
||||||
libXwinGLX_la_SOURCES += \
|
|
||||||
dri_helpers.c \
|
|
||||||
dri_helpers.h
|
|
||||||
endif
|
|
||||||
|
|
||||||
libnativeGLthunk_la_SOURCES = \
|
|
||||||
glthunk.c
|
|
||||||
|
|
||||||
if XWIN_GLX_WINDOWS
|
|
||||||
DEFS_GLX_WINDOWS = -DXWIN_GLX_WINDOWS
|
|
||||||
endif
|
|
||||||
|
|
||||||
DEFS = \
|
|
||||||
$(DEFS_GLX_WINDOWS)
|
|
||||||
|
|
||||||
AM_CFLAGS = -DHAVE_XWIN_CONFIG_H $(DIX_CFLAGS) \
|
|
||||||
$(XWINMODULES_CFLAGS) \
|
|
||||||
-I$(top_srcdir) \
|
|
||||||
-I$(top_srcdir)/hw/xwin/
|
|
||||||
|
|
||||||
libnativeGLthunk_la_CFLAGS = $(AM_CFLAGS) -Wno-unused-function -Wno-missing-prototypes -Wno-missing-declarations
|
|
||||||
libnativeGLthunk_la_LDFLAGS = -shared -no-undefined -avoid-version -lopengl32 -export-symbols generated_gl_thunks.def
|
|
||||||
EXTRA_libnativeGLthunk_la_DEPENDENCIES = generated_gl_thunks.def
|
|
||||||
|
|
||||||
if XWIN_GLX_WINDOWS
|
|
||||||
|
|
||||||
if DEBUG
|
|
||||||
GENGLWRAPPERSOPTS=""
|
|
||||||
else
|
|
||||||
GENGLWRAPPERSOPTS="-nodebug"
|
|
||||||
endif
|
|
||||||
|
|
||||||
generated_wgl_wrappers.ic: $(srcdir)/gen_gl_wrappers.py $(KHRONOS_SPEC_DIR)/wgl.xml $(KHRONOS_SPEC_DIR)/reg.py
|
|
||||||
$(AM_V_GEN)PYTHONPATH=$(KHRONOS_SPEC_DIR) $(PYTHON3) $(srcdir)/gen_gl_wrappers.py -registry $(KHRONOS_SPEC_DIR)/wgl.xml -prefix wgl -wrapper -preresolve $(GENGLWRAPPERSOPTS) -outfile $@
|
|
||||||
|
|
||||||
generated_gl_shim.ic: $(srcdir)/gen_gl_wrappers.py $(KHRONOS_SPEC_DIR)/gl.xml $(KHRONOS_SPEC_DIR)/reg.py
|
|
||||||
$(AM_V_GEN)PYTHONPATH=$(KHRONOS_SPEC_DIR) $(PYTHON3) $(srcdir)/gen_gl_wrappers.py -registry $(KHRONOS_SPEC_DIR)/gl.xml -shim $(GENGLWRAPPERSOPTS) -outfile $@
|
|
||||||
|
|
||||||
generated_gl_thunks.ic: $(srcdir)/gen_gl_wrappers.py $(KHRONOS_SPEC_DIR)/gl.xml $(KHRONOS_SPEC_DIR)/reg.py
|
|
||||||
$(AM_V_GEN)PYTHONPATH=$(KHRONOS_SPEC_DIR) $(PYTHON3) $(srcdir)/gen_gl_wrappers.py -registry $(KHRONOS_SPEC_DIR)/gl.xml -thunk $(GENGLWRAPPERSOPTS) -outfile $@
|
|
||||||
|
|
||||||
generated_gl_thunks.def: $(srcdir)/gen_gl_wrappers.py $(KHRONOS_SPEC_DIR)/gl.xml $(KHRONOS_SPEC_DIR)/reg.py
|
|
||||||
$(AM_V_GEN)PYTHONPATH=$(KHRONOS_SPEC_DIR) $(PYTHON3) $(srcdir)/gen_gl_wrappers.py -registry $(KHRONOS_SPEC_DIR)/gl.xml -thunkdefs $(GENGLWRAPPERSOPTS) -outfile $@
|
|
||||||
|
|
||||||
BUILT_SOURCES = generated_gl_shim.ic generated_gl_thunks.ic generated_gl_thunks.def generated_wgl_wrappers.ic
|
|
||||||
CLEANFILES = $(BUILT_SOURCES)
|
|
||||||
|
|
||||||
endif
|
|
||||||
|
|
||||||
EXTRA_DIST = gen_gl_wrappers.py
|
|
|
@ -1,3 +0,0 @@
|
||||||
include $(top_srcdir)/manpages.am
|
|
||||||
appman_PRE = XWin.man
|
|
||||||
fileman_PRE = XWinrc.man
|
|
|
@ -1,26 +0,0 @@
|
||||||
noinst_LTLIBRARIES = libXWinclipboard.la
|
|
||||||
|
|
||||||
libXWinclipboard_la_SOURCES = \
|
|
||||||
internal.h \
|
|
||||||
winclipboard.h \
|
|
||||||
textconv.c \
|
|
||||||
thread.c \
|
|
||||||
wndproc.c \
|
|
||||||
xevents.c
|
|
||||||
|
|
||||||
libXWinclipboard_la_CFLAGS = -DHAVE_XWIN_CONFIG_H \
|
|
||||||
$(DIX_CFLAGS) \
|
|
||||||
$(XWINMODULES_CFLAGS)
|
|
||||||
|
|
||||||
libXWinclipboard_la_LDFLAGS = -static -no-undefined
|
|
||||||
|
|
||||||
bin_PROGRAMS = xwinclip
|
|
||||||
|
|
||||||
xwinclip_SOURCES = xwinclip.c debug.c
|
|
||||||
|
|
||||||
xwinclip_CFLAGS = $(XWINMODULES_CFLAGS)
|
|
||||||
|
|
||||||
xwinclip_LDADD = libXWinclipboard.la $(XWINMODULES_LIBS) -lgdi32 -lpthread
|
|
||||||
|
|
||||||
include $(top_srcdir)/manpages.am
|
|
||||||
appman_PRE = xwinclip.man
|
|
|
@ -1,96 +0,0 @@
|
||||||
if XORG
|
|
||||||
sdk_HEADERS = \
|
|
||||||
XIstubs.h \
|
|
||||||
Xprintf.h \
|
|
||||||
callback.h \
|
|
||||||
client.h \
|
|
||||||
closestr.h \
|
|
||||||
closure.h \
|
|
||||||
colormap.h \
|
|
||||||
colormapst.h \
|
|
||||||
hotplug.h \
|
|
||||||
cursor.h \
|
|
||||||
cursorstr.h \
|
|
||||||
dix.h \
|
|
||||||
dixaccess.h \
|
|
||||||
dixevents.h \
|
|
||||||
dixfont.h \
|
|
||||||
dixfontstr.h \
|
|
||||||
dixgrabs.h \
|
|
||||||
dixstruct.h \
|
|
||||||
events.h \
|
|
||||||
exevents.h \
|
|
||||||
extension.h \
|
|
||||||
extinit.h \
|
|
||||||
extnsionst.h \
|
|
||||||
fourcc.h \
|
|
||||||
gc.h \
|
|
||||||
gcstruct.h \
|
|
||||||
globals.h \
|
|
||||||
glx_extinit.h \
|
|
||||||
glxvndabi.h \
|
|
||||||
input.h \
|
|
||||||
inputstr.h \
|
|
||||||
list.h \
|
|
||||||
misc.h \
|
|
||||||
miscstruct.h \
|
|
||||||
opaque.h \
|
|
||||||
nonsdk_extinit.h \
|
|
||||||
optionstr.h \
|
|
||||||
os.h \
|
|
||||||
pixmap.h \
|
|
||||||
pixmapstr.h \
|
|
||||||
privates.h \
|
|
||||||
property.h \
|
|
||||||
propertyst.h \
|
|
||||||
ptrveloc.h \
|
|
||||||
region.h \
|
|
||||||
regionstr.h \
|
|
||||||
registry.h \
|
|
||||||
resource.h \
|
|
||||||
rgb.h \
|
|
||||||
screenint.h \
|
|
||||||
scrnintstr.h \
|
|
||||||
selection.h \
|
|
||||||
servermd.h \
|
|
||||||
validate.h \
|
|
||||||
displaymode.h \
|
|
||||||
window.h \
|
|
||||||
windowstr.h \
|
|
||||||
xkbfile.h \
|
|
||||||
xkbsrv.h \
|
|
||||||
xkbstr.h \
|
|
||||||
xkbrules.h \
|
|
||||||
xserver_poll.h \
|
|
||||||
xserver-properties.h
|
|
||||||
|
|
||||||
nodist_sdk_HEADERS = xorg-server.h
|
|
||||||
endif
|
|
||||||
|
|
||||||
AM_CFLAGS = $(DIX_CFLAGS)
|
|
||||||
|
|
||||||
EXTRA_DIST = \
|
|
||||||
busfault.h dbus-core.h \
|
|
||||||
dix-config-apple-verbatim.h \
|
|
||||||
eventconvert.h eventstr.h inpututils.h \
|
|
||||||
probes.h \
|
|
||||||
protocol-versions.h \
|
|
||||||
swaprep.h \
|
|
||||||
swapreq.h \
|
|
||||||
systemd-logind.h \
|
|
||||||
vidmodestr.h \
|
|
||||||
xorg-config.h.meson.in \
|
|
||||||
xorg-server.h.meson.in \
|
|
||||||
xwayland-config.h.meson.in \
|
|
||||||
xwin-config.h.meson.in \
|
|
||||||
xsha1.h
|
|
||||||
|
|
||||||
if XSERVER_DTRACE
|
|
||||||
# Generate dtrace header file for C sources to include
|
|
||||||
BUILT_SOURCES = Xserver-dtrace.h
|
|
||||||
|
|
||||||
Xserver-dtrace.h: $(srcdir)/Xserver.d
|
|
||||||
$(AM_V_GEN)$(DTRACE) -C -h -o $@ -s $(srcdir)/Xserver.d
|
|
||||||
endif
|
|
||||||
|
|
||||||
CLEANFILES = Xserver-dtrace.h
|
|
|
@ -1,49 +0,0 @@
|
||||||
# ===========================================================================
|
|
||||||
# http://autoconf-archive.cryp.to/ac_define_dir.html
|
|
||||||
# ===========================================================================
|
|
||||||
#
|
|
||||||
# SYNOPSIS
|
|
||||||
#
|
|
||||||
# AC_DEFINE_DIR(VARNAME, DIR [, DESCRIPTION])
|
|
||||||
#
|
|
||||||
# DESCRIPTION
|
|
||||||
#
|
|
||||||
# This macro sets VARNAME to the expansion of the DIR variable, taking
|
|
||||||
# care of fixing up ${prefix} and such.
|
|
||||||
#
|
|
||||||
# VARNAME is then offered as both an output variable and a C preprocessor
|
|
||||||
# symbol.
|
|
||||||
#
|
|
||||||
# Example:
|
|
||||||
#
|
|
||||||
# AC_DEFINE_DIR([DATADIR], [datadir], [Where data are placed to.])
|
|
||||||
#
|
|
||||||
# LAST MODIFICATION
|
|
||||||
#
|
|
||||||
# 2008-04-12
|
|
||||||
#
|
|
||||||
# COPYLEFT
|
|
||||||
#
|
|
||||||
# Copyright (c) 2008 Stepan Kasal <kasal@ucw.cz>
|
|
||||||
# Copyright (c) 2008 Andreas Schwab <schwab@suse.de>
|
|
||||||
# Copyright (c) 2008 Guido U. Draheim <guidod@gmx.de>
|
|
||||||
# Copyright (c) 2008 Alexandre Oliva
|
|
||||||
#
|
|
||||||
# Copying and distribution of this file, with or without modification, are
|
|
||||||
# permitted in any medium without royalty provided the copyright notice
|
|
||||||
# and this notice are preserved.
|
|
||||||
|
|
||||||
AC_DEFUN([AC_DEFINE_DIR], [
|
|
||||||
prefix_NONE=
|
|
||||||
exec_prefix_NONE=
|
|
||||||
test "x$prefix" = xNONE && prefix_NONE=yes && prefix=$ac_default_prefix
|
|
||||||
test "x$exec_prefix" = xNONE && exec_prefix_NONE=yes && exec_prefix=$prefix
|
|
||||||
dnl In Autoconf 2.60, ${datadir} refers to ${datarootdir}, which in turn
|
|
||||||
dnl refers to ${prefix}. Thus we have to use `eval' twice.
|
|
||||||
eval ac_define_dir="\"[$]$2\""
|
|
||||||
eval ac_define_dir="\"$ac_define_dir\""
|
|
||||||
AC_SUBST($1, "$ac_define_dir")
|
|
||||||
AC_DEFINE_UNQUOTED($1, "$ac_define_dir", [$3])
|
|
||||||
test "$prefix_NONE" && prefix=NONE
|
|
||||||
test "$exec_prefix_NONE" && exec_prefix=NONE
|
|
||||||
])
|
|
337
m4/ax_pthread.m4
337
m4/ax_pthread.m4
|
@ -1,337 +0,0 @@
|
||||||
# ===========================================================================
|
|
||||||
# http://www.gnu.org/software/autoconf-archive/ax_pthread.html
|
|
||||||
# ===========================================================================
|
|
||||||
#
|
|
||||||
# SYNOPSIS
|
|
||||||
#
|
|
||||||
# AX_PTHREAD([ACTION-IF-FOUND[, ACTION-IF-NOT-FOUND]])
|
|
||||||
#
|
|
||||||
# DESCRIPTION
|
|
||||||
#
|
|
||||||
# This macro figures out how to build C programs using POSIX threads. It
|
|
||||||
# sets the PTHREAD_LIBS output variable to the threads library and linker
|
|
||||||
# flags, and the PTHREAD_CFLAGS output variable to any special C compiler
|
|
||||||
# flags that are needed. (The user can also force certain compiler
|
|
||||||
# flags/libs to be tested by setting these environment variables.)
|
|
||||||
#
|
|
||||||
# Also sets PTHREAD_CC to any special C compiler that is needed for
|
|
||||||
# multi-threaded programs (defaults to the value of CC otherwise). (This
|
|
||||||
# is necessary on AIX to use the special cc_r compiler alias.)
|
|
||||||
#
|
|
||||||
# NOTE: You are assumed to not only compile your program with these flags,
|
|
||||||
# but also link it with them as well. e.g. you should link with
|
|
||||||
# $PTHREAD_CC $CFLAGS $PTHREAD_CFLAGS $LDFLAGS ... $PTHREAD_LIBS $LIBS
|
|
||||||
#
|
|
||||||
# If you are only building threads programs, you may wish to use these
|
|
||||||
# variables in your default LIBS, CFLAGS, and CC:
|
|
||||||
#
|
|
||||||
# LIBS="$PTHREAD_LIBS $LIBS"
|
|
||||||
# CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
|
|
||||||
# CC="$PTHREAD_CC"
|
|
||||||
#
|
|
||||||
# In addition, if the PTHREAD_CREATE_JOINABLE thread-attribute constant
|
|
||||||
# has a nonstandard name, defines PTHREAD_CREATE_JOINABLE to that name
|
|
||||||
# (e.g. PTHREAD_CREATE_UNDETACHED on AIX).
|
|
||||||
#
|
|
||||||
# Also HAVE_PTHREAD_PRIO_INHERIT is defined if pthread is found and the
|
|
||||||
# PTHREAD_PRIO_INHERIT symbol is defined when compiling with
|
|
||||||
# PTHREAD_CFLAGS.
|
|
||||||
#
|
|
||||||
# ACTION-IF-FOUND is a list of shell commands to run if a threads library
|
|
||||||
# is found, and ACTION-IF-NOT-FOUND is a list of commands to run it if it
|
|
||||||
# is not found. If ACTION-IF-FOUND is not specified, the default action
|
|
||||||
# will define HAVE_PTHREAD.
|
|
||||||
#
|
|
||||||
# Please let the authors know if this macro fails on any platform, or if
|
|
||||||
# you have any other suggestions or comments. This macro was based on work
|
|
||||||
# by SGJ on autoconf scripts for FFTW (http://www.fftw.org/) (with help
|
|
||||||
# from M. Frigo), as well as ac_pthread and hb_pthread macros posted by
|
|
||||||
# Alejandro Forero Cuervo to the autoconf macro repository. We are also
|
|
||||||
# grateful for the helpful feedback of numerous users.
|
|
||||||
#
|
|
||||||
# Updated for Autoconf 2.68 by Daniel Richard G.
|
|
||||||
#
|
|
||||||
# LICENSE
|
|
||||||
#
|
|
||||||
# Copyright (c) 2008 Steven G. Johnson <stevenj@alum.mit.edu>
|
|
||||||
# Copyright (c) 2011 Daniel Richard G. <skunk@iSKUNK.ORG>
|
|
||||||
#
|
|
||||||
# This program is free software: you can redistribute it and/or modify it
|
|
||||||
# under the terms of the GNU General Public License as published by the
|
|
||||||
# Free Software Foundation, either version 3 of the License, or (at your
|
|
||||||
# option) any later version.
|
|
||||||
#
|
|
||||||
# This program is distributed in the hope that it will be useful, but
|
|
||||||
# WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
|
|
||||||
# Public License for more details.
|
|
||||||
#
|
|
||||||
# You should have received a copy of the GNU General Public License along
|
|
||||||
# with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
||||||
#
|
|
||||||
# As a special exception, the respective Autoconf Macro's copyright owner
|
|
||||||
# gives unlimited permission to copy, distribute and modify the configure
|
|
||||||
# scripts that are the output of Autoconf when processing the Macro. You
|
|
||||||
# need not follow the terms of the GNU General Public License when using
|
|
||||||
# or distributing such scripts, even though portions of the text of the
|
|
||||||
# Macro appear in them. The GNU General Public License (GPL) does govern
|
|
||||||
# all other use of the material that constitutes the Autoconf Macro.
|
|
||||||
#
|
|
||||||
# This special exception to the GPL applies to versions of the Autoconf
|
|
||||||
# Macro released by the Autoconf Archive. When you make and distribute a
|
|
||||||
# modified version of the Autoconf Macro, you may extend this special
|
|
||||||
# exception to the GPL to apply to your modified version as well.
|
|
||||||
|
|
||||||
#serial 21
|
|
||||||
|
|
||||||
AU_ALIAS([ACX_PTHREAD], [AX_PTHREAD])
|
|
||||||
AC_DEFUN([AX_PTHREAD], [
|
|
||||||
AC_REQUIRE([AC_CANONICAL_HOST])
|
|
||||||
AC_LANG_PUSH([C])
|
|
||||||
ax_pthread_ok=no
|
|
||||||
|
|
||||||
# We used to check for pthread.h first, but this fails if pthread.h
|
|
||||||
# requires special compiler flags (e.g. on True64 or Sequent).
|
|
||||||
# It gets checked for in the link test anyway.
|
|
||||||
|
|
||||||
# First of all, check if the user has set any of the PTHREAD_LIBS,
|
|
||||||
# etcetera environment variables, and if threads linking works using
|
|
||||||
# them:
|
|
||||||
if test x"$PTHREAD_LIBS$PTHREAD_CFLAGS" != x; then
|
|
||||||
save_CFLAGS="$CFLAGS"
|
|
||||||
CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
|
|
||||||
save_LIBS="$LIBS"
|
|
||||||
LIBS="$PTHREAD_LIBS $LIBS"
|
|
||||||
AC_MSG_CHECKING([for pthread_join in LIBS=$PTHREAD_LIBS with CFLAGS=$PTHREAD_CFLAGS])
|
|
||||||
AC_TRY_LINK_FUNC([pthread_join], [ax_pthread_ok=yes])
|
|
||||||
AC_MSG_RESULT([$ax_pthread_ok])
|
|
||||||
if test x"$ax_pthread_ok" = xno; then
|
|
||||||
PTHREAD_LIBS=""
|
|
||||||
PTHREAD_CFLAGS=""
|
|
||||||
fi
|
|
||||||
LIBS="$save_LIBS"
|
|
||||||
CFLAGS="$save_CFLAGS"
|
|
||||||
fi
|
|
||||||
|
|
||||||
# We must check for the threads library under a number of different
|
|
||||||
# names; the ordering is very important because some systems
|
|
||||||
# (e.g. DEC) have both -lpthread and -lpthreads, where one of the
|
|
||||||
# libraries is broken (non-POSIX).
|
|
||||||
|
|
||||||
# Create a list of thread flags to try. Items starting with a "-" are
|
|
||||||
# C compiler flags, and other items are library names, except for "none"
|
|
||||||
# which indicates that we try without any flags at all, and "pthread-config"
|
|
||||||
# which is a program returning the flags for the Pth emulation library.
|
|
||||||
|
|
||||||
ax_pthread_flags="pthreads none -Kthread -kthread lthread -pthread -pthreads -mthreads pthread --thread-safe -mt pthread-config"
|
|
||||||
|
|
||||||
# The ordering *is* (sometimes) important. Some notes on the
|
|
||||||
# individual items follow:
|
|
||||||
|
|
||||||
# pthreads: AIX (must check this before -lpthread)
|
|
||||||
# none: in case threads are in libc; should be tried before -Kthread and
|
|
||||||
# other compiler flags to prevent continual compiler warnings
|
|
||||||
# -Kthread: Sequent (threads in libc, but -Kthread needed for pthread.h)
|
|
||||||
# -kthread: FreeBSD kernel threads (preferred to -pthread since SMP-able)
|
|
||||||
# lthread: LinuxThreads port on FreeBSD (also preferred to -pthread)
|
|
||||||
# -pthread: Linux/gcc (kernel threads), BSD/gcc (userland threads)
|
|
||||||
# -pthreads: Solaris/gcc
|
|
||||||
# -mthreads: Mingw32/gcc, Lynx/gcc
|
|
||||||
# -mt: Sun Workshop C (may only link SunOS threads [-lthread], but it
|
|
||||||
# doesn't hurt to check since this sometimes defines pthreads too;
|
|
||||||
# also defines -D_REENTRANT)
|
|
||||||
# ... -mt is also the pthreads flag for HP/aCC
|
|
||||||
# pthread: Linux, etcetera
|
|
||||||
# --thread-safe: KAI C++
|
|
||||||
# pthread-config: use pthread-config program (for GNU Pth library)
|
|
||||||
|
|
||||||
case ${host_os} in
|
|
||||||
solaris*)
|
|
||||||
|
|
||||||
# On Solaris (at least, for some versions), libc contains stubbed
|
|
||||||
# (non-functional) versions of the pthreads routines, so link-based
|
|
||||||
# tests will erroneously succeed. (We need to link with -pthreads/-mt/
|
|
||||||
# -lpthread.) (The stubs are missing pthread_cleanup_push, or rather
|
|
||||||
# a function called by this macro, so we could check for that, but
|
|
||||||
# who knows whether they'll stub that too in a future libc.) So,
|
|
||||||
# we'll just look for -pthreads and -lpthread first:
|
|
||||||
|
|
||||||
ax_pthread_flags="-pthreads pthread -mt -pthread $ax_pthread_flags"
|
|
||||||
;;
|
|
||||||
|
|
||||||
darwin*)
|
|
||||||
ax_pthread_flags="-pthread $ax_pthread_flags"
|
|
||||||
;;
|
|
||||||
netbsd*)
|
|
||||||
# use libc stubs, don't link against libpthread, to allow
|
|
||||||
# dynamic loading
|
|
||||||
ax_pthread_flags=""
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
|
|
||||||
# Clang doesn't consider unrecognized options an error unless we specify
|
|
||||||
# -Werror. We throw in some extra Clang-specific options to ensure that
|
|
||||||
# this doesn't happen for GCC, which also accepts -Werror.
|
|
||||||
|
|
||||||
AC_MSG_CHECKING([if compiler needs -Werror to reject unknown flags])
|
|
||||||
save_CFLAGS="$CFLAGS"
|
|
||||||
ax_pthread_extra_flags="-Werror"
|
|
||||||
CFLAGS="$CFLAGS $ax_pthread_extra_flags -Wunknown-warning-option -Wsizeof-array-argument"
|
|
||||||
AC_COMPILE_IFELSE([AC_LANG_PROGRAM([int foo(void);],[foo()])],
|
|
||||||
[AC_MSG_RESULT([yes])],
|
|
||||||
[ax_pthread_extra_flags=
|
|
||||||
AC_MSG_RESULT([no])])
|
|
||||||
CFLAGS="$save_CFLAGS"
|
|
||||||
|
|
||||||
if test x"$ax_pthread_ok" = xno; then
|
|
||||||
for flag in $ax_pthread_flags; do
|
|
||||||
|
|
||||||
case $flag in
|
|
||||||
none)
|
|
||||||
AC_MSG_CHECKING([whether pthreads work without any flags])
|
|
||||||
;;
|
|
||||||
|
|
||||||
-*)
|
|
||||||
AC_MSG_CHECKING([whether pthreads work with $flag])
|
|
||||||
PTHREAD_CFLAGS="$flag"
|
|
||||||
;;
|
|
||||||
|
|
||||||
pthread-config)
|
|
||||||
AC_CHECK_PROG([ax_pthread_config], [pthread-config], [yes], [no])
|
|
||||||
if test x"$ax_pthread_config" = xno; then continue; fi
|
|
||||||
PTHREAD_CFLAGS="`pthread-config --cflags`"
|
|
||||||
PTHREAD_LIBS="`pthread-config --ldflags` `pthread-config --libs`"
|
|
||||||
;;
|
|
||||||
|
|
||||||
*)
|
|
||||||
AC_MSG_CHECKING([for the pthreads library -l$flag])
|
|
||||||
PTHREAD_LIBS="-l$flag"
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
|
|
||||||
save_LIBS="$LIBS"
|
|
||||||
save_CFLAGS="$CFLAGS"
|
|
||||||
LIBS="$PTHREAD_LIBS $LIBS"
|
|
||||||
CFLAGS="$CFLAGS $PTHREAD_CFLAGS $ax_pthread_extra_flags"
|
|
||||||
|
|
||||||
# Check for various functions. We must include pthread.h,
|
|
||||||
# since some functions may be macros. (On the Sequent, we
|
|
||||||
# need a special flag -Kthread to make this header compile.)
|
|
||||||
# We check for pthread_join because it is in -lpthread on IRIX
|
|
||||||
# while pthread_create is in libc. We check for pthread_attr_init
|
|
||||||
# due to DEC craziness with -lpthreads. We check for
|
|
||||||
# pthread_cleanup_push because it is one of the few pthread
|
|
||||||
# functions on Solaris that doesn't have a non-functional libc stub.
|
|
||||||
# We try pthread_create on general principles.
|
|
||||||
AC_LINK_IFELSE([AC_LANG_PROGRAM([#include <pthread.h>
|
|
||||||
static void routine(void *a) { a = 0; }
|
|
||||||
static void *start_routine(void *a) { return a; }],
|
|
||||||
[pthread_t th; pthread_attr_t attr;
|
|
||||||
pthread_create(&th, 0, start_routine, 0);
|
|
||||||
pthread_join(th, 0);
|
|
||||||
pthread_attr_init(&attr);
|
|
||||||
pthread_cleanup_push(routine, 0);
|
|
||||||
pthread_cleanup_pop(0) /* ; */])],
|
|
||||||
[ax_pthread_ok=yes],
|
|
||||||
[])
|
|
||||||
|
|
||||||
LIBS="$save_LIBS"
|
|
||||||
CFLAGS="$save_CFLAGS"
|
|
||||||
|
|
||||||
AC_MSG_RESULT([$ax_pthread_ok])
|
|
||||||
if test "x$ax_pthread_ok" = xyes; then
|
|
||||||
break;
|
|
||||||
fi
|
|
||||||
|
|
||||||
PTHREAD_LIBS=""
|
|
||||||
PTHREAD_CFLAGS=""
|
|
||||||
done
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Various other checks:
|
|
||||||
if test "x$ax_pthread_ok" = xyes; then
|
|
||||||
save_LIBS="$LIBS"
|
|
||||||
LIBS="$PTHREAD_LIBS $LIBS"
|
|
||||||
save_CFLAGS="$CFLAGS"
|
|
||||||
CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
|
|
||||||
|
|
||||||
# Detect AIX lossage: JOINABLE attribute is called UNDETACHED.
|
|
||||||
AC_MSG_CHECKING([for joinable pthread attribute])
|
|
||||||
attr_name=unknown
|
|
||||||
for attr in PTHREAD_CREATE_JOINABLE PTHREAD_CREATE_UNDETACHED; do
|
|
||||||
AC_LINK_IFELSE([AC_LANG_PROGRAM([#include <pthread.h>],
|
|
||||||
[int attr = $attr; return attr /* ; */])],
|
|
||||||
[attr_name=$attr; break],
|
|
||||||
[])
|
|
||||||
done
|
|
||||||
AC_MSG_RESULT([$attr_name])
|
|
||||||
if test "$attr_name" != PTHREAD_CREATE_JOINABLE; then
|
|
||||||
AC_DEFINE_UNQUOTED([PTHREAD_CREATE_JOINABLE], [$attr_name],
|
|
||||||
[Define to necessary symbol if this constant
|
|
||||||
uses a non-standard name on your system.])
|
|
||||||
fi
|
|
||||||
|
|
||||||
AC_MSG_CHECKING([if more special flags are required for pthreads])
|
|
||||||
flag=no
|
|
||||||
case ${host_os} in
|
|
||||||
aix* | freebsd* | darwin*) flag="-D_THREAD_SAFE";;
|
|
||||||
osf* | hpux*) flag="-D_REENTRANT";;
|
|
||||||
solaris*)
|
|
||||||
if test "$GCC" = "yes"; then
|
|
||||||
flag="-D_REENTRANT"
|
|
||||||
else
|
|
||||||
# TODO: What about Clang on Solaris?
|
|
||||||
flag="-mt -D_REENTRANT"
|
|
||||||
fi
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
AC_MSG_RESULT([$flag])
|
|
||||||
if test "x$flag" != xno; then
|
|
||||||
PTHREAD_CFLAGS="$flag $PTHREAD_CFLAGS"
|
|
||||||
fi
|
|
||||||
|
|
||||||
AC_CACHE_CHECK([for PTHREAD_PRIO_INHERIT],
|
|
||||||
[ax_cv_PTHREAD_PRIO_INHERIT], [
|
|
||||||
AC_LINK_IFELSE([AC_LANG_PROGRAM([[#include <pthread.h>]],
|
|
||||||
[[int i = PTHREAD_PRIO_INHERIT;]])],
|
|
||||||
[ax_cv_PTHREAD_PRIO_INHERIT=yes],
|
|
||||||
[ax_cv_PTHREAD_PRIO_INHERIT=no])
|
|
||||||
])
|
|
||||||
AS_IF([test "x$ax_cv_PTHREAD_PRIO_INHERIT" = "xyes"],
|
|
||||||
[AC_DEFINE([HAVE_PTHREAD_PRIO_INHERIT], [1], [Have PTHREAD_PRIO_INHERIT.])])
|
|
||||||
|
|
||||||
LIBS="$save_LIBS"
|
|
||||||
CFLAGS="$save_CFLAGS"
|
|
||||||
|
|
||||||
# More AIX lossage: compile with *_r variant
|
|
||||||
if test "x$GCC" != xyes; then
|
|
||||||
case $host_os in
|
|
||||||
aix*)
|
|
||||||
AS_CASE(["x/$CC"],
|
|
||||||
[x*/c89|x*/c89_128|x*/c99|x*/c99_128|x*/cc|x*/cc128|x*/xlc|x*/xlc_v6|x*/xlc128|x*/xlc128_v6],
|
|
||||||
[#handle absolute path differently from PATH based program lookup
|
|
||||||
AS_CASE(["x$CC"],
|
|
||||||
[x/*],
|
|
||||||
[AS_IF([AS_EXECUTABLE_P([${CC}_r])],[PTHREAD_CC="${CC}_r"])],
|
|
||||||
[AC_CHECK_PROGS([PTHREAD_CC],[${CC}_r],[$CC])])])
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
|
|
||||||
test -n "$PTHREAD_CC" || PTHREAD_CC="$CC"
|
|
||||||
|
|
||||||
AC_SUBST([PTHREAD_LIBS])
|
|
||||||
AC_SUBST([PTHREAD_CFLAGS])
|
|
||||||
AC_SUBST([PTHREAD_CC])
|
|
||||||
|
|
||||||
# Finally, execute ACTION-IF-FOUND/ACTION-IF-NOT-FOUND:
|
|
||||||
if test x"$ax_pthread_ok" = xyes; then
|
|
||||||
ifelse([$1],,[AC_DEFINE([HAVE_PTHREAD],[1],[Define if you have POSIX threads libraries and header files.])],[$1])
|
|
||||||
:
|
|
||||||
else
|
|
||||||
ax_pthread_ok=no
|
|
||||||
$2
|
|
||||||
fi
|
|
||||||
AC_LANG_POP
|
|
||||||
])dnl AX_PTHREAD
|
|
|
@ -1,6 +0,0 @@
|
||||||
# Xserver.man covers options generic to all X servers built in this tree
|
|
||||||
# (i.e. those handled in the os/utils.c options processing instead of in
|
|
||||||
# the DDX-level options processing)
|
|
||||||
|
|
||||||
include $(top_srcdir)/manpages.am
|
|
||||||
appman_PRE = Xserver.man
|
|
|
@ -1,56 +0,0 @@
|
||||||
noinst_LTLIBRARIES = libmi.la
|
|
||||||
|
|
||||||
if XORG
|
|
||||||
sdk_HEADERS = micmap.h miline.h mipointer.h mi.h \
|
|
||||||
migc.h mipointrst.h mizerarc.h micoord.h \
|
|
||||||
mistruct.h mioverlay.h
|
|
||||||
endif
|
|
||||||
|
|
||||||
AM_CFLAGS = $(DIX_CFLAGS)
|
|
||||||
|
|
||||||
libmi_la_SOURCES = \
|
|
||||||
mi.h \
|
|
||||||
miarc.c \
|
|
||||||
mibitblt.c \
|
|
||||||
micmap.c \
|
|
||||||
micmap.h \
|
|
||||||
micoord.h \
|
|
||||||
micopy.c \
|
|
||||||
midash.c \
|
|
||||||
midispcur.c \
|
|
||||||
mieq.c \
|
|
||||||
miexpose.c \
|
|
||||||
mifillarc.c \
|
|
||||||
mifillarc.h \
|
|
||||||
mifillrct.c \
|
|
||||||
mifpoly.h \
|
|
||||||
migc.c \
|
|
||||||
migc.h \
|
|
||||||
miglblt.c \
|
|
||||||
miline.h \
|
|
||||||
mioverlay.c \
|
|
||||||
mioverlay.h \
|
|
||||||
mipointer.c \
|
|
||||||
mipointer.h \
|
|
||||||
mipointrst.h \
|
|
||||||
mipoly.c \
|
|
||||||
mipoly.h \
|
|
||||||
mipolypnt.c \
|
|
||||||
mipolyrect.c \
|
|
||||||
mipolyseg.c \
|
|
||||||
mipolytext.c \
|
|
||||||
mipushpxl.c \
|
|
||||||
miscanfill.h \
|
|
||||||
miscrinit.c \
|
|
||||||
misprite.c \
|
|
||||||
misprite.h \
|
|
||||||
mistruct.h \
|
|
||||||
mivaltree.c \
|
|
||||||
mivalidate.h \
|
|
||||||
miwideline.c \
|
|
||||||
miwideline.h \
|
|
||||||
miwindow.c \
|
|
||||||
mizerarc.c \
|
|
||||||
mizerarc.h \
|
|
||||||
mizerclip.c \
|
|
||||||
mizerline.c
|
|
|
@ -1 +0,0 @@
|
||||||
SUBDIRS = sync damage shadow rootless
|
|
|
@ -1,14 +0,0 @@
|
||||||
noinst_LTLIBRARIES = libdamage.la
|
|
||||||
|
|
||||||
AM_CFLAGS = $(DIX_CFLAGS)
|
|
||||||
|
|
||||||
AM_CPPFLAGS = -I$(srcdir)/../cw
|
|
||||||
|
|
||||||
if XORG
|
|
||||||
sdk_HEADERS = damage.h damagestr.h
|
|
||||||
endif
|
|
||||||
|
|
||||||
libdamage_la_SOURCES = \
|
|
||||||
damage.c \
|
|
||||||
damage.h \
|
|
||||||
damagestr.h
|
|
|
@ -1,16 +0,0 @@
|
||||||
AM_CFLAGS = $(DIX_CFLAGS) $(XSERVER_CFLAGS)
|
|
||||||
|
|
||||||
noinst_LTLIBRARIES = librootless.la
|
|
||||||
librootless_la_SOURCES = \
|
|
||||||
rootlessCommon.c \
|
|
||||||
rootlessGC.c \
|
|
||||||
rootlessScreen.c \
|
|
||||||
rootlessValTree.c \
|
|
||||||
rootlessWindow.c
|
|
||||||
|
|
||||||
EXTRA_DIST = \
|
|
||||||
README.txt \
|
|
||||||
rootless.h \
|
|
||||||
rootlessCommon.h \
|
|
||||||
rootlessConfig.h \
|
|
||||||
rootlessWindow.h
|
|
|
@ -1,37 +0,0 @@
|
||||||
noinst_LTLIBRARIES = libshadow.la
|
|
||||||
|
|
||||||
AM_CFLAGS = $(DIX_CFLAGS)
|
|
||||||
|
|
||||||
if XORG
|
|
||||||
sdk_HEADERS = shadow.h
|
|
||||||
endif
|
|
||||||
|
|
||||||
libshadow_la_SOURCES = \
|
|
||||||
c2p_core.h \
|
|
||||||
shadow.c \
|
|
||||||
shadow.h \
|
|
||||||
sh3224.c \
|
|
||||||
shafb4.c \
|
|
||||||
shafb8.c \
|
|
||||||
shiplan2p4.c \
|
|
||||||
shiplan2p8.c \
|
|
||||||
shpacked.c \
|
|
||||||
shplanar8.c \
|
|
||||||
shplanar.c \
|
|
||||||
shrot16pack_180.c \
|
|
||||||
shrot16pack_270.c \
|
|
||||||
shrot16pack_270YX.c \
|
|
||||||
shrot16pack_90.c \
|
|
||||||
shrot16pack_90YX.c \
|
|
||||||
shrot16pack.c \
|
|
||||||
shrot32pack_180.c \
|
|
||||||
shrot32pack_270.c \
|
|
||||||
shrot32pack_90.c \
|
|
||||||
shrot32pack.c \
|
|
||||||
shrot8pack_180.c \
|
|
||||||
shrot8pack_270.c \
|
|
||||||
shrot8pack_90.c \
|
|
||||||
shrot8pack.c \
|
|
||||||
shrotate.c \
|
|
||||||
shrotpack.h \
|
|
||||||
shrotpackYX.h
|
|
|
@ -1,21 +0,0 @@
|
||||||
noinst_LTLIBRARIES = libsync.la
|
|
||||||
|
|
||||||
AM_CFLAGS = $(DIX_CFLAGS)
|
|
||||||
|
|
||||||
AM_CPPFLAGS =
|
|
||||||
|
|
||||||
if XORG
|
|
||||||
sdk_HEADERS = misync.h misyncstr.h misyncshm.h misyncfd.h
|
|
||||||
endif
|
|
||||||
|
|
||||||
XSHMFENCE_SRCS = misyncshm.c
|
|
||||||
|
|
||||||
libsync_la_SOURCES = \
|
|
||||||
misync.c \
|
|
||||||
misync.h \
|
|
||||||
misyncfd.c \
|
|
||||||
misyncstr.h
|
|
||||||
|
|
||||||
if XSHMFENCE
|
|
||||||
libsync_la_SOURCES += $(XSHMFENCE_SRCS)
|
|
||||||
endif
|
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user