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