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/librtld_db/demo/Makefile
+++ new/usr/src/cmd/sgs/librtld_db/demo/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
↓ open down ↓ |
15 lines elided |
↑ open up ↑ |
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 # Copyright (c) 1995, 2010, Oracle and/or its affiliates. All rights reserved.
22 22 # Copyright 2019 OmniOS Community Edition (OmniOSce) Association.
23 23 #
24 24
25 25 include $(SRC)/Makefile.master
26 +include $(SRC)/cmd/sgs/Makefile.sub
26 27
27 28 MACHDEMOFILES= \
28 29 i386/regs.c \
29 30 i386/m_utils.c \
30 31 i386/rdb_mach.h \
31 32 i386/Makefile \
32 33 amd64/regs.c \
33 34 amd64/rdb_mach.h \
34 35 amd64/Makefile \
35 36 sparc/regs.c \
36 37 sparc/m_utils.c \
37 38 sparc/rdb_mach.h \
38 39 sparc/Makefile \
39 40 sparcv9/regs.c \
40 41 sparcv9/m_utils.c \
41 42 sparcv9/rdb_mach.h \
42 43 sparcv9/Makefile
43 44
44 45 DEMOFILES= \
45 46 00README \
46 47 Makefile.com \
47 48 Makefile.targ \
48 49 common/bpt.c \
49 50 common/dis.c \
50 51 common/disasm.c \
51 52 common/disasm.h \
52 53 common/main.c \
53 54 common/ps.c \
54 55 common/gram.y \
55 56 common/lex.l \
56 57 common/globals.c \
57 58 common/help.c \
58 59 common/utils.c \
59 60 common/maps.c \
60 61 common/syms.c \
61 62 common/callstack.c \
62 63 common/rdb.h \
63 64 common/rdb.man \
64 65 tests/breaks \
65 66 tests/loadmaps \
66 67 tests/object_padding_maps \
67 68 tests/plt_skip \
68 69 tests/steps \
69 70 tests/test-sparc-regs \
70 71 tests/simp.c \
71 72 tests/sub.c \
72 73 $(MACHDEMOFILES)
73 74
74 75 ROOTDEMODIRBASE= $(ROOT)/usr/demo/librtld_db
75 76
76 77 ROOTDEMODIRS= $(ROOTDEMODIRBASE) \
77 78 $(ROOTDEMODIRBASE)/common \
78 79 $(ROOTDEMODIRBASE)/tests \
79 80 $(ROOTDEMODIRBASE)/i386 \
80 81 $(ROOTDEMODIRBASE)/amd64 \
81 82 $(ROOTDEMODIRBASE)/sparc \
82 83 $(ROOTDEMODIRBASE)/sparcv9
83 84
84 85 ROOTDEMOFILES= $(DEMOFILES:%=$(ROOTDEMODIRBASE)/%)
85 86
86 87 $(ROOTDEMODIRS) := DIRMODE = 755
87 88
88 89 SED= sed -e "/DEMO DELETE START/,/DEMO DELETE END/d"
89 90
90 91 CLEANFILES= *.demo */*.demo
91 92
92 93 .KEEP_STATE:
93 94 .PARALLEL: $(ROOTDEMOFILES)
94 95
95 96 all catalog chkmsg:
96 97
97 98 install: $(ROOTDEMODIRS) .WAIT $(ROOTDEMOFILES)
98 99
99 100 clean clobber: FRC
100 101 $(RM) $(CLEANFILES)
101 102
102 103 $(ROOTDEMODIRS):
103 104 $(INS.dir)
104 105
105 106 $(ROOTDEMODIRBASE)/Makefile.%: Makefile.%.demo
106 107 $(INS.rename)
107 108
108 109 $(ROOTDEMODIRBASE)/%/Makefile: %/Makefile.demo
109 110 $(INS.rename)
110 111
111 112 Makefile.%.demo: Makefile.%
112 113 $(SED) < $< > $@
113 114
114 115 %/Makefile.demo: %/Makefile
115 116 $(SED) < $< > $@
116 117
117 118 $(ROOTDEMODIRBASE)/%: %
118 119 $(INS.file)
119 120
120 121 $(ROOTDEMODIRBASE)/common/%: common/%
121 122 $(INS.file)
122 123
123 124 $(ROOTDEMODIRBASE)/tests/%: tests/%
124 125 $(INS.file)
125 126
126 127 $(ROOTDEMODIRBASE)/sparc/%: sparc/%
127 128 $(INS.file)
128 129
129 130 $(ROOTDEMODIRBASE)/sparcv9/%: sparcv9/%
130 131 $(INS.file)
131 132
132 133 $(ROOTDEMODIRBASE)/i386/%: i386/%
133 134 $(INS.file)
134 135
135 136 FRC:
↓ open down ↓ |
100 lines elided |
↑ open up ↑ |
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX