Makefile revision bb25c06cca41ca78e5fb87fbb8e81d55beb18c95
5c51f1241dbbdf2656d0e10011981411ed0c9673Moriah Waterland#
5c51f1241dbbdf2656d0e10011981411ed0c9673Moriah Waterland# CDDL HEADER START
5c51f1241dbbdf2656d0e10011981411ed0c9673Moriah Waterland#
5c51f1241dbbdf2656d0e10011981411ed0c9673Moriah Waterland# The contents of this file are subject to the terms of the
5c51f1241dbbdf2656d0e10011981411ed0c9673Moriah Waterland# Common Development and Distribution License (the "License").
5c51f1241dbbdf2656d0e10011981411ed0c9673Moriah Waterland# You may not use this file except in compliance with the License.
5c51f1241dbbdf2656d0e10011981411ed0c9673Moriah Waterland#
5c51f1241dbbdf2656d0e10011981411ed0c9673Moriah Waterland# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
5c51f1241dbbdf2656d0e10011981411ed0c9673Moriah Waterland# or http://www.opensolaris.org/os/licensing.
5c51f1241dbbdf2656d0e10011981411ed0c9673Moriah Waterland# See the License for the specific language governing permissions
5c51f1241dbbdf2656d0e10011981411ed0c9673Moriah Waterland# and limitations under the License.
5c51f1241dbbdf2656d0e10011981411ed0c9673Moriah Waterland#
5c51f1241dbbdf2656d0e10011981411ed0c9673Moriah Waterland# When distributing Covered Code, include this CDDL HEADER in each
5c51f1241dbbdf2656d0e10011981411ed0c9673Moriah Waterland# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
5c51f1241dbbdf2656d0e10011981411ed0c9673Moriah Waterland# If applicable, add the following below this CDDL HEADER, with the
5c51f1241dbbdf2656d0e10011981411ed0c9673Moriah Waterland# fields enclosed by brackets "[]" replaced with your own identifying
5c51f1241dbbdf2656d0e10011981411ed0c9673Moriah Waterland# information: Portions Copyright [yyyy] [name of copyright owner]
5c51f1241dbbdf2656d0e10011981411ed0c9673Moriah Waterland#
5c51f1241dbbdf2656d0e10011981411ed0c9673Moriah Waterland# CDDL HEADER END
5c51f1241dbbdf2656d0e10011981411ed0c9673Moriah Waterland#
5c51f1241dbbdf2656d0e10011981411ed0c9673Moriah Waterland#
5c51f1241dbbdf2656d0e10011981411ed0c9673Moriah Waterland# uts/sun4u/todds1287/Makefile
5c51f1241dbbdf2656d0e10011981411ed0c9673Moriah Waterland# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
5c51f1241dbbdf2656d0e10011981411ed0c9673Moriah Waterland# Use is subject to license terms.
5c51f1241dbbdf2656d0e10011981411ed0c9673Moriah Waterland#
5c51f1241dbbdf2656d0e10011981411ed0c9673Moriah Waterland#ident "%Z%%M% %I% %E% SMI"
5c51f1241dbbdf2656d0e10011981411ed0c9673Moriah Waterland#
5c51f1241dbbdf2656d0e10011981411ed0c9673Moriah Waterland# This makefile drives the production of todds1287 kernel module.
5c51f1241dbbdf2656d0e10011981411ed0c9673Moriah Waterland#
5c51f1241dbbdf2656d0e10011981411ed0c9673Moriah Waterland# sun4u implementation architecture dependent
5c51f1241dbbdf2656d0e10011981411ed0c9673Moriah Waterland#
5c51f1241dbbdf2656d0e10011981411ed0c9673Moriah Waterland
5c51f1241dbbdf2656d0e10011981411ed0c9673Moriah Waterland#
5c51f1241dbbdf2656d0e10011981411ed0c9673Moriah Waterland# Path to the base of the uts directory tree (usually /usr/src/uts).
5c51f1241dbbdf2656d0e10011981411ed0c9673Moriah Waterland#
5c51f1241dbbdf2656d0e10011981411ed0c9673Moriah WaterlandUTSBASE = ../..
5c51f1241dbbdf2656d0e10011981411ed0c9673Moriah Waterland
5c51f1241dbbdf2656d0e10011981411ed0c9673Moriah Waterland#
5c51f1241dbbdf2656d0e10011981411ed0c9673Moriah Waterland# Define the module and object file sets.
5c51f1241dbbdf2656d0e10011981411ed0c9673Moriah Waterland#
5c51f1241dbbdf2656d0e10011981411ed0c9673Moriah WaterlandMODULE = todds1287
OBJECTS = $(TODDS1287_OBJS:%=$(OBJS_DIR)/%)
LINTS = $(TODDS1287_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_PSM_TOD_DIR)/$(MODULE)
#
# Include common rules.
#
include $(UTSBASE)/sun4u/Makefile.sun4u
#
# Define targets
#
ALL_TARGET = $(BINARY)
LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
# lint pass one enforcement
#
CFLAGS += $(CCVERBOSE)
#
# For now, disable these lint checks; maintainers should endeavor
# to investigate and remove these for maximum lint coverage.
# Please do not carry these forward to new Makefiles.
#
LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
#
# Default build targets.
#
.KEEP_STATE:
def: $(DEF_DEPS)
all: $(ALL_DEPS)
clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
lint: $(LINT_DEPS)
modlintlib: $(MODLINTLIB_DEPS)
clean.lint: $(CLEAN_LINT_DEPS)
install: $(INSTALL_DEPS)
#
# Include common targets.
#
include $(UTSBASE)/sun4u/Makefile.targ