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