mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2025-12-25 17:40:05 +01:00
In commit9db2af6f75(xfree86: Remove xf86{Map,Unmap}VidMem) we somehow stopped exporting xf86{Read,Write}Mmio{8,16,32}. Since the function pointer indirection was intended to support dense vs sparse and sparse support is now gone, we can just make the functions static inline in compiler.h and avoid all of this. Bugzilla: https://bugs.gentoo.org/548906 Tested-by: Christopher May-Townsend <chris@maytownsend.co.uk> Reviewed-by: Adam Jackson <ajax@redhat.com> Signed-off-by: Matt Turner <mattst88@gmail.com> (cherry picked from commit166ac294ae)
73 lines
1.3 KiB
Makefile
73 lines
1.3 KiB
Makefile
noinst_LTLIBRARIES = libbsd.la
|
|
|
|
# APM support.
|
|
if BSD_KQUEUE_APM
|
|
APM_SOURCES = $(srcdir)/bsd_kqueue_apm.c
|
|
else
|
|
if BSD_APM
|
|
APM_SOURCES = $(srcdir)/bsd_apm.c
|
|
else
|
|
APM_SOURCES = $(srcdir)/../shared/pm_noop.c
|
|
endif
|
|
endif
|
|
|
|
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 = -DUSESTDRES $(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
|