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