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