Makefile revision 96bc9d7a9978f45051fffdf4d2a2159a439ee583
5835c306f653aa74c80f79f84a32451fe0ba37c0vboxsync# CDDL HEADER START
5835c306f653aa74c80f79f84a32451fe0ba37c0vboxsync# The contents of this file are subject to the terms of the
5835c306f653aa74c80f79f84a32451fe0ba37c0vboxsync# Common Development and Distribution License (the "License").
e6e8fc31be238a3370495a3e4fb69dbf41cfffb9vboxsync# You may not use this file except in compliance with the License.
5835c306f653aa74c80f79f84a32451fe0ba37c0vboxsync# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
5835c306f653aa74c80f79f84a32451fe0ba37c0vboxsync# See the License for the specific language governing permissions
5835c306f653aa74c80f79f84a32451fe0ba37c0vboxsync# and limitations under the License.
5835c306f653aa74c80f79f84a32451fe0ba37c0vboxsync# When distributing Covered Code, include this CDDL HEADER in each
5835c306f653aa74c80f79f84a32451fe0ba37c0vboxsync# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
5835c306f653aa74c80f79f84a32451fe0ba37c0vboxsync# If applicable, add the following below this CDDL HEADER, with the
5835c306f653aa74c80f79f84a32451fe0ba37c0vboxsync# fields enclosed by brackets "[]" replaced with your own identifying
5835c306f653aa74c80f79f84a32451fe0ba37c0vboxsync# information: Portions Copyright [yyyy] [name of copyright owner]
5835c306f653aa74c80f79f84a32451fe0ba37c0vboxsync# CDDL HEADER END
5835c306f653aa74c80f79f84a32451fe0ba37c0vboxsync# Copyright 2008 Sun Microsystems, Inc. All rights reserved.
5835c306f653aa74c80f79f84a32451fe0ba37c0vboxsync# Use is subject to license terms.
5835c306f653aa74c80f79f84a32451fe0ba37c0vboxsync# Makefile for system source
5835c306f653aa74c80f79f84a32451fe0ba37c0vboxsync# include global definitions
5835c306f653aa74c80f79f84a32451fe0ba37c0vboxsync# the Targetdirs file is the AT&T target.dirs file in a makefile format.
5835c306f653aa74c80f79f84a32451fe0ba37c0vboxsync# it defines TARGETDIRS and ROOTDIRS.
5835c306f653aa74c80f79f84a32451fe0ba37c0vboxsync# sparc needs to build both stand and psm, in that order
5835c306f653aa74c80f79f84a32451fe0ba37c0vboxsync# x86 needs to build psm and GRUB
e6e8fc31be238a3370495a3e4fb69dbf41cfffb9vboxsync# UCB headers are bug-for-bug compatible and not checkable against the header
e6e8fc31be238a3370495a3e4fb69dbf41cfffb9vboxsync# standards.
5835c306f653aa74c80f79f84a32451fe0ba37c0vboxsync# Headers that can be built in parallel
5835c306f653aa74c80f79f84a32451fe0ba37c0vboxsyncPARALLEL_HEADERS = sysheaders userheaders libheaders ucbheaders cmdheaders
5835c306f653aa74c80f79f84a32451fe0ba37c0vboxsync# Directories that can be built in parallel
5835c306f653aa74c80f79f84a32451fe0ba37c0vboxsync# The check target also causes smf(5) service manifests to be validated.
5835c306f653aa74c80f79f84a32451fe0ba37c0vboxsync# Note: install only builds the all target for the pkgdefs
5835c306f653aa74c80f79f84a32451fe0ba37c0vboxsync# directory. We are not yet ready to have an install
5835c306f653aa74c80f79f84a32451fe0ba37c0vboxsync# build create 'packages' also. To build packages
5835c306f653aa74c80f79f84a32451fe0ba37c0vboxsync# cd pkgdefs and do a 'make install'
5835c306f653aa74c80f79f84a32451fe0ba37c0vboxsyncall: mapfiles closedbins sgs .WAIT $(SUBDIRS) pkg_all
5835c306f653aa74c80f79f84a32451fe0ba37c0vboxsyncinstall: mapfiles closedbins sgs .WAIT $(SUBDIRS) pkg_all .WAIT _msg
5835c306f653aa74c80f79f84a32451fe0ba37c0vboxsync# for a complete build from scratch
if [ ! -d "$$CLOSED_ROOT" ]; then \
"present in $$ON_CLOSED_BINS."; \
(cd $$CLOSED_ROOT; tar cf - .) | \
# headers, tools and generated mapfiles. For open-only builds (i.e.: source
$(INS.dir)
$(XREF) -f -x $@
FRC:
if [ -z "$$__COMPILER" ]; then \
if [ -z "$$__COMPILER" ]; then \