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