xref: /onnv-gate/usr/src/cmd/sgs/elfedit/modules/Makefile (revision 5088:26c540f30cd3)
1*5088Sab196087#
2*5088Sab196087# CDDL HEADER START
3*5088Sab196087#
4*5088Sab196087# The contents of this file are subject to the terms of the
5*5088Sab196087# Common Development and Distribution License (the "License").
6*5088Sab196087# You may not use this file except in compliance with the License.
7*5088Sab196087#
8*5088Sab196087# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9*5088Sab196087# or http://www.opensolaris.org/os/licensing.
10*5088Sab196087# See the License for the specific language governing permissions
11*5088Sab196087# and limitations under the License.
12*5088Sab196087#
13*5088Sab196087# When distributing Covered Code, include this CDDL HEADER in each
14*5088Sab196087# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15*5088Sab196087# If applicable, add the following below this CDDL HEADER, with the
16*5088Sab196087# fields enclosed by brackets "[]" replaced with your own identifying
17*5088Sab196087# information: Portions Copyright [yyyy] [name of copyright owner]
18*5088Sab196087#
19*5088Sab196087# CDDL HEADER END
20*5088Sab196087#
21*5088Sab196087#
22*5088Sab196087# ident	"%Z%%M%	%I%	%E% SMI"
23*5088Sab196087#
24*5088Sab196087# Copyright 2007 Sun Microsystems, Inc.  All rights reserved.
25*5088Sab196087# Use is subject to license terms.
26*5088Sab196087#
27*5088Sab196087
28*5088Sab196087include		$(SRC)/Makefile.master
29*5088Sab196087
30*5088Sab196087
31*5088Sab196087SUBDIRS=	$(MACH)
32*5088Sab196087
33*5088Sab196087all:=		TARGET=	all
34*5088Sab196087chkmsg:=	TARGET=	chkmsg
35*5088Sab196087catalog:=	TARGET=	catalog
36*5088Sab196087install:=	TARGET=	install
37*5088Sab196087package:=	TARGET=	package
38*5088Sab196087clean:=		TARGET=	clean
39*5088Sab196087clobber:=	TARGET=	clobber
40*5088Sab196087lint:=		TARGET=	lint
41*5088Sab196087
42*5088Sab196087.KEEP_STATE:
43*5088Sab196087
44*5088Sab196087package all chkmsg catalog clean clobber lint install: \
45*5088Sab196087	$(SUBDIRS)
46*5088Sab196087
47*5088Sab196087$(SUBDIRS):	FRC
48*5088Sab196087		@cd $@; pwd; $(MAKE) $(TARGET)
49*5088Sab196087		@if [ -d $(MACH64) ]; then                      \
50*5088Sab196087			cd $(MACH64); pwd; $(MAKE) $(TARGET);   \
51*5088Sab196087		else /bin/true; fi
52*5088Sab196087
53*5088Sab196087
54*5088Sab196087FRC:
55