Makefile revision e9dbad6f263d5570ed7ff5443ec5b958af8c24d7
49ef7e0638c8b771d8a136eae78b1c0f99acc8e0Garrett D'Amore# CDDL HEADER START
49ef7e0638c8b771d8a136eae78b1c0f99acc8e0Garrett D'Amore# The contents of this file are subject to the terms of the
49ef7e0638c8b771d8a136eae78b1c0f99acc8e0Garrett D'Amore# Common Development and Distribution License (the "License").
49ef7e0638c8b771d8a136eae78b1c0f99acc8e0Garrett D'Amore# You may not use this file except in compliance with the License.
49ef7e0638c8b771d8a136eae78b1c0f99acc8e0Garrett D'Amore# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
49ef7e0638c8b771d8a136eae78b1c0f99acc8e0Garrett D'Amore# or http://www.opensolaris.org/os/licensing.
49ef7e0638c8b771d8a136eae78b1c0f99acc8e0Garrett D'Amore# See the License for the specific language governing permissions
49ef7e0638c8b771d8a136eae78b1c0f99acc8e0Garrett D'Amore# and limitations under the License.
49ef7e0638c8b771d8a136eae78b1c0f99acc8e0Garrett D'Amore# When distributing Covered Code, include this CDDL HEADER in each
49ef7e0638c8b771d8a136eae78b1c0f99acc8e0Garrett D'Amore# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
49ef7e0638c8b771d8a136eae78b1c0f99acc8e0Garrett D'Amore# If applicable, add the following below this CDDL HEADER, with the
49ef7e0638c8b771d8a136eae78b1c0f99acc8e0Garrett D'Amore# fields enclosed by brackets "[]" replaced with your own identifying
49ef7e0638c8b771d8a136eae78b1c0f99acc8e0Garrett D'Amore# information: Portions Copyright [yyyy] [name of copyright owner]
49ef7e0638c8b771d8a136eae78b1c0f99acc8e0Garrett D'Amore# CDDL HEADER END
49ef7e0638c8b771d8a136eae78b1c0f99acc8e0Garrett D'Amore# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
49ef7e0638c8b771d8a136eae78b1c0f99acc8e0Garrett D'Amore# Use is subject to license terms.
49ef7e0638c8b771d8a136eae78b1c0f99acc8e0Garrett D'Amore# ident "%Z%%M% %I% %E% SMI"
49ef7e0638c8b771d8a136eae78b1c0f99acc8e0Garrett D'AmoreCPPFLAGS += -D_LARGEFILE64_SOURCE=1 -D_REENTRANT
49ef7e0638c8b771d8a136eae78b1c0f99acc8e0Garrett D'Amore# lint complains about unused _umem_* functions
49ef7e0638c8b771d8a136eae78b1c0f99acc8e0Garrett D'AmoreROOTUSRSBINLINKS = $(PROG:%=$(ROOTUSRSBIN)/%)
49ef7e0638c8b771d8a136eae78b1c0f99acc8e0Garrett D'AmoreUSRLIBFSTYPELINKS = $(LINKPROGS:%=$(USRLIBFSTYPE)/%)
49ef7e0638c8b771d8a136eae78b1c0f99acc8e0Garrett D'AmoreROOTETCFSTYPELINKS = $(LINKPROGS:%=$(ROOTETCFSTYPE)/%)
49ef7e0638c8b771d8a136eae78b1c0f99acc8e0Garrett D'Amoreinstall: all $(ROOTSBINPROG) $(ROOTUSRSBINLINKS) $(USRLIBFSTYPELINKS) \
49ef7e0638c8b771d8a136eae78b1c0f99acc8e0Garrett D'Amore# Links from /usr/sbin to /sbin
49ef7e0638c8b771d8a136eae78b1c0f99acc8e0Garrett D'Amore# Links from /usr/lib/fs/zfs to /sbin
49ef7e0638c8b771d8a136eae78b1c0f99acc8e0Garrett D'Amore -$(RM) $@; $(SYMLINK) ../../../../sbin/$(PROG) $@
49ef7e0638c8b771d8a136eae78b1c0f99acc8e0Garrett D'Amore# Links from /etc/fs/zfs to /sbin
49ef7e0638c8b771d8a136eae78b1c0f99acc8e0Garrett D'Amore -$(RM) $@; $(SYMLINK) ../../../sbin/$(PROG) $@