Print this page
4265 remove INTERNAL_RELEASE_BUILD
Split |
Close |
Expand all |
Collapse all |
--- old/usr/src/cmd/sgs/libconv/Makefile.com
+++ new/usr/src/cmd/sgs/libconv/Makefile.com
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 #
23 23 # Copyright (c) 1994, 2010, Oracle and/or its affiliates. All rights reserved.
24 24 #
25 25
26 26 LIBRARY = libconv.a
27 27
28 28 COMOBJS32 = cap_machelf32.o dynamic_machelf32.o \
29 29 globals_machelf32.o sections_machelf32.o \
30 30 symbols_machelf32.o symbols_sparc_machelf32.o
31 31
32 32 COMOBJS64 = cap_machelf64.o dynamic_machelf64.o \
33 33 globals_machelf64.o sections_machelf64.o \
34 34 symbols_machelf64.o symbols_sparc_machelf64.o
35 35
36 36 COMOBJS= arch.o audit.o \
37 37 c_literal.o \
38 38 cap.o config.o \
39 39 corenote.o data.o \
40 40 deftag.o demangle.o \
41 41 dl.o dwarf.o \
42 42 dwarf_ehe.o dynamic.o \
43 43 elf.o entry.o \
44 44 globals.o group.o \
45 45 lddstub.o map.o \
46 46 phdr.o relocate.o \
47 47 relocate_i386.o relocate_amd64.o \
48 48 relocate_sparc.o sections.o \
49 49 segments.o strproc.o \
50 50 symbols.o syminfo.o \
51 51 tokens.o time.o \
52 52 version.o
53 53
54 54 ELFCAP_OBJS= elfcap.o
55 55
56 56 ASOBJS= vernote.o
57 57
58 58 BLTOBJS= arch_msg.o audit_msg.o \
59 59 c_literal_msg.o \
60 60 cap_msg.o config_msg.o \
61 61 corenote_msg.o data_msg.o \
62 62 deftag_msg.o demangle_msg.o \
63 63 dl_msg.o dwarf_msg.o \
64 64 dwarf_ehe_msg.o dynamic_msg.o \
65 65 elf_msg.o entry_msg.o \
66 66 globals_msg.o group_msg.o \
67 67 map_msg.o lddstub_msg.o \
68 68 phdr_msg.o relocate_amd64_msg.o \
69 69 relocate_i386_msg.o relocate_sparc_msg.o \
70 70 sections_msg.o segments_msg.o \
71 71 symbols_msg.o symbols_sparc_msg.o \
72 72 syminfo_msg.o time_msg.o \
73 73 version_msg.o
74 74
75 75
76 76 OBJECTS = $(COMOBJS) $(COMOBJS32) $(COMOBJS64) $(ELFCAP_OBJS) \
77 77 $(ASOBJS) $(BLTOBJS)
78 78
79 79 #
80 80 # This library is unusual since it's a static archive of PIC objects.
81 81 # Since static archives should never contain CTF data (regardless of
82 82 # whether the object code is position-independent), we disable CTF.
83 83 #
84 84 NOCTFOBJS = $(OBJECTS)
85 85 CTFMERGE_LIB = :
86 86
87 87 include $(SRC)/lib/Makefile.lib
88 88 include $(SRC)/cmd/sgs/Makefile.com
89 89
90 90 CERRWARN += -_gcc=-Wno-type-limits
91 91 CERRWARN += -_gcc=-Wno-switch
92 92
93 93 CTFCONVERT_O=
94 94
95 95 README_REVISION=../../packages/common/readme_revision
96 96 ONLDREADME= ../../packages/common/SUNWonld-README
97 97
98 98 PICS= $(OBJECTS:%=pics/%)
99 99
100 100 CPPFLAGS += -I$(SRCBASE)/lib/libc/inc -I$(ELFCAP) \
101 101 -I$(SRC)/common/sgsrtcid
102 102
103 103 ARFLAGS= cr
104 104
105 105 AS_CPPFLAGS= -P -D_ASM $(CPPFLAGS)
↓ open down ↓ |
105 lines elided |
↑ open up ↑ |
106 106
107 107 BLTDATA= $(BLTOBJS:%.o=%.c) $(BLTOBJS:%.o=%.h) report_bufsize.h
108 108
109 109 SRCS= ../common/llib-lconv
110 110 LINTSRCS= $(COMOBJS:%.o=../common/%.c) \
111 111 $(COMOBJS_NOMSG:%.o=../common/%.c) \
112 112 $(ELFCOM_OBJS:%.o=$(ELFCAP)/%.c) ../common/lintsup.c
113 113 LINTSRCS32 = $(COMOBJS32:%32.o=../common/%.c)
114 114 LINTSRCS64 = $(COMOBJS64:%64.o=../common/%.c)
115 115
116 -# INTERNAL_RELEASE_BUILD is defined by standard full builds (nightly),
117 -# but not for sgs builds we do for development. The result of these
118 -# two lines is that dev builds pass -d to the readme_revision script,
119 -# generating a more detailed version string for the linker components
120 -# that includes the workspace, user, CR, and date. Official builds get
121 -# a simpler uncluttered version string.
122 -VERNOTE_DEBUG= -d
123 -$(INTERNAL_RELEASE_BUILD)VERNOTE_DEBUG=
124 -
125 116 SGSMSGTARG= $(BLTOBJS:%_msg.o=../common/%.msg)
126 117
127 118 LINTFLAGS += -u
128 119 LINTFLAGS64 += -u
129 120
130 121 CLEANFILES += $(BLTDATA) $(LINTOUTS) bld_vernote vernote.s
131 122 CLOBBERFILES += $(LINTLIBS)
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX