Makefile revision 56deab0745753336570f5c63c3b5fa565eaab8f1
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein# CDDL HEADER START
f202f2587b9ba4753afba49b796f599cc12b4d0fAndreas Gustafsson# The contents of this file are subject to the terms of the
f5d30e2864e048a42c4dc1134993ae7efdb5d6c3Mark Andrews# Common Development and Distribution License (the "License").
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews# You may not use this file except in compliance with the License.
f202f2587b9ba4753afba49b796f599cc12b4d0fAndreas Gustafsson# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
f202f2587b9ba4753afba49b796f599cc12b4d0fAndreas Gustafsson# or http://www.opensolaris.org/os/licensing.
f202f2587b9ba4753afba49b796f599cc12b4d0fAndreas Gustafsson# See the License for the specific language governing permissions
f202f2587b9ba4753afba49b796f599cc12b4d0fAndreas Gustafsson# and limitations under the License.
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews# When distributing Covered Code, include this CDDL HEADER in each
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews# If applicable, add the following below this CDDL HEADER, with the
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews# fields enclosed by brackets "[]" replaced with your own identifying
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews# information: Portions Copyright [yyyy] [name of copyright owner]
f202f2587b9ba4753afba49b796f599cc12b4d0fAndreas Gustafsson# CDDL HEADER END
f202f2587b9ba4753afba49b796f599cc12b4d0fAndreas Gustafsson# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein# Use is subject to license terms.
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein then echo "sparc sparcv9"; \
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein then echo "i386 amd64"; \
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein else echo "unknown"; \
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein# Package dirs are directories which specifically
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein# have a 'package' target. This target is used to key
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein# off of whether a system build is performed
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein# or a SUNWonld build.
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein# invoke `package' to build this package from scratch. It will
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein# perform make install in the directories that contains components
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein# that this package is dependent upon
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein @/bin/time $(MAKE) package_build 2>&1 | tee $(BUILDLOG)
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein @ echo "===BUILD COMPLETED checking for warnings...==="
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein @ grep -i "warning:" $(BUILDLOG) | grep -v PSTAMP | cat
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein @ echo "==================done========================="
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austeinpackage_build: package_dep .WAIT package_chkmsg .WAIT install
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austeinpackage_dep: package_dep_ .WAIT $(SUBDIRS1) .WAIT \
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein @ cd ../tools; pwd; $(MAKE) proto && ./proto $(RELEASE)
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein @ cd $(SRC)/common/mapfiles/gen ; pwd; $(MAKE) install
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein @ cd ../tools/$(MACH); pwd; $(MAKE) sgsmsg piglatin