summaryrefslogtreecommitdiff
path: root/hw/xfree86/os-support/linux/Makefile.am
blob: fc4243b2607c68bde5c14b8915e2f2ddb2aa6a5e (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
noinst_LTLIBRARIES = liblinux.la

if LINUX_IA64
PLATFORM_PCI_SUPPORT = $(srcdir)/../shared/ia64Pci.c
endif
if LINUX_ALPHA
PLATFORM_PCI_SUPPORT = lnx_ev56.c \
       $(srcdir)/lnx_axp.c \
       $(srcdir)/../shared/xf86Axp.c
endif

if LNXACPI
ACPI_SOURCES = lnx_acpi.c lnx_apm.c
XORG_CFLAGS += -DHAVE_ACPI
endif

if LNXAPM
APM_SOURCES = lnx_apm.c
XORG_CFLAGS += -DHAVE_APM
endif

liblinux_la_SOURCES = lnx_init.c lnx_video.c lnx_mouse.c \
                     lnx_pci.c lnx_agp.c lnx_kmod.c \
                     $(srcdir)/../shared/bios_mmap.c \
		     $(srcdir)/../shared/VTsw_usl.c \
		     $(srcdir)/../shared/posix_tty.c \
                     $(srcdir)/../shared/vidmem.c \
		     $(srcdir)/../shared/sigio.c \
                     $(srcdir)/../shared/stdResource.c \
		     $(srcdir)/../shared/libc_wrapper.c \
                     $(ACPI_SOURCES) \
                     $(APM_SOURCES) \
                     $(PLATFORM_PCI_SUPPORT)

AM_CFLAGS = -DUSESTDRES -DHAVE_SYSV_IPC $(XORG_CFLAGS)

INCLUDES = $(XORG_INCS) -I/usr/include/drm # FIXME this last part is crack

# FIXME: These need to be added to the build
LNX_EXTRA_SOURCES = \
	lnx_font.c \
	lnx_ia64.c \
	lnx_jstk.c \
	lnxResource.c

EXTRA_DIST = \
	$(LNX_EXTRA_SOURCES) \
	lnx.h \
	lnx_kbd.h \
	$(srcdir)/../shared/ia64Pci.h \
	$(srcdir)/../shared/xf86Axp.h