Makefile revision ecd6cf800b63704be73fb264c3f5b6e0dafc068d
c25356d5978632df6203437e1953bcb29e0c736fTimo Sirainen# CDDL HEADER START
d23c747de9d33966483fbdd41f08ad7766da7c5cTimo Sirainen# The contents of this file are subject to the terms of the
d23c747de9d33966483fbdd41f08ad7766da7c5cTimo Sirainen# Common Development and Distribution License (the "License").
e8490a52a1bc71bc53034e68f464435684ad810fTimo Sirainen# You may not use this file except in compliance with the License.
e8490a52a1bc71bc53034e68f464435684ad810fTimo Sirainen# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
e8490a52a1bc71bc53034e68f464435684ad810fTimo Sirainen# See the License for the specific language governing permissions
e8490a52a1bc71bc53034e68f464435684ad810fTimo Sirainen# and limitations under the License.
296dca49e4fe6046e0328c67ef1cf4b8077dec9cTimo Sirainen# When distributing Covered Code, include this CDDL HEADER in each
32e1554df9abca74fef0af2ba2e4c37e90a06cd0Timo Sirainen# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
296dca49e4fe6046e0328c67ef1cf4b8077dec9cTimo Sirainen# If applicable, add the following below this CDDL HEADER, with the
32e1554df9abca74fef0af2ba2e4c37e90a06cd0Timo Sirainen# fields enclosed by brackets "[]" replaced with your own identifying
296dca49e4fe6046e0328c67ef1cf4b8077dec9cTimo Sirainen# information: Portions Copyright [yyyy] [name of copyright owner]
32e1554df9abca74fef0af2ba2e4c37e90a06cd0Timo Sirainen# CDDL HEADER END
29e82a14501731bef8c41a1b27fc415d634fa01dTimo Sirainen# Copyright 2007 Sun Microsystems, Inc. All rights reserved.
a988c3fd9251806e38931a011aaa4006dd081cbdTimo Sirainen# Use is subject to license terms.
b337d3b6871b878d6467d7d8ed600433af5da5a1Timo Sirainen# ident "%Z%%M% %I% %E% SMI"
e8490a52a1bc71bc53034e68f464435684ad810fTimo SirainenCPPFLAGS += -D_LARGEFILE64_SOURCE=1 -D_REENTRANT
48a4fccfb24f81ee05ebc07b5db569c1fbf499c5Timo Sirainen# lint complains about unused _umem_* functions
e8490a52a1bc71bc53034e68f464435684ad810fTimo SirainenUSRLIBFSTYPELINKS = $(LINKPROGS:%=$(USRLIBFSTYPE)/%)
e8490a52a1bc71bc53034e68f464435684ad810fTimo SirainenROOTETCFSTYPELINKS = $(LINKPROGS:%=$(ROOTETCFSTYPE)/%)
68a4946b12583b88fa802e52ebee45cd96056772Timo Siraineninstall: all $(ROOTSBINPROG) $(ROOTUSRSBINLINKS) $(USRLIBFSTYPELINKS) \
32e1554df9abca74fef0af2ba2e4c37e90a06cd0Timo Sirainen# Links from /usr/sbin to /sbin
a988c3fd9251806e38931a011aaa4006dd081cbdTimo Sirainen# Links from /usr/lib/fs/zfs to /sbin
a988c3fd9251806e38931a011aaa4006dd081cbdTimo Sirainen -$(RM) $@; $(SYMLINK) ../../../../sbin/$(PROG) $@
957d09e495c33ad1180f82152e5e87e6b51ab04bTimo Sirainen# Links from /etc/fs/zfs to /sbin
957d09e495c33ad1180f82152e5e87e6b51ab04bTimo Sirainen -$(RM) $@; $(SYMLINK) ../../../sbin/$(PROG) $@