xref: /onnv-gate/usr/src/cmd/fs.d/dev/Makefile (revision 2621:4ea88858d952)
1*2621Sllai1#
2*2621Sllai1# CDDL HEADER START
3*2621Sllai1#
4*2621Sllai1# The contents of this file are subject to the terms of the
5*2621Sllai1# Common Development and Distribution License (the "License").
6*2621Sllai1# You may not use this file except in compliance with the License.
7*2621Sllai1#
8*2621Sllai1# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9*2621Sllai1# or http://www.opensolaris.org/os/licensing.
10*2621Sllai1# See the License for the specific language governing permissions
11*2621Sllai1# and limitations under the License.
12*2621Sllai1#
13*2621Sllai1# When distributing Covered Code, include this CDDL HEADER in each
14*2621Sllai1# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15*2621Sllai1# If applicable, add the following below this CDDL HEADER, with the
16*2621Sllai1# fields enclosed by brackets "[]" replaced with your own identifying
17*2621Sllai1# information: Portions Copyright [yyyy] [name of copyright owner]
18*2621Sllai1#
19*2621Sllai1# CDDL HEADER END
20*2621Sllai1#
21*2621Sllai1# Copyright 2006 Sun Microsystems, Inc.  All rights reserved.
22*2621Sllai1# Use is subject to license terms.
23*2621Sllai1#
24*2621Sllai1# ident	"%Z%%M%	%I%	%E% SMI"
25*2621Sllai1#
26*2621Sllai1
27*2621Sllai1FSTYPE=		dev
28*2621Sllai1PROG=		mount
29*2621Sllai1LIBPROG=	$(PROG)
30*2621Sllai1ROOTFS_PROG=	$(PROG)
31*2621Sllai1
32*2621Sllai1# duplicate ROOTLIBFSTYPE value needed for installation rule
33*2621Sllai1# we must define this before including Makefile.fstype
34*2621Sllai1ROOTLIBFSTYPE = $(ROOT)/usr/lib/fs/$(FSTYPE)
35*2621Sllai1$(ROOTLIBFSTYPE)/%:   $(ROOTLIBFSTYPE) %
36*2621Sllai1	$(RM) $@; $(SYMLINK) ../../../../etc/fs/$(FSTYPE)/$(PROG) $@
37*2621Sllai1
38*2621Sllai1include		../Makefile.fstype
39*2621Sllai1include		../Makefile.mount
40*2621Sllai1include		../Makefile.mount.targ
41