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/tools/ctf/dwarf/Makefile.com
+++ new/usr/src/tools/ctf/dwarf/Makefile.com
1 1 #
2 2 # Copyright 2004 Sun Microsystems, Inc. All rights reserved.
3 3 # Use is subject to license terms.
4 4 #
5 5 # Copyright 2011, Richard Lowe.
6 6 #
7 7 # Copyright (c) 2018, Joyent, Inc.
8 8
9 9 include ../../Makefile.ctf
10 10
11 11 LIBRARY= libdwarf.a
12 12 VERS= .1
13 13
14 14 OBJECTS=dwarf_abbrev.o \
15 15 dwarf_addr_finder.o \
16 16 dwarf_alloc.o \
17 17 dwarf_arange.o \
18 18 dwarf_die_deliv.o \
19 19 dwarf_elf_access.o \
20 20 dwarf_error.o \
21 21 dwarf_form.o \
22 22 dwarf_frame.o \
23 23 dwarf_frame2.o \
24 24 dwarf_frame3.o \
25 25 dwarf_funcs.o \
26 26 dwarf_global.o \
27 27 dwarf_harmless.o \
28 28 dwarf_init_finish.o \
29 29 dwarf_leb.o \
30 30 dwarf_line.o \
31 31 dwarf_line2.o \
32 32 dwarf_loc.o \
33 33 dwarf_macro.o \
34 34 dwarf_names.o \
35 35 dwarf_original_elf_init.o \
36 36 dwarf_print_lines.o \
37 37 dwarf_pubtypes.o \
38 38 dwarf_query.o \
39 39 dwarf_ranges.o \
40 40 dwarf_sort_line.o \
41 41 dwarf_string.o \
42 42 dwarf_stubs.o \
43 43 dwarf_types.o \
44 44 dwarf_util.o \
45 45 dwarf_vars.o \
46 46 dwarf_weaks.o \
47 47 malloc_check.o \
48 48 pro_alloc.o \
49 49 pro_arange.o \
50 50 pro_die.o \
51 51 pro_encode_nm.o \
52 52 pro_error.o \
53 53 pro_expr.o \
54 54 pro_finish.o \
55 55 pro_forms.o \
56 56 pro_frame.o \
57 57 pro_funcs.o \
58 58 pro_init.o \
59 59 pro_line.o \
60 60 pro_macinfo.o \
↓ open down ↓ |
60 lines elided |
↑ open up ↑ |
61 61 pro_pubnames.o \
62 62 pro_reloc.o \
63 63 pro_reloc_stream.o \
64 64 pro_reloc_symbolic.o \
65 65 pro_section.o \
66 66 pro_types.o \
67 67 pro_vars.o \
68 68 pro_weaks.o
69 69
70 70 include $(SRC)/lib/Makefile.lib
71 -
71 +include $(SRC)/tools/Makefile.tools
72 72
73 73 FILEMODE = 0755
74 74 SRCDIR = $(SRC)/lib/libdwarf/common/
75 75 SRCS = $(PICS:%.o=$(SRCDIR)/%.c)
76 76
77 77 CPPFLAGS += -I$(SRCDIR) -DELF_TARGET_ALL=1
78 78 CERRWARN += -_gcc=-Wno-unused
79 79 CERRWARN += -_gcc=-Wno-implicit-function-declaration
80 80
81 81 # libdwarf not clean
82 82 SMATCH=off
83 83
84 +DYNFLAGS += '-R$$ORIGIN/../../lib/$(MACH)'
84 85 LDLIBS = -lelf -lc
85 86
86 87 .KEEP_STATE:
87 88 .PARALLEL:
88 89
89 90 all: $(DYNLIB)
90 91
91 92 install: all $(ROOTONBLDLIBMACH)/libdwarf.so.1 $(ROOTONBLDLIBMACH)/libdwarf.so
92 93
93 94 $(ROOTONBLDLIBMACH)/%: %
94 95 $(INS.file)
95 96
96 97 $(ROOTONBLDLIBMACH)/$(LIBLINKS): $(ROOTONBLDLIBMACH)/$(LIBLINKS)$(VERS)
97 98 $(INS.liblink)
98 99
99 100 FRC:
100 101
101 102 # We can't provide CTF information for libdwarf, as the CTF tools themselves
102 103 # depond upon it, and so aren't built yet.
103 104 $(DYNLIB) := CTFMERGE_POST= :
104 105 CTFCONVERT_O= :
105 106
106 107 include $(SRC)/lib/Makefile.targ
107 108
↓ open down ↓ |
14 lines elided |
↑ open up ↑ |
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX