Makefile.inc revision 705
1570N/A# -*- Makefile -*- rules common to both Xorg & Xvnc builds 1570N/A# Copyright 2009 Sun Microsystems, Inc. All rights reserved. 1570N/A# Use subject to license terms. 1570N/A# Permission is hereby granted, free of charge, to any person obtaining a 1570N/A# copy of this software and associated documentation files (the 1570N/A# "Software"), to deal in the Software without restriction, including 1570N/A# without limitation the rights to use, copy, modify, merge, publish, 1570N/A# distribute, and/or sell copies of the Software, and to permit persons 1570N/A# to whom the Software is furnished to do so, provided that the above 1570N/A# copyright notice(s) and this permission notice appear in all copies of 1570N/A# the Software and that both the above copyright notice(s) and this 1570N/A# permission notice appear in supporting documentation. 1570N/A# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS 1570N/A# OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 1570N/A# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT 1570N/A# OF THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR 1570N/A# HOLDERS INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL 1570N/A# INDIRECT OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING 1570N/A# FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, 1570N/A# NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION 1570N/A# WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 1570N/A# Except as contained in this notice, the name of a copyright holder 1570N/A# shall not be used in advertising or otherwise to promote the sale, use 1570N/A# or other dealings in this Software without prior written authorization 1570N/A# @(#)Makefile.inc 1.12 09/05/15 1570N/A### Include common definitions 1570N/Ainclude $(TOP)/common/Makefile.init 1570N/A# Xorg server source tarball to use sources from 1570N/A# Patches shared between Xorg & Xvnc builds 1570N/AXORG_SOURCE_PATCHES:sh=cat -s ../xorg/patch-list ../xorg/closed-src/patch-list | sed '/^\#/ d' 1570N/AXSERVER_FONTDIR=$(X11_DIR)/lib/X11/fonts 1570N/AMESA_SRC_DIR=$(TOP)/lib/mesa/$(BUILD_DIR)/Mesa-7.2 1570N/ASERVER_MODULES_DIR='$(X11_SERVERMODS_DIR)$(SERVERMOD_subdir)' 1570N/ADRI_MODULES_DIR='$(X11_SERVERMODS_DIR)/dri$(SERVERMOD_subdir)' 1570N/A# Command line options to GNU autoconf configure script for xorg-server 1570N/AXSERVER_CONFIG_OPTS_COMMON = \ 1570N/AXSERVER_CONFIG_OPTS_sparc=$(XSERVER_CONFIG_OPTS_COMMON) \ 1570N/AXSERVER_CONFIG_OPTS_i386=$(XSERVER_CONFIG_OPTS_COMMON) \ 1570N/AXSERVER_CONFIG_OPTS=$(XSERVER_CONFIG_OPTS_$(MACH)) 1570N/A# Default DPMS settings for Solaris 1570N/ADPMS_DEFINES= -DDEFAULT_STANDBY_TIME=900000 \ 1570N/AMODTYPE_CPPFLAGS_suncc= # No extra flags needed MODTYPE_CPPFLAGS_gcc= # No extra flags needed XSERVER_LDFLAGS_suncc= # No extra flags needed XSERVER_LDFLAGS_gcc= -L/usr/sfw/lib$(ARCHLIBSUBDIR) \ # Environment variable options to GNU autoconf configure script # - XSERVERCFLAGS_CFLAGS - force CFLAGS to avoid -I /usr/X11/include breaking # use of headers from proto area # - PATH - include /usr/sbin for dtrace command (needed for building probes) XSERVERCFLAGS_CFLAGS=
"-DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -DXTHREADS -DXUSE_MTSAFE_API" \
# 64-bit X servers on SPARC crash on startup when built with Sun Studio # with -g unless -xmemalign=8i is also used (Sun bug #6545113) MODTYPE_DEBUG_FLAGS_sparc_suncc = -xmemalign=8i MODTYPE_DEBUG_FLAGS=$(MODTYPE_DEBUG_FLAGS_$(MACH)_$(MODULE_COMPILER)) -DDEBUG MODTYPE_CFLAGS=$(PROG_CFLAGS) MODTYPE_CXXFLAGS=$(PROG_CXXFLAGS) MODTYPE_LDFLAGS=$(PROG_LDFLAGS) $(XSERVER_LDFLAGS_$(MODULE_COMPILER)) \ MODTYPE_BUILD_32_FLAGS=ARCHBINSUBDIR="$(SUBDIR32)" MODTYPE_BUILD_64_FLAGS_sparc=ARCHBINSUBDIR="" MODTYPE_BUILD_64_FLAGS_i386=ARCHBINSUBDIR="$(SUBDIR64)" MODTYPE_BUILD_64_FLAGS=$(MODTYPE_BUILD_64_FLAGS_$(MACH)) # Environment variable options to use when building # - PATH - include /usr/sbin for dtrace command (needed for building probes) MODTYPE_BUILD_ENV= PATH=$(PATH):/usr/sbin \ ### Include common rulesets include $(TOP)/common/Makefile.inc