Makefile revision df8bdeb362277e8d95a74d6c097341fe97409948
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 2007 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 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 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) \
$(ROOTONBLD)/lib \
$(ROOTONBLD)/lib/$(MACH) \
$(ROOTONBLD)/env \
$(ROOTONBLD)/etc \
$(ROOTONBLD)/etc/abi \
$(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: $(ROOTDIRS) .WAIT $(SUBDIRS)
clean: $(SUBDIRS)
clobber: $(SUBDIRS)
$(RM) -rf $(TOOLS_PROTO)
pkg: install .WAIT $(PKG_SUBDIRS)
lint: $(LINTSUBDIRS)
_msg: $(MSGSUBDIRS)
$(SUBDIRS): FRC
@cd $@; pwd; $(MAKE) $(TARGET)
$(PKG_SUBDIRS): FRC
@cd $@; pwd; $(MAKE) install
FRC:
$(ROOTDIRS):
$(INS.dir)