2006-11-26 11:13:41 -07:00
|
|
|
noinst_LTLIBRARIES = libbsd.la
|
|
|
|
|
2007-04-17 16:03:42 -06:00
|
|
|
# APM support.
|
|
|
|
if BSD_KQUEUE_APM
|
|
|
|
APM_SOURCES = $(srcdir)/bsd_kqueue_apm.c
|
|
|
|
else
|
|
|
|
if BSD_APM
|
|
|
|
APM_SOURCES = $(srcdir)/bsd_apm.c
|
|
|
|
else
|
2006-11-26 11:13:41 -07:00
|
|
|
APM_SOURCES = $(srcdir)/../shared/pm_noop.c
|
2007-04-17 16:03:42 -06:00
|
|
|
endif
|
|
|
|
endif
|
2006-11-26 11:13:41 -07:00
|
|
|
|
|
|
|
if FREEBSD_KLDLOAD
|
|
|
|
KMOD_SOURCES = bsd_kmod.c
|
|
|
|
else
|
|
|
|
KMOD_SOURCES = $(srcdir)/../shared/kmod_noop.c
|
|
|
|
endif
|
|
|
|
|
|
|
|
# FIXME: Non-i386/ia64 resource support.
|
|
|
|
RES_SOURCES = $(srcdir)/../shared/stdResource.c
|
|
|
|
|
|
|
|
if AGP
|
2006-11-28 13:29:31 -07:00
|
|
|
AGP_SOURCES = bsd_agp.c
|
2006-11-26 11:13:41 -07:00
|
|
|
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 \
|
|
|
|
bsd_ev56.c \
|
|
|
|
bsd_axp.c \
|
|
|
|
$(srcdir)/../shared/xf86Axp.c
|
|
|
|
endif
|
|
|
|
|
|
|
|
if ARM_VIDEO
|
2006-12-03 13:57:39 -07:00
|
|
|
ARCH_SOURCES = arm_video.c \
|
|
|
|
$(srcdir)/../shared/ioperm_noop.c
|
2006-11-26 11:13:41 -07:00
|
|
|
endif
|
|
|
|
|
2006-11-28 13:29:31 -07:00
|
|
|
if HP300_VIDEO
|
2008-02-13 14:33:29 -07:00
|
|
|
ARCH_SOURCES = hp300_video.c \
|
|
|
|
$(srcdir)/../shared/ioperm_noop.c
|
2006-11-28 13:29:31 -07:00
|
|
|
endif
|
|
|
|
|
|
|
|
if HPPA_VIDEO
|
2009-12-18 15:49:53 -07:00
|
|
|
ARCH_SOURCES = hppa_video.c \
|
|
|
|
$(srcdir)/../shared/ioperm_noop.c
|
2006-11-28 13:29:31 -07:00
|
|
|
endif
|
|
|
|
|
2006-11-26 11:13:41 -07:00
|
|
|
if I386_VIDEO
|
|
|
|
ARCH_SOURCES = i386_video.c
|
|
|
|
endif
|
|
|
|
|
|
|
|
if PPC_VIDEO
|
2007-12-03 05:45:10 -07:00
|
|
|
ARCH_SOURCES = ppc_video.c \
|
|
|
|
$(srcdir)/../shared/ioperm_noop.c
|
2006-11-26 11:13:41 -07:00
|
|
|
endif
|
|
|
|
|
2008-01-04 06:44:23 -07:00
|
|
|
if SGI_VIDEO
|
|
|
|
ARCH_SOURCES = sgi_video.c \
|
|
|
|
$(srcdir)/../shared/ioperm_noop.c
|
|
|
|
endif
|
|
|
|
|
2006-11-26 11:13:41 -07:00
|
|
|
if SPARC64_VIDEO
|
|
|
|
# Cheat here and piggyback other sparc64 bits on SPARC64_VIDEO.
|
|
|
|
ARCH_SOURCES = \
|
|
|
|
sparc64_video.c \
|
2008-08-21 14:06:35 -06:00
|
|
|
bsd_sbus.c \
|
2006-11-26 11:13:41 -07:00
|
|
|
$(srcdir)/../shared/ioperm_noop.c
|
|
|
|
endif
|
|
|
|
|
|
|
|
# FIXME: NetBSD Aperture defines (configure.ac)
|
2007-11-24 12:04:00 -07:00
|
|
|
AM_CFLAGS = -DUSESTDRES $(XORG_CFLAGS) $(DIX_CFLAGS)
|
2006-11-26 11:13:41 -07:00
|
|
|
|
|
|
|
INCLUDES = $(XORG_INCS)
|
|
|
|
|
|
|
|
libbsd_la_SOURCES = \
|
|
|
|
$(srcdir)/../shared/posix_tty.c \
|
|
|
|
$(srcdir)/../shared/sigio.c \
|
|
|
|
$(srcdir)/../shared/vidmem.c \
|
|
|
|
bsd_VTsw.c \
|
|
|
|
bsd_init.c \
|
2007-11-24 12:04:00 -07:00
|
|
|
bsd_bell.c \
|
2006-11-26 11:13:41 -07:00
|
|
|
$(ARCH_SOURCES) \
|
|
|
|
$(AGP_SOURCES) \
|
|
|
|
$(APM_SOURCES) \
|
|
|
|
$(AXP_SOURCES) \
|
2007-11-24 12:04:00 -07:00
|
|
|
$(DRI_SOURCES) \
|
2006-11-26 11:13:41 -07:00
|
|
|
$(KMOD_SOURCES) \
|
|
|
|
$(RES_SOURCES)
|
|
|
|
|
|
|
|
# FIXME: Add these files to the build as needed
|
|
|
|
EXTRA_DIST = \
|
2009-09-06 13:44:18 -06:00
|
|
|
memrange.h
|