Merge commit 'ad3ad82ad2fb99c424a8482bd1908d08b990ccea'
[unleashed.git] / usr / src / cmd / fs.d / hsfs / Makefile
blob75e65ed64847bec3a805f3d8b28852ad0ec15a9d
2 # CDDL HEADER START
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.
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.
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]
19 # CDDL HEADER END
22 # Copyright 2006 Sun Microsystems, Inc. All rights reserved.
23 # Use is subject to license terms.
25 # ident "%Z%%M% %I% %E% SMI"
27 # /usr/src/cmd/lib/fs/hsfs is the directory of all ufs specific commands
28 # whose executable reside in $(INSDIR1) and $(INSDIR2).
31 SUBDIR1= fstyp labelit
32 SUBDIR2= mount
33 SUBDIRS= $(SUBDIR1) $(SUBDIR2)
35 all:= TARGET= all
36 install:= TARGET= install
37 clean:= TARGET= clean
38 clobber:= TARGET= clobber
39 catalog:= TARGET= catalog
41 # for messaging catalog
43 POFILE= hsfs.po
44 POFILES= $(SUBDIR2:%=%/%.po)
47 .KEEP_STATE:
49 .PARALLEL: $(SUBDIRS)
51 all: $(SUBDIRS)
53 catalog: $(SUBDIR2)
54 $(RM) $(POFILE)
55 cat $(POFILES) > $(POFILE)
57 install clean clobber: $(SUBDIRS)
59 $(SUBDIRS): FRC
60 @cd $@; pwd; $(MAKE) $(MFLAGS) $(TARGET)
62 FRC: