Makefile revision 7014882c6a3672fd0e5d60200af8643ae53c5928
177e523c48674936078c1422403840de159db5dfEvan Hunt#
177e523c48674936078c1422403840de159db5dfEvan Hunt# CDDL HEADER START
177e523c48674936078c1422403840de159db5dfEvan Hunt#
177e523c48674936078c1422403840de159db5dfEvan Hunt# The contents of this file are subject to the terms of the
177e523c48674936078c1422403840de159db5dfEvan Hunt# Common Development and Distribution License (the "License").
7acc2f21563b79229d592f09dde17e60d64afc8fEvan Hunt# You may not use this file except in compliance with the License.
7acc2f21563b79229d592f09dde17e60d64afc8fEvan Hunt#
7acc2f21563b79229d592f09dde17e60d64afc8fEvan Hunt# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
7acc2f21563b79229d592f09dde17e60d64afc8fEvan Hunt# or http://www.opensolaris.org/os/licensing.
7acc2f21563b79229d592f09dde17e60d64afc8fEvan Hunt# See the License for the specific language governing permissions
e58eb371a047c3a8aee4ce9aaca0f7f3673432a4Mukund Sivaraman# and limitations under the License.
e58eb371a047c3a8aee4ce9aaca0f7f3673432a4Mukund Sivaraman#
e58eb371a047c3a8aee4ce9aaca0f7f3673432a4Mukund Sivaraman# When distributing Covered Code, include this CDDL HEADER in each
e58eb371a047c3a8aee4ce9aaca0f7f3673432a4Mukund Sivaraman# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
e58eb371a047c3a8aee4ce9aaca0f7f3673432a4Mukund Sivaraman# If applicable, add the following below this CDDL HEADER, with the
2ff2145ff53ec10df0e3c9c51906d63187fd54faMark Andrews# fields enclosed by brackets "[]" replaced with your own identifying
2ff2145ff53ec10df0e3c9c51906d63187fd54faMark Andrews# information: Portions Copyright [yyyy] [name of copyright owner]
c213a58e803c0bba12e3df0f33405eaee907acc6Evan Hunt#
c213a58e803c0bba12e3df0f33405eaee907acc6Evan Hunt# CDDL HEADER END
c213a58e803c0bba12e3df0f33405eaee907acc6Evan Hunt#
f4102ab13ea049d73f5523c1a94fe2b83c408c9eMark Andrews#
a98f70acc8d36bf73c000808ffed455ad8f15b02Evan Hunt# Copyright 2010 Sun Microsystems, Inc. All rights reserved.
a98f70acc8d36bf73c000808ffed455ad8f15b02Evan Hunt# Use is subject to license terms.
8b61aef4dcc53267a500449058c0af705e3a64d1Evan Hunt#
2616cb69443f6ccd1900901c91e04d86886a7197Evan Hunt
2616cb69443f6ccd1900901c91e04d86886a7197Evan HuntFSTYPE= smbfs
e785f9c1c7d838b9a773a757210388130eba5c4aMark AndrewsLIBPROG= chacl
e785f9c1c7d838b9a773a757210388130eba5c4aMark AndrewsROOTFS_PROG= $(LIBPROG)
e785f9c1c7d838b9a773a757210388130eba5c4aMark Andrews
591389c7d44e5ca20c357627dd179772cfefaaccEvan Huntinclude ../../Makefile.fstype
591389c7d44e5ca20c357627dd179772cfefaaccEvan Hunt
591389c7d44e5ca20c357627dd179772cfefaaccEvan HuntOBJS= $(LIBPROG).o
591389c7d44e5ca20c357627dd179772cfefaaccEvan HuntSRCS= $(LIBPROG).c $(FSLIBSRC)
591389c7d44e5ca20c357627dd179772cfefaaccEvan Hunt
591389c7d44e5ca20c357627dd179772cfefaaccEvan HuntLDLIBS += -lsmbfs -lsec
591389c7d44e5ca20c357627dd179772cfefaaccEvan Hunt
591389c7d44e5ca20c357627dd179772cfefaaccEvan HuntCFLAGS += $(CCVERBOSE)
591389c7d44e5ca20c357627dd179772cfefaaccEvan HuntCERRWARN += -_gcc=-Wno-unused-variable
591389c7d44e5ca20c357627dd179772cfefaaccEvan HuntCERRWARN += -_gcc=-Wno-unused-label
1059bc2e42e8214f8b73d3b4cd181d8394a94a6aFrancis DupontC99MODE= $(C99_ENABLE)
1059bc2e42e8214f8b73d3b4cd181d8394a94a6aFrancis Dupont
1059bc2e42e8214f8b73d3b4cd181d8394a94a6aFrancis DupontCLOBBERFILES += $(LIBPROG)
1059bc2e42e8214f8b73d3b4cd181d8394a94a6aFrancis Dupont
801fb8b894c75fc1e3fa0284e096ade6dcdc1110Evan Huntall: $(ROOTFS_PROG)
801fb8b894c75fc1e3fa0284e096ade6dcdc1110Evan Hunt
801fb8b894c75fc1e3fa0284e096ade6dcdc1110Evan Huntinstall: $(ROOTLIBFSTYPEPROG)
801fb8b894c75fc1e3fa0284e096ade6dcdc1110Evan Hunt
801fb8b894c75fc1e3fa0284e096ade6dcdc1110Evan Huntlint: lint_SRCS
4eefa351cc5549a2cebb45d274f10249e31f6945Mukund Sivaraman
4eefa351cc5549a2cebb45d274f10249e31f6945Mukund Sivaramanclean:
fe12a8f1077c1556922f1a3be2f592c761917838Mukund Sivaraman $(RM) $(OBJS)
fe12a8f1077c1556922f1a3be2f592c761917838Mukund Sivaraman
b82963f96b452e2acbdf2ebd3d96de0ff0859a68Evan Hunt.KEEP_STATE:
b82963f96b452e2acbdf2ebd3d96de0ff0859a68Evan Hunt