Makefile revision 7014882c6a3672fd0e5d60200af8643ae53c5928
712b976a0633806b7140b17354a9398300f616b9Mark Andrews# CDDL HEADER START
712b976a0633806b7140b17354a9398300f616b9Mark Andrews# The contents of this file are subject to the terms of the
f0835301386ff7026fd0097198d4b42f2f8d0867Mark Andrews# Common Development and Distribution License (the "License").
f0835301386ff7026fd0097198d4b42f2f8d0867Mark Andrews# You may not use this file except in compliance with the License.
f0835301386ff7026fd0097198d4b42f2f8d0867Mark Andrews# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
cb933b69ff357100768d0b33b88e4ee986b128f2Evan Hunt# See the License for the specific language governing permissions
cb933b69ff357100768d0b33b88e4ee986b128f2Evan Hunt# and limitations under the License.
f1f39b7e07b2665073d976c4d27e30988552b873Tatuya JINMEI 神明達哉# When distributing Covered Code, include this CDDL HEADER in each
f1f39b7e07b2665073d976c4d27e30988552b873Tatuya JINMEI 神明達哉# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
f1f39b7e07b2665073d976c4d27e30988552b873Tatuya JINMEI 神明達哉# If applicable, add the following below this CDDL HEADER, with the
f1f39b7e07b2665073d976c4d27e30988552b873Tatuya JINMEI 神明達哉# fields enclosed by brackets "[]" replaced with your own identifying
f1f39b7e07b2665073d976c4d27e30988552b873Tatuya JINMEI 神明達哉# information: Portions Copyright [yyyy] [name of copyright owner]
86dcc4005887f91d23d970d4574a8f6afa7e28d2Evan Hunt# CDDL HEADER END
86dcc4005887f91d23d970d4574a8f6afa7e28d2Evan Hunt# Copyright 2007 Sun Microsystems, Inc. All rights reserved.
86dcc4005887f91d23d970d4574a8f6afa7e28d2Evan Hunt# Use is subject to license terms.
bf9b852c3eaf2c9847f926751b57a06f1ae3d72aEvan Hunt# This makefile drives the production of the
bf9b852c3eaf2c9847f926751b57a06f1ae3d72aEvan Hunt# "/kernel/drv/ahci" kernel module.
bf9b852c3eaf2c9847f926751b57a06f1ae3d72aEvan Hunt# sparc architecture dependent
bf9b852c3eaf2c9847f926751b57a06f1ae3d72aEvan Hunt# Path to the base of the uts directory tree (usually /usr/src/uts).
f3792d4bda1273fe82f9d0a13f141923e41d4537Tatuya JINMEI 神明達哉# Define the module and object file sets.
bf13e709db49bb19e0c2e73f0a964fe9d7bea4dfMark AndrewsCONF_SRCDIR = $(UTSBASE)/common/io/sata/adapters/ahci
43888c231579e5b021beeadd7265cda302ea1efeMark Andrews# Include common rules.
0627874ff86b2d5c9d6d90ea9fde8111dc97654bMark Andrews# Define targets
9a56f03c4c63c3729ebfcff9f99b9394c6004a20Mark Andrews# lint pass one enforcement
63af1a646a006867dbd99dc0aa74559d832a420fMark Andrews# Default build targets.
e27d55e3ee06b6edcf625b8920a5c809da7f0b98Mark Andrews# Include common targets.
7d9be933d7f4504cd0355ced1fb7fbd137e455b7Mark Andrews# Defines for local commands.
98744b51112090a3fb7abcf858cb0657c13609ccMark Andrews$(WARLOCK_OK): $(WLCMD_DIR)/ahci.wlcmd $(WARLOCK_OUT) warlock_ddi.files \
8d31dd9ab62d91b5f23ac687657c966d44074a3fMark Andrews $(WARLOCK) -c $(WLCMD_DIR)/ahci.wlcmd $(WARLOCK_OUT) \
dc64df4479df5e7cb3ed1dead21888b5af98f67eMark Andrews%.ll: $(UTSBASE)/common/io/sata/adapters/ahci/%.c
dc64df4479df5e7cb3ed1dead21888b5af98f67eMark Andrews $(WLCC) $(CPPFLAGS) -D DEBUG -D __sparcv9 -o $@ $<