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 2005 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 34include $(SRC)/Makefile.master 35 36SUBDIR1= exportfs nfsd rquotad unshare \ 37 statd nfsstat mountd dfshares \ 38 nfsfind nfs4cbd 39SUBDIR2= clear_locks umount showmount \ 40 share mount dfmounts nfslog nfsmapid \ 41 sysidnfs4 42 43SUBDIR3= etc svc 44SUBDIRS= $(SUBDIR1) $(SUBDIR2) $(SUBDIR3) 45 46# for messaging catalog files 47# 48POFILES= $(SUBDIR2:%=%/%.po) 49POFILE= nfs.po 50 51LOCKD= $(CLOSED)/cmd/fs.d/nfs/lockd 52$(CLOSED_BUILD)CLOSED_SUBDIR2= $(LOCKD) 53$(CLOSED_BUILD)POFILES += $(LOCKD)/lockd.po 54$(CLOSED_BUILD)SUBDIRS += $(CLOSED_SUBDIR2) 55 56all:= TARGET= all 57install:= TARGET= install 58clean:= TARGET= clean 59clobber:= TARGET= clobber 60lint:= TARGET= lint 61catalog:= TARGET= catalog 62 63.KEEP_STATE: 64 65.PARALLEL: $(SUBDIRS) 66 67all install clean clobber lint: $(SUBDIRS) 68 69catalog: $(SUBDIR2) $(CLOSED_SUBDIR2) 70 $(RM) $(POFILE) 71 cat $(POFILES) > $(POFILE) 72 73$(SUBDIRS): FRC 74 @cd $@; pwd; $(MAKE) $(TARGET) 75 76FRC: 77