Makefile revision a970c705050f9e90c4b6d7982a9b3211719353fb
883N/A#
883N/A# CDDL HEADER START
883N/A#
883N/A# The contents of this file are subject to the terms of the
883N/A# Common Development and Distribution License (the "License").
883N/A# You may not use this file except in compliance with the License.
883N/A#
883N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
883N/A# or http://www.opensolaris.org/os/licensing.
883N/A# See the License for the specific language governing permissions
883N/A# and limitations under the License.
883N/A#
883N/A# When distributing Covered Code, include this CDDL HEADER in each
883N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
883N/A# If applicable, add the following below this CDDL HEADER, with the
883N/A# fields enclosed by brackets "[]" replaced with your own identifying
883N/A# information: Portions Copyright [yyyy] [name of copyright owner]
883N/A#
883N/A# CDDL HEADER END
883N/A#
883N/A
883N/A#
1574N/A# Copyright (c) 1999, 2010, Oracle and/or its affiliates. All rights reserved.
883N/A#
883N/A
883N/Ainclude ../Makefile.master
883N/A
883N/A# Bootstrap problem --
883N/A# 'cw' must be built before anything else can be built.
883N/A
883N/ABOOT_SUBDIRS= \
883N/A cw
1273N/A
883N/ACOMMON_SUBDIRS= \
883N/A codereview \
883N/A codesign \
883N/A cscope-fast \
883N/A ctf \
883N/A depcheck \
883N/A env \
883N/A findunref \
883N/A ndrgen \
883N/A onbld \
956N/A pmodes \
883N/A gk \
883N/A install.bin \
883N/A lintdump \
883N/A protocmp \
883N/A protolist \
883N/A scripts
883N/A
883N/A#
1574N/A# special versions of commands for use only in build
1574N/A#
1574N/AUNSHIPPED_SUBDIRS = \
883N/A elfsign
883N/A
883N/Asparc_SUBDIRS= \
883N/A chk4ubin \
883N/A stabs \
883N/A tokenize
883N/A
883N/Ai386_SUBDIRS= \
883N/A aw \
883N/A elfextract \
887N/A mbh_patch
887N/A
887N/ALINTSUBDIRS= \
913N/A codereview \
913N/A ctf \
913N/A cw \
913N/A findunref \
883N/A lintdump \
883N/A ndrgen \
883N/A protocmp \
883N/A protolist
SUBDIRS= \
$($(MACH)_SUBDIRS) \
$(COMMON_SUBDIRS) \
$(UNSHIPPED_SUBDIRS)
include Makefile.tools
ROOTDIRS= \
$(ROOTOPT) \
$(ROOTONBLD) \
$(ROOTONBLD)/bin \
$(ROOTONBLD)/bin/$(MACH) \
$(ROOTONBLD)/lib \
$(ROOTONBLD)/lib/$(MACH) \
$(ROOTONBLD)/lib/perl \
$(ROOTONBLD)/lib/python2.4 \
$(ROOTONBLD)/lib/python2.4/onbld \
$(ROOTONBLD)/lib/python2.4/onbld/Checks \
$(ROOTONBLD)/lib/python2.4/onbld/hgext \
$(ROOTONBLD)/lib/python2.4/onbld/Scm \
$(ROOTONBLD)/lib/python2.6 \
$(ROOTONBLD)/lib/python2.6/onbld \
$(ROOTONBLD)/lib/python2.6/onbld/Checks \
$(ROOTONBLD)/lib/python2.6/onbld/hgext \
$(ROOTONBLD)/lib/python2.6/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:
#
# Only create directories in the tools proto area when doing an actual
# build, not a clean or clobber.
#
DOROOTDIRS= $(ROOTDIRS)
clobber:= DOROOTDIRS=
clean:= DOROOTDIRS=
all install: $(SUBDIRS)
clean: $(SUBDIRS)
clobber: $(SUBDIRS)
$(RM) -rf $(TOOLS_PROTO)
lint: $(LINTSUBDIRS)
_msg: $(MSGSUBDIRS)
.PARALLEL: $(SUBDIRS) $(CLOSED_SUBDIRS)
$(SUBDIRS) $(CLOSED_SUBDIRS): $(BOOT_SUBDIRS)
$(BOOT_SUBDIRS) $(SUBDIRS): $$(DOROOTDIRS) $(ROOTONBLDLIBPY) FRC
@cd $@; pwd; $(MAKE) $(TARGET)
$(ROOTDIRS):
$(INS.dir)
$(ROOTONBLDLIBPY): $(ROOTDIRS)
$(RM) -r $@; $(SYMLINK) python2.4 $@
FRC: