Print this page
3544 save-args matcher could be considerably more robust
3545 save-args matcher should accept saves may be out-of-order
Reviewed by: Joshua M. Clulow <josh@sysmgr.org>
Reviewed by: Robert Mustacchi <rm@joyent.com>
Split |
Close |
Expand all |
Collapse all |
--- old/usr/src/cmd/mdb/intel/amd64/mdb/Makefile
+++ new/usr/src/cmd/mdb/intel/amd64/mdb/Makefile
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 #
↓ open down ↓ |
18 lines elided |
↑ open up ↑ |
19 19 # CDDL HEADER END
20 20 #
21 21 #
22 22 # Copyright 2007 Sun Microsystems, Inc. All rights reserved.
23 23 # Use is subject to license terms.
24 24 #
25 25
26 26 SRCS = kvm_amd64dep.c \
27 27 kvm_isadep.c \
28 28 mdb_amd64util.c \
29 - proc_amd64dep.c \
30 - saveargs.c
29 + proc_amd64dep.c
31 30
32 31 %.o: %.c
33 32 $(COMPILE.c) $<
34 33 $(CTFCONVERT_O)
35 34
36 35 %.o: ../../mdb/%.c
37 36 $(COMPILE.c) $<
38 37 $(CTFCONVERT_O)
39 38
40 -%.o: $(SRC)/common/saveargs/%.c
41 - $(COMPILE.c) $<
42 - $(CTFCONVERT_O)
43 -
44 39 %.ln: %.c
45 40 $(LINT.c) -c $<
46 41
47 42 %.ln: ../../mdb/%.c
48 43 $(LINT.c) -c $<
49 44
50 -%.ln: $(SRC)/common/saveargs/%.c
51 - $(LINT.c) -c $<
52 -
53 45 include ../../../../Makefile.cmd
54 46 include ../../../../Makefile.cmd.64
55 47 include ../../Makefile.amd64
56 48 include ../../../Makefile.mdb
57 49
58 50 CPPFLAGS += -I../../mdb
59 -CPPFLAGS += -I$(SRC)/common/saveargs
51 +LDLIBS += -lsaveargs
60 52
61 53 install: all $(ISAEXEC) $(ROOTPROG64) $(ROOTLINK64)
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX