xref: /titanic_52/usr/src/cmd/zlook/Makefile (revision e802abbda8c322f24d47835734f4a793ef15ddc8)
1*e802abbdSTim Haley#
2*e802abbdSTim Haley# CDDL HEADER START
3*e802abbdSTim Haley#
4*e802abbdSTim Haley# The contents of this file are subject to the terms of the
5*e802abbdSTim Haley# Common Development and Distribution License (the "License").
6*e802abbdSTim Haley# You may not use this file except in compliance with the License.
7*e802abbdSTim Haley#
8*e802abbdSTim Haley# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9*e802abbdSTim Haley# or http://www.opensolaris.org/os/licensing.
10*e802abbdSTim Haley# See the License for the specific language governing permissions
11*e802abbdSTim Haley# and limitations under the License.
12*e802abbdSTim Haley#
13*e802abbdSTim Haley# When distributing Covered Code, include this CDDL HEADER in each
14*e802abbdSTim Haley# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15*e802abbdSTim Haley# If applicable, add the following below this CDDL HEADER, with the
16*e802abbdSTim Haley# fields enclosed by brackets "[]" replaced with your own identifying
17*e802abbdSTim Haley# information: Portions Copyright [yyyy] [name of copyright owner]
18*e802abbdSTim Haley#
19*e802abbdSTim Haley# CDDL HEADER END
20*e802abbdSTim Haley#
21*e802abbdSTim Haley#
22*e802abbdSTim Haley# Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
23*e802abbdSTim Haley# Use is subject to license terms.
24*e802abbdSTim Haley#
25*e802abbdSTim Haley
26*e802abbdSTim HaleyPROG:sh=	basename `pwd`
27*e802abbdSTim Haley
28*e802abbdSTim Haleyinclude ../Makefile.cmd
29*e802abbdSTim Haley
30*e802abbdSTim Haley$(INTEL_BLD)SUBDIRS	= $(MACH)
31*e802abbdSTim Haley$(BUILD64)SUBDIRS	+= $(MACH64)
32*e802abbdSTim Haley
33*e802abbdSTim Haleyall	:=	TARGET = all
34*e802abbdSTim Haleyinstall	:=	TARGET = install
35*e802abbdSTim Haleyclean	:=	TARGET = clean
36*e802abbdSTim Haleyclobber	:=	TARGET = clobber
37*e802abbdSTim Haleylint	:=	TARGET = lint
38*e802abbdSTim Haley
39*e802abbdSTim Haley.KEEP_STATE:
40*e802abbdSTim Haley
41*e802abbdSTim Haleyall clean clobber lint:	$(SUBDIRS)
42*e802abbdSTim Haley
43*e802abbdSTim Haleyinstall:	$(SUBDIRS)
44*e802abbdSTim Haley	-$(RM) $(ROOTPROG)
45*e802abbdSTim Haley	-$(LN) $(ISAEXEC) $(ROOTPROG)
46*e802abbdSTim Haley
47*e802abbdSTim Haley$(SUBDIRS):	FRC
48*e802abbdSTim Haley	@cd $@; pwd; $(MAKE) $(TARGET)
49*e802abbdSTim Haley
50*e802abbdSTim HaleyFRC:
51*e802abbdSTim Haley
52*e802abbdSTim Haleyinclude ../Makefile.targ
53