Makefile revision 7c478bd95313f5f23a4c958a745db2134aa03244
9917c138d9a270deb5820915384fbde751190c2aLukas Slebodnik#
9917c138d9a270deb5820915384fbde751190c2aLukas Slebodnik# CDDL HEADER START
9917c138d9a270deb5820915384fbde751190c2aLukas Slebodnik#
9917c138d9a270deb5820915384fbde751190c2aLukas Slebodnik# The contents of this file are subject to the terms of the
9917c138d9a270deb5820915384fbde751190c2aLukas Slebodnik# Common Development and Distribution License, Version 1.0 only
9917c138d9a270deb5820915384fbde751190c2aLukas Slebodnik# (the "License"). You may not use this file except in compliance
9917c138d9a270deb5820915384fbde751190c2aLukas Slebodnik# with the License.
9917c138d9a270deb5820915384fbde751190c2aLukas Slebodnik#
2927dc45b9bc810f4f55bce165bb96405129e693Jakub Hrozek# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
2927dc45b9bc810f4f55bce165bb96405129e693Jakub Hrozek# or http://www.opensolaris.org/os/licensing.
9917c138d9a270deb5820915384fbde751190c2aLukas Slebodnik# See the License for the specific language governing permissions
9917c138d9a270deb5820915384fbde751190c2aLukas Slebodnik# and limitations under the License.
9917c138d9a270deb5820915384fbde751190c2aLukas Slebodnik#
9917c138d9a270deb5820915384fbde751190c2aLukas Slebodnik# When distributing Covered Code, include this CDDL HEADER in each
9917c138d9a270deb5820915384fbde751190c2aLukas Slebodnik# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
9917c138d9a270deb5820915384fbde751190c2aLukas Slebodnik# If applicable, add the following below this CDDL HEADER, with the
9917c138d9a270deb5820915384fbde751190c2aLukas Slebodnik# fields enclosed by brackets "[]" replaced with your own identifying
9917c138d9a270deb5820915384fbde751190c2aLukas Slebodnik# information: Portions Copyright [yyyy] [name of copyright owner]
9917c138d9a270deb5820915384fbde751190c2aLukas Slebodnik#
9917c138d9a270deb5820915384fbde751190c2aLukas Slebodnik# CDDL HEADER END
9917c138d9a270deb5820915384fbde751190c2aLukas Slebodnik#
9917c138d9a270deb5820915384fbde751190c2aLukas Slebodnik#
9917c138d9a270deb5820915384fbde751190c2aLukas Slebodnik#ident "%Z%%M% %I% %E% SMI"
9917c138d9a270deb5820915384fbde751190c2aLukas Slebodnik#
9917c138d9a270deb5820915384fbde751190c2aLukas Slebodnik# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
9917c138d9a270deb5820915384fbde751190c2aLukas Slebodnik# Use is subject to license terms.
9917c138d9a270deb5820915384fbde751190c2aLukas Slebodnik#
9917c138d9a270deb5820915384fbde751190c2aLukas Slebodnik# cmd/fs.d/cachefs/mount
9917c138d9a270deb5820915384fbde751190c2aLukas Slebodnik#
9917c138d9a270deb5820915384fbde751190c2aLukas Slebodnik
9917c138d9a270deb5820915384fbde751190c2aLukas SlebodnikFSTYPE= cachefs
9917c138d9a270deb5820915384fbde751190c2aLukas SlebodnikLIBPROG= mount
ATTMK= $(LIBPROG)
include ../../Makefile.fstype
PROGOBJS= mount.o $(FSLIB)
include ../Makefile.cachefs
CPPFLAGS += -D_LARGEFILE64_SOURCE -I../.. -o $@
LDLIBS += -lnsl -lkstat
#
# uncomment to use cachefs pass through with NFSv3 (for debugging)
#
#CFLAGS += -DCFS_NFSV3_PASSTHROUGH
$(LIBPROG) : $(CFSLIB)
$(PROGOBJS) : $(CACHEFSDIR)/subr.h $(CACHEFSDIR)/cachefsd.h