Makefile revision 7014882c6a3672fd0e5d60200af8643ae53c5928
749N/A#
749N/A# CDDL HEADER START
749N/A#
749N/A# The contents of this file are subject to the terms of the
749N/A# Common Development and Distribution License (the "License").
749N/A# You may not use this file except in compliance with the License.
749N/A#
749N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
749N/A# or http://www.opensolaris.org/os/licensing.
749N/A# See the License for the specific language governing permissions
749N/A# and limitations under the License.
749N/A#
749N/A# When distributing Covered Code, include this CDDL HEADER in each
749N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
749N/A# If applicable, add the following below this CDDL HEADER, with the
749N/A# fields enclosed by brackets "[]" replaced with your own identifying
749N/A# information: Portions Copyright [yyyy] [name of copyright owner]
749N/A#
749N/A# CDDL HEADER END
749N/A#
749N/A#
749N/A# Copyright (c) 2008, 2010, Oracle and/or its affiliates. All rights reserved.
749N/A#
749N/A# This makefile drives the production of the iscsit pseudo-driver for
749N/A# COMSTAR.
749N/A
749N/A#
749N/A# Path to the base of the uts directory tree (usually /usr/src/uts).
749N/A#
749N/A
749N/A
749N/AUTSBASE = ../..
749N/A
749N/AARCHDIR:sh = cd ..; basename `pwd`
749N/A
749N/A#
749N/A# Define the module and object file sets.
749N/A#
749N/AMODULE = iscsit
749N/AOBJECTS = $(ISCSIT_OBJS:%=$(OBJS_DIR)/%)
749N/ALINTS = $(ISCSIT_OBJS:%.o=$(LINTS_DIR)/%.ln)
749N/AROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
749N/ACONF_SRCDIR = $(UTSBASE)/common/io/comstar/port/iscsit
749N/A
749N/A#
749N/A# Include common rules.
749N/A#
749N/Ainclude ../Makefile.$(ARCHDIR)
749N/A
749N/A#
749N/A# Define targets
749N/A#
749N/AALL_TARGET = $(BINARY) $(SRC_CONFILE)
749N/ALINT_TARGET = $(MODULE).lint
749N/AINSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
749N/A
749N/A#
749N/A# Overrides and depends_on
749N/A#
749N/AMODSTUBS_DIR = $(OBJS_DIR)
749N/ALDFLAGS += -dy -Ndrv/stmf -Nmisc/idm -Nfs/sockfs -Nmisc/md5 -Nmisc/ksocket
749N/A
749N/AC99MODE= -xc99=%all
749N/AC99LMODE= -Xc99=%all
749N/A
749N/ACERRWARN += -_gcc=-Wno-switch
749N/ACERRWARN += -_gcc=-Wno-uninitialized
749N/ACERRWARN += -_gcc=-Wno-unused-label
749N/A
749N/A#
749N/A# Default build targets.
749N/A#
749N/A.KEEP_STATE:
749N/A
749N/Adef: $(DEF_DEPS)
749N/A
749N/Aall: $(ALL_DEPS)
749N/A
749N/Aclean: $(CLEAN_DEPS)
749N/A
749N/Aclobber: $(CLOBBER_DEPS)
749N/A
749N/Alint: $(LINT_DEPS)
749N/A
749N/Amodlintlib: $(MODLINTLIB_DEPS)
749N/A
749N/Aclean.lint: $(CLEAN_LINT_DEPS)
749N/A
749N/Ainstall: $(INSTALL_DEPS)
749N/A
749N/A#
749N/A# Include common targets.
749N/A#
749N/Ainclude ../Makefile.targ
749N/A