fa9e4066f08beec538e775443c5be79dd423fcabahrens#
fa9e4066f08beec538e775443c5be79dd423fcabahrens# CDDL HEADER START
fa9e4066f08beec538e775443c5be79dd423fcabahrens#
fa9e4066f08beec538e775443c5be79dd423fcabahrens# The contents of this file are subject to the terms of the
f65e61c04bc28ffd6bda04619c84330b420450b5ahrens# Common Development and Distribution License (the "License").
f65e61c04bc28ffd6bda04619c84330b420450b5ahrens# You may not use this file except in compliance with the License.
fa9e4066f08beec538e775443c5be79dd423fcabahrens#
fa9e4066f08beec538e775443c5be79dd423fcabahrens# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
fa9e4066f08beec538e775443c5be79dd423fcabahrens# or http://www.opensolaris.org/os/licensing.
fa9e4066f08beec538e775443c5be79dd423fcabahrens# See the License for the specific language governing permissions
fa9e4066f08beec538e775443c5be79dd423fcabahrens# and limitations under the License.
fa9e4066f08beec538e775443c5be79dd423fcabahrens#
fa9e4066f08beec538e775443c5be79dd423fcabahrens# When distributing Covered Code, include this CDDL HEADER in each
fa9e4066f08beec538e775443c5be79dd423fcabahrens# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
fa9e4066f08beec538e775443c5be79dd423fcabahrens# If applicable, add the following below this CDDL HEADER, with the
fa9e4066f08beec538e775443c5be79dd423fcabahrens# fields enclosed by brackets "[]" replaced with your own identifying
fa9e4066f08beec538e775443c5be79dd423fcabahrens# information: Portions Copyright [yyyy] [name of copyright owner]
fa9e4066f08beec538e775443c5be79dd423fcabahrens#
fa9e4066f08beec538e775443c5be79dd423fcabahrens# CDDL HEADER END
fa9e4066f08beec538e775443c5be79dd423fcabahrens#
fa9e4066f08beec538e775443c5be79dd423fcabahrens
47cb52daa729f19e298c85a84e8df069365c5232Jeff Bonwick#
bf16b11e8deb633dd6c4296d46e92399d1582df4Matthew Ahrens# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
fa9e4066f08beec538e775443c5be79dd423fcabahrens# Use is subject to license terms.
fa9e4066f08beec538e775443c5be79dd423fcabahrens#
fa9e4066f08beec538e775443c5be79dd423fcabahrens
fa9e4066f08beec538e775443c5be79dd423fcabahrens#
fa9e4066f08beec538e775443c5be79dd423fcabahrens# This makefile drives the production of the envctrltwo driver kernel
fa9e4066f08beec538e775443c5be79dd423fcabahrens# module in the sun4u javelin systems.
fa9e4066f08beec538e775443c5be79dd423fcabahrens#
fa9e4066f08beec538e775443c5be79dd423fcabahrens
fa9e4066f08beec538e775443c5be79dd423fcabahrens#
fa9e4066f08beec538e775443c5be79dd423fcabahrens# Path to the base of the uts directory tree (usually /usr/src/uts).
fa9e4066f08beec538e775443c5be79dd423fcabahrens#
fa9e4066f08beec538e775443c5be79dd423fcabahrensUTSBASE = ../../..
fa9e4066f08beec538e775443c5be79dd423fcabahrens
fa9e4066f08beec538e775443c5be79dd423fcabahrens#
fa9e4066f08beec538e775443c5be79dd423fcabahrens# Define the module and object file sets.
fa9e4066f08beec538e775443c5be79dd423fcabahrens#
fa9e4066f08beec538e775443c5be79dd423fcabahrensMODULE = envctrltwo
fa9e4066f08beec538e775443c5be79dd423fcabahrensOBJECTS = $(ENVCTRLTWO_OBJS:%=$(OBJS_DIR)/%)
fa9e4066f08beec538e775443c5be79dd423fcabahrensLINTS = $(ENVCTRLTWO_OBJS:%.o=$(LINTS_DIR)/%.ln)
fa9e4066f08beec538e775443c5be79dd423fcabahrensROOTMODULE = $(ROOT_JAVELIN_DRV_DIR)/$(MODULE)
de8267e0f723ed2c38ea9def92d465f69a300f56timh
478ed9ada0b6efe1318150a700986aa47e6a926dEric Taylor#
fa9e4066f08beec538e775443c5be79dd423fcabahrens# Include common rules.
ea8dc4b6d2251b437950c0056bc626b311c73c27eschrock#
fa9e4066f08beec538e775443c5be79dd423fcabahrensinclude $(UTSBASE)/sun4u/javelin/Makefile.javelin
fa9e4066f08beec538e775443c5be79dd423fcabahrens
fa9e4066f08beec538e775443c5be79dd423fcabahrens#
f65e61c04bc28ffd6bda04619c84330b420450b5ahrens# Define targets
fa9e4066f08beec538e775443c5be79dd423fcabahrens#
fa9e4066f08beec538e775443c5be79dd423fcabahrensALL_TARGET = $(BINARY)
66328dd3ff7c6b3566c06478698593e061733076ahrensLINT_TARGET = $(MODULE).lint
fa9e4066f08beec538e775443c5be79dd423fcabahrensINSTALL_TARGET = $(BINARY) $(ROOTMODULE)
fa9e4066f08beec538e775443c5be79dd423fcabahrens
fa9e4066f08beec538e775443c5be79dd423fcabahrens#
fa9e4066f08beec538e775443c5be79dd423fcabahrens# lint pass one enforcement
fa9e4066f08beec538e775443c5be79dd423fcabahrens#
fa9e4066f08beec538e775443c5be79dd423fcabahrensCFLAGS += $(CCVERBOSE)
fa9e4066f08beec538e775443c5be79dd423fcabahrensCERRWARN += -_gcc=-Wno-parentheses
fa9e4066f08beec538e775443c5be79dd423fcabahrensCERRWARN += -_gcc=-Wno-uninitialized
fa9e4066f08beec538e775443c5be79dd423fcabahrens
5ad820458efd0fdb914baff9c1447c22b819fa23nd#
f65e61c04bc28ffd6bda04619c84330b420450b5ahrens# Turn on doubleword alignment for 64 bit registers
5ad820458efd0fdb914baff9c1447c22b819fa23nd#
fa9e4066f08beec538e775443c5be79dd423fcabahrensCFLAGS += -dalign
f65e61c04bc28ffd6bda04619c84330b420450b5ahrens
fa9e4066f08beec538e775443c5be79dd423fcabahrensLDFLAGS += -dy -Ndrv/pcipsy
fa9e4066f08beec538e775443c5be79dd423fcabahrens
fa9e4066f08beec538e775443c5be79dd423fcabahrens#
fa9e4066f08beec538e775443c5be79dd423fcabahrens# Default build targets.
b24ab6762772a3f6a89393947930c7fa61306783Jeff Bonwick#
fa9e4066f08beec538e775443c5be79dd423fcabahrens.KEEP_STATE:
fa9e4066f08beec538e775443c5be79dd423fcabahrens
fa9e4066f08beec538e775443c5be79dd423fcabahrensdef: $(DEF_DEPS)
fa9e4066f08beec538e775443c5be79dd423fcabahrens
fa9e4066f08beec538e775443c5be79dd423fcabahrensall: $(ALL_DEPS)
fa9e4066f08beec538e775443c5be79dd423fcabahrens
fa9e4066f08beec538e775443c5be79dd423fcabahrensclean: $(CLEAN_DEPS)
fa9e4066f08beec538e775443c5be79dd423fcabahrens
fa9e4066f08beec538e775443c5be79dd423fcabahrensclobber: $(CLOBBER_DEPS)
fa9e4066f08beec538e775443c5be79dd423fcabahrens
455d5089097abbf7ee4538a03c4df823497b6e68ahrenslint: $(LINT_DEPS)
fa9e4066f08beec538e775443c5be79dd423fcabahrens
fa9e4066f08beec538e775443c5be79dd423fcabahrensmodlintlib: $(MODLINTLIB_DEPS)
bf16b11e8deb633dd6c4296d46e92399d1582df4Matthew Ahrens
fa9e4066f08beec538e775443c5be79dd423fcabahrensclean.lint: $(CLEAN_LINT_DEPS)
fa9e4066f08beec538e775443c5be79dd423fcabahrens
fa9e4066f08beec538e775443c5be79dd423fcabahrensinstall: $(INSTALL_DEPS)
fa9e4066f08beec538e775443c5be79dd423fcabahrens
fa9e4066f08beec538e775443c5be79dd423fcabahrensLINT_LIB_DIR = $(JAVELIN_LINT_LIB_DIR)
fa9e4066f08beec538e775443c5be79dd423fcabahrens
f65e61c04bc28ffd6bda04619c84330b420450b5ahrens#
fa9e4066f08beec538e775443c5be79dd423fcabahrens# Include common targets.
fa9e4066f08beec538e775443c5be79dd423fcabahrens#
fa9e4066f08beec538e775443c5be79dd423fcabahrensinclude $(UTSBASE)/sun4u/javelin/Makefile.targ
f65e61c04bc28ffd6bda04619c84330b420450b5ahrens