xenocara/xserver/hw/xfree86/os-support/solaris/Makefile.am

39 lines
1.2 KiB
Makefile
Raw Normal View History

2006-11-26 11:13:41 -07:00
if SOLARIS_USL_CONSOLE
VTSW_SRC = $(srcdir)/../shared/VTsw_usl.c
else
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
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
$(CPP) -P -DINLINE_ASM solaris-@SOLARIS_INOUT_ARCH@.S > $@
2006-11-26 11:13:41 -07:00
noinst_LTLIBRARIES = libsolaris.la
2007-11-24 10:55:21 -07:00
libsolaris_la_SOURCES = sun_bios.c sun_init.c \
sun_mouse.c sun_vid.c sun_bell.c $(AGP_SRC) sun_apm.c \
2006-11-26 11:13:41 -07:00
$(srcdir)/../shared/libc_wrapper.c \
2007-11-24 10:55:21 -07:00
$(srcdir)/../shared/kmod_noop.c \
2006-11-26 11:13:41 -07:00
$(srcdir)/../shared/posix_tty.c $(srcdir)/../shared/sigiostubs.c \
$(srcdir)/../shared/stdPci.c $(srcdir)/../shared/stdResource.c \
$(VTSW_SRC)
nodist_libsolaris_la_SOURCES = $(SOLARIS_INOUT_SRC)
sdk_HEADERS = agpgart.h
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
INCLUDES = $(XORG_INCS)
EXTRA_DIST = solaris-amd64.S solaris-ia32.S solaris-sparcv8plus.S \
apSolaris.shar sun_inout.s