Unleashed v1.4
[unleashed.git] / usr / src / cmd / fs.d / pcfs / Makefile
bloba4a5b58a48b0808ad6760ac16e1f55d293ce317f
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 #ident "%Z%%M% %I% %E% SMI"
24 # Copyright 2006 Sun Microsystems, Inc. All rights reserved.
25 # Use is subject to license terms.
27 # /usr/src/cmd/lib/fs/pcfs is the directory of all pcfs specific commands
28 # whose executable reside in $(INSDIR1) and $(INSDIR2).
31 SUBDIR1= mount fstyp
32 SUBDIR2= mkfs fsck
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= pcfs.po
44 POFILES= $(SUBDIR2:%=%/%.po)
46 .KEEP_STATE:
48 .PARALLEL: $(SUBDIRS)
50 all install: $(SUBDIRS)
52 catalog: $(POFILE)
54 $(POFILE): $(SUBDIR2)
55 $(RM) $@
56 cat $(POFILES) > $@
58 clean clobber: $(SUBDIRS)
60 $(SUBDIRS): FRC
61 @cd $@; pwd; $(MAKE) $(MFLAGS) $(TARGET)
63 FRC: