1a547be5dSGordon Ross#
2a547be5dSGordon Ross# CDDL HEADER START
3a547be5dSGordon Ross#
4a547be5dSGordon Ross# The contents of this file are subject to the terms of the
5a547be5dSGordon Ross# Common Development and Distribution License (the "License").
6a547be5dSGordon Ross# You may not use this file except in compliance with the License.
7a547be5dSGordon Ross#
8a547be5dSGordon Ross# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9a547be5dSGordon Ross# or http://www.opensolaris.org/os/licensing.
10a547be5dSGordon Ross# See the License for the specific language governing permissions
11a547be5dSGordon Ross# and limitations under the License.
12a547be5dSGordon Ross#
13a547be5dSGordon Ross# When distributing Covered Code, include this CDDL HEADER in each
14a547be5dSGordon Ross# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15a547be5dSGordon Ross# If applicable, add the following below this CDDL HEADER, with the
16a547be5dSGordon Ross# fields enclosed by brackets "[]" replaced with your own identifying
17a547be5dSGordon Ross# information: Portions Copyright [yyyy] [name of copyright owner]
18a547be5dSGordon Ross#
19a547be5dSGordon Ross# CDDL HEADER END
20a547be5dSGordon Ross#
21a547be5dSGordon Ross
22a547be5dSGordon Ross#
23a547be5dSGordon Ross# Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
24a547be5dSGordon Ross#
25*5661bb76SJohn Levon# Copyright (c) 2018, Joyent, Inc.
26a547be5dSGordon Ross
27a547be5dSGordon RossFSTYPE=		smbfs
28a547be5dSGordon RossTYPEPROG=	smbiod-svc
29a547be5dSGordon Ross
30a547be5dSGordon Rossinclude		../../Makefile.fstype
31a547be5dSGordon Ross
32a547be5dSGordon RossOBJS=	$(TYPEPROG).o
33a547be5dSGordon RossSRCS=	$(TYPEPROG).c
34a547be5dSGordon RossPOFILE=	$(TYPEPROG).po
35a547be5dSGordon Ross
36a547be5dSGordon RossCFLAGS += $(CCVERBOSE)
37a547be5dSGordon Ross
38a547be5dSGordon RossCPPFLAGS += -I$(SRC)/lib/libsmbfs \
39a547be5dSGordon Ross	-I$(SRC)/uts/common/smbclnt -I$(SRC)/uts/common
40a547be5dSGordon Ross
41*5661bb76SJohn Levon# not linted
42*5661bb76SJohn LevonSMATCH=off
43*5661bb76SJohn Levon
44a547be5dSGordon Ross# Debugging
45a547be5dSGordon Ross${NOT_RELEASE_BUILD} CPPFLAGS += -DDEBUG
46a547be5dSGordon Ross
47a547be5dSGordon Rossall:	$(TYPEPROG)
48a547be5dSGordon Ross
49a547be5dSGordon Rosscatalog:	$(POFILE)
50a547be5dSGordon Ross
51a547be5dSGordon Rossclean:
52a547be5dSGordon Ross	$(RM) $(OBJS) $(POFILE)
53a547be5dSGordon Ross
54a547be5dSGordon Ross.KEEP_STATE:
55