Makefile revision 4e942d8cd27c7f8bb80549d7c2564445f19ba4a3
6f834e8d872b867ccae54a7a848e1db3f7857286Eugen Kuksa# CDDL HEADER START
7c7a19761235efff584ee65a1c6dc4aa1735ff64Eugen Kuksa# The contents of this file are subject to the terms of the
7c7a19761235efff584ee65a1c6dc4aa1735ff64Eugen Kuksa# Common Development and Distribution License (the "License").
6f834e8d872b867ccae54a7a848e1db3f7857286Eugen Kuksa# You may not use this file except in compliance with the License.
6f834e8d872b867ccae54a7a848e1db3f7857286Eugen Kuksa# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
7c7a19761235efff584ee65a1c6dc4aa1735ff64Eugen Kuksa# See the License for the specific language governing permissions
7c7a19761235efff584ee65a1c6dc4aa1735ff64Eugen Kuksa# and limitations under the License.
6f834e8d872b867ccae54a7a848e1db3f7857286Eugen Kuksa# When distributing Covered Code, include this CDDL HEADER in each
7c7a19761235efff584ee65a1c6dc4aa1735ff64Eugen Kuksa# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
6f834e8d872b867ccae54a7a848e1db3f7857286Eugen Kuksa# If applicable, add the following below this CDDL HEADER, with the
6f834e8d872b867ccae54a7a848e1db3f7857286Eugen Kuksa# fields enclosed by brackets "[]" replaced with your own identifying
7c7a19761235efff584ee65a1c6dc4aa1735ff64Eugen Kuksa# information: Portions Copyright [yyyy] [name of copyright owner]
6f834e8d872b867ccae54a7a848e1db3f7857286Eugen Kuksa# CDDL HEADER END
6f834e8d872b867ccae54a7a848e1db3f7857286Eugen Kuksa# Copyright 2007 Sun Microsystems, Inc. All rights reserved.
7c7a19761235efff584ee65a1c6dc4aa1735ff64Eugen Kuksa# Use is subject to license terms.
6f834e8d872b867ccae54a7a848e1db3f7857286Eugen Kuksa# ident "%Z%%M% %I% %E% SMI"
6f834e8d872b867ccae54a7a848e1db3f7857286Eugen Kuksa# This makefile drives the production of the
6f834e8d872b867ccae54a7a848e1db3f7857286Eugen Kuksa# "/kernel/drv/ahci" kernel module.
6f834e8d872b867ccae54a7a848e1db3f7857286Eugen Kuksa# intel architecture dependent
7ca38d75d045fade73b81bff6fdf34f4755d75fbEugen Kuksa# Path to the base of the uts directory tree (usually /usr/src/uts).
23305f217b86a2ebf90a848af9036908e0070542Eugen Kuksa# Define the module and object file sets.
6f834e8d872b867ccae54a7a848e1db3f7857286Eugen KuksaCONF_SRCDIR = $(UTSBASE)/common/io/sata/adapters/ahci
6f834e8d872b867ccae54a7a848e1db3f7857286Eugen Kuksa# Include common rules.
6f834e8d872b867ccae54a7a848e1db3f7857286Eugen Kuksa# Define targets
6f834e8d872b867ccae54a7a848e1db3f7857286Eugen Kuksa# lint pass one enforcement
6f834e8d872b867ccae54a7a848e1db3f7857286Eugen Kuksa# we depend on the sata module
6f834e8d872b867ccae54a7a848e1db3f7857286Eugen Kuksa# For now, disable these lint checks; maintainers should endeavor
6f834e8d872b867ccae54a7a848e1db3f7857286Eugen Kuksa# to investigate and remove these for maximum lint coverage.
6f834e8d872b867ccae54a7a848e1db3f7857286Eugen Kuksa# Please do not carry these forward to new Makefiles.
6f834e8d872b867ccae54a7a848e1db3f7857286Eugen Kuksa# Default build targets.
7ca38d75d045fade73b81bff6fdf34f4755d75fbEugen Kuksa# Include common targets.
7c7a19761235efff584ee65a1c6dc4aa1735ff64Eugen Kuksa# Defines for local commands.
6f834e8d872b867ccae54a7a848e1db3f7857286Eugen Kuksa cd $(WLCMD_DIR); $(TEST) -f $@ || $(SCCS) get $@
6f834e8d872b867ccae54a7a848e1db3f7857286Eugen Kuksa$(WARLOCK_OK): ahci.wlcmd $(WARLOCK_OUT) warlock_ddi.files \
6f834e8d872b867ccae54a7a848e1db3f7857286Eugen Kuksa $(WARLOCK) -c $(WLCMD_DIR)/ahci.wlcmd $(WARLOCK_OUT) \