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