xref: /illumos-gate/usr/src/cmd/fs.d/smbclnt/Makefile (revision a5f20e89)
14bff34e3Sthurlow#
24bff34e3Sthurlow# CDDL HEADER START
34bff34e3Sthurlow#
44bff34e3Sthurlow# The contents of this file are subject to the terms of the
54bff34e3Sthurlow# Common Development and Distribution License (the "License").
64bff34e3Sthurlow# You may not use this file except in compliance with the License.
74bff34e3Sthurlow#
84bff34e3Sthurlow# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
94bff34e3Sthurlow# or http://www.opensolaris.org/os/licensing.
104bff34e3Sthurlow# See the License for the specific language governing permissions
114bff34e3Sthurlow# and limitations under the License.
124bff34e3Sthurlow#
134bff34e3Sthurlow# When distributing Covered Code, include this CDDL HEADER in each
144bff34e3Sthurlow# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
154bff34e3Sthurlow# If applicable, add the following below this CDDL HEADER, with the
164bff34e3Sthurlow# fields enclosed by brackets "[]" replaced with your own identifying
174bff34e3Sthurlow# information: Portions Copyright [yyyy] [name of copyright owner]
184bff34e3Sthurlow#
194bff34e3Sthurlow# CDDL HEADER END
204bff34e3Sthurlow#
21613a2f6bSGordon Ross
224bff34e3Sthurlow#
23a547be5dSGordon Ross# Copyright (c) 2008, 2010, Oracle and/or its affiliates. All rights reserved.
248329232eSGordon Ross# Copyright 2017 Nexenta Systems, Inc.  All rights reserved.
254bff34e3Sthurlow#
26613a2f6bSGordon Ross
274bff34e3Sthurlow#
28613a2f6bSGordon Ross# cmd/fs.d/smbclnt/Makefile
29613a2f6bSGordon Ross#  contains the CIFS client commands
304bff34e3Sthurlow#
314bff34e3Sthurlow
324bff34e3Sthurlowinclude $(SRC)/Makefile.master
334bff34e3Sthurlow
34d3520e53SGordon RossSUBDIRS_CATALOG=	smbutil mount umount share
35a547be5dSGordon RossSUBDIRS=		$(SUBDIRS_CATALOG) chacl lsacl \
368329232eSGordon Ross			smbiod smbiod-svc svc fksmbcl
374bff34e3Sthurlow
384bff34e3Sthurlow# for messaging catalog files
394bff34e3Sthurlow#
40d3520e53SGordon RossPOFILES=        smbutil/smbutil_all.po mount/mount.po umount/umount.po \
41d3520e53SGordon Ross		share/share.po share/unshare.po
424bff34e3SthurlowPOFILE=         smbclnt.po
434bff34e3Sthurlow
444bff34e3Sthurlowall:=		TARGET= all
454bff34e3Sthurlowinstall:=	TARGET= install
464bff34e3Sthurlowclean:=		TARGET= clean
474bff34e3Sthurlowclobber:=	TARGET= clobber
484bff34e3Sthurlowcatalog:=       TARGET= catalog
494bff34e3Sthurlow
504bff34e3Sthurlow.KEEP_STATE:
514bff34e3Sthurlow
524bff34e3Sthurlow.PARALLEL:	$(SUBDIRS)
534bff34e3Sthurlow
54*a5f20e89SToomas Soomeall install clean clobber: $(SUBDIRS)
554bff34e3Sthurlow
56613a2f6bSGordon Rosscatalog: $(SUBDIRS_CATALOG)
574bff34e3Sthurlow	$(RM) $(POFILE)
584bff34e3Sthurlow	cat $(POFILES) > $(POFILE)
594bff34e3Sthurlow
604bff34e3Sthurlow$(SUBDIRS): FRC
614bff34e3Sthurlow	@cd $@; pwd; $(MAKE) $(TARGET)
624bff34e3Sthurlow
634bff34e3SthurlowFRC:
64