Merge remote-tracking branch 'origin/master'
[unleashed/lotheac.git] / usr / src / cmd / dtrace / test / tst / i386 / Makefile
blobbb150bd964c3ecd04b2327f3e5af5b386dcc09d5
2 # CDDL HEADER START
4 # The contents of this file are subject to the terms of the
5 # Common Development and Distribution License (the "License").
6 # You may not use this file except in compliance with the License.
8 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9 # or http://www.opensolaris.org/os/licensing.
10 # See the License for the specific language governing permissions
11 # and limitations under the License.
13 # When distributing Covered Code, include this CDDL HEADER in each
14 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15 # If applicable, add the following below this CDDL HEADER, with the
16 # fields enclosed by brackets "[]" replaced with your own identifying
17 # information: Portions Copyright [yyyy] [name of copyright owner]
19 # CDDL HEADER END
23 # Copyright 2008 Sun Microsystems, Inc. All rights reserved.
24 # Use is subject to license terms.
26 # ident "%Z%%M% %I% %E% SMI"
29 CSRCS = pid/tst.uregswrite.c \
30 ustack/tst.annotated.c \
31 ustack/tst.helper.c
33 DSRCS = arrays/tst.uregsarray.d \
34 error/tst.DTRACEFLT_DIVZERO.d \
35 funcs/tst.badcopyin.d \
36 funcs/tst.badcopyinstr.d \
37 funcs/tst.badcopyout.d \
38 funcs/tst.badcopyoutstr.d \
39 pid/tst.badinstr.d \
40 pid/tst.branch.d \
41 pid/tst.embedded.d \
42 pid/tst.ret.d \
43 pid/tst.uregswrite.d \
44 ustack/annotated_helper.d \
45 ustack/helper_helper.d \
46 ustack/tst.annotated.d \
47 ustack/tst.circstack.d \
48 ustack/tst.helper.d
50 SSRCS = pid/tst.badinstr.s \
51 pid/tst.branch.s \
52 pid/tst.embedded.s \
53 pid/tst.ret.s \
54 pid/tst.retlist.s \
55 ustack/tst.circstack.s
57 TSTS = arrays/tst.uregsarray.d \
58 error/tst.DTRACEFLT_DIVZERO.d \
59 funcs/tst.badcopyin.d \
60 funcs/tst.badcopyinstr.d \
61 funcs/tst.badcopyout.d \
62 funcs/tst.badcopyoutstr.d \
63 pid/tst.badinstr.d \
64 pid/tst.branch.d \
65 pid/tst.embedded.d \
66 pid/tst.ret.d \
67 pid/tst.retlist.ksh \
68 pid/tst.uregswrite.d \
69 ustack/tst.annotated.d \
70 ustack/tst.annotated.d.out \
71 ustack/tst.circstack.d \
72 ustack/tst.helper.d \
73 ustack/tst.helper.d.out
75 EXES =
77 include ../Makefile.com
79 ASFLAGS += -D_ASM $(CPPFLAGS) $(i386_AS_XARCH)
80 CLOBBER_FILES += helper_helper.o annotated_helper.o
82 # For the helper test we require an executable data section.
83 ustack/tst.helper.exe: ustack/tst.helper.o ustack/helper_helper.o
84 $(LINK.c) -o ustack/tst.helper.exe \
85 -Wl,-M$(SRC)/common/mapfiles/common/map.execdata \
86 ustack/tst.helper.o ustack/helper_helper.o $(LDLIBS)
87 $(POST_PROCESS) ; $(STRIP_STABS)
89 ustack/helper_helper.o: ustack/helper_helper.d
90 $(COMPILE.d) -o ustack/helper_helper.o -s ustack/helper_helper.d
92 ustack/tst.annotated.exe: ustack/tst.annotated.o ustack/annotated_helper.o
93 $(LINK.c) -o ustack/tst.annotated.exe \
94 ustack/tst.annotated.o ustack/annotated_helper.o $(LDLIBS)
95 $(POST_PROCESS) ; $(STRIP_STABS)
97 ustack/annotated_helper.o: ustack/annotated_helper.d
98 $(COMPILE.d) -o ustack/annotated_helper.o -s ustack/annotated_helper.d