xref: /titanic_51/usr/src/cmd/fs.d/smbclnt/chacl/Makefile (revision 7014882c6a3672fd0e5d60200af8643ae53c5928)
1bd7c6f51SGordon Ross#
2bd7c6f51SGordon Ross# CDDL HEADER START
3bd7c6f51SGordon Ross#
4bd7c6f51SGordon Ross# The contents of this file are subject to the terms of the
5bd7c6f51SGordon Ross# Common Development and Distribution License (the "License").
6bd7c6f51SGordon Ross# You may not use this file except in compliance with the License.
7bd7c6f51SGordon Ross#
8bd7c6f51SGordon Ross# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9bd7c6f51SGordon Ross# or http://www.opensolaris.org/os/licensing.
10bd7c6f51SGordon Ross# See the License for the specific language governing permissions
11bd7c6f51SGordon Ross# and limitations under the License.
12bd7c6f51SGordon Ross#
13bd7c6f51SGordon Ross# When distributing Covered Code, include this CDDL HEADER in each
14bd7c6f51SGordon Ross# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15bd7c6f51SGordon Ross# If applicable, add the following below this CDDL HEADER, with the
16bd7c6f51SGordon Ross# fields enclosed by brackets "[]" replaced with your own identifying
17bd7c6f51SGordon Ross# information: Portions Copyright [yyyy] [name of copyright owner]
18bd7c6f51SGordon Ross#
19bd7c6f51SGordon Ross# CDDL HEADER END
20bd7c6f51SGordon Ross#
21bd7c6f51SGordon Ross#
22bd7c6f51SGordon Ross# Copyright 2010 Sun Microsystems, Inc.  All rights reserved.
23bd7c6f51SGordon Ross# Use is subject to license terms.
24bd7c6f51SGordon Ross#
25bd7c6f51SGordon Ross
26bd7c6f51SGordon RossFSTYPE=		smbfs
27bd7c6f51SGordon RossLIBPROG=	chacl
28bd7c6f51SGordon RossROOTFS_PROG=	$(LIBPROG)
29bd7c6f51SGordon Ross
30bd7c6f51SGordon Rossinclude		../../Makefile.fstype
31bd7c6f51SGordon Ross
32bd7c6f51SGordon RossOBJS=	$(LIBPROG).o
33bd7c6f51SGordon RossSRCS=	$(LIBPROG).c $(FSLIBSRC)
34bd7c6f51SGordon Ross
35bd7c6f51SGordon RossLDLIBS += -lsmbfs -lsec
36bd7c6f51SGordon Ross
37bd7c6f51SGordon RossCFLAGS += $(CCVERBOSE)
38*7014882cSRichard LoweCERRWARN += -_gcc=-Wno-unused-variable
39*7014882cSRichard LoweCERRWARN += -_gcc=-Wno-unused-label
40bd7c6f51SGordon RossC99MODE= $(C99_ENABLE)
41bd7c6f51SGordon Ross
42bd7c6f51SGordon RossCLOBBERFILES	+= $(LIBPROG)
43bd7c6f51SGordon Ross
44bd7c6f51SGordon Rossall:	$(ROOTFS_PROG)
45bd7c6f51SGordon Ross
46bd7c6f51SGordon Rossinstall:	$(ROOTLIBFSTYPEPROG)
47bd7c6f51SGordon Ross
48bd7c6f51SGordon Rosslint:	lint_SRCS
49bd7c6f51SGordon Ross
50bd7c6f51SGordon Rossclean:
51bd7c6f51SGordon Ross	$(RM) $(OBJS)
52bd7c6f51SGordon Ross
53bd7c6f51SGordon Ross.KEEP_STATE:
54