xref: /titanic_51/usr/src/cmd/fs.d/smbclnt/smbiod/Makefile (revision a547be5daca7e465ca82df6d179f6b1f8e0cda72)
1613a2f6bSGordon Ross#
2613a2f6bSGordon Ross# CDDL HEADER START
3613a2f6bSGordon Ross#
4613a2f6bSGordon Ross# The contents of this file are subject to the terms of the
5613a2f6bSGordon Ross# Common Development and Distribution License (the "License").
6613a2f6bSGordon Ross# You may not use this file except in compliance with the License.
7613a2f6bSGordon Ross#
8613a2f6bSGordon Ross# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9613a2f6bSGordon Ross# or http://www.opensolaris.org/os/licensing.
10613a2f6bSGordon Ross# See the License for the specific language governing permissions
11613a2f6bSGordon Ross# and limitations under the License.
12613a2f6bSGordon Ross#
13613a2f6bSGordon Ross# When distributing Covered Code, include this CDDL HEADER in each
14613a2f6bSGordon Ross# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15613a2f6bSGordon Ross# If applicable, add the following below this CDDL HEADER, with the
16613a2f6bSGordon Ross# fields enclosed by brackets "[]" replaced with your own identifying
17613a2f6bSGordon Ross# information: Portions Copyright [yyyy] [name of copyright owner]
18613a2f6bSGordon Ross#
19613a2f6bSGordon Ross# CDDL HEADER END
20613a2f6bSGordon Ross#
21613a2f6bSGordon Ross
22613a2f6bSGordon Ross#
23*a547be5dSGordon Ross# Copyright (c) 2009, 2010, Oracle and/or its affiliates. All rights reserved.
24613a2f6bSGordon Ross#
25613a2f6bSGordon Ross
26613a2f6bSGordon Ross#
27613a2f6bSGordon Ross# cmd/fs.d/smbclnt/smbiod/Makefile
28613a2f6bSGordon Ross#
29613a2f6bSGordon Ross
30613a2f6bSGordon RossFSTYPE=		smbfs
31613a2f6bSGordon RossTYPEPROG=	smbiod
32613a2f6bSGordon Ross
33613a2f6bSGordon Rossinclude		../../Makefile.fstype
34613a2f6bSGordon Ross
35613a2f6bSGordon RossOBJS=	$(TYPEPROG).o
36613a2f6bSGordon RossSRCS=	$(TYPEPROG).c
37613a2f6bSGordon RossPOFILE=	$(TYPEPROG).po
38613a2f6bSGordon Ross
39613a2f6bSGordon RossCFLAGS += $(CCVERBOSE)
40613a2f6bSGordon RossC99MODE= $(C99_ENABLE)
41613a2f6bSGordon Ross
42613a2f6bSGordon Ross# This is a multi-thread program but Nevada
43613a2f6bSGordon Ross# no longer needs -lthread
44*a547be5dSGordon RossLDLIBS += -lsmbfs -lumem
45613a2f6bSGordon Ross
46613a2f6bSGordon RossCPPFLAGS += -I$(SRC)/lib/libsmbfs \
47613a2f6bSGordon Ross	-I$(SRC)/uts/common/smbclnt -I$(SRC)/uts/common
48613a2f6bSGordon Ross
49613a2f6bSGordon Ross# Debugging
50613a2f6bSGordon Ross${NOT_RELEASE_BUILD} CPPFLAGS += -DDEBUG
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=
57613a2f6bSGordon Ross
58613a2f6bSGordon Rossall:	$(TYPEPROG)
59613a2f6bSGordon Ross
60613a2f6bSGordon Rosscatalog:	$(POFILE)
61613a2f6bSGordon Ross
62613a2f6bSGordon Rosslint:	lint_SRCS
63613a2f6bSGordon Ross
64613a2f6bSGordon Rossclean:
65613a2f6bSGordon Ross	$(RM) $(OBJS) $(POFILE)
66613a2f6bSGordon Ross
67613a2f6bSGordon Ross.KEEP_STATE:
68