Makefile revision c0e7977a434048a8bc7386ea0e8befaa77a646cf
9dc68827cbd515262ecb8d5ae8547d9e82c72e00Jon A. Cruz# CDDL HEADER START
1d882e9533b20c0e0783e9d17fcd3f5466fa422fcilix# The contents of this file are subject to the terms of the
1d882e9533b20c0e0783e9d17fcd3f5466fa422fcilix# Common Development and Distribution License (the "License").
1d882e9533b20c0e0783e9d17fcd3f5466fa422fcilix# You may not use this file except in compliance with the License.
1d882e9533b20c0e0783e9d17fcd3f5466fa422fcilix# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9dc68827cbd515262ecb8d5ae8547d9e82c72e00Jon A. Cruz# See the License for the specific language governing permissions
f91279be939ce6c33befa6cdb5bc8a99cc5a765cJon A. Cruz# and limitations under the License.
1d882e9533b20c0e0783e9d17fcd3f5466fa422fcilix# When distributing Covered Code, include this CDDL HEADER in each
1d882e9533b20c0e0783e9d17fcd3f5466fa422fcilix# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
1d882e9533b20c0e0783e9d17fcd3f5466fa422fcilix# If applicable, add the following below this CDDL HEADER, with the
1d882e9533b20c0e0783e9d17fcd3f5466fa422fcilix# fields enclosed by brackets "[]" replaced with your own identifying
1d882e9533b20c0e0783e9d17fcd3f5466fa422fcilix# information: Portions Copyright [yyyy] [name of copyright owner]
1d882e9533b20c0e0783e9d17fcd3f5466fa422fcilix# CDDL HEADER END
4358ff6156766a315e38e72a5c3c83d6d5f7486bcilix# Copyright 2007 Sun Microsystems, Inc. All rights reserved.
1d882e9533b20c0e0783e9d17fcd3f5466fa422fcilix# Use is subject to license terms.
433c7bdb0876de43779befd1230378b2fe728435Markus Engel# Copyright (c) 2011 Bayard G. Bell. All rights reserved.
1d882e9533b20c0e0783e9d17fcd3f5466fa422fcilix# This makefile drives the production of the sd driver kernel module.
9dc68827cbd515262ecb8d5ae8547d9e82c72e00Jon A. Cruz# sparc architecture dependent
11f343b8117dbf56931f537820c2749a8232fec2Liam P. White# Path to the base of the uts directory tree (usually /usr/src/uts).
4358ff6156766a315e38e72a5c3c83d6d5f7486bcilix# Define the module and object file sets.
9dc68827cbd515262ecb8d5ae8547d9e82c72e00Jon A. Cruz# Include common rules.
11f343b8117dbf56931f537820c2749a8232fec2Liam P. White# Define targets
e2d670e999945aa4ab409f5ad368cde00b450c69Martin OwensINSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
203b91a85466178dd14a24236e0e42539bc4a24bMarkus Engel# lint pass one enforcement
11f343b8117dbf56931f537820c2749a8232fec2Liam P. White# Define dependencies on scsi and cmlb
11f343b8117dbf56931f537820c2749a8232fec2Liam P. White# For now, disable these lint checks; maintainers should endeavor
c4ae5c46c1d9c171f96e47e81f2f0f5f0e189547cilix# to investigate and remove these for maximum lint coverage.
c4ae5c46c1d9c171f96e47e81f2f0f5f0e189547cilix# Please do not carry these forward to new Makefiles.
5b8ee3df72dcac734e27c5f44c5060b5df2adfbdcilix# Default build targets.
TEST = test
# Note that in warlock_with_{esp,isp} it is important to load sd.ll
$(CMLB_FILES) \
$(TOUCH) $@