xref: /titanic_50/usr/src/cmd/fs.d/smbclnt/mount/Makefile (revision 7014882c6a3672fd0e5d60200af8643ae53c5928)
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#
25613a2f6bSGordon Ross
264bff34e3Sthurlow#
274bff34e3Sthurlow# cmd/fs.d/smbclnt/mount/Makefile
284bff34e3Sthurlow#
294bff34e3Sthurlow
304bff34e3SthurlowFSTYPE=		smbfs
314bff34e3SthurlowLIBPROG=	mount
324bff34e3SthurlowROOTFS_PROG=	$(LIBPROG)
334bff34e3Sthurlow
344bff34e3Sthurlowinclude		../../Makefile.fstype
354bff34e3Sthurlow
364bff34e3SthurlowOBJS=	$(LIBPROG).o
3742d15982SGordon RossSRCS=	$(LIBPROG).c
384bff34e3SthurlowPOFILE=	$(LIBPROG).po
39613a2f6bSGordon RossCLOBBERFILES	+= $(LIBPROG)
404bff34e3Sthurlow
4142d15982SGordon Ross$(ROOTLIBFSTYPE)/mount := FILEMODE= 04555
4242d15982SGordon Ross
434bff34e3SthurlowCFLAGS += $(CCVERBOSE)
44*7014882cSRichard LoweCERRWARN += -_gcc=-Wno-parentheses
45*7014882cSRichard LoweCERRWARN += -_gcc=-Wno-unused-label
464bff34e3SthurlowC99MODE= $(C99_ENABLE)
474bff34e3Sthurlow
484d925e45SGordon RossLDLIBS += -lsmbfs
49613a2f6bSGordon Ross
50613a2f6bSGordon RossCPPFLAGS += -I$(SRC)/uts/common -I$(SRC)/lib/libsmbfs
51613a2f6bSGordon Ross
52613a2f6bSGordon Ross# uncomment these for dbx debugging
53613a2f6bSGordon Ross#COPTFLAG = -g
54613a2f6bSGordon Ross#CTF_FLAGS =
55613a2f6bSGordon Ross#CTFCONVERT_O=
56613a2f6bSGordon Ross#CTFMERGE_LIB=
574bff34e3Sthurlow
584bff34e3Sthurlow.KEEP_STATE:
594bff34e3Sthurlow
604bff34e3Sthurlowall:	$(ROOTFS_PROG)
614bff34e3Sthurlow
624bff34e3SthurlowPOFILE=		mount.po
634bff34e3Sthurlow
644bff34e3Sthurlowcatalog:	$(POFILE)
654bff34e3Sthurlow
664bff34e3Sthurlowinstall:	$(ROOTLIBFSTYPEPROG)
674bff34e3Sthurlow
684bff34e3Sthurlowlint:	lint_SRCS
694bff34e3Sthurlow
704bff34e3Sthurlowclean:
714bff34e3Sthurlow	$(RM) $(OBJS) $(POFILE)
72