xref: /onnv-gate/usr/src/cmd/dtrace/Makefile (revision 3944:75371f172291)
10Sstevel@tonic-gate#
20Sstevel@tonic-gate# CDDL HEADER START
30Sstevel@tonic-gate#
40Sstevel@tonic-gate# The contents of this file are subject to the terms of the
5*3944Sahl# Common Development and Distribution License (the "License").
6*3944Sahl# You may not use this file except in compliance with the License.
70Sstevel@tonic-gate#
80Sstevel@tonic-gate# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
90Sstevel@tonic-gate# or http://www.opensolaris.org/os/licensing.
100Sstevel@tonic-gate# See the License for the specific language governing permissions
110Sstevel@tonic-gate# and limitations under the License.
120Sstevel@tonic-gate#
130Sstevel@tonic-gate# When distributing Covered Code, include this CDDL HEADER in each
140Sstevel@tonic-gate# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
150Sstevel@tonic-gate# If applicable, add the following below this CDDL HEADER, with the
160Sstevel@tonic-gate# fields enclosed by brackets "[]" replaced with your own identifying
170Sstevel@tonic-gate# information: Portions Copyright [yyyy] [name of copyright owner]
180Sstevel@tonic-gate#
190Sstevel@tonic-gate# CDDL HEADER END
200Sstevel@tonic-gate#
21*3944Sahl
220Sstevel@tonic-gate#
23*3944Sahl# Copyright 2007 Sun Microsystems, Inc.  All rights reserved.
240Sstevel@tonic-gate# Use is subject to license terms.
250Sstevel@tonic-gate#
26*3944Sahl# ident	"%Z%%M%	%I%	%E% SMI"
270Sstevel@tonic-gate#
280Sstevel@tonic-gate
290Sstevel@tonic-gatePROG= dtrace
300Sstevel@tonic-gate
310Sstevel@tonic-gateinclude ../Makefile.cmd
320Sstevel@tonic-gate
33*3944SahlSUBDIRS=	$(MACH) demo test
340Sstevel@tonic-gate$(BUILD64)SUBDIRS += $(MACH64)
350Sstevel@tonic-gate
360Sstevel@tonic-gateall	:=	TARGET = all
370Sstevel@tonic-gateinstall	:=	TARGET = install
380Sstevel@tonic-gateclean	:=	TARGET = clean
390Sstevel@tonic-gateclobber	:=	TARGET = clobber
400Sstevel@tonic-gatelint	:=	TARGET = lint
410Sstevel@tonic-gate
420Sstevel@tonic-gate.KEEP_STATE:
430Sstevel@tonic-gate
440Sstevel@tonic-gateall:	$(SUBDIRS)
450Sstevel@tonic-gate
460Sstevel@tonic-gateclean clobber lint:	$(SUBDIRS)
470Sstevel@tonic-gate
480Sstevel@tonic-gateinstall:	$(SUBDIRS)
490Sstevel@tonic-gate	-$(RM) $(ROOTUSRSBINPROG)
500Sstevel@tonic-gate	-$(LN) $(ISAEXEC) $(ROOTUSRSBINPROG)
510Sstevel@tonic-gate
520Sstevel@tonic-gate$(SUBDIRS):	FRC
530Sstevel@tonic-gate	@cd $@; pwd; $(MAKE) $(TARGET)
540Sstevel@tonic-gate
550Sstevel@tonic-gateFRC:
560Sstevel@tonic-gate
570Sstevel@tonic-gateinclude ../Makefile.targ
58