Makefile revision 7c478bd95313f5f23a4c958a745db2134aa03244
bf52162f2d05c1fb1a107c7ef108de73f739b3edpquerna# CDDL HEADER START
2534e869d2ba209bd0c43717ea80992e6de0c51djim# The contents of this file are subject to the terms of the
2534e869d2ba209bd0c43717ea80992e6de0c51djim# Common Development and Distribution License, Version 1.0 only
8e8568ec7d29f056a2a4942d1d50481e441c25d9covener# (the "License"). You may not use this file except in compliance
4ea8055e720d18f386b8026b546e5836ecccba4arjung# with the License.
bec2a2e375fe46599b68399abfcf67b89b270b57wrowe# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
bec2a2e375fe46599b68399abfcf67b89b270b57wrowe# See the License for the specific language governing permissions
bec2a2e375fe46599b68399abfcf67b89b270b57wrowe# and limitations under the License.
bec2a2e375fe46599b68399abfcf67b89b270b57wrowe# When distributing Covered Code, include this CDDL HEADER in each
bec2a2e375fe46599b68399abfcf67b89b270b57wrowe# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
46fdfef7dfc745effe179387e1dcb8245d3804batrawick# If applicable, add the following below this CDDL HEADER, with the
46fdfef7dfc745effe179387e1dcb8245d3804batrawick# fields enclosed by brackets "[]" replaced with your own identifying
46fdfef7dfc745effe179387e1dcb8245d3804batrawick# information: Portions Copyright [yyyy] [name of copyright owner]
46fdfef7dfc745effe179387e1dcb8245d3804batrawick# CDDL HEADER END
46fdfef7dfc745effe179387e1dcb8245d3804batrawick# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
46fdfef7dfc745effe179387e1dcb8245d3804batrawick# Use is subject to license terms.
46fdfef7dfc745effe179387e1dcb8245d3804batrawick#ident "%Z%%M% %I% %E% SMI"
f4845813cd6fa5749dfec8e3bc647b85c1df0980wrowe# This makefile drives the production of the st driver kernel module.
f4845813cd6fa5749dfec8e3bc647b85c1df0980wrowe# sparc architecture dependent
f55c048e33a905f9f771b3aed309373bdf547944jorton# Path to the base of the uts directory tree (usually /usr/src/uts).
cddaaa6378c5082e8dff0d11dc21cf6c4928ecbcjorton# Define the module and object file sets.
a89e2c1651aab7734345fa3a6712a757708535ferjung# Include common rules.
adc9a2e2b2e56a7416c90f949bd0c72ddd6f1793rjung# Define targets
adc9a2e2b2e56a7416c90f949bd0c72ddd6f1793rjungINSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
adc9a2e2b2e56a7416c90f949bd0c72ddd6f1793rjung# lint pass one enforcement
23bc6974af15e69a9aa4b5b3fc06b800b53ca234sf# Default build targets.
1a668f25bc6b4b111822caaba70bb9289d64ade5niq# Include common targets.
7a6c86627922e38fa227943b9f888f96109681e5covener# Defines for local commands.
8068423ee2d80a7c42b2325a71c24ac9485327cecovener# Warlock targets
7703bad94964cc64022e08e2d1ae2c5fbfe2d3c6covener# Note that in warlock_with_{esp,isp} it is important to load st.ll
7703bad94964cc64022e08e2d1ae2c5fbfe2d3c6covener# before {isp,esp}.ll; the reason is that both have _init/_info/_fini
7703bad94964cc64022e08e2d1ae2c5fbfe2d3c6covener# and warlock can only handle one extern function by a given name;
7703bad94964cc64022e08e2d1ae2c5fbfe2d3c6covener# any loaded after the first are ignored.
5a2f24f5e41d52e59e1c11e90cd423b8967d4184trawickwarlock: warlock_alone warlock_with_esp warlock_with_isp warlock_with_fas \
8eac2273e3d5f2dc8464fada76fcfbf33a938a2fcovenerwarlock_with_esp: st_with_esp.wlcmd $(ST_FILES) scsi_files esp_files \
680e7b4c70df00b695883c824947ca6ec15d69ecsfwarlock_with_fas: st_with_fas.wlcmd $(ST_FILES) scsi_files fas_files \
6fee4e2faa2e45fe2636d01e35d03c2cf0c9d431minfrinwarlock_with_isp: st_with_isp.wlcmd $(ST_FILES) scsi_files isp_files \
9fe23388f983cb652b5d68e2bd92aa9f0568c574minfrinwarlock_with_glm: st_with_glm.wlcmd $(ST_FILES) scsi_files glm_files \
46fdfef7dfc745effe179387e1dcb8245d3804batrawickst.ok: st.wlcmd $(ST_FILES) scsi_files warlock_ddi.files
46fdfef7dfc745effe179387e1dcb8245d3804batrawick $(WARLOCK) -c ./st.wlcmd $(ST_FILES) $(SCSI_FILES) \