Makefile revision 7014882c6a3672fd0e5d60200af8643ae53c5928
25cc5fbba63f84b47e389af749f55abbbde71c8cChristian Maeder# CDDL HEADER START
25cc5fbba63f84b47e389af749f55abbbde71c8cChristian Maeder# The contents of this file are subject to the terms of the
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian Maeder# Common Development and Distribution License (the "License").
43b4c41fbb07705c9df321221ab9cb9832460407Christian Maeder# You may not use this file except in compliance with the License.
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian Maeder# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian Maeder# or http://www.opensolaris.org/os/licensing.
43b4c41fbb07705c9df321221ab9cb9832460407Christian Maeder# See the License for the specific language governing permissions
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian Maeder# and limitations under the License.
f2f9df2e17e70674f0bf426ed1763c973ee4cde0Christian Maeder# When distributing Covered Code, include this CDDL HEADER in each
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian Maeder# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian Maeder# If applicable, add the following below this CDDL HEADER, with the
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian Maeder# fields enclosed by brackets "[]" replaced with your own identifying
a53841f6d6e86ac751c12a33dc8aadf53f59d977Klaus Luettich# information: Portions Copyright [yyyy] [name of copyright owner]
a737caf82de97c1907027c03e4b4509eb492b4b8Christian Maeder# CDDL HEADER END
a737caf82de97c1907027c03e4b4509eb492b4b8Christian Maeder# Copyright 2007 Sun Microsystems, Inc. All rights reserved.
a737caf82de97c1907027c03e4b4509eb492b4b8Christian Maeder# Use is subject to license terms.
a53841f6d6e86ac751c12a33dc8aadf53f59d977Klaus Luettich# Path to the base of the uts directory tree.
3b06e23643a9f65390cb8c1caabe83fa7e87a708Till Mossakowski# Define the module and object file sets.
a53841f6d6e86ac751c12a33dc8aadf53f59d977Klaus LuettichLINTS = $(SCSA1394_OBJS:%.o=$(LINTS_DIR)/%.ln)
ac0bbbcb2774629bb87986e69cf53d3402c5f575Christian Maeder# Include common rules.
e8db9a65830cf71504e33c6f441a67b4d184a3caChristian Maeder# Define targets
3e61f574717499939bd8e0ff538ea9e7b72d4e2dKlaus LuettichLDFLAGS += -dy -Nmisc/scsi -Nmisc/s1394 -Nmisc/sbp2
8ef75f1cc0437656bf622cec5ac9e8ea221da8f2Christian Maeder# For now, disable these lint checks; maintainers should endeavor
404166b9366552e9ec5abb87a37c76ec8a815fb7Klaus Luettich# to investigate and remove these for maximum lint coverage.
63f0e65a37b95621334db9ee4ba0cd9d826f5c0fChristian Maeder# Please do not carry these forward to new Makefiles.
e7757995211bd395dc79d26fe017d99375f7d2a6Christian Maeder# Default build targets.
d3ae0072823e2ef0d41d4431fcc768e66489c20eChristian Maeder# Include common targets.
9e748851c150e1022fb952bab3315e869aaf0214Christian Maeder# Defines for local commands.
9e748851c150e1022fb952bab3315e869aaf0214Christian Maeder# Warlock targets
776a1a086df734581431e6edb4343ed4c8d34d55Christian MaederSBP2_FILES = $(SBP2_OBJS:%.o= -l ../sbp2/%.ll)
63f0e65a37b95621334db9ee4ba0cd9d826f5c0fChristian MaederSCSI_FILES = $(SCSI_OBJS:%.o= -l ../scsi/%.ll)
61fa0ac06ede811c7aad54ec4c4202346727368eChristian MaederCMLB_FILES = $(CMLB_OBJS:%.o=-l ../cmlb/%.ll)
63f0e65a37b95621334db9ee4ba0cd9d826f5c0fChristian Maeder$(WARLOCK_OK): $(WARLOCK_OUT) sbp2.files warlock_ddi.files \
63f0e65a37b95621334db9ee4ba0cd9d826f5c0fChristian Maeder $(WLCMD_DIR)/scsa1394.wlcmd sd.files scsi.files cmlb.files
63f0e65a37b95621334db9ee4ba0cd9d826f5c0fChristian Maeder $(WARLOCK) -c $(WLCMD_DIR)/scsa1394.wlcmd $(WARLOCK_OUT) $(SD_FILES) \
ca074a78b8dcccbb8c419586787882f98d0c6163Christian Maeder%.ll: $(UTSBASE)/common/io/1394/targets/scsa1394/%.c
63f0e65a37b95621334db9ee4ba0cd9d826f5c0fChristian Maeder $(WLCC) $(CPPFLAGS) -DNPROBE -DDEBUG -o $@ $<