xref: /illumos-gate/usr/src/cmd/dtrace/test/tst/sparc/Makefile (revision 5d9d9091f564c198a760790b0bfa72c44e17912b)
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
279512fe85Sahlinclude ../Makefile.com
289512fe85Sahl
29*5d9d9091SRichard LoweASFLAGS += -D_ASM
309512fe85Sahl
3173427c57Sahlpid/tst.br.o := ASFLAGS += -xarch=v8plus
329512fe85Sahl
339512fe85Sahlall:	ustack/tst.helper.exe ustack/tst.annotated.exe
349512fe85Sahl
3573427c57Sahlustack/tst.helper.exe: ustack/tst.helper.o ustack/helper_helper.o
3673427c57Sahl	$(LINK.c) -o ustack/tst.helper.exe \
3773427c57Sahl		 ustack/tst.helper.o ustack/helper_helper.o $(LDLIBS)
3873427c57Sahl	$(POST_PROCESS) ; $(STRIP_STABS)
399512fe85Sahl
4073427c57Sahlustack/helper_helper.o: ustack/helper_helper.d
4173427c57Sahl	$(COMPILE.d) -o ustack/helper_helper.o -s ustack/helper_helper.d
429512fe85Sahl
4373427c57Sahlustack/tst.annotated.exe: ustack/tst.annotated.o ustack/annotated_helper.o
4473427c57Sahl	$(LINK.c) -o ustack/tst.annotated.exe \
4573427c57Sahl		 ustack/tst.annotated.o ustack/annotated_helper.o $(LDLIBS)
4673427c57Sahl	$(POST_PROCESS) ; $(STRIP_STABS)
479512fe85Sahl
4873427c57Sahlustack/annotated_helper.o: ustack/annotated_helper.d
4973427c57Sahl	$(COMPILE.d) -o ustack/annotated_helper.o -s ustack/annotated_helper.d
50