Makefile revision 7c478bd95313f5f23a4c958a745db2134aa03244
#
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
# Common Development and Distribution License, Version 1.0 only
# (the "License"). You may not use this file except in compliance
# with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# See the License for the specific language governing permissions
# and limitations under the License.
#
# When distributing Covered Code, include this CDDL HEADER in each
# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
# If applicable, add the following below this CDDL HEADER, with the
# fields enclosed by brackets "[]" replaced with your own identifying
# information: Portions Copyright [yyyy] [name of copyright owner]
#
# CDDL HEADER END
#
#
# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
#
# Makefile for system source
#
# include global definitions
#
# the Targetdirs file is the AT&T target.dirs file in a makefile format.
# it defines TARGETDIRS and ROOTDIRS.
#
# sparc needs to build both stand and psm, in that order
# x86 needs to build psm and GRUB
#
# UCB headers are bug-for-bug compatible and not checkable against the header
# standards.
#
# The check target also causes smf(5) service manifests to be validated.
DOMAINS= \
#
# Note: install only builds the all target for the pkgdefs
# directory. We are not yet ready to have an install
# build create 'packages' also. To build packages
# cd pkgdefs and do a 'make install'
#
# for a complete build from scratch
#
# target for building a proto area for reference via the ROOT macro
#
# build all ucb libraries
#
# Base subset of rootproto, excluding ucb libraries
#
# librpcsvc has a dependency on headers installed by
# userheaders, hence the .WAIT before libheaders.
#
#
$(MAKE) -f Makefile.lint
$(INS.dir)
# each xmod target depends on a corresponding MACH-specific pseudotarget
# before doing common xmod work
#
#
# Cross-reference customization: skip all of the subdirectories that
# don't contain actual source code.
#
$(XREF) -f -x $@
FRC:
# EXPORT DELETE START
$(RM) -r $(XMOD_DELETE_FILES)
$(RM) Targetdirs+
sed -e "/^# EXPORT DELETE START/,/^# EXPORT DELETE END/d" \
< Targetdirs > Targetdirs+
sed -e "/^# EXPORT DELETE START/,/^# EXPORT DELETE END/d" \
$(RM) Makefile.master+
sed -e "/^# EXPORT DELETE START/,/^# EXPORT DELETE END/d" \
sed -e "/^# EXPORT DELETE START/,/^# EXPORT DELETE END/d" \
$(RM) Makefile.master+
sed -e "/^# EXPORT DELETE START/,/^# EXPORT DELETE END/d" \
# EXPORT DELETE END
#
# Targets for reporting compiler versions; nightly uses these.
#
else \
exit 1; \
fi
else \
fi
else \
exit 1; \
fi