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