Print this page
11461 should use a native link-editor during the build
11463 SUNWonld has passed its use-by date
11464 cmd/sgs/tools should contain tools, not common code
11465 sgsmsg should be built with the rest of the build tools
Split |
Close |
Expand all |
Collapse all |
--- old/usr/src/cmd/sgs/link_audit/Makefile.targ
+++ new/usr/src/cmd/sgs/link_audit/Makefile.targ
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 2008 Sun Microsystems, Inc. All rights reserved.
23 23 # Use is subject to license terms.
24 24 #
25 25 # Copyright 2015 RackTop Systems.
26 26 # Copyright 2019 OmniOS Community Edition (OmniOSce) Association.
27 27 #
28 28
29 29 %: ../common/%.ksh
30 30 $(RM) $@
31 31 cat $< > $@
32 32 chmod +x $@
33 33
34 34 $(PICDIR)/%.o: %.c
35 35 $(COMPILE.c) $< -o $@
36 36 $(POST_PROCESS_O)
37 37
38 38 $(PICDIR)/%.o: ../common/%.c
39 39 $(COMPILE.c) $< -o $@
40 40 $(POST_PROCESS_O)
41 41
42 42 $(OBJDIR)/%.o: %.c
43 43 $(COMPILE.c) $< -o $@
44 44 $(POST_PROCESS_O)
45 45
46 46 $(OBJDIR)/%.o: ../common/%.c
47 47 $(COMPILE.c) $< -o $@
48 48 $(POST_PROCESS_O)
49 49
50 50 $(TRUSSLIB): $(TRUSSPICS)
51 51 $(BUILD.SO)
52 52 $(POST_PROCESS_SO)
53 53
54 54 $(BINDLIB): $(BINDPICS)
55 55 $(BUILD.SO)
56 56 $(POST_PROCESS_SO)
57 57
58 58 $(SYMBINDREP): $(SYMBINDREPPICS)
59 59 $(BUILD.SO)
60 60 $(POST_PROCESS_SO)
61 61
62 62 $(PERFLIB): $(PERFPICS)
63 63 $(BUILD.SO)
64 64 $(POST_PROCESS_SO)
65 65
66 66 $(WHOLIB): $(WHOPICS)
67 67 $(BUILD.SO)
68 68 $(POST_PROCESS_SO)
69 69
70 70 dumpbind: $(OBJDIR)/dumpbind.o
71 71 $(LINK.c) -o $@ $(OBJDIR)/dumpbind.o $(LDLIBS)
72 72 $(POST_PROCESS)
↓ open down ↓ |
72 lines elided |
↑ open up ↑ |
73 73
74 74 $(ROOTUSRBIN)/%: %
75 75 $(INS.file)
76 76
77 77 $(ROOTCCSLIB)/%: %
78 78 $(INS.file)
79 79
80 80 $(ROOTCCSLIB64)/%: %
81 81 $(INS.file)
82 82
83 -$(ROOTONLDBIN)/%: %
83 +$(ROOTONLDBIN)/%: % $(ROOTONLDBIN)
84 84 $(INS.file)
85 85
86 -$(ROOTONLDLIB)/%: %
86 +$(ROOTONLDLIB)/%: % $(ROOTONLDLIB)
87 87 $(INS.file)
88 88
89 -$(ROOTONLDLIB64)/%: %
89 +$(ROOTONLDLIB64)/%: % $(ROOTONLDLIB64)
90 90 $(INS.file)
91 91
92 92 $(ROOTCCSLIB):
93 93 $(INS.dir)
94 94
95 95 $(ROOTCCSLIB64):
96 + $(INS.dir)
97 +
98 +$(ROOTONLDBIN):
99 + $(INS.dir)
100 +
101 +$(ROOTONLDLIB):
102 + $(INS.dir)
103 +
104 +$(ROOTONLDLIB64):
96 105 $(INS.dir)
97 106
98 107 include ../../../../lib/Makefile.targ
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX