Makefile revision 694c35faa87b858ecdadfe4fc592615f4eefbb07
0N/A# The contents of this file are subject to the terms of the 0N/A# Common Development and Distribution License (the "License"). 0N/A# You may not use this file except in compliance with the License. 0N/A# See the License for the specific language governing permissions 0N/A# and limitations under the License. 0N/A# When distributing Covered Code, include this CDDL HEADER in each 0N/A# If applicable, add the following below this CDDL HEADER, with the 0N/A# fields enclosed by brackets "[]" replaced with your own identifying 0N/A# information: Portions Copyright [yyyy] [name of copyright owner] 0N/A# Copyright (c) 1989, 2010, Oracle and/or its affiliates. All rights reserved. 0N/A# include global definitions 0N/A# List of architectures to build as part of the standard build. 0N/A# Some of these architectures are built in parallel (see i386_PARALLEL and 0N/A# sparc_PARALLEL). This requires building some parts first before parallel build 0N/A# can start. Platform make files know what should be built as a prerequisite for 0N/A# the parallel build to work. The i386_PREREQ and sparc_PREREQ variables tell 0N/A# which platform directory to enter to start making prerequisite dependencies. 0N/A# For i386 all architectures can be compiled in parallel. 0N/A# For sparc all architectures can be compiled in parallel. 0N/A# Platforms defined in $(MACH)_PARALLEL are built in parallel. DUMMY is placed 0N/A# at the end in case $(MACH)_PARALLEL is empty to prevent everything going in 2546N/A# For build prerequisites we use a special target which is constructed by adding 0N/A# '.prereq' suffix to the $(MACH)_PREREQ. # Rule to build prerequisites. The left part of the pattern will match # The location of the Makefile is determined by strippinng '.prereq' suffix from # the target name. We add '.prereq' suffix to the target passed to the child # Makefile so that it can distinguish prerequisite build from the regular one. # Rule to build architecture files. Build all required prerequisites and then # build the rest (potentially in parallel). echo 'ERROR: $$(PATCH_MAKEUP_TABLE) not set' \
# The following is the list of directories which contain Makefiles with # targets to install header file. The machine independent headers are # installed by invoking the Makefile in the directory containing the # header files. Machine and architecture dependent headers are installed # in turn, is responsible for invoking the Makefiles which install headers. # It is done this way so as not to assume that all of the header files in # These aren't the only headers in closed. But the other directories # are simple enough that they can be driven from the src tree. # Subset of COMMON_HDRDIRS in which at least one header is generated # at runtime (e.g., rpcgen). (This is a partial list; there are # other directories that should be included and do not yet have the # necessary Makefile support. See 6414855.) # ensures that headers made by rpcgen and others are available in uts source # for kernel builds to reference without building install_h @
if [
'$(PATCH_BUILD)' !=
'#' ] ;
then \
# Cross-reference customization: build a cross-reference over all of # the supported architectures. Although there's no correct way to set # the include path (since we don't know what architecture is the one # the user will be interested in), it's historically been set to # mirror the $(XRDIRS) list, and that works kinda sorta okay. # We need to manually prune usr/closed/uts/{i86xpv|sfmmu|i86pc} since