Makefile revision 24fe0b3bf671e123467ce1df0b67cadd3614c8e4
7ff836697c120cb94bd30d5c2204eb9b74718e4cZhong Wang# CDDL HEADER START
7ff836697c120cb94bd30d5c2204eb9b74718e4cZhong Wang# The contents of this file are subject to the terms of the
7ff836697c120cb94bd30d5c2204eb9b74718e4cZhong Wang# Common Development and Distribution License (the "License").
7ff836697c120cb94bd30d5c2204eb9b74718e4cZhong Wang# You may not use this file except in compliance with the License.
7ff836697c120cb94bd30d5c2204eb9b74718e4cZhong Wang# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
7ff836697c120cb94bd30d5c2204eb9b74718e4cZhong Wang# See the License for the specific language governing permissions
7ff836697c120cb94bd30d5c2204eb9b74718e4cZhong Wang# and limitations under the License.
7ff836697c120cb94bd30d5c2204eb9b74718e4cZhong Wang# When distributing Covered Code, include this CDDL HEADER in each
7ff836697c120cb94bd30d5c2204eb9b74718e4cZhong Wang# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
7ff836697c120cb94bd30d5c2204eb9b74718e4cZhong Wang# If applicable, add the following below this CDDL HEADER, with the
7ff836697c120cb94bd30d5c2204eb9b74718e4cZhong Wang# fields enclosed by brackets "[]" replaced with your own identifying
7ff836697c120cb94bd30d5c2204eb9b74718e4cZhong Wang# information: Portions Copyright [yyyy] [name of copyright owner]
7ff836697c120cb94bd30d5c2204eb9b74718e4cZhong Wang# CDDL HEADER END
7ff836697c120cb94bd30d5c2204eb9b74718e4cZhong Wang# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
7ff836697c120cb94bd30d5c2204eb9b74718e4cZhong Wang# Use is subject to license terms.
7ff836697c120cb94bd30d5c2204eb9b74718e4cZhong Wang# This makefile drives the production of all MonteCarlo system
7ff836697c120cb94bd30d5c2204eb9b74718e4cZhong Wang# dependent modules for the sun4u architecture.
7ff836697c120cb94bd30d5c2204eb9b74718e4cZhong Wang# Path to the base of the uts directory tree (usually /usr/src/uts).
7ff836697c120cb94bd30d5c2204eb9b74718e4cZhong Wang# Include common rules.
7ff836697c120cb94bd30d5c2204eb9b74718e4cZhong Wanginclude $(UTSBASE)/sun4u/montecarlo/Makefile.montecarlo
7ff836697c120cb94bd30d5c2204eb9b74718e4cZhong Wang#lintlib := TARGET= lintlib
7ff836697c120cb94bd30d5c2204eb9b74718e4cZhong Wang# Default build targets.
7ff836697c120cb94bd30d5c2204eb9b74718e4cZhong Wangdef all clean.lint clean clobber modlist: $(MONTECARLO_KMODS)
7ff836697c120cb94bd30d5c2204eb9b74718e4cZhong Wanginstall: $(ROOT_MONTECARLO_DIR) $(USR_MONTECARLO_DIR) \
7ff836697c120cb94bd30d5c2204eb9b74718e4cZhong Wang $(CHMOD) $(CFILEMODE) $(ROOT_MONTECARLO_DRV_DIR)/$@
7ff836697c120cb94bd30d5c2204eb9b74718e4cZhong Wang $(CHMOD) $(CFILEMODE) $(ROOT_MONTECARLO_DRV_DIR)/$@
# The 'lint.platmod' target lints the montecarlo platform module against
# idea to run this if you change os/montecarlo.c.
-L$(MONTECARLO_LINT_LIB_DIR) \
$(CLOSED_LINT_KMODS:%=-l%) \