Makefile revision 98157a7002f4f2cf7978f3084ca5577f0a1d72b2
2N/A#
2N/A# CDDL HEADER START
2N/A#
2N/A# The contents of this file are subject to the terms of the
2N/A# Common Development and Distribution License (the "License").
2N/A# You may not use this file except in compliance with the License.
2N/A#
2N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
2N/A# or http://www.opensolaris.org/os/licensing.
2N/A# See the License for the specific language governing permissions
2N/A# and limitations under the License.
2N/A#
2N/A# When distributing Covered Code, include this CDDL HEADER in each
2N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
2N/A# If applicable, add the following below this CDDL HEADER, with the
2N/A# fields enclosed by brackets "[]" replaced with your own identifying
2N/A# information: Portions Copyright [yyyy] [name of copyright owner]
2N/A#
2N/A# CDDL HEADER END
2N/A#
2N/A#
2N/A# Copyright 2008 Sun Microsystems, Inc. All rights reserved.
2N/A# Use is subject to license terms.
2N/A#
2N/A#ident "%Z%%M% %I% %E% SMI"
2N/A
2N/Ainclude ../Makefile.master
2N/A
2N/A# Bootstrap problem --
2N/A# 'cw' must be built before anything else can be built.
2N/A
2N/ABOOT_SUBDIRS= \
2N/A cw
2N/A
2N/ACOMMON_SUBDIRS= \
2N/A abi \
2N/A bfuld \
2N/A codereview \
2N/A codesign \
2N/A cscope-fast \
2N/A ctf \
2N/A depcheck \
2N/A env \
2N/A fastfs \
2N/A findunref \
2N/A ndrgen \
2N/A pmodes \
2N/A gk \
2N/A install.bin \
2N/A lintdump \
2N/A protocmp \
2N/A protolist \
2N/A scripts
2N/A
2N/A#
2N/A# special versions of commands for use only in build
2N/A#
2N/AUNSHIPPED_SUBDIRS = \
2N/A elfsign
2N/A
2N/Asparc_SUBDIRS= \
2N/A stabs \
2N/A tokenize
2N/A
2N/Ai386_SUBDIRS= \
2N/A aw \
2N/A elfextract \
2N/A mbh_patch
2N/A
2N/ALINTSUBDIRS= \
2N/A codereview \
2N/A ctf \
2N/A cw \
2N/A findunref \
2N/A lintdump \
2N/A ndrgen \
2N/A protocmp \
2N/A protolist
2N/A
2N/ASUBDIRS= \
2N/A $(BOOT_SUBDIRS) \
2N/A $($(MACH)_SUBDIRS) \
2N/A $(COMMON_SUBDIRS) \
2N/A $(UNSHIPPED_SUBDIRS)
2N/A
2N/A#
2N/A# Packages built here
2N/A#
2N/ACOMMON_PKG_SUBDIRS= \
2N/A SUNWonbld
2N/A
2N/Asparc_PKG_SUBDIRS=
2N/A
2N/Ai386_PKG_SUBDIRS= \
2N/A SUNWmrtools
2N/A
2N/APKG_SUBDIRS= $($(MACH)_PKG_SUBDIRS) $(COMMON_PKG_SUBDIRS)
2N/A
2N/Ainclude Makefile.tools
2N/A
2N/AROOTDIRS= \
2N/A $(ROOTONBLD) \
2N/A $(ROOTONBLD)/bin \
2N/A $(ROOTONBLD)/bin/$(MACH) \
2N/A $(ROOTONBLD)/lib \
2N/A $(ROOTONBLD)/lib/$(MACH) \
2N/A $(ROOTONBLD)/env \
2N/A $(ROOTONBLD)/etc \
2N/A $(ROOTONBLD)/etc/abi \
2N/A $(ROOTONBLD)/gk \
2N/A $(ROOTONBLD)/man \
2N/A $(ROOTONBLD)/man/man1
2N/A
2N/Aall := TARGET= install
2N/Ainstall := TARGET= install
2N/Aclean := TARGET= clean
2N/Aclobber := TARGET= clobber
2N/Alint := TARGET= lint
2N/A_msg := TARGET= _msg
2N/A
2N/A.KEEP_STATE:
2N/A
2N/Aall install: $(SUBDIRS)
2N/A
2N/Aclean: $(SUBDIRS)
2N/A
2N/Aclobber: $(SUBDIRS)
2N/A $(RM) -rf $(TOOLS_PROTO)
2N/A
2N/Apkg: install .WAIT $(PKG_SUBDIRS)
2N/A
2N/Alint: $(LINTSUBDIRS)
2N/A
2N/A_msg: $(MSGSUBDIRS)
2N/A
2N/A.PARALLEL: $(SUBDIRS) $(PKG_SUBDIRS) $(CLOSED_SUBDIRS)
2N/A
2N/A$(SUBDIRS): $(ROOTDIRS) FRC
2N/A @cd $@; pwd; $(MAKE) $(TARGET)
2N/A
2N/A$(PKG_SUBDIRS): FRC
2N/A @cd $@; pwd; $(MAKE) install
2N/A
2N/AFRC:
2N/A
2N/A$(ROOTDIRS):
2N/A $(INS.dir)
2N/A