annotate usr/src/cmd/dtrace/test/tst/sparc/Makefile @ 3983:5179f49636a5

6542480 fix for 6534991 broke the nightly build with gcc
author raf
date Fri, 06 Apr 2007 11:23:51 -0700
parents 75371f172291
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2633
71bab08d24b2 6464285 integrate the DTrace test suite
ahl
parents:
diff changeset
1 #
71bab08d24b2 6464285 integrate the DTrace test suite
ahl
parents:
diff changeset
2 # CDDL HEADER START
71bab08d24b2 6464285 integrate the DTrace test suite
ahl
parents:
diff changeset
3 #
71bab08d24b2 6464285 integrate the DTrace test suite
ahl
parents:
diff changeset
4 # The contents of this file are subject to the terms of the
71bab08d24b2 6464285 integrate the DTrace test suite
ahl
parents:
diff changeset
5 # Common Development and Distribution License (the "License").
71bab08d24b2 6464285 integrate the DTrace test suite
ahl
parents:
diff changeset
6 # You may not use this file except in compliance with the License.
71bab08d24b2 6464285 integrate the DTrace test suite
ahl
parents:
diff changeset
7 #
71bab08d24b2 6464285 integrate the DTrace test suite
ahl
parents:
diff changeset
8 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
71bab08d24b2 6464285 integrate the DTrace test suite
ahl
parents:
diff changeset
9 # or http://www.opensolaris.org/os/licensing.
71bab08d24b2 6464285 integrate the DTrace test suite
ahl
parents:
diff changeset
10 # See the License for the specific language governing permissions
71bab08d24b2 6464285 integrate the DTrace test suite
ahl
parents:
diff changeset
11 # and limitations under the License.
71bab08d24b2 6464285 integrate the DTrace test suite
ahl
parents:
diff changeset
12 #
71bab08d24b2 6464285 integrate the DTrace test suite
ahl
parents:
diff changeset
13 # When distributing Covered Code, include this CDDL HEADER in each
71bab08d24b2 6464285 integrate the DTrace test suite
ahl
parents:
diff changeset
14 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
71bab08d24b2 6464285 integrate the DTrace test suite
ahl
parents:
diff changeset
15 # If applicable, add the following below this CDDL HEADER, with the
71bab08d24b2 6464285 integrate the DTrace test suite
ahl
parents:
diff changeset
16 # fields enclosed by brackets "[]" replaced with your own identifying
71bab08d24b2 6464285 integrate the DTrace test suite
ahl
parents:
diff changeset
17 # information: Portions Copyright [yyyy] [name of copyright owner]
71bab08d24b2 6464285 integrate the DTrace test suite
ahl
parents:
diff changeset
18 #
71bab08d24b2 6464285 integrate the DTrace test suite
ahl
parents:
diff changeset
19 # CDDL HEADER END
71bab08d24b2 6464285 integrate the DTrace test suite
ahl
parents:
diff changeset
20 #
71bab08d24b2 6464285 integrate the DTrace test suite
ahl
parents:
diff changeset
21
71bab08d24b2 6464285 integrate the DTrace test suite
ahl
parents:
diff changeset
22 #
3944
75371f172291 6484266 fasttrap needs to check for duplicate offsets
ahl
parents: 2633
diff changeset
23 # Copyright 2007 Sun Microsystems, Inc. All rights reserved.
2633
71bab08d24b2 6464285 integrate the DTrace test suite
ahl
parents:
diff changeset
24 # Use is subject to license terms.
71bab08d24b2 6464285 integrate the DTrace test suite
ahl
parents:
diff changeset
25 #
3944
75371f172291 6484266 fasttrap needs to check for duplicate offsets
ahl
parents: 2633
diff changeset
26 # ident "%Z%%M% %I% %E% SMI"
75371f172291 6484266 fasttrap needs to check for duplicate offsets
ahl
parents: 2633
diff changeset
27 #
2633
71bab08d24b2 6464285 integrate the DTrace test suite
ahl
parents:
diff changeset
28
71bab08d24b2 6464285 integrate the DTrace test suite
ahl
parents:
diff changeset
29 include ../Makefile.com
71bab08d24b2 6464285 integrate the DTrace test suite
ahl
parents:
diff changeset
30
3983
5179f49636a5 6542480 fix for 6534991 broke the nightly build with gcc
raf
parents: 3944
diff changeset
31 ASFLAGS += -P -D_ASM
2633
71bab08d24b2 6464285 integrate the DTrace test suite
ahl
parents:
diff changeset
32
3944
75371f172291 6484266 fasttrap needs to check for duplicate offsets
ahl
parents: 2633
diff changeset
33 pid/tst.br.o := ASFLAGS += -xarch=v8plus
2633
71bab08d24b2 6464285 integrate the DTrace test suite
ahl
parents:
diff changeset
34
71bab08d24b2 6464285 integrate the DTrace test suite
ahl
parents:
diff changeset
35 all: ustack/tst.helper.exe ustack/tst.annotated.exe
71bab08d24b2 6464285 integrate the DTrace test suite
ahl
parents:
diff changeset
36
3944
75371f172291 6484266 fasttrap needs to check for duplicate offsets
ahl
parents: 2633
diff changeset
37 ustack/tst.helper.exe: ustack/tst.helper.o ustack/helper_helper.o
75371f172291 6484266 fasttrap needs to check for duplicate offsets
ahl
parents: 2633
diff changeset
38 $(LINK.c) -o ustack/tst.helper.exe \
75371f172291 6484266 fasttrap needs to check for duplicate offsets
ahl
parents: 2633
diff changeset
39 ustack/tst.helper.o ustack/helper_helper.o $(LDLIBS)
75371f172291 6484266 fasttrap needs to check for duplicate offsets
ahl
parents: 2633
diff changeset
40 $(POST_PROCESS) ; $(STRIP_STABS)
75371f172291 6484266 fasttrap needs to check for duplicate offsets
ahl
parents: 2633
diff changeset
41
75371f172291 6484266 fasttrap needs to check for duplicate offsets
ahl
parents: 2633
diff changeset
42 ustack/helper_helper.o: ustack/helper_helper.d
75371f172291 6484266 fasttrap needs to check for duplicate offsets
ahl
parents: 2633
diff changeset
43 $(COMPILE.d) -o ustack/helper_helper.o -s ustack/helper_helper.d
2633
71bab08d24b2 6464285 integrate the DTrace test suite
ahl
parents:
diff changeset
44
3944
75371f172291 6484266 fasttrap needs to check for duplicate offsets
ahl
parents: 2633
diff changeset
45 ustack/tst.annotated.exe: ustack/tst.annotated.o ustack/annotated_helper.o
75371f172291 6484266 fasttrap needs to check for duplicate offsets
ahl
parents: 2633
diff changeset
46 $(LINK.c) -o ustack/tst.annotated.exe \
75371f172291 6484266 fasttrap needs to check for duplicate offsets
ahl
parents: 2633
diff changeset
47 ustack/tst.annotated.o ustack/annotated_helper.o $(LDLIBS)
75371f172291 6484266 fasttrap needs to check for duplicate offsets
ahl
parents: 2633
diff changeset
48 $(POST_PROCESS) ; $(STRIP_STABS)
2633
71bab08d24b2 6464285 integrate the DTrace test suite
ahl
parents:
diff changeset
49
3944
75371f172291 6484266 fasttrap needs to check for duplicate offsets
ahl
parents: 2633
diff changeset
50 ustack/annotated_helper.o: ustack/annotated_helper.d
75371f172291 6484266 fasttrap needs to check for duplicate offsets
ahl
parents: 2633
diff changeset
51 $(COMPILE.d) -o ustack/annotated_helper.o -s ustack/annotated_helper.d