Print this page
10051 cw(1) shouldn't have to translate -g
Split |
Close |
Expand all |
Collapse all |
--- old/usr/src/cmd/mdb/sun4v/Makefile.kmdb
+++ new/usr/src/cmd/mdb/sun4v/Makefile.kmdb
1 1 #
2 2 # CDDL HEADER START
3 3 #
4 4 # The contents of this file are subject to the terms of the
5 5 # Common Development and Distribution License (the "License").
6 6 # You may not use this file except in compliance with the License.
7 7 #
8 8 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9 9 # or http://www.opensolaris.org/os/licensing.
10 10 # See the License for the specific language governing permissions
11 11 # and limitations under the License.
12 12 #
13 13 # When distributing Covered Code, include this CDDL HEADER in each
14 14 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15 15 # If applicable, add the following below this CDDL HEADER, with the
16 16 # fields enclosed by brackets "[]" replaced with your own identifying
17 17 # information: Portions Copyright [yyyy] [name of copyright owner]
18 18 #
19 19 # CDDL HEADER END
20 20 #
21 21 #
22 22 # Copyright 2009 Sun Microsystems, Inc. All rights reserved.
23 23 # Use is subject to license terms.
24 24 #
25 25
26 26 PROMSRCS += \
27 27 prom_2path.c \
28 28 prom_devname.c \
29 29 prom_devtype.c \
30 30 prom_enter.c \
31 31 prom_env.c \
32 32 prom_exit.c \
33 33 prom_fb.c \
34 34 prom_getchar.c \
35 35 prom_init.c \
36 36 prom_inpath.c \
37 37 prom_interp.c \
38 38 prom_io.c \
39 39 prom_mmu.c \
40 40 prom_node.c \
41 41 prom_outpath.c \
42 42 prom_panic.c \
43 43 prom_phandle.c \
44 44 prom_printf.c \
45 45 prom_prop.c \
46 46 prom_putchar.c \
47 47 prom_reboot.c \
48 48 prom_sparc.c \
49 49 prom_stdin.c \
50 50 prom_stdout.c \
51 51 prom_string.c \
52 52 promif_emul.c \
53 53 promif_interp.c \
54 54 promif_io.c \
55 55 promif_mon.c \
56 56 promif_node.c \
57 57 promif_prop.c \
58 58 promif_reboot.c \
59 59 promif_stree.c
60 60
61 61 KMDBSRCS += \
62 62 kaif.c \
63 63 kaif_activate.c \
64 64 kaif_start_isadep.c \
65 65 kmdb_dpi_isadep.c \
66 66 kmdb_fault_isadep.c \
67 67 kmdb_kdi_isadep.c \
68 68 kmdb_makecontext.c \
69 69 kmdb_promif_isadep.c \
70 70 kvm_isadep.c
71 71
72 72 KMDBML += \
73 73 kmdb_asmutil.s
74 74
75 75 KCTLSRCS += \
76 76 kctl_isadep.c
77 77
78 78 KCTLML += \
79 79 kctl_asm.s
80 80
81 81 SACPPFLAGS = -D__sparc
82 82
83 83 STANDLIBS += \
84 84 ../../../sparc/v9/libstandctf/libstandctf.so \
85 85 $(SRC)/lib/libumem/$(MACHDIR)/libstandumem.so \
86 86 ../../../sparc/v9/libstand/libstand.a
87 87
↓ open down ↓ |
87 lines elided |
↑ open up ↑ |
88 88 KMDBLIBS = $(STANDLIBS) ../../../sparc/v9/mdb_ks/kmod/mdb_ks
89 89
90 90 MAPFILE_SOURCES = \
91 91 $(MAPFILE_SOURCES_COMMON) \
92 92 ../../../sparc/kmdb/kmdb_dpi_isadep.h \
93 93 $(MAPFILE_SOURCES_$(MACH))
94 94
95 95 %.fth: $(SRC)/cmd/mdb/sparc/kmdb/%.fdbg
96 96 grep '^#' <$< >$(<F).c
97 97 grep -v '^#' <$< >$(<F).tmp
98 - $(CC) $(CTFSTABSCFLAGS) $(CPPFLAGS) -g -c -o $(<F).o $(<F).c
98 + $(CC) $(CTFSTABSCFLAGS) $(CPPFLAGS) $(CCGDEBUG) -c -o $(<F).o $(<F).c
99 99 $(CTFCONVERT) $(CTFCVTFLAGS) $(<F).o
100 100 $(CTFSTABS) -t forth -i $(<F).tmp -o $@ $(<F).o
101 101 $(RM) $(<F).c $(<F).tmp $(<F).o
102 102
103 103 %.o: ../../../../../psm/promif/ieee1275/common/%.c
104 104 $(COMPILE.c) $<
105 105 $(CTFCONVERT_O)
106 106
107 107 %.o: ../../../../../psm/promif/ieee1275/sun4/%.c
108 108 $(COMPILE.c) $<
109 109 $(CTFCONVERT_O)
110 110
111 111 %.o: ../../../../../psm/promif/ieee1275/sun4u/%.c
112 112 $(COMPILE.c) $<
113 113 $(CTFCONVERT_O)
114 114
115 115 %.o: ../../../../../uts/sun4v/promif/%.c
116 116 $(COMPILE.c) $<
117 117 $(CTFCONVERT_O)
118 118
119 119 %.ln: ../../../../../psm/promif/ieee1275/common/%.c
120 120 $(LINT.c) -c $<
121 121
122 122 %.ln: ../../../../../psm/promif/ieee1275/sun4/%.c
123 123 $(LINT.c) -c $<
124 124
125 125 %.ln: ../../../../../psm/promif/ieee1275/sun4u/%.c
126 126 $(LINT.c) -c $<
127 127
128 128 %.ln: ../../../../../uts/sun4v/promif/%.c
129 129 $(LINT.c) -c $<
↓ open down ↓ |
21 lines elided |
↑ open up ↑ |
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX