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 (the "License"). 6# You may not use this file except in compliance with the License. 7# 8# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 9# or http://www.opensolaris.org/os/licensing. 10# See the License for the specific language governing permissions 11# and limitations under the License. 12# 13# When distributing Covered Code, include this CDDL HEADER in each 14# file and include the License file at usr/src/OPENSOLARIS.LICENSE. 15# If applicable, add the following below this CDDL HEADER, with the 16# fields enclosed by brackets "[]" replaced with your own identifying 17# information: Portions Copyright [yyyy] [name of copyright owner] 18# 19# CDDL HEADER END 20# 21# 22# 23# Copyright 2006 Sun Microsystems, Inc. All rights reserved. 24# Use is subject to license terms. 25# 26# /usr/src/cmd/lib/fs/ufs is the directory of all ufs specific commands 27# whose executable reside in $(INSDIR1) and $(INSDIR2). 28# 29# NOTE: ufsdump and ufsrestore have been merged into hsmdump and 30# hsmrestore. The source is located in usr/src/cmd/backup. 31# When the Online Backup producted is no longer supported 32# they should be moved here again. 33# 34 35 36SUBDIR1= clri edquota ff fsck fsckall fsdb fsirand fstyp \ 37 labelit lockfs ncheck quot quota quotacheck quotaon \ 38 repquota tunefs 39SUBDIR2= df fssnap mkfs mount newfs volcopy 40ROLLDIR= roll_log 41SUBDIRS= $(ROLLDIR) $(SUBDIR1) $(SUBDIR2) 42 43all:= TARGET= all 44install:= TARGET= install 45clean:= TARGET= clean 46clobber:= TARGET= clobber 47catalog:= TARGET= catalog 48 49# for messaging catalog 50# 51POFILE= ufs.po 52POFILES= $(SUBDIR2:%=%/%.po) 53 54.KEEP_STATE: 55 56.PARALLEL: $(SUBDIRS) 57 58all install: $(ROLLDIR) .WAIT $(SUBDIR1) $(SUBDIR2) 59 60catalog: $(POFILE) 61 62$(POFILE): $(SUBDIR2) 63 $(RM) $@ 64 cat $(POFILES) > $@ 65 66clean clobber: $(SUBDIRS) 67 68$(SUBDIRS): FRC 69 @cd $@; pwd; $(MAKE) $(TARGET) 70 71FRC: 72