2006-11-26 11:13:41 -07:00
|
|
|
noinst_LTLIBRARIES = liblinux.la
|
|
|
|
|
|
|
|
if LINUX_IA64
|
|
|
|
PLATFORM_PCI_SUPPORT = $(srcdir)/lnx_ia64.c $(srcdir)/../shared/ia64Pci.c
|
|
|
|
PLATFORM_DEFINES = -DOS_PROBE_PCI_CHIPSET=lnxProbePciChipset
|
|
|
|
PLATFORM_INCLUDES = -I$(srcdir)/../shared
|
|
|
|
endif
|
|
|
|
if LINUX_ALPHA
|
2007-11-24 10:55:21 -07:00
|
|
|
noinst_LTLIBRARIES += liblinuxev56.la
|
|
|
|
PLATFORM_PCI_SUPPORT = \
|
2006-11-26 11:13:41 -07:00
|
|
|
$(srcdir)/lnx_axp.c \
|
|
|
|
$(srcdir)/../shared/xf86Axp.c
|
2007-11-24 10:55:21 -07:00
|
|
|
|
|
|
|
liblinuxev56_la_CFLAGS = $(AM_CFLAGS) -mcpu=ev56
|
|
|
|
|
|
|
|
liblinuxev56_la_SOURCES = lnx_ev56.c
|
2006-11-26 11:13:41 -07:00
|
|
|
endif
|
|
|
|
|
|
|
|
if LNXACPI
|
2007-11-24 10:55:21 -07:00
|
|
|
ACPI_SRCS = lnx_acpi.c lnx_apm.c
|
2006-11-26 11:13:41 -07:00
|
|
|
XORG_CFLAGS += -DHAVE_ACPI
|
|
|
|
endif
|
|
|
|
|
|
|
|
if LNXAPM
|
2007-11-24 10:55:21 -07:00
|
|
|
APM_SRCS = lnx_apm.c
|
2006-11-26 11:13:41 -07:00
|
|
|
XORG_CFLAGS += -DHAVE_APM
|
|
|
|
endif
|
|
|
|
|
2007-11-24 10:55:21 -07:00
|
|
|
liblinux_la_SOURCES = lnx_init.c lnx_video.c lnx_mouse.c \
|
|
|
|
lnx_pci.c lnx_agp.c lnx_kmod.c lnx_bell.c \
|
2006-11-26 11:13:41 -07:00
|
|
|
$(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 \
|
2007-11-24 10:55:21 -07:00
|
|
|
$(ACPI_SRCS) \
|
|
|
|
$(APM_SRCS) \
|
2006-11-26 11:13:41 -07:00
|
|
|
$(PLATFORM_PCI_SUPPORT)
|
|
|
|
|
2007-11-24 10:55:21 -07:00
|
|
|
AM_CFLAGS = -DUSESTDRES -DHAVE_SYSV_IPC $(DIX_CFLAGS) $(XORG_CFLAGS) $(PLATFORM_DEFINES)
|
2006-11-26 11:13:41 -07:00
|
|
|
|
|
|
|
INCLUDES = $(XORG_INCS) $(PLATFORM_INCLUDES) -I/usr/include/drm # FIXME this last part is crack
|
|
|
|
|
|
|
|
# FIXME: These need to be added to the build
|
2007-11-24 10:55:21 -07:00
|
|
|
LNX_EXTRA_SRCS = \
|
2006-11-26 11:13:41 -07:00
|
|
|
lnx_font.c \
|
|
|
|
lnx_jstk.c \
|
|
|
|
lnxResource.c
|
|
|
|
|
|
|
|
EXTRA_DIST = \
|
2007-11-24 10:55:21 -07:00
|
|
|
$(LNX_EXTRA_SRCS) \
|
2006-11-26 11:13:41 -07:00
|
|
|
lnx.h \
|
2007-11-24 10:55:21 -07:00
|
|
|
$(srcdir)/../shared/xf86Axp.h
|
|
|
|
|
|
|
|
if LINUX_ALPHA
|
|
|
|
liblinux_la_LIBADD = liblinuxev56.la
|
|
|
|
endif
|