xref: /onnv-gate/usr/src/cmd/fs.d/udfs/Makefile (revision 2912:85ea316d9c18)
10Sstevel@tonic-gate#
20Sstevel@tonic-gate# CDDL HEADER START
30Sstevel@tonic-gate#
40Sstevel@tonic-gate# The contents of this file are subject to the terms of the
52212Sartem# Common Development and Distribution License (the "License").
62212Sartem# You may not use this file except in compliance with the License.
70Sstevel@tonic-gate#
80Sstevel@tonic-gate# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
90Sstevel@tonic-gate# or http://www.opensolaris.org/os/licensing.
100Sstevel@tonic-gate# See the License for the specific language governing permissions
110Sstevel@tonic-gate# and limitations under the License.
120Sstevel@tonic-gate#
130Sstevel@tonic-gate# When distributing Covered Code, include this CDDL HEADER in each
140Sstevel@tonic-gate# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
150Sstevel@tonic-gate# If applicable, add the following below this CDDL HEADER, with the
160Sstevel@tonic-gate# fields enclosed by brackets "[]" replaced with your own identifying
170Sstevel@tonic-gate# information: Portions Copyright [yyyy] [name of copyright owner]
180Sstevel@tonic-gate#
190Sstevel@tonic-gate# CDDL HEADER END
200Sstevel@tonic-gate#
210Sstevel@tonic-gate#
220Sstevel@tonic-gate#ident	"%Z%%M%	%I%	%E% SMI"
230Sstevel@tonic-gate#
242212Sartem# Copyright 2006 Sun Microsystems, Inc.  All rights reserved.
252212Sartem# Use is subject to license terms.
260Sstevel@tonic-gate#
270Sstevel@tonic-gate
282212SartemSUBDIR1=	fstyp
29*2912SartemSUBDIR2=	fsck fsdb labelit mkfs mount
302212SartemSUBDIRS=	$(SUBDIR1) $(SUBDIR2)
310Sstevel@tonic-gate
320Sstevel@tonic-gateall:=		TARGET= all
330Sstevel@tonic-gateinstall:=	TARGET= install
340Sstevel@tonic-gateclean:=		TARGET= clean
350Sstevel@tonic-gateclobber:=	TARGET= clobber
360Sstevel@tonic-gatelint:=		TARGET= lint
370Sstevel@tonic-gateputback:=	TARGET= putback
380Sstevel@tonic-gatecatalog:=       TARGET= catalog
390Sstevel@tonic-gate
400Sstevel@tonic-gate# for messaging catalog
410Sstevel@tonic-gate#
420Sstevel@tonic-gatePOFILE= udfs.po
432212SartemPOFILES= $(SUBDIR2:%=%/%.po)
440Sstevel@tonic-gate
450Sstevel@tonic-gate.KEEP_STATE:
460Sstevel@tonic-gate
470Sstevel@tonic-gate.PARALLEL:	$(SUBDIRS)
480Sstevel@tonic-gate
490Sstevel@tonic-gateall install:	$(SUBDIRS)
500Sstevel@tonic-gate
510Sstevel@tonic-gatecatalog:        $(POFILE)
520Sstevel@tonic-gate
532212Sartem$(POFILE):      $(SUBDIR2)
540Sstevel@tonic-gate	$(RM) 	$@
550Sstevel@tonic-gate	cat     $(POFILES)      > $@
560Sstevel@tonic-gate
570Sstevel@tonic-gateclean clobber lint putback : $(SUBDIRS)
580Sstevel@tonic-gate
590Sstevel@tonic-gate$(SUBDIRS): FRC
600Sstevel@tonic-gate	@cd $@; pwd; $(MAKE) $(MFLAGS) $(TARGET)
610Sstevel@tonic-gate
620Sstevel@tonic-gateFRC:
63