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