xref: /illumos-gate/usr/src/cmd/dtrace/test/tst/i386/Makefile (revision 55fea89dcaa64928bed4327112404dcb3e07b79f)
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#
23f6acbf7cSrie# Copyright 2008 Sun Microsystems, Inc.  All rights reserved.
249512fe85Sahl# Use is subject to license terms.
259512fe85Sahl#
269512fe85Sahl
279512fe85Sahlinclude ../Makefile.com
289512fe85Sahl
29*5d9d9091SRichard LoweASFLAGS += -D_ASM $(CPPFLAGS)
3073427c57SahlCLOBBER_FILES += helper_helper.o annotated_helper.o
319512fe85Sahl
3273427c57Sahl# For the helper test we require an executable data section.
33aaf12762Srieustack/tst.helper.exe := MAPFILE.NED=
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