Makefile revision 613a2f6ba31e891e3d947a356daf5e563d43c1ce
9a5087bf58f651bfff841192aba5afd06760d6ceTinderbox User#
9a5087bf58f651bfff841192aba5afd06760d6ceTinderbox User# CDDL HEADER START
9a5087bf58f651bfff841192aba5afd06760d6ceTinderbox User#
e62b9c9ce6413fb183c8116381e75dcd07ca5517Tinderbox User# The contents of this file are subject to the terms of the
9a5087bf58f651bfff841192aba5afd06760d6ceTinderbox User# Common Development and Distribution License (the "License").
9a5087bf58f651bfff841192aba5afd06760d6ceTinderbox User# You may not use this file except in compliance with the License.
9a5087bf58f651bfff841192aba5afd06760d6ceTinderbox User#
e62b9c9ce6413fb183c8116381e75dcd07ca5517Tinderbox User# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9a5087bf58f651bfff841192aba5afd06760d6ceTinderbox User# or http://www.opensolaris.org/os/licensing.
9a5087bf58f651bfff841192aba5afd06760d6ceTinderbox User# See the License for the specific language governing permissions
9a5087bf58f651bfff841192aba5afd06760d6ceTinderbox User# and limitations under the License.
9a5087bf58f651bfff841192aba5afd06760d6ceTinderbox User#
9a5087bf58f651bfff841192aba5afd06760d6ceTinderbox User# When distributing Covered Code, include this CDDL HEADER in each
9a5087bf58f651bfff841192aba5afd06760d6ceTinderbox User# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
9a5087bf58f651bfff841192aba5afd06760d6ceTinderbox User# If applicable, add the following below this CDDL HEADER, with the
9a5087bf58f651bfff841192aba5afd06760d6ceTinderbox User# fields enclosed by brackets "[]" replaced with your own identifying
9a5087bf58f651bfff841192aba5afd06760d6ceTinderbox User# information: Portions Copyright [yyyy] [name of copyright owner]
9a5087bf58f651bfff841192aba5afd06760d6ceTinderbox User#
9a5087bf58f651bfff841192aba5afd06760d6ceTinderbox User# CDDL HEADER END
9a5087bf58f651bfff841192aba5afd06760d6ceTinderbox User#
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt#
9a5087bf58f651bfff841192aba5afd06760d6ceTinderbox User# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
9a5087bf58f651bfff841192aba5afd06760d6ceTinderbox User# Use is subject to license terms.
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt#
9a5087bf58f651bfff841192aba5afd06760d6ceTinderbox User
9a5087bf58f651bfff841192aba5afd06760d6ceTinderbox User#
9a5087bf58f651bfff841192aba5afd06760d6ceTinderbox User# cmd/fs.d/smbclnt/smbiod/Makefile
9a5087bf58f651bfff841192aba5afd06760d6ceTinderbox User#
9a5087bf58f651bfff841192aba5afd06760d6ceTinderbox User
9a5087bf58f651bfff841192aba5afd06760d6ceTinderbox UserFSTYPE= smbfs
9a5087bf58f651bfff841192aba5afd06760d6ceTinderbox UserTYPEPROG= smbiod
9a5087bf58f651bfff841192aba5afd06760d6ceTinderbox User
9a5087bf58f651bfff841192aba5afd06760d6ceTinderbox Userinclude ../../Makefile.fstype
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt
9a5087bf58f651bfff841192aba5afd06760d6ceTinderbox UserOBJS= $(TYPEPROG).o
9a5087bf58f651bfff841192aba5afd06760d6ceTinderbox UserSRCS= $(TYPEPROG).c
9a5087bf58f651bfff841192aba5afd06760d6ceTinderbox UserPOFILE= $(TYPEPROG).po
9a5087bf58f651bfff841192aba5afd06760d6ceTinderbox User
9a5087bf58f651bfff841192aba5afd06760d6ceTinderbox UserCLOBBERFILES += $(TYPEPROG)
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User
9a5087bf58f651bfff841192aba5afd06760d6ceTinderbox UserCFLAGS += $(CCVERBOSE)
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox UserC99MODE= $(C99_ENABLE)
9a5087bf58f651bfff841192aba5afd06760d6ceTinderbox User
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User# This is a multi-thread program but Nevada
9a5087bf58f651bfff841192aba5afd06760d6ceTinderbox User# no longer needs -lthread
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox UserLDLIBS += -lsmbfs -ldoor
9a5087bf58f651bfff841192aba5afd06760d6ceTinderbox User
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox UserCPPFLAGS += -I$(SRC)/lib/libsmbfs \
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User -I$(SRC)/uts/common/smbclnt -I$(SRC)/uts/common
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User# Debugging
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User${NOT_RELEASE_BUILD} CPPFLAGS += -DDEBUG
9a5087bf58f651bfff841192aba5afd06760d6ceTinderbox User
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt# uncomment these for dbx debugging
9a5087bf58f651bfff841192aba5afd06760d6ceTinderbox User#COPTFLAG = -g
9a5087bf58f651bfff841192aba5afd06760d6ceTinderbox User#CTF_FLAGS =
9a5087bf58f651bfff841192aba5afd06760d6ceTinderbox User#CTFCONVERT_O=
9a5087bf58f651bfff841192aba5afd06760d6ceTinderbox User#CTFMERGE_LIB=
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User
9a5087bf58f651bfff841192aba5afd06760d6ceTinderbox Userall: $(TYPEPROG)
9a5087bf58f651bfff841192aba5afd06760d6ceTinderbox User
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox Usercatalog: $(POFILE)
9a5087bf58f651bfff841192aba5afd06760d6ceTinderbox User
9a5087bf58f651bfff841192aba5afd06760d6ceTinderbox Userlint: lint_SRCS
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User
9a5087bf58f651bfff841192aba5afd06760d6ceTinderbox Userclean:
9a5087bf58f651bfff841192aba5afd06760d6ceTinderbox User $(RM) $(OBJS) $(POFILE)
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User.KEEP_STATE:
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User