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