fa9e4066f08beec538e775443c5be79dd423fcabahrens# CDDL HEADER START
fa9e4066f08beec538e775443c5be79dd423fcabahrens# The contents of this file are subject to the terms of the
e9dbad6f263d5570ed7ff5443ec5b958af8c24d7eschrock# Common Development and Distribution License (the "License").
e9dbad6f263d5570ed7ff5443ec5b958af8c24d7eschrock# 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
0a586cea3ceec7e5e50e7e54c745082a7a333ac2Mark Shellenbaum# Copyright 2010 Sun Microsystems, Inc. All rights reserved.
fa9e4066f08beec538e775443c5be79dd423fcabahrens# Use is subject to license terms.
4445fffbbb1ea25fd0e9ea68b9380dd7a6709025Matthew Ahrens# Copyright 2010 Nexenta Systems, Inc. All rights reserved.
f83b46baf98d276f5f84fa84c8b461f412ac1f5ePaul Dagnelie# Copyright (c) 2012, 2015 by Delphix. All rights reserved.
c16bcc4577f389573eff411c7b7e040294078c3bIgor Kozhukhov# Copyright 2016 Igor Kozhukhov <ikozhukhov@gmail.com>.
4445fffbbb1ea25fd0e9ea68b9380dd7a6709025Matthew AhrensLDLIBS += -lzfs_core -lzfs -luutil -lumem -lnvpair -lsec -lidmap
0a586cea3ceec7e5e50e7e54c745082a7a333ac2Mark ShellenbaumCPPFLAGS += -D_LARGEFILE64_SOURCE=1 -D_REENTRANT $(INCS)
fa9e4066f08beec538e775443c5be79dd423fcabahrens# lint complains about unused _umem_* functions
fa9e4066f08beec538e775443c5be79dd423fcabahrensROOTETCFSTYPELINKS = $(LINKPROGS:%=$(ROOTETCFSTYPE)/%)
fa9e4066f08beec538e775443c5be79dd423fcabahrensinstall: all $(ROOTSBINPROG) $(ROOTUSRSBINLINKS) $(USRLIBFSTYPELINKS) \
fa9e4066f08beec538e775443c5be79dd423fcabahrens# Links from /usr/sbin to /sbin
fa9e4066f08beec538e775443c5be79dd423fcabahrens# Links from /etc/fs/zfs to /sbin