Makefile revision 8e50dcc9f00b393d43e6aa42b820bcbf1d3e1ce4
341N/A#
341N/A# CDDL HEADER START
341N/A#
341N/A# The contents of this file are subject to the terms of the
341N/A# Common Development and Distribution License (the "License").
341N/A# You may not use this file except in compliance with the License.
341N/A#
341N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
341N/A# or http://www.opensolaris.org/os/licensing.
341N/A# See the License for the specific language governing permissions
341N/A# and limitations under the License.
341N/A#
341N/A# When distributing Covered Code, include this CDDL HEADER in each
341N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
341N/A# If applicable, add the following below this CDDL HEADER, with the
341N/A# fields enclosed by brackets "[]" replaced with your own identifying
341N/A# information: Portions Copyright [yyyy] [name of copyright owner]
341N/A#
341N/A# CDDL HEADER END
341N/A#
341N/A#
341N/A# uts/i86pc/ioat/Makefile
341N/A#
341N/A# Copyright 2008 Sun Microsystems, Inc. All rights reserved.
341N/A# Use is subject to license terms.
341N/A#
341N/A#pragma ident "%Z%%M% %I% %E% SMI"
341N/A#
341N/A# This makefile drives the production of the ioat driver kernel
341N/A# module.
341N/A#
341N/A
422N/A#
341N/A# Path to the base of the uts directory tree (usually /usr/src/uts).
341N/A#
341N/AUTSBASE = ../..
341N/A
341N/A#
341N/A# Define the module and object file sets.
341N/A#
341N/AMODULE = ioat
341N/AOBJECTS = $(IOAT_OBJS:%=$(OBJS_DIR)/%)
341N/ALINTS = $(IOAT_OBJS:%.o=$(LINTS_DIR)/%.ln)
341N/AROOTMODULE = $(ROOT_PSM_DRV_DIR)/$(MODULE)
341N/ACONF_SRCDIR = $(UTSBASE)/i86pc/io/ioat
341N/A
341N/A#
341N/A# Include common rules.
341N/A#
341N/Ainclude $(UTSBASE)/i86pc/Makefile.i86pc
341N/A
341N/A#
341N/A# Define targets
341N/A#
341N/AALL_TARGET = $(BINARY) $(SRC_CONFILE)
341N/ALINT_TARGET = $(MODULE).lint
341N/AINSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
392N/A
396N/ALINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
409N/A
422N/A#
422N/A# Dependency
341N/A#
341N/ALDFLAGS += -dy -Nmisc/dcopy
341N/A
341N/A#
341N/A# Override defaults to build a unique, local modstubs.o.
341N/A#
341N/AMODSTUBS_DIR = $(OBJS_DIR)
341N/ACLEANFILES += $(MODSTUBS_O)
341N/A
341N/A#
341N/A# Default build targets.
341N/A#
341N/A.KEEP_STATE:
341N/A
341N/Adef: $(DEF_DEPS)
341N/A
341N/Aall: $(ALL_DEPS)
341N/A
341N/Aclean: $(CLEAN_DEPS)
341N/A
341N/Aclobber: $(CLOBBER_DEPS)
341N/A
341N/Alint: $(LINT_DEPS)
341N/A
341N/Amodlintlib: $(MODLINTLIB_DEPS)
341N/A
341N/Aclean.lint: $(CLEAN_LINT_DEPS)
341N/A
341N/Ainstall: $(INSTALL_DEPS)
341N/A
341N/A#
341N/A# Include common targets.
341N/A#
341N/Ainclude $(UTSBASE)/i86pc/Makefile.targ
341N/A
341N/A