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