Makefile revision 7c478bd95313f5f23a4c958a745db2134aa03244
4edb61f8b0f8ce9f62d803c706612376498672b4al_xipe#
4edb61f8b0f8ce9f62d803c706612376498672b4al_xipe# CDDL HEADER START
4edb61f8b0f8ce9f62d803c706612376498672b4al_xipe#
4edb61f8b0f8ce9f62d803c706612376498672b4al_xipe# The contents of this file are subject to the terms of the
4edb61f8b0f8ce9f62d803c706612376498672b4al_xipe# Common Development and Distribution License, Version 1.0 only
4edb61f8b0f8ce9f62d803c706612376498672b4al_xipe# (the "License"). You may not use this file except in compliance
4edb61f8b0f8ce9f62d803c706612376498672b4al_xipe# with the License.
4edb61f8b0f8ce9f62d803c706612376498672b4al_xipe#
4edb61f8b0f8ce9f62d803c706612376498672b4al_xipe# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
8cf870d281dc8c242f083d14dfef05f24aa5fceeJnRouvignac# or http://www.opensolaris.org/os/licensing.
8cf870d281dc8c242f083d14dfef05f24aa5fceeJnRouvignac# See the License for the specific language governing permissions
4edb61f8b0f8ce9f62d803c706612376498672b4al_xipe# and limitations under the License.
4edb61f8b0f8ce9f62d803c706612376498672b4al_xipe#
4edb61f8b0f8ce9f62d803c706612376498672b4al_xipe# When distributing Covered Code, include this CDDL HEADER in each
4edb61f8b0f8ce9f62d803c706612376498672b4al_xipe# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
8cf870d281dc8c242f083d14dfef05f24aa5fceeJnRouvignac# If applicable, add the following below this CDDL HEADER, with the
8cf870d281dc8c242f083d14dfef05f24aa5fceeJnRouvignac# fields enclosed by brackets "[]" replaced with your own identifying
8cf870d281dc8c242f083d14dfef05f24aa5fceeJnRouvignac# information: Portions Copyright [yyyy] [name of copyright owner]
8cf870d281dc8c242f083d14dfef05f24aa5fceeJnRouvignac#
4edb61f8b0f8ce9f62d803c706612376498672b4al_xipe# CDDL HEADER END
4edb61f8b0f8ce9f62d803c706612376498672b4al_xipe#
4edb61f8b0f8ce9f62d803c706612376498672b4al_xipe#
4edb61f8b0f8ce9f62d803c706612376498672b4al_xipe# uts/i86pc/mscsi/Makefile
4edb61f8b0f8ce9f62d803c706612376498672b4al_xipe#
a3d3ab94806056d2355afea6fe8daac41059b9fbludovicp# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
0f8553e2af5fc49a510ecfcfc93e66d06713f631ludo# Use is subject to license terms.
4edb61f8b0f8ce9f62d803c706612376498672b4al_xipe#
4edb61f8b0f8ce9f62d803c706612376498672b4al_xipe#pragma ident "%Z%%M% %I% %E% SMI"
4edb61f8b0f8ce9f62d803c706612376498672b4al_xipe#
0f8553e2af5fc49a510ecfcfc93e66d06713f631ludo# This makefile drives the production of the mscsi
0f8553e2af5fc49a510ecfcfc93e66d06713f631ludo# bus nexus driver kernel module.
4edb61f8b0f8ce9f62d803c706612376498672b4al_xipe#
27f8adec83293fb8bd3bfa37175322b0ee3bb933jvergara# i86pc architecture dependent
27f8adec83293fb8bd3bfa37175322b0ee3bb933jvergara#
266c5071a91fda6a5159b08ea8d45261228d03d5neil_a_wilson
4edb61f8b0f8ce9f62d803c706612376498672b4al_xipe#
9da44d3de0a7180285a77b7e8d2426a72aca249ejvergara# Path to the base of the uts directory tree (usually /usr/src/uts).
#
UTSBASE = ../..
#
# Define the module and object file sets.
#
MODULE = mscsi
OBJECTS = $(MSCSI_OBJS:%=$(OBJS_DIR)/%)
LINTS = $(MSCSI_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_PSM_DRV_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/i86pc/io
ITU_SRCDIR = $(UTSBASE)/i86pc/io
#
# Include common rules.
#
include $(UTSBASE)/i86pc/Makefile.i86pc
#
# Define targets
#
ALL_TARGET = $(BINARY) $(CONFMOD) $(ITUMOD)
LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) $(ROOT_ITUFILE)
#
# Overrides
#
DEF_BUILDS = $(DEF_BUILDS32)
ALL_BUILDS = $(ALL_BUILDS32)
#
# Override defaults to build a unique, local modstubs.o.
#
CFLAGS += -DSUNDDI
#
# 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)/i86pc/Makefile.targ