Makefile revision 18c2aff776a775d34a4c9893a4c72e0434d68e36
1df8cf8012766394a0ec6b36010e236e9a9415b1JazzyNico#
1df8cf8012766394a0ec6b36010e236e9a9415b1JazzyNico# CDDL HEADER START
1df8cf8012766394a0ec6b36010e236e9a9415b1JazzyNico#
1df8cf8012766394a0ec6b36010e236e9a9415b1JazzyNico# The contents of this file are subject to the terms of the
1df8cf8012766394a0ec6b36010e236e9a9415b1JazzyNico# Common Development and Distribution License (the "License").
1df8cf8012766394a0ec6b36010e236e9a9415b1JazzyNico# You may not use this file except in compliance with the License.
1df8cf8012766394a0ec6b36010e236e9a9415b1JazzyNico#
1df8cf8012766394a0ec6b36010e236e9a9415b1JazzyNico# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
1df8cf8012766394a0ec6b36010e236e9a9415b1JazzyNico# or http://www.opensolaris.org/os/licensing.
1df8cf8012766394a0ec6b36010e236e9a9415b1JazzyNico# See the License for the specific language governing permissions
1df8cf8012766394a0ec6b36010e236e9a9415b1JazzyNico# and limitations under the License.
1df8cf8012766394a0ec6b36010e236e9a9415b1JazzyNico#
1df8cf8012766394a0ec6b36010e236e9a9415b1JazzyNico# When distributing Covered Code, include this CDDL HEADER in each
1df8cf8012766394a0ec6b36010e236e9a9415b1JazzyNico# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
1df8cf8012766394a0ec6b36010e236e9a9415b1JazzyNico# If applicable, add the following below this CDDL HEADER, with the
1df8cf8012766394a0ec6b36010e236e9a9415b1JazzyNico# fields enclosed by brackets "[]" replaced with your own identifying
1df8cf8012766394a0ec6b36010e236e9a9415b1JazzyNico# information: Portions Copyright [yyyy] [name of copyright owner]
1df8cf8012766394a0ec6b36010e236e9a9415b1JazzyNico#
1df8cf8012766394a0ec6b36010e236e9a9415b1JazzyNico# CDDL HEADER END
1df8cf8012766394a0ec6b36010e236e9a9415b1JazzyNico#
1df8cf8012766394a0ec6b36010e236e9a9415b1JazzyNico#
1df8cf8012766394a0ec6b36010e236e9a9415b1JazzyNico#ident "%Z%%M% %I% %E% SMI"
1df8cf8012766394a0ec6b36010e236e9a9415b1JazzyNico#
1df8cf8012766394a0ec6b36010e236e9a9415b1JazzyNico# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
1df8cf8012766394a0ec6b36010e236e9a9415b1JazzyNico# Use is subject to license terms.
1df8cf8012766394a0ec6b36010e236e9a9415b1JazzyNico#
1df8cf8012766394a0ec6b36010e236e9a9415b1JazzyNico# /usr/src/cmd/lib/fs/ufs is the directory of all ufs specific commands
1df8cf8012766394a0ec6b36010e236e9a9415b1JazzyNico# whose executable reside in $(INSDIR1) and $(INSDIR2).
1df8cf8012766394a0ec6b36010e236e9a9415b1JazzyNico#
1df8cf8012766394a0ec6b36010e236e9a9415b1JazzyNico# NOTE: ufsdump and ufsrestore have been merged into hsmdump and
1df8cf8012766394a0ec6b36010e236e9a9415b1JazzyNico# hsmrestore. The source is located in usr/src/cmd/backup.
1df8cf8012766394a0ec6b36010e236e9a9415b1JazzyNico# When the Online Backup producted is no longer supported
1df8cf8012766394a0ec6b36010e236e9a9415b1JazzyNico# they should be moved here again.
1df8cf8012766394a0ec6b36010e236e9a9415b1JazzyNico#
1df8cf8012766394a0ec6b36010e236e9a9415b1JazzyNico
1df8cf8012766394a0ec6b36010e236e9a9415b1JazzyNico
1df8cf8012766394a0ec6b36010e236e9a9415b1JazzyNicoSUBDIR1= clri edquota ff fsck fsckall fsdb fsirand fstyp \
1df8cf8012766394a0ec6b36010e236e9a9415b1JazzyNico labelit lockfs ncheck quot quota quotacheck quotaon \
1df8cf8012766394a0ec6b36010e236e9a9415b1JazzyNico repquota tunefs
1df8cf8012766394a0ec6b36010e236e9a9415b1JazzyNicoSUBDIR2= df fssnap mkfs mount newfs volcopy
1df8cf8012766394a0ec6b36010e236e9a9415b1JazzyNicoROLLDIR= roll_log
1df8cf8012766394a0ec6b36010e236e9a9415b1JazzyNicoSUBDIRS= $(ROLLDIR) $(SUBDIR1) $(SUBDIR2)
1df8cf8012766394a0ec6b36010e236e9a9415b1JazzyNico
1df8cf8012766394a0ec6b36010e236e9a9415b1JazzyNicoall:= TARGET= all
1df8cf8012766394a0ec6b36010e236e9a9415b1JazzyNicoinstall:= TARGET= install
1df8cf8012766394a0ec6b36010e236e9a9415b1JazzyNicoclean:= TARGET= clean
1df8cf8012766394a0ec6b36010e236e9a9415b1JazzyNicoclobber:= TARGET= clobber
1df8cf8012766394a0ec6b36010e236e9a9415b1JazzyNicolint:= TARGET= lint
1df8cf8012766394a0ec6b36010e236e9a9415b1JazzyNicocatalog:= TARGET= catalog
1df8cf8012766394a0ec6b36010e236e9a9415b1JazzyNico
1df8cf8012766394a0ec6b36010e236e9a9415b1JazzyNico# for messaging catalog
1df8cf8012766394a0ec6b36010e236e9a9415b1JazzyNico#
1df8cf8012766394a0ec6b36010e236e9a9415b1JazzyNicoPOFILE= ufs.po
1df8cf8012766394a0ec6b36010e236e9a9415b1JazzyNicoPOFILES= $(SUBDIR2:%=%/%.po)
1df8cf8012766394a0ec6b36010e236e9a9415b1JazzyNico
1df8cf8012766394a0ec6b36010e236e9a9415b1JazzyNico.KEEP_STATE:
1df8cf8012766394a0ec6b36010e236e9a9415b1JazzyNico
1df8cf8012766394a0ec6b36010e236e9a9415b1JazzyNico.PARALLEL: $(SUBDIRS)
1df8cf8012766394a0ec6b36010e236e9a9415b1JazzyNico
1df8cf8012766394a0ec6b36010e236e9a9415b1JazzyNicoall install: $(ROLLDIR) .WAIT $(SUBDIR1) $(SUBDIR2)
1df8cf8012766394a0ec6b36010e236e9a9415b1JazzyNico
1df8cf8012766394a0ec6b36010e236e9a9415b1JazzyNicocatalog: $(POFILE)
1df8cf8012766394a0ec6b36010e236e9a9415b1JazzyNico
1df8cf8012766394a0ec6b36010e236e9a9415b1JazzyNico$(POFILE): $(SUBDIR2)
1df8cf8012766394a0ec6b36010e236e9a9415b1JazzyNico $(RM) $@
1df8cf8012766394a0ec6b36010e236e9a9415b1JazzyNico cat $(POFILES) > $@
1df8cf8012766394a0ec6b36010e236e9a9415b1JazzyNico
1df8cf8012766394a0ec6b36010e236e9a9415b1JazzyNicoclean clobber lint: $(SUBDIRS)
1df8cf8012766394a0ec6b36010e236e9a9415b1JazzyNico
1df8cf8012766394a0ec6b36010e236e9a9415b1JazzyNico$(SUBDIRS): FRC
1df8cf8012766394a0ec6b36010e236e9a9415b1JazzyNico @cd $@; pwd; $(MAKE) $(MFLAGS) $(TARGET)
1df8cf8012766394a0ec6b36010e236e9a9415b1JazzyNico
1df8cf8012766394a0ec6b36010e236e9a9415b1JazzyNicoFRC:
1df8cf8012766394a0ec6b36010e236e9a9415b1JazzyNico