xref: /titanic_41/usr/src/cmd/dtrace/test/tst/sparc/Makefile (revision 4fe01614e64281d82c5a22f0050e55f1e0bdbdae)
19512fe85Sahl#
29512fe85Sahl# CDDL HEADER START
39512fe85Sahl#
49512fe85Sahl# The contents of this file are subject to the terms of the
59512fe85Sahl# Common Development and Distribution License (the "License").
69512fe85Sahl# You may not use this file except in compliance with the License.
79512fe85Sahl#
89512fe85Sahl# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
99512fe85Sahl# or http://www.opensolaris.org/os/licensing.
109512fe85Sahl# See the License for the specific language governing permissions
119512fe85Sahl# and limitations under the License.
129512fe85Sahl#
139512fe85Sahl# When distributing Covered Code, include this CDDL HEADER in each
149512fe85Sahl# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
159512fe85Sahl# If applicable, add the following below this CDDL HEADER, with the
169512fe85Sahl# fields enclosed by brackets "[]" replaced with your own identifying
179512fe85Sahl# information: Portions Copyright [yyyy] [name of copyright owner]
189512fe85Sahl#
199512fe85Sahl# CDDL HEADER END
209512fe85Sahl#
219512fe85Sahl
229512fe85Sahl#
2373427c57Sahl# Copyright 2007 Sun Microsystems, Inc.  All rights reserved.
249512fe85Sahl# Use is subject to license terms.
259512fe85Sahl#
269512fe85Sahl# ident	"%Z%%M%	%I%	%E% SMI"
2773427c57Sahl#
289512fe85Sahl
299512fe85Sahlinclude ../Makefile.com
309512fe85Sahl
31*4fe01614SrafASFLAGS += -P -D_ASM
329512fe85Sahl
3373427c57Sahlpid/tst.br.o := ASFLAGS += -xarch=v8plus
349512fe85Sahl
359512fe85Sahlall:	ustack/tst.helper.exe ustack/tst.annotated.exe
369512fe85Sahl
3773427c57Sahlustack/tst.helper.exe: ustack/tst.helper.o ustack/helper_helper.o
3873427c57Sahl	$(LINK.c) -o ustack/tst.helper.exe \
3973427c57Sahl		 ustack/tst.helper.o ustack/helper_helper.o $(LDLIBS)
4073427c57Sahl	$(POST_PROCESS) ; $(STRIP_STABS)
419512fe85Sahl
4273427c57Sahlustack/helper_helper.o: ustack/helper_helper.d
4373427c57Sahl	$(COMPILE.d) -o ustack/helper_helper.o -s ustack/helper_helper.d
449512fe85Sahl
4573427c57Sahlustack/tst.annotated.exe: ustack/tst.annotated.o ustack/annotated_helper.o
4673427c57Sahl	$(LINK.c) -o ustack/tst.annotated.exe \
4773427c57Sahl		 ustack/tst.annotated.o ustack/annotated_helper.o $(LDLIBS)
4873427c57Sahl	$(POST_PROCESS) ; $(STRIP_STABS)
499512fe85Sahl
5073427c57Sahlustack/annotated_helper.o: ustack/annotated_helper.d
5173427c57Sahl	$(COMPILE.d) -o ustack/annotated_helper.o -s ustack/annotated_helper.d
52