Makefile revision d62bc4badc1c1f1549c961cfb8b420e650e1272b
354N/A#
354N/A# CDDL HEADER START
354N/A#
354N/A# The contents of this file are subject to the terms of the
354N/A# Common Development and Distribution License (the "License").
354N/A# You may not use this file except in compliance with the License.
354N/A#
354N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
354N/A# or http://www.opensolaris.org/os/licensing.
354N/A# See the License for the specific language governing permissions
354N/A# and limitations under the License.
354N/A#
354N/A# When distributing Covered Code, include this CDDL HEADER in each
354N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
354N/A# If applicable, add the following below this CDDL HEADER, with the
354N/A# fields enclosed by brackets "[]" replaced with your own identifying
354N/A# information: Portions Copyright [yyyy] [name of copyright owner]
354N/A#
354N/A# CDDL HEADER END
354N/A#
354N/A#
354N/A# uts/intel/strplumb/Makefile
354N/A#
354N/A# Copyright 2008 Sun Microsystems, Inc. All rights reserved.
354N/A# Use is subject to license terms.
354N/A#
354N/A#ident "%Z%%M% %I% %E% SMI"
354N/A#
354N/A# This makefile drives the production of the strplumb
618N/A# kernel module.
354N/A#
354N/A# intel implementation architecture dependent
354N/A#
618N/A
354N/A#
354N/A# Path to the base of the uts directory tree (usually /usr/src/uts).
354N/A#
354N/AUTSBASE = ../..
354N/A
354N/A#
354N/A# Define the module and object file sets.
354N/A#
354N/AMODULE = strplumb
354N/AOBJECTS = $(STRPLUMB_OBJS:%=$(OBJS_DIR)/%)
485N/ALINTS = $(STRPLUMB_OBJS:%.o=$(LINTS_DIR)/%.ln)
354N/AROOTMODULE = $(ROOT_MISC_DIR)/$(MODULE)
354N/A
354N/A#
354N/A# Include common rules.
354N/A#
354N/Ainclude $(UTSBASE)/intel/Makefile.intel
354N/A
354N/A#
354N/A# Define targets
354N/A#
354N/AALL_TARGET = $(BINARY)
354N/ALINT_TARGET = $(MODULE).lint
354N/AINSTALL_TARGET = $(BINARY) $(ROOTMODULE)
354N/A
354N/A#
354N/A# For now, disable these lint checks; maintainers should endeavor
354N/A# to investigate and remove these for maximum lint coverage.
354N/A# Please do not carry these forward to new Makefiles.
#
LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
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)/intel/Makefile.targ