summaryrefslogtreecommitdiff
path: root/hw
diff options
context:
space:
mode:
authorAlan Coopersmith <Alan.Coopersmith@sun.com>2005-07-14 01:00:39 +0000
committerAlan Coopersmith <Alan.Coopersmith@sun.com>2005-07-14 01:00:39 +0000
commit8ea4a1b759eae0279ce619c663f2cd2f6dee8d71 (patch)
tree452d5b5b0d20e57aad91c777f0f2fedc09ee9b87 /hw
parentf07e905553783dc0133015bcbf94d3b6be68b19c (diff)
First pass at Solaris os-support
Diffstat (limited to 'hw')
-rw-r--r--hw/xfree86/os-support/solaris/Makefile.am35
1 files changed, 35 insertions, 0 deletions
diff --git a/hw/xfree86/os-support/solaris/Makefile.am b/hw/xfree86/os-support/solaris/Makefile.am
new file mode 100644
index 000000000..aaa81720f
--- /dev/null
+++ b/hw/xfree86/os-support/solaris/Makefile.am
@@ -0,0 +1,35 @@
+# TODO: Fix VT support for pre-Solaris 8
+#if defined(i386Architecture) && (OSMinorVersion < 8)
+#IO_SRC = $(srcdir)/../sysv/sysv_io.c
+#KBD_SRCS = $(srcdir)/../sysv/sysv_kbd.c $(srcdir)/../shared/std_kbdEv.c
+#VTSW_SRC = $(srcdir)/../shared/VTsw_usl.c
+#else
+IO_SRC = sun_io.c
+KBD_SRCS = sun_kbd.c sun_kbdEv.c
+VTSW_SRC = $(srcdir)/../shared/VTsw_noop.c
+#endif
+
+# TODO: Don't build agpgart on SPARC
+#if defined(i386Architecture) || defined(AMD64Architecture)
+AGP_SRC = sun_agp.c
+#else
+#AGP_SRC = $(srcdir)/../shared/agp_noop.c
+#endif
+
+noinst_LIBRARIES = libsolaris.a
+libsolaris_a_SOURCES = sun_bios.c sun_init.c $(IO_SRC) $(KBD_SRCS) \
+ $(PROWORKS_INOUT_SRC) sun_mouse.c sun_vid.c $(AGP_SRC) \
+ $(srcdir)/../shared/libc_wrapper.c \
+ $(srcdir)/../shared/kmod_noop.c $(srcdir)/../shared/pm_noop.c \
+ $(srcdir)/../shared/posix_tty.c $(srcdir)/../shared/sigiostubs.c \
+ $(srcdir)/../shared/stdPci.c $(srcdir)/../shared/stdResource.c \
+ $(VTSW_SRC)
+
+sdk_HEADERS = agpgart.h
+
+AM_CFLAGS = -DUSESTDRES -DHAVE_SYSV_IPC $(XORG_CFLAGS)
+
+INCLUDES = $(XORG_INCS)
+
+EXTRA_DIST = sun_inout.s solaris-amd64.S solaris-ia32.S solaris-sparcv8plus.S
+