fa9e4066f08beec538e775443c5be79dd423fcabahrens# CDDL HEADER START
fa9e4066f08beec538e775443c5be79dd423fcabahrens# The contents of this file are subject to the terms of the
bb25c06cca41ca78e5fb87fbb8e81d55beb18c95jg# Common Development and Distribution License (the "License").
bb25c06cca41ca78e5fb87fbb8e81d55beb18c95jg# You may not use this file except in compliance with the License.
fa9e4066f08beec538e775443c5be79dd423fcabahrens# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
fa9e4066f08beec538e775443c5be79dd423fcabahrens# See the License for the specific language governing permissions
fa9e4066f08beec538e775443c5be79dd423fcabahrens# and limitations under the License.
fa9e4066f08beec538e775443c5be79dd423fcabahrens# When distributing Covered Code, include this CDDL HEADER in each
fa9e4066f08beec538e775443c5be79dd423fcabahrens# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
fa9e4066f08beec538e775443c5be79dd423fcabahrens# If applicable, add the following below this CDDL HEADER, with the
fa9e4066f08beec538e775443c5be79dd423fcabahrens# fields enclosed by brackets "[]" replaced with your own identifying
fa9e4066f08beec538e775443c5be79dd423fcabahrens# information: Portions Copyright [yyyy] [name of copyright owner]
fa9e4066f08beec538e775443c5be79dd423fcabahrens# CDDL HEADER END
97322426b5359bb3ffd4527e1ad8b2c5f7dab832Darren J Moffat# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
fa9e4066f08beec538e775443c5be79dd423fcabahrens# Use is subject to license terms.
fa9e4066f08beec538e775443c5be79dd423fcabahrens# This makefile drives the production of the zfs file system
fa9e4066f08beec538e775443c5be79dd423fcabahrens# kernel module.
45818ee124adeaaf947698996b4f4c722afc6d1fMatthew Ahrens# Copyright 2013 Saso Kiselkov. All rights reserved.
fa9e4066f08beec538e775443c5be79dd423fcabahrens# Path to the base of the uts directory tree (usually /usr/src/uts).
fa9e4066f08beec538e775443c5be79dd423fcabahrens# Define the module and object file sets.
fa9e4066f08beec538e775443c5be79dd423fcabahrens# Include common rules.
fa9e4066f08beec538e775443c5be79dd423fcabahrens# Define targets
fa9e4066f08beec538e775443c5be79dd423fcabahrensINSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOTLINK) $(ROOT_CONFFILE)
fa9e4066f08beec538e775443c5be79dd423fcabahrens# Overrides and depends_on
45818ee124adeaaf947698996b4f4c722afc6d1fMatthew AhrensLDFLAGS += -dy -Nfs/specfs -Ncrypto/swrand -Nmisc/idmap -Nmisc/sha2 \
bb25c06cca41ca78e5fb87fbb8e81d55beb18c95jg# For now, disable these lint checks; maintainers should endeavor
bb25c06cca41ca78e5fb87fbb8e81d55beb18c95jg# to investigate and remove these for maximum lint coverage.
bb25c06cca41ca78e5fb87fbb8e81d55beb18c95jg# Please do not carry these forward to new Makefiles.
fa9e4066f08beec538e775443c5be79dd423fcabahrens# Default build targets.
fa9e4066f08beec538e775443c5be79dd423fcabahrens# Include common targets.