Makefile revision 147982cb800a90a2ac06d00d9a79ac50b0ca4ddb
961N/A#
961N/A# CDDL HEADER START
961N/A#
961N/A# The contents of this file are subject to the terms of the
961N/A# Common Development and Distribution License (the "License").
961N/A# You may not use this file except in compliance with the License.
961N/A#
961N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
961N/A# or http://www.opensolaris.org/os/licensing.
961N/A# See the License for the specific language governing permissions
961N/A# and limitations under the License.
961N/A#
961N/A# When distributing Covered Code, include this CDDL HEADER in each
961N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
961N/A# If applicable, add the following below this CDDL HEADER, with the
961N/A# fields enclosed by brackets "[]" replaced with your own identifying
961N/A# information: Portions Copyright [yyyy] [name of copyright owner]
961N/A#
961N/A# CDDL HEADER END
961N/A#
961N/A
961N/A#
961N/A# Copyright 2008 Sun Microsystems, Inc. All rights reserved.
961N/A# Use is subject to license terms.
3231N/A#
5385N/A# ident "%Z%%M% %I% %E% SMI"
961N/A#
961N/A# uts/sun4v/bmc/Makefile
961N/A#
5636N/A# This makefile drives the production of the bmc driver module.
961N/A#
961N/A# sun4v implementation architecture dependent
961N/A#
5636N/A
961N/A#
961N/A# Path to the base of the uts directory tree (usually /usr/src/uts).
961N/A#
961N/AUTSBASE = ../..
961N/A
961N/A#
961N/A# Define the module and object file sets.
961N/A#
5636N/AMODULE = bmc
961N/AOBJECTS = $(BMC_OBJS:%=$(OBJS_DIR)/%)
961N/ALINTS = $(BMC_OBJS:%.o=$(LINTS_DIR)/%.ln)
961N/AROOTMODULE = $(ROOT_PSM_DRV_DIR)/$(MODULE)
5385N/ACONF_SRCDIR = $(UTSBASE)/sun4v/io/bmc
1878N/A
961N/A#
1878N/A# Include common rules.
961N/A#
961N/Ainclude $(UTSBASE)/sun4v/Makefile.sun4v
1878N/A
961N/A#
961N/A# Define targets
1878N/A#
961N/AALL_TARGET = $(BINARY) $(CONFMOD)
5636N/ALINT_TARGET = $(MODULE).lint
961N/AINSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
961N/A
961N/ACFLAGS += $(CCVERBOSE)
961N/A
961N/A#
961N/A# For now, disable these lint checks; maintainers should endeavor
961N/A# to investigate and remove these for maximum lint coverage.
961N/A# Please do not carry these forward to new Makefiles.
961N/A#
961N/ALINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
961N/ALINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
961N/ALINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
5385N/A
1878N/A#
1878N/A# Default build targets.
961N/A#
961N/A.KEEP_STATE:
5636N/A
961N/Adef: $(DEF_DEPS)
961N/A
961N/Aall: $(ALL_DEPS)
961N/A
961N/Aclean: $(CLEAN_DEPS)
5636N/A
961N/Aclobber: $(CLOBBER_DEPS)
961N/A
961N/Alint: $(LINT_DEPS)
1878N/A
5636N/Amodlintlib: $(MODLINTLIB_DEPS)
961N/A
961N/Aclean.lint: $(CLEAN_LINT_DEPS)
961N/A
1878N/Ainstall: $(INSTALL_DEPS)
1878N/A
1878N/A#
5636N/A# Include common targets.
961N/A#
1878N/Ainclude $(UTSBASE)/$(PLATFORM)/Makefile.targ
961N/A