2010-07-27 13:02:24 -06:00
|
|
|
if SOLARIS_VT
|
|
|
|
VTSW_SRC = sun_VTsw.c
|
2006-11-26 11:13:41 -07:00
|
|
|
else
|
|
|
|
VTSW_SRC = $(srcdir)/../shared/VTsw_noop.c
|
|
|
|
endif
|
|
|
|
|
2010-07-27 13:02:24 -06:00
|
|
|
if AGP
|
2006-11-26 11:13:41 -07:00
|
|
|
AGP_SRC = sun_agp.c
|
2010-07-27 13:02:24 -06:00
|
|
|
else
|
|
|
|
AGP_SRC = $(srcdir)/../shared/agp_noop.c
|
|
|
|
endif
|
2006-11-26 11:13:41 -07:00
|
|
|
|
2007-11-24 10:55:21 -07:00
|
|
|
SOLARIS_INOUT_SRC = solaris-@SOLARIS_INOUT_ARCH@.S
|
|
|
|
DISTCLEANFILES = solaris-@SOLARIS_INOUT_ARCH@.il
|
2006-11-26 11:13:41 -07:00
|
|
|
|
2007-11-24 10:55:21 -07:00
|
|
|
solaris-@SOLARIS_INOUT_ARCH@.il: solaris-@SOLARIS_INOUT_ARCH@.S
|
2010-07-27 13:02:24 -06:00
|
|
|
$(CPP) -P -DINLINE_ASM $(srcdir)/solaris-@SOLARIS_INOUT_ARCH@.S > $@
|
2006-11-26 11:13:41 -07:00
|
|
|
|
|
|
|
noinst_LTLIBRARIES = libsolaris.la
|
2009-09-06 13:44:18 -06:00
|
|
|
libsolaris_la_SOURCES = sun_init.c \
|
|
|
|
sun_vid.c sun_bell.c $(AGP_SRC) sun_apm.c \
|
2007-11-24 10:55:21 -07:00
|
|
|
$(srcdir)/../shared/kmod_noop.c \
|
2010-07-27 13:02:24 -06:00
|
|
|
$(srcdir)/../shared/posix_tty.c \
|
|
|
|
$(srcdir)/../shared/sigio.c \
|
2009-09-06 13:44:18 -06:00
|
|
|
$(srcdir)/../shared/vidmem.c \
|
2006-11-26 11:13:41 -07:00
|
|
|
$(VTSW_SRC)
|
|
|
|
nodist_libsolaris_la_SOURCES = $(SOLARIS_INOUT_SRC)
|
|
|
|
|
2010-07-27 13:02:24 -06:00
|
|
|
sdk_HEADERS =
|
2007-11-24 10:55:21 -07:00
|
|
|
nodist_sdk_HEADERS = solaris-@SOLARIS_INOUT_ARCH@.il
|
2006-11-26 11:13:41 -07:00
|
|
|
|
2007-11-24 10:55:21 -07:00
|
|
|
AM_CFLAGS = -DUSESTDRES -DHAVE_SYSV_IPC $(XORG_CFLAGS) $(DIX_CFLAGS)
|
2006-11-26 11:13:41 -07:00
|
|
|
|
2014-05-02 13:27:46 -06:00
|
|
|
AM_CPPFLAGS = $(XORG_INCS)
|
2006-11-26 11:13:41 -07:00
|
|
|
|
|
|
|
EXTRA_DIST = solaris-amd64.S solaris-ia32.S solaris-sparcv8plus.S \
|
|
|
|
apSolaris.shar sun_inout.s
|