xserver-multidpi/hw/xfree86/parser/Makefile.am
Thierry Reding a270bb18ba xfree86: Introduce OutputClass configuration
The OutputClass section provides a way to match output devices to a set
of given attributes and configure them. For now, only matching by kernel
driver name is supported. This can be used to determine what DDX module
to load for non-PCI output devices. DDX modules can ship an xorg.conf.d
snippet (e.g. in /usr/share/X11/xorg.conf.d) that looks like this:

	Section "OutputClass"
	    Identifer "NVIDIA Tegra open-source driver"
	    MatchDriver "tegra"
	    Driver "opentegra"
	EndSection

This will cause any device that's driven by the kernel driver named
"tegra" to use the "opentegra" DDX module.

See the OUTPUTCLASS section in xorg.conf(5) for more details.

Reviewed-by: Aaron Plattner <aplattner@nvidia.com>
Tested-By: Aaron Plattner <aplattner@nvidia.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
Tested-by: Rob Clark <robdclark@gmail.com>
Signed-off-by: Keith Packard <keithp@keithp.com>
2014-07-07 16:12:09 -07:00

56 lines
945 B
Makefile

if INSTALL_LIBXF86CONFIG
noinst_LTLIBRARIES = libxf86config_internal.la
lib_LTLIBRARIES = libxf86config.la
LIBHEADERS = \
xf86Optrec.h \
xf86Parser.h
else
noinst_LTLIBRARIES = libxf86config_internal.la
endif
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_internal_la_SOURCES = \
$(INTERNAL_SOURCES)
libxf86config_la_SOURCES = \
$(top_srcdir)/os/xprintf.c \
$(INTERNAL_SOURCES)
libxf86config_la_CFLAGS = $(AM_CFLAGS)
libxf86config_la_LDFLAGS = -static
AM_CFLAGS = $(DIX_CFLAGS) $(XORG_CFLAGS) \
-DSYSCONFDIR=\"$(sysconfdir)\" \
-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