c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe#
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe# CDDL HEADER START
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe#
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe# The contents of this file are subject to the terms of the
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe# Common Development and Distribution License (the "License").
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe# You may not use this file except in compliance with the License.
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe#
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe# or http://www.opensolaris.org/os/licensing.
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe# See the License for the specific language governing permissions
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe# and limitations under the License.
ead9bb4b1be81d7bbf8ed86ee41d6c1e58b069a3Yuri Pankov#
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe# When distributing Covered Code, include this CDDL HEADER in each
6aa4fc89ec1cf2cdf7d7c3b9ec059802ac9abe65Marcel Telka# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
ead9bb4b1be81d7bbf8ed86ee41d6c1e58b069a3Yuri Pankov# If applicable, add the following below this CDDL HEADER, with the
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe# fields enclosed by brackets "[]" replaced with your own identifying
a9478106a12424322498e53cf7cd75bd8a4d6004Yuri Pankov# information: Portions Copyright [yyyy] [name of copyright owner]
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe#
a9478106a12424322498e53cf7cd75bd8a4d6004Yuri Pankov# CDDL HEADER END
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe#
a9478106a12424322498e53cf7cd75bd8a4d6004Yuri Pankov#
a9478106a12424322498e53cf7cd75bd8a4d6004Yuri Pankov# Copyright 2007 Sun Microsystems, Inc. All rights reserved.
ead9bb4b1be81d7bbf8ed86ee41d6c1e58b069a3Yuri Pankov# Use is subject to license terms.
a9478106a12424322498e53cf7cd75bd8a4d6004Yuri Pankov#
6aa4fc89ec1cf2cdf7d7c3b9ec059802ac9abe65Marcel Telka
6aa4fc89ec1cf2cdf7d7c3b9ec059802ac9abe65Marcel TelkaFSTYPE= ufs
6aa4fc89ec1cf2cdf7d7c3b9ec059802ac9abe65Marcel TelkaPROG= mount
6aa4fc89ec1cf2cdf7d7c3b9ec059802ac9abe65Marcel TelkaLIBPROG= $(PROG)
c10c16dec587a0662068f6e2991c29ed3a9db943Richard LoweROOTFS_PROG= $(PROG)
a9478106a12424322498e53cf7cd75bd8a4d6004Yuri Pankov
ead9bb4b1be81d7bbf8ed86ee41d6c1e58b069a3Yuri Pankov# duplicate ROOTLIBFSTYPE value needed for installation rule
6aa4fc89ec1cf2cdf7d7c3b9ec059802ac9abe65Marcel Telka# we must define this before including Makefile.fstype
a9478106a12424322498e53cf7cd75bd8a4d6004Yuri PankovROOTLIBFSTYPE = $(ROOT)/usr/lib/fs/$(FSTYPE)
6aa4fc89ec1cf2cdf7d7c3b9ec059802ac9abe65Marcel Telka$(ROOTLIBFSTYPE)/%: $(ROOTLIBFSTYPE) %
6aa4fc89ec1cf2cdf7d7c3b9ec059802ac9abe65Marcel Telka $(RM) $@; $(SYMLINK) ../../../../etc/fs/$(FSTYPE)/$(PROG) $@
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Loweinclude ../../Makefile.fstype
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Loweinclude ../../Makefile.mount
a9478106a12424322498e53cf7cd75bd8a4d6004Yuri Pankov
c10c16dec587a0662068f6e2991c29ed3a9db943Richard LoweCPPFLAGS += -D_LARGEFILE64_SOURCE
a9478106a12424322498e53cf7cd75bd8a4d6004Yuri PankovCERRWARN += -_gcc=-Wno-parentheses
include ../../Makefile.mount.targ