xref: /titanic_52/usr/src/cmd/fs.d/nfs/Makefile (revision 1a7c1b724419d3cb5fa6eea75123c6b2060ba31b)
1#
2# CDDL HEADER START
3#
4# The contents of this file are subject to the terms of the
5# Common Development and Distribution License, Version 1.0 only
6# (the "License").  You may not use this file except in compliance
7# with the License.
8#
9# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
10# or http://www.opensolaris.org/os/licensing.
11# See the License for the specific language governing permissions
12# and limitations under the License.
13#
14# When distributing Covered Code, include this CDDL HEADER in each
15# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
16# If applicable, add the following below this CDDL HEADER, with the
17# fields enclosed by brackets "[]" replaced with your own identifying
18# information: Portions Copyright [yyyy] [name of copyright owner]
19#
20# CDDL HEADER END
21#
22#
23#ident	"%Z%%M%	%I%	%E% SMI"
24#
25# Copyright 2004 Sun Microsystems, Inc.  All rights reserved.
26# Use is subject to license terms.
27#
28# cmd/fs.d/nfs/Makefile
29#
30#  cmd/fs.d/nfs is the directory of all nfs specific commands
31#  whose executable reside in $(INSDIR1) and $(INSDIR2).
32#
33
34SUBDIR1=	exportfs nfsd rquotad unshare \
35		statd nfsstat mountd dfshares \
36		nfsfind nfs4cbd
37SUBDIR2=	clear_locks lockd umount showmount \
38		share mount dfmounts nfslog nfsmapid \
39		sysidnfs4
40SUBDIR3=	etc svc
41SUBDIRS=	$(SUBDIR1) $(SUBDIR2) $(SUBDIR3)
42
43# for messaging catalog files
44#
45POFILES=        $(SUBDIR2:%=%/%.po)
46POFILE=         nfs.po
47
48all:=		TARGET= all
49install:=	TARGET= install
50clean:=		TARGET= clean
51clobber:=	TARGET= clobber
52lint:=		TARGET= lint
53catalog:=       TARGET= catalog
54
55.KEEP_STATE:
56
57.PARALLEL:	$(SUBDIRS)
58
59all install clean clobber lint: $(SUBDIRS)
60
61catalog: $(SUBDIR2)
62	$(RM) $(POFILE)
63	cat $(POFILES) > $(POFILE)
64
65$(SUBDIRS): FRC
66	@cd $@; pwd; $(MAKE) $(TARGET)
67
68FRC:
69