Makefile revision d291d9f21e8c0417aec99de243dd48bc400002d0
6fe48fb46e53ffc37542853a1edb74cb481b7d94Automatic Updater# CDDL HEADER START
f536382c59dd492a14667b753816d920f9981f1cTinderbox User# The contents of this file are subject to the terms of the
ab496cc3df1648e9ad992a87c35c2c0870fdc69dTinderbox User# Common Development and Distribution License, Version 1.0 only
7c1468ed500356839a4a222517364e6ce18cb1a2Tinderbox User# (the "License"). You may not use this file except in compliance
c57668a2fbbe558c1bd21652813616f2f517c469Tinderbox User# with the License.
287a6a8f9040dc43560cd69cddf83bfc0f53b76fTinderbox User# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
8de3f14f1c300c3e1ed99084cc03485b42c92bf1Tinderbox User# See the License for the specific language governing permissions
950d203b64f512b85fcc093ee1e9e3e531a1aea3Tinderbox User# and limitations under the License.
dedefc0bdbb4e6e39eeb98aa2fc6883efec2ddb0Mark Andrews# When distributing Covered Code, include this CDDL HEADER in each
e676a596869d8a80a644c99a848afb53d1c5975eMark Andrews# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
e676a596869d8a80a644c99a848afb53d1c5975eMark Andrews# If applicable, add the following below this CDDL HEADER, with the
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews# fields enclosed by brackets "[]" replaced with your own identifying
a7c412f37cc73d0332887a746e81220cbf09dd00Mark Andrews# information: Portions Copyright [yyyy] [name of copyright owner]
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews# CDDL HEADER END
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
9ecb5d33470ebfb3719a1b8d56bcefdf4b27f7b2Tinderbox User# Use is subject to license terms.
9ecb5d33470ebfb3719a1b8d56bcefdf4b27f7b2Tinderbox User#ident "%Z%%M% %I% %E% SMI"
9ecb5d33470ebfb3719a1b8d56bcefdf4b27f7b2Tinderbox User# This makefile drives the production of the st driver kernel module.
9ecb5d33470ebfb3719a1b8d56bcefdf4b27f7b2Tinderbox User# sparc architecture dependent
0eb371ca0dab50ae3462e98794a6126198c52f4bMark Andrews# Path to the base of the uts directory tree (usually /usr/src/uts).
9ecb5d33470ebfb3719a1b8d56bcefdf4b27f7b2Tinderbox User# Define the module and object file sets.
aa9c561961e9d877946ebaa8795fa2be054ab7bfEvan Hunt# Include common rules.
9513a2a6670951f5cf5477fcfec9f933fcaff628Automatic Updater# Define targets
cdfc81e048bd34c1d628380247bda6b80a89e20eAutomatic UpdaterINSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
0eb371ca0dab50ae3462e98794a6126198c52f4bMark Andrews# lint pass one enforcement
16f6050f29b6b0422cee858e609f65e474e70ef2Tinderbox User# Default build targets.
dedefc0bdbb4e6e39eeb98aa2fc6883efec2ddb0Mark Andrews# Include common targets.
e40c4e4c17d4df338e2a7db0f84d8dbb3858964cTinderbox User# Defines for local commands.
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews# Warlock targets
91216cff91b34c9ff6e846dc23f248219cafe660Andreas Gustafsson# Note that in warlock_with_{esp,isp} it is important to load st.ll
9ecb5d33470ebfb3719a1b8d56bcefdf4b27f7b2Tinderbox User# before {isp,esp}.ll; the reason is that both have _init/_info/_fini
0eb371ca0dab50ae3462e98794a6126198c52f4bMark Andrews# and warlock can only handle one extern function by a given name;
9ecb5d33470ebfb3719a1b8d56bcefdf4b27f7b2Tinderbox User# any loaded after the first are ignored.
9ecb5d33470ebfb3719a1b8d56bcefdf4b27f7b2Tinderbox Userwarlock: warlock_alone warlock_with_esp warlock_with_isp warlock_with_fas \
9ecb5d33470ebfb3719a1b8d56bcefdf4b27f7b2Tinderbox Userwarlock_with_esp: st_with_esp.wlcmd $(ST_FILES) scsi_files esp_files \
28a5dd720187fddb16055a0f64b63a7b66f29f64Mark Andrewswarlock_with_fas: st_with_fas.wlcmd $(ST_FILES) scsi_files fas_files \
37d8e0a4455876fe1e4cca511076cc2c5ab9eedeTinderbox Userwarlock_with_isp: st_with_isp.wlcmd $(ST_FILES) scsi_files isp_files \
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrewswarlock_with_glm: st_with_glm.wlcmd $(ST_FILES) scsi_files glm_files \
e40c4e4c17d4df338e2a7db0f84d8dbb3858964cTinderbox Userst.ok: st.wlcmd st.ll st_conf.ll scsi_files warlock_ddi.files