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#
42d159821800ff240cc201c8fe07f575b9e8a62bGordon Ross
4bff34e37def8a90f9194d81bc345c52ba20086athurlow#
4bff34e37def8a90f9194d81bc345c52ba20086athurlow# cmd/fs.d/smbclnt/umount/Makefile
4bff34e37def8a90f9194d81bc345c52ba20086athurlow#
4bff34e37def8a90f9194d81bc345c52ba20086athurlow
4bff34e37def8a90f9194d81bc345c52ba20086athurlowFSTYPE= smbfs
4bff34e37def8a90f9194d81bc345c52ba20086athurlowLIBPROG= umount
4bff34e37def8a90f9194d81bc345c52ba20086athurlowROOTFS_PROG= $(LIBPROG)
4bff34e37def8a90f9194d81bc345c52ba20086athurlow
4bff34e37def8a90f9194d81bc345c52ba20086athurlowinclude ../../Makefile.fstype
4bff34e37def8a90f9194d81bc345c52ba20086athurlow
4bff34e37def8a90f9194d81bc345c52ba20086athurlowCOMMON= $(FSLIB)
4bff34e37def8a90f9194d81bc345c52ba20086athurlowOBJS= $(LIBPROG).o $(COMMON)
4bff34e37def8a90f9194d81bc345c52ba20086athurlowSRCS= $(LIBPROG).c $(FSLIBSRC)
42d159821800ff240cc201c8fe07f575b9e8a62bGordon Ross
42d159821800ff240cc201c8fe07f575b9e8a62bGordon Ross$(ROOTLIBFSTYPE)/umount := FILEMODE= 04555
4bff34e37def8a90f9194d81bc345c52ba20086athurlow
4bff34e37def8a90f9194d81bc345c52ba20086athurlowCPPFLAGS += -I../.. -I../lib
4bff34e37def8a90f9194d81bc345c52ba20086athurlowCFLAGS += $(CCVERBOSE)
4bff34e37def8a90f9194d81bc345c52ba20086athurlow
4bff34e37def8a90f9194d81bc345c52ba20086athurlow#
4bff34e37def8a90f9194d81bc345c52ba20086athurlow# Message catalog
4bff34e37def8a90f9194d81bc345c52ba20086athurlow#
b6805bf78d2bbbeeaea8909a05623587b42d58b3Gordon RossPOFILE= $(LIBPROG).po
4bff34e37def8a90f9194d81bc345c52ba20086athurlowcatalog: $(POFILE)
4bff34e37def8a90f9194d81bc345c52ba20086athurlow
b6805bf78d2bbbeeaea8909a05623587b42d58b3Gordon Ross$(POFILE): $(SRCS)
b6805bf78d2bbbeeaea8909a05623587b42d58b3Gordon Ross $(RM) $@
b6805bf78d2bbbeeaea8909a05623587b42d58b3Gordon Ross $(COMPILE.cpp) $(SRCS) > $(POFILE).i
b6805bf78d2bbbeeaea8909a05623587b42d58b3Gordon Ross $(XGETTEXT) $(XGETFLAGS) $(POFILE).i
b6805bf78d2bbbeeaea8909a05623587b42d58b3Gordon Ross sed "/^domain/d" messages.po > $@
b6805bf78d2bbbeeaea8909a05623587b42d58b3Gordon Ross $(RM) messages.po $(POFILE).i
b6805bf78d2bbbeeaea8909a05623587b42d58b3Gordon Ross
b6805bf78d2bbbeeaea8909a05623587b42d58b3Gordon Ross$(LIBPROG): $(OBJS)
b6805bf78d2bbbeeaea8909a05623587b42d58b3Gordon Ross $(LINK.c) -o $@ $(OBJS) $(LDLIBS)
b6805bf78d2bbbeeaea8909a05623587b42d58b3Gordon Ross $(POST_PROCESS)
4bff34e37def8a90f9194d81bc345c52ba20086athurlow
4bff34e37def8a90f9194d81bc345c52ba20086athurlowlint: lint_SRCS
4bff34e37def8a90f9194d81bc345c52ba20086athurlow
4bff34e37def8a90f9194d81bc345c52ba20086athurlowclean:
b6805bf78d2bbbeeaea8909a05623587b42d58b3Gordon Ross $(RM) $(LIBPROG).o