Makefile revision d33d82f2b6ab8328bfc542feecd2c3935051f51a
561N/A# The contents of this file are subject to the terms of the 561N/A# Common Development and Distribution License (the "License"). 919N/A# You may not use this file except in compliance with the License. 919N/A# See the License for the specific language governing permissions 919N/A# and limitations under the License. 919N/A# When distributing Covered Code, include this CDDL HEADER in each 919N/A# If applicable, add the following below this CDDL HEADER, with the 919N/A# fields enclosed by brackets "[]" replaced with your own identifying 919N/A# information: Portions Copyright [yyyy] [name of copyright owner] 919N/A# Copyright 2006 Sun Microsystems, Inc. All rights reserved. 561N/A# Use is subject to license terms. 561N/A# ident "%Z%%M% %I% %E% SMI" 561N/A# Makefile for system source 970N/A# include global definitions 561N/A# it defines TARGETDIRS and ROOTDIRS. 911N/A# sparc needs to build both stand and psm, in that order 1356N/A# x86 needs to build psm and GRUB # UCB headers are bug-for-bug compatible and not checkable against the header # The check target also causes smf(5) service manifests to be validated. # 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 $(ECHO) "Error: if closed sources are not present," \
"ON_CLOSED_BINS must point to closed binaries."; \
# librpcsvc has a dependency on headers installed by # userheaders, hence the .WAIT before libheaders. # top-level setup target to setup the development environment # this includes headers and tools. for open-only builds (i.e.: # source trees w/o usr/closed), this also depends on the closedbins # target (above) in order to properly seed the proto area # /var/mail/:saved is a special case because of the colon in the name. # 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. sed -e
"/^# EXPORT DELETE START/,/^# EXPORT DELETE END/d" \
sed -e
"/^# EXPORT DELETE START/,/^# EXPORT DELETE END/d" \
sed -e
"/^# EXPORT DELETE START/,/^# EXPORT DELETE END/d" \
sed -e
"/^# EXPORT DELETE START/,/^# EXPORT DELETE END/d" \
sed -e
"/^# EXPORT DELETE START/,/^# EXPORT DELETE END/d" \
# Targets for reporting compiler versions; nightly uses these. $(EGREP) '^(cw|cc|gcc|primary|shadow)'; \
$(EGREP) '^(cw|cc|gcc|primary|shadow)'; \
@
if [ -x
"$(JAVAC)" ];
then \