4bff34e37def8a90f9194d81bc345c52ba20086athurlow#
4bff34e37def8a90f9194d81bc345c52ba20086athurlow# CDDL HEADER START
4bff34e37def8a90f9194d81bc345c52ba20086athurlow#
4bff34e37def8a90f9194d81bc345c52ba20086athurlow# The contents of this file are subject to the terms of the
4bff34e37def8a90f9194d81bc345c52ba20086athurlow# Common Development and Distribution License (the "License").
4bff34e37def8a90f9194d81bc345c52ba20086athurlow# You may not use this file except in compliance with the License.
4bff34e37def8a90f9194d81bc345c52ba20086athurlow#
4bff34e37def8a90f9194d81bc345c52ba20086athurlow# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
4bff34e37def8a90f9194d81bc345c52ba20086athurlow# or http://www.opensolaris.org/os/licensing.
4bff34e37def8a90f9194d81bc345c52ba20086athurlow# See the License for the specific language governing permissions
4bff34e37def8a90f9194d81bc345c52ba20086athurlow# and limitations under the License.
4bff34e37def8a90f9194d81bc345c52ba20086athurlow#
4bff34e37def8a90f9194d81bc345c52ba20086athurlow# When distributing Covered Code, include this CDDL HEADER in each
4bff34e37def8a90f9194d81bc345c52ba20086athurlow# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
4bff34e37def8a90f9194d81bc345c52ba20086athurlow# If applicable, add the following below this CDDL HEADER, with the
4bff34e37def8a90f9194d81bc345c52ba20086athurlow# fields enclosed by brackets "[]" replaced with your own identifying
4bff34e37def8a90f9194d81bc345c52ba20086athurlow# information: Portions Copyright [yyyy] [name of copyright owner]
4bff34e37def8a90f9194d81bc345c52ba20086athurlow#
4bff34e37def8a90f9194d81bc345c52ba20086athurlow# CDDL HEADER END
4bff34e37def8a90f9194d81bc345c52ba20086athurlow#
4bff34e37def8a90f9194d81bc345c52ba20086athurlow#
42d159821800ff240cc201c8fe07f575b9e8a62bGordon Ross# Copyright 2010 Sun Microsystems, Inc. All rights reserved.
4bff34e37def8a90f9194d81bc345c52ba20086athurlow# Use is subject to license terms.
4bff34e37def8a90f9194d81bc345c52ba20086athurlow#
613a2f6ba31e891e3d947a356daf5e563d43c1ceGordon Ross
4bff34e37def8a90f9194d81bc345c52ba20086athurlow#
4bff34e37def8a90f9194d81bc345c52ba20086athurlow# cmd/fs.d/smbclnt/mount/Makefile
4bff34e37def8a90f9194d81bc345c52ba20086athurlow#
4bff34e37def8a90f9194d81bc345c52ba20086athurlow
4bff34e37def8a90f9194d81bc345c52ba20086athurlowFSTYPE= smbfs
4bff34e37def8a90f9194d81bc345c52ba20086athurlowLIBPROG= mount
4bff34e37def8a90f9194d81bc345c52ba20086athurlowROOTFS_PROG= $(LIBPROG)
4bff34e37def8a90f9194d81bc345c52ba20086athurlow
4bff34e37def8a90f9194d81bc345c52ba20086athurlowinclude ../../Makefile.fstype
4bff34e37def8a90f9194d81bc345c52ba20086athurlow
4bff34e37def8a90f9194d81bc345c52ba20086athurlowOBJS= $(LIBPROG).o
42d159821800ff240cc201c8fe07f575b9e8a62bGordon RossSRCS= $(LIBPROG).c
4bff34e37def8a90f9194d81bc345c52ba20086athurlowPOFILE= $(LIBPROG).po
613a2f6ba31e891e3d947a356daf5e563d43c1ceGordon RossCLOBBERFILES += $(LIBPROG)
4bff34e37def8a90f9194d81bc345c52ba20086athurlow
42d159821800ff240cc201c8fe07f575b9e8a62bGordon Ross$(ROOTLIBFSTYPE)/mount := FILEMODE= 04555
42d159821800ff240cc201c8fe07f575b9e8a62bGordon Ross
4bff34e37def8a90f9194d81bc345c52ba20086athurlowCFLAGS += $(CCVERBOSE)
7014882c6a3672fd0e5d60200af8643ae53c5928Richard LoweCERRWARN += -_gcc=-Wno-parentheses
7014882c6a3672fd0e5d60200af8643ae53c5928Richard LoweCERRWARN += -_gcc=-Wno-unused-label
4bff34e37def8a90f9194d81bc345c52ba20086athurlowC99MODE= $(C99_ENABLE)
4bff34e37def8a90f9194d81bc345c52ba20086athurlow
4d925e45f2d17c86a15eae2ebe7d463b2c96cb0eGordon RossLDLIBS += -lsmbfs
613a2f6ba31e891e3d947a356daf5e563d43c1ceGordon Ross
613a2f6ba31e891e3d947a356daf5e563d43c1ceGordon RossCPPFLAGS += -I$(SRC)/uts/common -I$(SRC)/lib/libsmbfs
613a2f6ba31e891e3d947a356daf5e563d43c1ceGordon Ross
613a2f6ba31e891e3d947a356daf5e563d43c1ceGordon Ross# uncomment these for dbx debugging
613a2f6ba31e891e3d947a356daf5e563d43c1ceGordon Ross#COPTFLAG = -g
613a2f6ba31e891e3d947a356daf5e563d43c1ceGordon Ross#CTF_FLAGS =
613a2f6ba31e891e3d947a356daf5e563d43c1ceGordon Ross#CTFCONVERT_O=
613a2f6ba31e891e3d947a356daf5e563d43c1ceGordon Ross#CTFMERGE_LIB=
4bff34e37def8a90f9194d81bc345c52ba20086athurlow
4bff34e37def8a90f9194d81bc345c52ba20086athurlow.KEEP_STATE:
4bff34e37def8a90f9194d81bc345c52ba20086athurlow
4bff34e37def8a90f9194d81bc345c52ba20086athurlowall: $(ROOTFS_PROG)
4bff34e37def8a90f9194d81bc345c52ba20086athurlow
4bff34e37def8a90f9194d81bc345c52ba20086athurlowPOFILE= mount.po
4bff34e37def8a90f9194d81bc345c52ba20086athurlow
4bff34e37def8a90f9194d81bc345c52ba20086athurlowcatalog: $(POFILE)
4bff34e37def8a90f9194d81bc345c52ba20086athurlow
4bff34e37def8a90f9194d81bc345c52ba20086athurlowinstall: $(ROOTLIBFSTYPEPROG)
4bff34e37def8a90f9194d81bc345c52ba20086athurlow
4bff34e37def8a90f9194d81bc345c52ba20086athurlowlint: lint_SRCS
4bff34e37def8a90f9194d81bc345c52ba20086athurlow
4bff34e37def8a90f9194d81bc345c52ba20086athurlowclean:
4bff34e37def8a90f9194d81bc345c52ba20086athurlow $(RM) $(OBJS) $(POFILE)