xref: /illumos-gate/usr/src/cmd/fs.d/smbclnt/mount/Makefile (revision a5f20e891eb1b5d2af2255e766a1dc3b35ac9936)
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#
25*0463c800SGordon Ross# Copyright 2019 Nexenta by DDN, Inc. All rights reserved.
26*0463c800SGordon Ross#
27613a2f6bSGordon Ross
284bff34e3Sthurlow#
294bff34e3Sthurlow# cmd/fs.d/smbclnt/mount/Makefile
304bff34e3Sthurlow#
314bff34e3Sthurlow
324bff34e3SthurlowFSTYPE=		smbfs
334bff34e3SthurlowLIBPROG=	mount
344bff34e3SthurlowROOTFS_PROG=	$(LIBPROG)
354bff34e3Sthurlow
364bff34e3Sthurlowinclude		../../Makefile.fstype
374bff34e3Sthurlow
384bff34e3SthurlowOBJS=	$(LIBPROG).o
3942d15982SGordon RossSRCS=	$(LIBPROG).c
404bff34e3SthurlowPOFILE=	$(LIBPROG).po
41613a2f6bSGordon RossCLOBBERFILES	+= $(LIBPROG)
424bff34e3Sthurlow
43*0463c800SGordon Ross$(ROOTLIBFSTYPE)/mount := FILEMODE= 0555
4442d15982SGordon Ross
454bff34e3SthurlowCFLAGS += $(CCVERBOSE)
467014882cSRichard LoweCERRWARN += -_gcc=-Wno-parentheses
477014882cSRichard LoweCERRWARN += -_gcc=-Wno-unused-label
484bff34e3Sthurlow
494d925e45SGordon RossLDLIBS += -lsmbfs
50613a2f6bSGordon Ross
51613a2f6bSGordon RossCPPFLAGS += -I$(SRC)/uts/common -I$(SRC)/lib/libsmbfs
52613a2f6bSGordon Ross
534bff34e3Sthurlow.KEEP_STATE:
544bff34e3Sthurlow
554bff34e3Sthurlowall:	$(ROOTFS_PROG)
564bff34e3Sthurlow
574bff34e3SthurlowPOFILE=		mount.po
584bff34e3Sthurlow
594bff34e3Sthurlowcatalog:	$(POFILE)
604bff34e3Sthurlow
614bff34e3Sthurlowinstall:	$(ROOTLIBFSTYPEPROG)
624bff34e3Sthurlow
634bff34e3Sthurlowclean:
644bff34e3Sthurlow	$(RM) $(OBJS) $(POFILE)
65