Makefile revision 25cf1a301a396c38e8adf52c15f537b80d2483f7
0c9573129c50b7f9f4ea54e61417c2ed06bb8ebavboxsync# CDDL HEADER START
0c9573129c50b7f9f4ea54e61417c2ed06bb8ebavboxsync# The contents of this file are subject to the terms of the
0c9573129c50b7f9f4ea54e61417c2ed06bb8ebavboxsync# Common Development and Distribution License (the "License").
0c9573129c50b7f9f4ea54e61417c2ed06bb8ebavboxsync# You may not use this file except in compliance with the License.
0c9573129c50b7f9f4ea54e61417c2ed06bb8ebavboxsync# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
0c9573129c50b7f9f4ea54e61417c2ed06bb8ebavboxsync# See the License for the specific language governing permissions
0c9573129c50b7f9f4ea54e61417c2ed06bb8ebavboxsync# and limitations under the License.
0c9573129c50b7f9f4ea54e61417c2ed06bb8ebavboxsync# When distributing Covered Code, include this CDDL HEADER in each
0c9573129c50b7f9f4ea54e61417c2ed06bb8ebavboxsync# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
0c9573129c50b7f9f4ea54e61417c2ed06bb8ebavboxsync# If applicable, add the following below this CDDL HEADER, with the
0c9573129c50b7f9f4ea54e61417c2ed06bb8ebavboxsync# fields enclosed by brackets "[]" replaced with your own identifying
0c9573129c50b7f9f4ea54e61417c2ed06bb8ebavboxsync# information: Portions Copyright [yyyy] [name of copyright owner]
0c9573129c50b7f9f4ea54e61417c2ed06bb8ebavboxsync# CDDL HEADER END
4651430e55b9df9726347e3e3968618e540fe729vboxsync# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
d5bf937d132098565e18a0d1fc408fb777c5e5b6vboxsync# Use is subject to license terms.
0c9573129c50b7f9f4ea54e61417c2ed06bb8ebavboxsync# ident "%Z%%M% %I% %E% SMI"
0c9573129c50b7f9f4ea54e61417c2ed06bb8ebavboxsync# This makefile drives the production of the sun4u opl platform
0c9573129c50b7f9f4ea54e61417c2ed06bb8ebavboxsync# sun4u opl implementation architecture dependent
76f5d3db08b007661ae4af93200838d24683af52vboxsync# Path to the base of the uts directory tree (usually /usr/src/uts).
0c9573129c50b7f9f4ea54e61417c2ed06bb8ebavboxsync# Include common rules.
0c9573129c50b7f9f4ea54e61417c2ed06bb8ebavboxsync# Default build targets.
0c9573129c50b7f9f4ea54e61417c2ed06bb8ebavboxsyncdef all clean clobber clean.lint: genassym unix .WAIT \
231051c77670a4142b7545d51bd2251ae603189dvboxsync# temporary link to the development platform name - remove before ON putback!
0c9573129c50b7f9f4ea54e61417c2ed06bb8ebavboxsync# EXPORT DELETE START
b2a9ade0eaa3c7b26c02cc05f83c352cafb9e03avboxsync# aes256 is delivered in the SUNWcryr package which is removed from
b2a9ade0eaa3c7b26c02cc05f83c352cafb9e03avboxsync# the EXPORT_SRC build.
b2a9ade0eaa3c7b26c02cc05f83c352cafb9e03avboxsync# EXPORT DELETE END
0c9573129c50b7f9f4ea54e61417c2ed06bb8ebavboxsync genassym unix .WAIT $(OPL_CPU_KMODS) $(OPL_KMODS) \
0c9573129c50b7f9f4ea54e61417c2ed06bb8ebavboxsync $(SYMLINK) $(ROOT_US3_CRYPTO_LINK)/$@ $(ROOT_OPL_CRYPTO_DIR_64)/$@
6b9316bfe743cc7d2ee00d925f4ab455bc224e86vboxsync# The 'lint.platmod' target lints the opl platform module against
0c9573129c50b7f9f4ea54e61417c2ed06bb8ebavboxsync# the sun4u kernel. This ends up doing all the kernel cross-checks,
0c9573129c50b7f9f4ea54e61417c2ed06bb8ebavboxsync# so it takes a couple of minutes.
6b9316bfe743cc7d2ee00d925f4ab455bc224e86vboxsync# Due to the low ROI, it's not run by default, but it's a good
6b9316bfe743cc7d2ee00d925f4ab455bc224e86vboxsync# idea to run this if you change os/opl.c.
6b9316bfe743cc7d2ee00d925f4ab455bc224e86vboxsync @-$(ECHO) "\nOpl Platform-dependent module: global crosschecks:"
6b9316bfe743cc7d2ee00d925f4ab455bc224e86vboxsync @-$(LINT) $(LINTFLAGS) $(LINT_LIBS) 2>&1 | $(LGREP.2)
0c9573129c50b7f9f4ea54e61417c2ed06bb8ebavboxsync# EXPORT DELETE START
0c9573129c50b7f9f4ea54e61417c2ed06bb8ebavboxsync $(SED) -e "/^# EXPORT DELETE START/,/^# EXPORT DELETE END/d" \
fbf482cad760a830bc8789ad639162019954ba80vboxsync# EXPORT DELETE END
fbf482cad760a830bc8789ad639162019954ba80vboxsync# Include common targets.