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