xref: /onnv-gate/usr/src/cmd/cmd-inet/Makefile (revision 12097:14107939ac34)
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
53938Sjbeck# Common Development and Distribution License (the "License").
63938Sjbeck# 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#
22*12097SRenee.Sommerfeld@Oracle.COM# Copyright (c) 1990, 2010, Oracle and/or its affiliates. All rights reserved.
230Sstevel@tonic-gate#
241254Smeem
253938Sjbeckinclude		../Makefile.cmd
260Sstevel@tonic-gate
273938SjbeckSUBDIRS=	etc lib sbin usr.bin usr.sbin usr.lib usr.sadm
28*12097SRenee.Sommerfeld@Oracle.COMMSGSUBDIRS=	usr.bin usr.sbin usr.lib usr.sadm
29*12097SRenee.Sommerfeld@Oracle.COMPOFILES=	usr.bin/usr.bin.po usr.sbin/usr.sbin.po usr.sadm/usr.sadm.po
300Sstevel@tonic-gatePOFILE=		cmd-inet.po
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-gate_msg:=          TARGET= _msg
380Sstevel@tonic-gate
390Sstevel@tonic-gate.KEEP_STATE:
400Sstevel@tonic-gate
410Sstevel@tonic-gate.PARALLEL:	$(SUBDIRS)
420Sstevel@tonic-gate
431254Smeemall clean install lint: $(SUBDIRS)
440Sstevel@tonic-gate
450Sstevel@tonic-gateclobber:	$(SUBDIRS) local_clobber
460Sstevel@tonic-gate
470Sstevel@tonic-gatelocal_clobber:
480Sstevel@tonic-gate	$(RM) $(CLOBBERFILES)
490Sstevel@tonic-gate
500Sstevel@tonic-gate_msg: $(MSGSUBDIRS)
510Sstevel@tonic-gate	$(RM) $(POFILE)
521254Smeem	$(CAT) $(POFILES) > $(POFILE)
530Sstevel@tonic-gate	$(RM)  $(MSGDOMAIN)/$(POFILE)
541254Smeem	$(CP) $(POFILE) $(MSGDOMAIN)
550Sstevel@tonic-gate
560Sstevel@tonic-gate$(SUBDIRS): FRC
571254Smeem	@cd $@; pwd; $(MAKE) $(TARGET)
580Sstevel@tonic-gate
590Sstevel@tonic-gateFRC:
60