xref: /illumos-gate/usr/src/cmd/fs.d/smbclnt/smbiod/Makefile (revision a5f20e891eb1b5d2af2255e766a1dc3b35ac9936)
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#
23a547be5dSGordon Ross# Copyright (c) 2009, 2010, Oracle and/or its affiliates. All rights reserved.
24*5661bb76SJohn Levon# Copyright (c) 2018, Joyent, Inc.
25613a2f6bSGordon Ross#
26613a2f6bSGordon Ross
27613a2f6bSGordon Ross#
28613a2f6bSGordon Ross# cmd/fs.d/smbclnt/smbiod/Makefile
29613a2f6bSGordon Ross#
30613a2f6bSGordon Ross
31613a2f6bSGordon RossFSTYPE=		smbfs
32613a2f6bSGordon RossTYPEPROG=	smbiod
33613a2f6bSGordon Ross
34613a2f6bSGordon Rossinclude		../../Makefile.fstype
35613a2f6bSGordon Ross
36613a2f6bSGordon RossOBJS=	$(TYPEPROG).o
37613a2f6bSGordon RossSRCS=	$(TYPEPROG).c
38613a2f6bSGordon RossPOFILE=	$(TYPEPROG).po
39613a2f6bSGordon Ross
40613a2f6bSGordon RossCFLAGS += $(CCVERBOSE)
41613a2f6bSGordon Ross
42a547be5dSGordon RossLDLIBS += -lsmbfs -lumem
43613a2f6bSGordon Ross
44613a2f6bSGordon RossCPPFLAGS += -I$(SRC)/lib/libsmbfs \
45613a2f6bSGordon Ross	-I$(SRC)/uts/common/smbclnt -I$(SRC)/uts/common
46613a2f6bSGordon Ross
47*5661bb76SJohn Levon# not linted
48*5661bb76SJohn LevonSMATCH=off
49*5661bb76SJohn Levon
50613a2f6bSGordon Ross# Debugging
51613a2f6bSGordon Ross${NOT_RELEASE_BUILD} CPPFLAGS += -DDEBUG
52613a2f6bSGordon Ross
53613a2f6bSGordon Rossall:	$(TYPEPROG)
54613a2f6bSGordon Ross
55613a2f6bSGordon Rosscatalog:	$(POFILE)
56613a2f6bSGordon Ross
57613a2f6bSGordon Rossclean:
58613a2f6bSGordon Ross	$(RM) $(OBJS) $(POFILE)
59613a2f6bSGordon Ross
60613a2f6bSGordon Ross.KEEP_STATE:
61