Print this page
5468 Missing dependencies in lib/Makefile
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.
↓ open down ↓ |
14 lines elided |
↑ open up ↑ |
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 -# ident "%Z%%M% %I% %E% SMI"
25 +# Copyright 2015 RackTop Systems.
26 26 #
27 27
28 28 %: ../common/%.ksh
29 29 $(RM) $@
30 30 cat $< > $@
31 31 chmod +x $@
32 32
33 33 $(PICDIR)/%.o: %.c
34 34 $(COMPILE.c) $< -o $@
35 35 $(POST_PROCESS_O)
36 36
37 37 $(PICDIR)/%.o: ../common/%.c
38 38 $(COMPILE.c) $< -o $@
39 39 $(POST_PROCESS_O)
40 40
41 41 $(OBJDIR)/%.o: %.c
42 42 $(COMPILE.c) $< -o $@
43 43 $(POST_PROCESS_O)
44 44
45 45 $(OBJDIR)/%.o: ../common/%.c
46 46 $(COMPILE.c) $< -o $@
47 47 $(POST_PROCESS_O)
48 48
49 49 $(TRUSSLIB): $(TRUSSPICS)
50 50 $(BUILD.SO)
51 51 $(POST_PROCESS_SO)
52 52
53 53 $(BINDLIB): $(BINDPICS)
54 54 $(BUILD.SO)
55 55 $(POST_PROCESS_SO)
56 56
57 57 $(SYMBINDREP): $(SYMBINDREPPICS)
58 58 $(BUILD.SO)
59 59 $(POST_PROCESS_SO)
↓ open down ↓ |
24 lines elided |
↑ open up ↑ |
60 60
61 61 $(PERFLIB): $(PERFPICS)
62 62 $(BUILD.SO)
63 63 $(POST_PROCESS_SO)
64 64
65 65 $(WHOLIB): $(WHOPICS)
66 66 $(BUILD.SO)
67 67 $(POST_PROCESS_SO)
68 68
69 69 dumpbind: $(OBJDIR)/dumpbind.o
70 - $(LINK.c) -o $@ $(OBJDIR)/dumpbind.o
70 + $(LINK.c) -o $@ $(OBJDIR)/dumpbind.o $(LDLIBS)
71 71 $(POST_PROCESS)
72 72
73 73 $(ROOTUSRBIN)/%: %
74 74 $(INS.file)
75 75
76 76 $(ROOTCCSLIB)/%: %
77 77 $(INS.file)
78 78
79 79 $(ROOTCCSLIB64)/%: %
80 80 $(INS.file)
81 81
82 82 $(ROOTONLDBIN)/%: %
83 83 $(INS.file)
84 84
85 85 $(ROOTONLDLIB)/%: %
86 86 $(INS.file)
87 87
88 88 $(ROOTONLDLIB64)/%: %
89 89 $(INS.file)
90 90
91 91 $(ROOTCCSLIB):
92 92 $(INS.dir)
93 93
94 94 $(ROOTCCSLIB64):
95 95 $(INS.dir)
96 96
97 97 LINT_HDR= perl ../../tools/lint_hdr.pl
98 98
99 99 lint:
100 100 $(LINT_HDR) link_audit > $(LINTOUT)
101 101 $(LINT_HDR) -s truss.so.1 >> $(LINTOUT)
102 102 $(LINT.c) ../common/truss.c \
103 103 ../common/env.c 2>&1 | tee -a $(LINTOUT)
104 104
105 105 $(LINT_HDR) -s symbindrep.so.1 >> $(LINTOUT)
106 106 $(LINT.c) ../common/symbindrep.c \
107 107 ../common/env.c 2>&1 | tee -a $(LINTOUT)
108 108
109 109 $(LINT_HDR) -s perfcnt.so.1 >> $(LINTOUT)
110 110 $(LINT.c) ../common/perfcnt.c \
111 111 ../common/hash.c \
112 112 ../common/env.c 2>&1 | tee -a $(LINTOUT)
113 113
114 114 $(LINT_HDR) -s who.so.1 >> $(LINTOUT)
115 115 $(LINT.c) ../common/who.c \
116 116 ../common/env.c 2>&1 | tee -a $(LINTOUT)
117 117
118 118 $(LINT_HDR) -s dumpbind >> $(LINTOUT)
119 119 $(LINT.c) ../common/dumpbind.c 2>&1 | tee -a $(LINTOUT)
120 120
121 121 $(LINT_HDR) -s bindings.so.1 >> $(LINTOUT)
122 122 $(LINT.c) ../common/bindings.c \
123 123 ../common/env.c 2>&1 | tee -a $(LINTOUT)
124 124
125 125 include ../../../../lib/Makefile.targ
↓ open down ↓ |
45 lines elided |
↑ open up ↑ |
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX