Makefile revision 1cb6af97c6f66f456d4f726ef056e1ebc0f73305
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# CDDL HEADER START
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# The contents of this file are subject to the terms of the
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# Common Development and Distribution License, Version 1.0 only
70953fb44a7140fe206c3a5f011e24209c8c5c6abnicholes# (the "License"). You may not use this file except in compliance
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# with the License.
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# See the License for the specific language governing permissions
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# and limitations under the License.
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# When distributing Covered Code, include this CDDL HEADER in each
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# If applicable, add the following below this CDDL HEADER, with the
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# fields enclosed by brackets "[]" replaced with your own identifying
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# information: Portions Copyright [yyyy] [name of copyright owner]
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# CDDL HEADER END
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# Use is subject to license terms.
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes#pragma ident "%Z%%M% %I% %E% SMI"
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# This makefile drives the production of the sun4u schumacher platform
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# sun4u implementation architecture dependent
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# Path to the base of the uts directory tree (usually /usr/src/uts).
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# Include common rules.
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesinclude $(UTSBASE)/sun4u/schumacher/Makefile.schumacher
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# Default build targets.
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesdef all clean clean.lint clobber: $(SCHUMACHER_KMODS)
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# EXPORT DELETE START
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# aes256 is delivered in the SUNWcryr package which is removed from
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# the EXPORT_SRC build.
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# EXPORT DELETE END
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# The 'lint.platmod' target lints the schumacher platform module against the sun4u
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# kernel. This ends up doing all the kernel cross-checks, so it takes a couple
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# of minutes.
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes @-$(ECHO) "\nSchumacher Platform-dependent module: global crosschecks:"
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes @-$(LINT) $(LINTFLAGS) $(LINT_LIBS) 2>&1 | $(LGREP.2)
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes$(SCHUMACHER_CRYPTO_LINKS): $(ROOT_SCHUMACHER_CRYPTO_DIR_64)
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes $(SYMLINK) $(ROOT_US3_CRYPTO_LINK)/$@ $(ROOT_SCHUMACHER_CRYPTO_DIR_64)/$@
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# EXPORT DELETE START
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes sed -e "/^# EXPORT DELETE START/,/^# EXPORT DELETE END/d" \
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# EXPORT DELETE END
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# Include common targets.