Makefile revision 75ce41a57ff334bd8fe2cb9ed51eea835892f944
0N/A#
2362N/A# CDDL HEADER START
0N/A#
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.
2362N/A#
0N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
2362N/A# or http://www.opensolaris.org/os/licensing.
0N/A# See the License for the specific language governing permissions
0N/A# and limitations under the License.
0N/A#
0N/A# When distributing Covered Code, include this CDDL HEADER in each
0N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
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#
0N/A# CDDL HEADER END
0N/A#
2362N/A
2362N/A#
2362N/A# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
0N/A# Use is subject to license terms.
0N/A#
0N/A
0N/Ainclude ../Makefile.master
0N/A
0N/A# Bootstrap problem --
0N/A# 'cw' must be built before anything else can be built.
0N/A
0N/ABOOT_SUBDIRS= \
0N/A cw
0N/A
0N/ACOMMON_SUBDIRS= \
0N/A bfuld \
0N/A codereview \
0N/A codesign \
0N/A cscope-fast \
0N/A ctf \
0N/A depcheck \
0N/A env \
0N/A fastfs \
0N/A findunref \
0N/A ndrgen \
0N/A onbld \
0N/A pmodes \
0N/A gk \
0N/A install.bin \
0N/A lintdump \
0N/A protocmp \
0N/A protolist \
0N/A scripts
0N/A
0N/A#
0N/A# special versions of commands for use only in build
0N/A#
0N/AUNSHIPPED_SUBDIRS = \
0N/A elfsign
0N/A
0N/Asparc_SUBDIRS= \
0N/A chk4ubin \
0N/A stabs \
0N/A tokenize
0N/A
0N/Ai386_SUBDIRS= \
0N/A aw \
0N/A elfextract \
0N/A mbh_patch
0N/A
0N/ALINTSUBDIRS= \
0N/A codereview \
0N/A ctf \
0N/A cw \
0N/A findunref \
0N/A lintdump \
0N/A ndrgen \
0N/A protocmp \
0N/A protolist
0N/A
0N/ASUBDIRS= \
0N/A $($(MACH)_SUBDIRS) \
0N/A $(COMMON_SUBDIRS) \
0N/A $(UNSHIPPED_SUBDIRS)
0N/A
0N/A#
0N/A# Packages built here
#
PKG_SUBDIRS= SUNWonbld
include Makefile.tools
ROOTDIRS= \
$(ROOTOPT) \
$(ROOTONBLD) \
$(ROOTONBLD)/bin \
$(ROOTONBLD)/bin/$(MACH) \
$(ROOTONBLD)/lib \
$(ROOTONBLD)/lib/$(MACH) \
$(ROOTONBLD)/lib/perl \
$(ROOTONBLD)/lib/python \
$(ROOTONBLD)/lib/python/onbld \
$(ROOTONBLD)/lib/python/onbld/Checks \
$(ROOTONBLD)/lib/python/onbld/hgext \
$(ROOTONBLD)/lib/python/onbld/Scm \
$(ROOTONBLD)/env \
$(ROOTONBLD)/etc \
$(ROOTONBLD)/etc/exception_lists \
$(ROOTONBLD)/gk \
$(ROOTONBLD)/man \
$(ROOTONBLD)/man/man1
all := TARGET= install
install := TARGET= install
clean := TARGET= clean
clobber := TARGET= clobber
lint := TARGET= lint
_msg := TARGET= _msg
.KEEP_STATE:
all install: $(SUBDIRS)
clean: $(SUBDIRS)
clobber: $(SUBDIRS)
$(RM) -rf $(TOOLS_PROTO)
pkg: install .WAIT $(PKG_SUBDIRS)
lint: $(LINTSUBDIRS)
_msg: $(MSGSUBDIRS)
.PARALLEL: $(SUBDIRS) $(PKG_SUBDIRS) $(CLOSED_SUBDIRS)
$(SUBDIRS) $(CLOSED_SUBDIRS): $(BOOT_SUBDIRS)
$(BOOT_SUBDIRS) $(SUBDIRS): $(ROOTDIRS) FRC
@cd $@; pwd; $(MAKE) $(TARGET)
$(PKG_SUBDIRS): FRC
@cd $@; pwd; $(MAKE) install
FRC:
$(ROOTDIRS):
$(INS.dir)