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