2006-11-26 11:13:41 -07:00
|
|
|
noinst_LTLIBRARIES = liblinux.la
|
|
|
|
|
|
|
|
if LINUX_ALPHA
|
2007-11-24 10:55:21 -07:00
|
|
|
noinst_LTLIBRARIES += liblinuxev56.la
|
|
|
|
|
|
|
|
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
|
|
|
|
|
2014-09-27 11:52:59 -06:00
|
|
|
if SYSTEMD_LOGIND
|
|
|
|
LOGIND_SRCS = systemd-logind.c
|
|
|
|
XORG_CFLAGS += $(DBUS_CFLAGS)
|
|
|
|
endif
|
|
|
|
|
2009-09-06 13:44:18 -06:00
|
|
|
liblinux_la_SOURCES = lnx_init.c lnx_video.c \
|
2013-06-07 11:28:45 -06:00
|
|
|
lnx_agp.c lnx_kmod.c lnx_bell.c lnx_platform.c \
|
2006-11-26 11:13:41 -07:00
|
|
|
$(srcdir)/../shared/VTsw_usl.c \
|
|
|
|
$(srcdir)/../shared/posix_tty.c \
|
|
|
|
$(srcdir)/../shared/vidmem.c \
|
|
|
|
$(srcdir)/../shared/sigio.c \
|
2007-11-24 10:55:21 -07:00
|
|
|
$(ACPI_SRCS) \
|
|
|
|
$(APM_SRCS) \
|
2015-09-16 13:10:19 -06:00
|
|
|
$(LOGIND_SRCS)
|
2006-11-26 11:13:41 -07:00
|
|
|
|
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
|
|
|
|
2014-05-02 13:27:46 -06:00
|
|
|
AM_CPPFLAGS = $(XORG_INCS) $(PLATFORM_INCLUDES) $(LIBDRM_CFLAGS)
|
2006-11-26 11:13:41 -07:00
|
|
|
|
2007-11-24 10:55:21 -07:00
|
|
|
if LINUX_ALPHA
|
|
|
|
liblinux_la_LIBADD = liblinuxev56.la
|
|
|
|
endif
|