Makefile revision bb25c06cca41ca78e5fb87fbb8e81d55beb18c95
826N/A#
826N/A# CDDL HEADER START
826N/A#
826N/A# The contents of this file are subject to the terms of the
826N/A# Common Development and Distribution License (the "License").
826N/A# You may not use this file except in compliance with the License.
826N/A#
826N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
826N/A# or http://www.opensolaris.org/os/licensing.
826N/A# See the License for the specific language governing permissions
826N/A# and limitations under the License.
826N/A#
826N/A# When distributing Covered Code, include this CDDL HEADER in each
826N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
826N/A# If applicable, add the following below this CDDL HEADER, with the
826N/A# fields enclosed by brackets "[]" replaced with your own identifying
826N/A# information: Portions Copyright [yyyy] [name of copyright owner]
826N/A#
873N/A# CDDL HEADER END
826N/A#
826N/A
826N/A#
826N/A# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
826N/A# Use is subject to license terms.
3231N/A#
826N/A# ident "%Z%%M% %I% %E% SMI"
826N/A#
826N/A
826N/A#
961N/A# Path to the base of the uts directory tree (usually /usr/src/uts).
961N/A#
961N/AUTSBASE = ../..
961N/A
826N/A#
961N/A# Define the module and object file sets.
961N/A#
961N/AMODULE = dr_cpu
826N/AOBJECTS = $(DR_CPU_OBJS:%=$(OBJS_DIR)/%)
961N/ALINTS = $(DR_CPU_OBJS:%.o=$(LINTS_DIR)/%.ln)
961N/AROOTMODULE = $(ROOT_PSM_MISC_DIR)/$(MODULE)
961N/A
961N/A#
961N/A# Include common rules.
961N/A#
961N/Ainclude $(UTSBASE)/sun4v/Makefile.sun4v
961N/A
1878N/A#
1878N/A# Define targets
1878N/A#
1878N/AALL_TARGET = $(BINARY)
1878N/ALINT_TARGET = $(MODULE).lint
1878N/AINSTALL_TARGET = $(BINARY) $(ROOTMODULE)
1878N/A
1878N/A#
1878N/A# lint pass one enforcement
1878N/A#
961N/ACFLAGS += $(CCVERBOSE)
961N/A
961N/A#
826N/A# Turn on doubleword alignment for 64 bit registers
961N/A#
961N/ACFLAGS += -dalign
961N/A
961N/A#
961N/A# Module Dependencies
961N/A#
961N/ALDFLAGS += -dy -Nmisc/ds -Ndrv/drctl
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.
826N/A#
826N/ALINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
826N/ALINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
961N/A
961N/A#
961N/A# Default build targets.
961N/A#
961N/A.KEEP_STATE:
961N/A
961N/Adef: $(DEF_DEPS)
826N/A
826N/Aall: $(ALL_DEPS)
826N/A
961N/Aclean: $(CLEAN_DEPS)
961N/A
961N/Aclobber: $(CLOBBER_DEPS)
826N/A
826N/Alint: $(LINT_DEPS)
826N/A
826N/Amodlintlib: $(MODLINTLIB_DEPS)
826N/A
826N/Aclean.lint: $(CLEAN_LINT_DEPS)
826N/A
826N/Ainstall: $(INSTALL_DEPS)
826N/A
961N/A#
826N/A# Include common targets.
826N/A#
961N/Ainclude $(UTSBASE)/$(PLATFORM)/Makefile.targ
961N/A