Makefile revision 7014882c6a3672fd0e5d60200af8643ae53c5928
120eec9ff1748e1ae786e2ab073234198bc0f701Christian Maeder# CDDL HEADER START
7968d3a131e5a684ec1ff0c6d88aae638549153dChristian Maeder# The contents of this file are subject to the terms of the
97018cf5fa25b494adffd7e9b4e87320dae6bf47Christian Maeder# Common Development and Distribution License (the "License").
120eec9ff1748e1ae786e2ab073234198bc0f701Christian Maeder# You may not use this file except in compliance with the License.
120eec9ff1748e1ae786e2ab073234198bc0f701Christian Maeder# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
120eec9ff1748e1ae786e2ab073234198bc0f701Christian Maeder# or http://www.opensolaris.org/os/licensing.
120eec9ff1748e1ae786e2ab073234198bc0f701Christian Maeder# See the License for the specific language governing permissions
7968d3a131e5a684ec1ff0c6d88aae638549153dChristian Maeder# and limitations under the License.
120eec9ff1748e1ae786e2ab073234198bc0f701Christian Maeder# When distributing Covered Code, include this CDDL HEADER in each
120eec9ff1748e1ae786e2ab073234198bc0f701Christian Maeder# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
120eec9ff1748e1ae786e2ab073234198bc0f701Christian Maeder# If applicable, add the following below this CDDL HEADER, with the
120eec9ff1748e1ae786e2ab073234198bc0f701Christian Maeder# fields enclosed by brackets "[]" replaced with your own identifying
120eec9ff1748e1ae786e2ab073234198bc0f701Christian Maeder# information: Portions Copyright [yyyy] [name of copyright owner]
120eec9ff1748e1ae786e2ab073234198bc0f701Christian Maeder# CDDL HEADER END
333780eae2be9f20fe46dedbf5eb46ffa0cbfd02Christian Maeder# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
333780eae2be9f20fe46dedbf5eb46ffa0cbfd02Christian Maeder# Use is subject to license terms.
7968d3a131e5a684ec1ff0c6d88aae638549153dChristian Maeder# This makefile drives the production of the zfs file system
7968d3a131e5a684ec1ff0c6d88aae638549153dChristian Maeder# kernel module.
7968d3a131e5a684ec1ff0c6d88aae638549153dChristian Maeder# Path to the base of the uts directory tree (usually /usr/src/uts).
b03274844ecd270f9e9331f51cc4236a33e2e671Christian Maeder# Define the module and object file sets.
333780eae2be9f20fe46dedbf5eb46ffa0cbfd02Christian Maeder# Include common rules.
333780eae2be9f20fe46dedbf5eb46ffa0cbfd02Christian Maeder# Define targets
120eec9ff1748e1ae786e2ab073234198bc0f701Christian MaederINSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOTLINK) $(ROOT_CONFFILE)
120eec9ff1748e1ae786e2ab073234198bc0f701Christian Maeder# Overrides and depends_on
04d04d19fdd5320953c78ad5b6d2d11f85bc4bcfChristian MaederLDFLAGS += -dy -Nfs/specfs -Ncrypto/swrand -Nmisc/idmap -Nmisc/sha2
120eec9ff1748e1ae786e2ab073234198bc0f701Christian Maeder# For now, disable these lint checks; maintainers should endeavor
120eec9ff1748e1ae786e2ab073234198bc0f701Christian Maeder# to investigate and remove these for maximum lint coverage.
04d04d19fdd5320953c78ad5b6d2d11f85bc4bcfChristian Maeder# Please do not carry these forward to new Makefiles.
120eec9ff1748e1ae786e2ab073234198bc0f701Christian MaederLINTTAGS += -erroff=E_SUPPRESSION_DIRECTIVE_UNUSED
120eec9ff1748e1ae786e2ab073234198bc0f701Christian Maeder# Default build targets.
120eec9ff1748e1ae786e2ab073234198bc0f701Christian Maeder# Include common targets.