Makefile revision fcf3ce441efd61da9bb2884968af01cb7c1452cc
5c80172c5f0d59b9f90a4e9732cc189f231166fcMark Andrews# CDDL HEADER START
65a3f6329735860093004f6b0fe69d6be886417bTinderbox User# The contents of this file are subject to the terms of the
8b82b4982c21dfeb164f04700c7204f6541a7856Evan Hunt# Common Development and Distribution License (the "License").
c40906dfad6dd6e3a3e3c94b8c8847bc9bc064e5Mark Andrews# You may not use this file except in compliance with the License.
c40906dfad6dd6e3a3e3c94b8c8847bc9bc064e5Mark Andrews# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
f9e49fd80e2ac4fce0fef11d330b88ff3693ad99Witold Krecicki# or http://www.opensolaris.org/os/licensing.
f9e49fd80e2ac4fce0fef11d330b88ff3693ad99Witold Krecicki# See the License for the specific language governing permissions
e8c70b0c35c27a28ea2e0cafb252e1774ccc1727Mark Andrews# and limitations under the License.
e8c70b0c35c27a28ea2e0cafb252e1774ccc1727Mark Andrews# When distributing Covered Code, include this CDDL HEADER in each
7204d08a319cf590ae4280b8cc20999320398574Mark Andrews# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
7204d08a319cf590ae4280b8cc20999320398574Mark Andrews# If applicable, add the following below this CDDL HEADER, with the
7204d08a319cf590ae4280b8cc20999320398574Mark Andrews# fields enclosed by brackets "[]" replaced with your own identifying
7204d08a319cf590ae4280b8cc20999320398574Mark Andrews# information: Portions Copyright [yyyy] [name of copyright owner]
6ce5279d0f30c8c760e27baf92bb44b3f4962354Evan Hunt# CDDL HEADER END
f5898cf3484b1588d5239faa4062a2b2b606ce91Evan Hunt# Copyright 2008 Sun Microsystems, Inc. All rights reserved.
f5898cf3484b1588d5239faa4062a2b2b606ce91Evan Hunt# Use is subject to license terms.
f5898cf3484b1588d5239faa4062a2b2b606ce91Evan Hunt# This makefile drives the production of iSCSI initiator Driver
f5898cf3484b1588d5239faa4062a2b2b606ce91Evan Hunt# sparc architecture dependent
c27c710939766a7bb315bde1f12ab18d93c77cc8Mark Andrews# Paths to the base of the uts directory trees
4e9a1ad22618a46dab82eeb2d030190cec0afbc6Mukund Sivaraman# Define the module and object file sets.
c5342425ea5568af04f4b87d5d9690453b21c9f1Mark AndrewsOBJECTS = $(ISCSI_INITIATOR_OBJS:%=$(OBJS_DIR)/%)
c5342425ea5568af04f4b87d5d9690453b21c9f1Mark AndrewsLINTS = $(ISCSI_INITIATOR_OBJS:%.o=$(LINTS_DIR)/%.ln)
b4bbf494183e4158b417d9200297ff0764af2f9dMark AndrewsCONF_SRCDIR = $(UTSBASE)/common/io/scsi/adapters/iscsi
f3a4a5f8db3d9fd352a3e2eb6be779a78da03f52Mark Andrews# Include common rules.
2fb6d3782b548ba678cfb8ff09e0d1e49fafb84dMark Andrews# Define targets.
bc09fd1365d1a48972fa99cd6ed2aa788a28ef33Mark AndrewsINSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
36be0aad8ec241987e1866a547372eb28ee7dc09Mark AndrewsINC_PATH += -I$(UTSBASE)/common/io/scsi/adapters/iscsi
36be0aad8ec241987e1866a547372eb28ee7dc09Mark Andrews# Note dependancy on misc/scsi.
33f91e248b67afa96c5b855ba3ace20b5d89dbd0Mark AndrewsLDFLAGS += -dy -N"misc/scsi" -N"fs/sockfs" -N"sys/doorfs" -N"misc/md5"
33f91e248b67afa96c5b855ba3ace20b5d89dbd0Mark AndrewsLINTFLAGS += -a -erroff=E_BAD_PTR_CAST_ALIGN -erroff=E_PTRDIFF_OVERFLOW
51227d6f16840ae359701b5d56970a5f3860db5aEvan HuntLINTFLAGS64 += -a -erroff=E_BAD_PTR_CAST_ALIGN -erroff=E_PTRDIFF_OVERFLOW
175a8414a785689cb028e6e133385dba9e1b9a95Evan Hunt# Default build targets.
ba340e446906b21925df63b0dec9b299ef093ad2Witold Krecicki# Include common targets.