286N/A#
286N/A# CDDL HEADER START
286N/A#
286N/A# The contents of this file are subject to the terms of the
286N/A# Common Development and Distribution License (the "License").
286N/A# You may not use this file except in compliance with the License.
286N/A#
286N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
286N/A# or http://www.opensolaris.org/os/licensing.
286N/A# See the License for the specific language governing permissions
286N/A# and limitations under the License.
286N/A#
286N/A# When distributing Covered Code, include this CDDL HEADER in each
286N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
286N/A# If applicable, add the following below this CDDL HEADER, with the
286N/A# fields enclosed by brackets "[]" replaced with your own identifying
286N/A# information: Portions Copyright [yyyy] [name of copyright owner]
286N/A#
286N/A# CDDL HEADER END
286N/A#
286N/A#
286N/A# Copyright 2007 Sun Microsystems, Inc. All rights reserved.
286N/A# Use is subject to license terms.
286N/A#
286N/A# ident "%Z%%M% %I% %E% SMI"
286N/A#
286N/A# This makefile drives the production of the ntwdt driver module.
286N/A#
286N/A# sun4v implementation architecture dependent
286N/A#
286N/A
286N/A#
286N/A# Path to the base of the uts directory tree (usually /usr/src/uts).
286N/A#
286N/AUTSBASE = ../..
286N/A
286N/A#
286N/A# Define the module and object file sets.
286N/A#
286N/AMODULE = ntwdt
286N/AOBJECTS = $(NTWDT_OBJS:%=$(OBJS_DIR)/%)
286N/ALINTS = $(NTWDT_OBJS:%.o=$(LINTS_DIR)/%.ln)
286N/AROOTMODULE = $(ROOT_PSM_DRV_DIR)/$(MODULE)
286N/ACONF_SRCDIR = $(UTSBASE)/sun4v/io
286N/A
286N/A#
286N/A# Include common rules.
286N/A#
286N/Ainclude $(UTSBASE)/sun4v/Makefile.sun4v
286N/A
286N/A#
286N/A# Override defaults to build a unique, local modstubs.o.
286N/A#
286N/AMODSTUBS_DIR = $(OBJS_DIR)
286N/A
286N/ACLEANFILES += $(MODSTUBS_O)
286N/A
286N/A#
286N/A# Define targets
286N/A#
286N/AALL_TARGET = $(BINARY) $(SRC_CONFILE)
286N/ALINT_TARGET = $(MODULE).lint
286N/AINSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
286N/A
286N/A#
286N/A# lint pass one enforcement
286N/A#
286N/ACFLAGS += -v
286N/A
286N/A#
286N/A# Default build targets.
286N/A#
286N/A.KEEP_STATE:
286N/A
286N/Adef: $(DEF_DEPS)
286N/A
286N/Aall: $(ALL_DEPS)
286N/A
286N/Aclean: $(CLEAN_DEPS)
286N/A
286N/Aclobber: $(CLOBBER_DEPS)
286N/A
286N/Alint: $(LINT_DEPS)
286N/A
286N/Amodlintlib: $(MODLINTLIB_DEPS)
286N/A
286N/Aclean.lint: $(CLEAN_LINT_DEPS)
286N/A
286N/Ainstall: $(INSTALL_DEPS)
286N/A
286N/A#
286N/A# Include common targets.
286N/A#
286N/Ainclude $(UTSBASE)/$(PLATFORM)/Makefile.targ
286N/A