aboutsummaryrefslogtreecommitdiff
path: root/xorg-server/hw/xfree86/os-support/bsd/Makefile.am
blob: 4fc270aa904225399c79082507c1170bf400496c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
noinst_LTLIBRARIES = libbsd.la

# FIXME: Add USB mouse support?

# FIXME: 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

# FIXME: Non-i386/ia64 resource support.
RES_SOURCES = $(srcdir)/../shared/stdResource.c

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 \
	bsd_ev56.c \
	bsd_axp.c \
	$(srcdir)/../shared/xf86Axp.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)

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 \
	bsd_mouse.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 = \
	bsd_apm.c \
	bsd_jstk.c \
	bsd_kqueue_apm.c \
	bsdResource.c \
	memrange.h \
	libusb/data.c \
	libusb/descr.c \
	libusb/parse.c \
	libusb/usage.c \
	libusb/usb.3 \
	libusb/usb.h \
	libusb/usb_hid_usages \
	libusb/usbvar.h