xref: /titanic_44/usr/src/cmd/fs.d/smbclnt/umount/Makefile (revision b6805bf78d2bbbeeaea8909a05623587b42d58b3)
14bff34e3Sthurlow#
24bff34e3Sthurlow# CDDL HEADER START
34bff34e3Sthurlow#
44bff34e3Sthurlow# The contents of this file are subject to the terms of the
54bff34e3Sthurlow# Common Development and Distribution License (the "License").
64bff34e3Sthurlow# You may not use this file except in compliance with the License.
74bff34e3Sthurlow#
84bff34e3Sthurlow# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
94bff34e3Sthurlow# or http://www.opensolaris.org/os/licensing.
104bff34e3Sthurlow# See the License for the specific language governing permissions
114bff34e3Sthurlow# and limitations under the License.
124bff34e3Sthurlow#
134bff34e3Sthurlow# When distributing Covered Code, include this CDDL HEADER in each
144bff34e3Sthurlow# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
154bff34e3Sthurlow# If applicable, add the following below this CDDL HEADER, with the
164bff34e3Sthurlow# fields enclosed by brackets "[]" replaced with your own identifying
174bff34e3Sthurlow# information: Portions Copyright [yyyy] [name of copyright owner]
184bff34e3Sthurlow#
194bff34e3Sthurlow# CDDL HEADER END
204bff34e3Sthurlow#
214bff34e3Sthurlow#
2242d15982SGordon Ross# Copyright 2010 Sun Microsystems, Inc.  All rights reserved.
234bff34e3Sthurlow# Use is subject to license terms.
244bff34e3Sthurlow#
2542d15982SGordon Ross
264bff34e3Sthurlow#
274bff34e3Sthurlow# cmd/fs.d/smbclnt/umount/Makefile
284bff34e3Sthurlow#
294bff34e3Sthurlow
304bff34e3SthurlowFSTYPE=		smbfs
314bff34e3SthurlowLIBPROG=	umount
324bff34e3SthurlowROOTFS_PROG=	$(LIBPROG)
334bff34e3Sthurlow
344bff34e3Sthurlowinclude		../../Makefile.fstype
354bff34e3Sthurlow
364bff34e3SthurlowCOMMON=		$(FSLIB)
374bff34e3SthurlowOBJS=		$(LIBPROG).o $(COMMON)
384bff34e3SthurlowSRCS=		$(LIBPROG).c $(FSLIBSRC)
3942d15982SGordon Ross
4042d15982SGordon Ross$(ROOTLIBFSTYPE)/umount := FILEMODE= 04555
414bff34e3Sthurlow
424bff34e3SthurlowCPPFLAGS += -I../.. -I../lib
434bff34e3SthurlowCFLAGS += $(CCVERBOSE)
444bff34e3Sthurlow
454bff34e3Sthurlow#
464bff34e3Sthurlow# Message catalog
474bff34e3Sthurlow#
48*b6805bf7SGordon RossPOFILE=	$(LIBPROG).po
494bff34e3Sthurlowcatalog: $(POFILE)
504bff34e3Sthurlow
51*b6805bf7SGordon Ross$(POFILE):      $(SRCS)
52*b6805bf7SGordon Ross	$(RM) $@
53*b6805bf7SGordon Ross	$(COMPILE.cpp) $(SRCS)   > $(POFILE).i
54*b6805bf7SGordon Ross	$(XGETTEXT) $(XGETFLAGS)        $(POFILE).i
55*b6805bf7SGordon Ross	sed "/^domain/d"        messages.po     > $@
56*b6805bf7SGordon Ross	$(RM) messages.po $(POFILE).i
57*b6805bf7SGordon Ross
58*b6805bf7SGordon Ross$(LIBPROG):	$(OBJS)
59*b6805bf7SGordon Ross		$(LINK.c) -o $@ $(OBJS) $(LDLIBS)
60*b6805bf7SGordon Ross		$(POST_PROCESS)
614bff34e3Sthurlow
624bff34e3Sthurlowlint:	lint_SRCS
634bff34e3Sthurlow
644bff34e3Sthurlowclean:
65*b6805bf7SGordon Ross	$(RM) $(LIBPROG).o
66