summaryrefslogtreecommitdiff
path: root/xserver/hw/xfree86
diff options
context:
space:
mode:
Diffstat (limited to 'xserver/hw/xfree86')
-rw-r--r--xserver/hw/xfree86/os-support/bsd/Makefile.am10
1 files changed, 9 insertions, 1 deletions
diff --git a/xserver/hw/xfree86/os-support/bsd/Makefile.am b/xserver/hw/xfree86/os-support/bsd/Makefile.am
index 7aa1d7783..90ed35349 100644
--- a/xserver/hw/xfree86/os-support/bsd/Makefile.am
+++ b/xserver/hw/xfree86/os-support/bsd/Makefile.am
@@ -2,8 +2,16 @@ noinst_LTLIBRARIES = libbsd.la
# FIXME: Add USB mouse support?
-# FIXME: APM support.
+# 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