Print this page
3971 remove EXPORT_RELEASE_BUILD
Split |
Close |
Expand all |
Collapse all |
--- old/usr/src/lib/libgss/Makefile.com
+++ new/usr/src/lib/libgss/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 # Copyright (c) 1999, 2010, Oracle and/or its affiliates. All rights reserved.
23 23 #
24 24
25 25 LIBRARY = libgss.a
26 26 VERS = .1
27 27
28 28 GSSOBJECTS = g_acquire_cred.o \
29 29 g_acquire_cred_with_pw.o \
30 30 g_store_cred.o \
31 31 g_rel_cred.o \
32 32 g_init_sec_context.o \
33 33 g_accept_sec_context.o \
34 34 g_process_context.o \
35 35 g_delete_sec_context.o \
36 36 g_imp_sec_context.o \
37 37 g_exp_sec_context.o \
38 38 g_context_time.o \
39 39 g_sign.o \
40 40 g_verify.o \
41 41 g_seal.o \
42 42 g_unseal.o \
43 43 g_dsp_status.o \
44 44 g_compare_name.o \
45 45 g_dsp_name.o \
46 46 g_imp_name.o \
47 47 g_rel_name.o \
48 48 g_rel_buffer.o \
49 49 g_rel_oid_set.o \
50 50 g_oid_ops.o \
51 51 g_inquire_cred.o \
52 52 g_inquire_context.o \
53 53 g_inquire_names.o \
54 54 g_initialize.o \
55 55 g_glue.o \
56 56 gssd_pname_to_uid.o \
57 57 oid_ops.o \
58 58 g_canon_name.o \
59 59 g_dup_name.o \
60 60 g_export_name.o \
61 61 g_utils.o \
62 62 g_userok.o \
63 63 g_buffer_set.o \
64 64 g_inq_context_oid.o \
65 65
66 66
67 67 # defines the duplicate sources we share with gsscred
68 68 GSSCRED_DIR = $(SRC)/cmd/gss/gsscred
69 69 GSSCREDOBJ = gsscred_utils.o gsscred_file.o
70 70 # defines the duplicate sources we share with krb5 mech
71 71 KRB5DIR= $(SRC)/lib/gss_mechs/mech_krb5/mech
72 72 KRB5OBJ= rel_buffer.o util_buffer_set.o disp_com_err_status.o \
73 73 util_buffer.o util_errmap.o
74 74 # defines the duplicate sources we share with krb5 mech error table
75 75 KRB5ETDIR= $(SRC)/lib/gss_mechs/mech_krb5/et
76 76 KRB5ETOBJ= error_message.o adb_err.o adm_err.o asn1_err.o \
77 77 chpass_util_strings.o \
78 78 gssapi_err_krb5.o gssapi_err_generic.o \
79 79 import_err.o \
80 80 kadm_err.o kdb5_err.o kdc5_err.o kpasswd_strings.o krb5_err.o \
81 81 kv5m_err.o prof_err.o pty_err.o ss_err.o
82 82 # defines the duplicate sources we share with kernel module
83 83 UTSGSSDIR = $(SRC)/uts/common/gssapi
84 84 UTSGSSOBJ = gen_oids.o
85 85
86 86 SRCS += $(GSSCREDOBJ:%.o=$(GSSCRED_DIR)/%.c) \
87 87 $(KRB5OBJ:%.o=$(KRB5DIR)/%.c) \
88 88 $(KRB5ETOBJ:%.o=$(KRB5ETDIR)/%.c) \
89 89 $(UTSGSSOBJ:%.o=$(UTSGSSDIR)/%.c)
90 90 GSSLINTSRC = $(GSSOBJECTS:%.o=$(SRCDIR)/%.c) \
91 91 $(GSSCREDOBJ:%.o=$(GSSCRED_DIR)/%.c) \
92 92 $(UTSGSSOBJ:%.o=$(UTSGSSDIR)/%.c)
93 93 OBJECTS = $(GSSOBJECTS) $(GSSCREDOBJ) $(KRB5OBJ) $(UTSGSSOBJ) $(KRB5ETOBJ)
94 94
95 95 # include library definitions
96 96 include ../../Makefile.lib
97 97
98 98 LIBS = $(DYNLIB) $(LINTLIB)
99 99
100 100 $(LINTLIB):= SRCS = $(SRCDIR)/$(LINTSRC)
101 101 LDLIBS += -lc
102 102
103 103 CPPFLAGS += -I$(GSSCRED_DIR) -I$(SRC)/uts/common/gssapi/include \
↓ open down ↓ |
103 lines elided |
↑ open up ↑ |
104 104 -I$(SRC)/uts/common/gssapi/mechs/krb5/include \
105 105 -I$(SRC)/uts/common/gssapi/ \
106 106 -I$(SRC)/lib/gss_mechs/mech_krb5/include/ \
107 107 -DHAVE_STDLIB_H
108 108
109 109 CERRWARN += -_gcc=-Wno-unused-function
110 110 CERRWARN += -_gcc=-Wno-uninitialized
111 111 CERRWARN += -_gcc=-Wno-parentheses
112 112 CERRWARN += -_gcc=-Wno-empty-body
113 113
114 -$(EXPORT_RELEASE_BUILD)include $(CLOSED)/lib/libgss/Makefile.export
115 -
116 114 .KEEP_STATE:
117 115
118 116 all: $(LIBS)
119 117
120 118 lintcheck:= SRCS= $(GSSLINTSRC)
121 119
122 120 lint: lintcheck
123 121
124 122 $(GSSCREDOBJ:%.o=pics/%.o):
125 123 $(COMPILE.c) -o $@ $(@:pics/%.o=$(GSSCRED_DIR)/%.c)
126 124 $(POST_PROCESS_O)
127 125
128 126 # we need this in libgss so we don't have to link against mech_krb5
129 127 pics/rel_buffer.o: $(KRB5DIR)/rel_buffer.c
130 128 $(COMPILE.c) -o $@ $(KRB5DIR)/rel_buffer.c
131 129 $(POST_PROCESS_O)
132 130
133 131 # we need this in libgss so we don't have to link against mech_krb5
134 132 pics/util_buffer_set.o: $(KRB5DIR)/util_buffer_set.c
135 133 $(COMPILE.c) -o $@ $(KRB5DIR)/util_buffer_set.c
136 134 $(POST_PROCESS_O)
137 135
138 136 # we need this in libgss so we don't have to link against mech_krb5
139 137 pics/disp_com_err_status.o: $(KRB5DIR)/disp_com_err_status.c
140 138 $(COMPILE.c) -o $@ $(KRB5DIR)/disp_com_err_status.c
141 139 $(POST_PROCESS_O)
142 140
143 141 # we need this in libgss so we don't have to link against mech_krb5
144 142 pics/util_buffer.o: $(KRB5DIR)/util_buffer.c
145 143 $(COMPILE.c) -o $@ $(KRB5DIR)/util_buffer.c
146 144 $(POST_PROCESS_O)
147 145
148 146 # we need this in libgss so we don't have to link against mech_krb5
149 147 pics/util_errmap.o: $(KRB5DIR)/util_errmap.c
150 148 $(COMPILE.c) -o $@ $(KRB5DIR)/util_errmap.c
151 149 $(POST_PROCESS_O)
152 150
153 151 # we need this in libgss so we don't have to link against mech_krb5
154 152 pics/error_message.o: $(KRB5ETDIR)/error_message.c
155 153 $(COMPILE.c) -o $@ $(KRB5ETDIR)/error_message.c
156 154 $(POST_PROCESS_O)
157 155
158 156 # we need this in libgss so we don't have to link against mech_krb5
159 157 pics/adb_err.o: $(KRB5ETDIR)/adb_err.c
160 158 $(COMPILE.c) -o $@ $(KRB5ETDIR)/adb_err.c
161 159 $(POST_PROCESS_O)
162 160
163 161 pics/adm_err.o: $(KRB5ETDIR)/adm_err.c
164 162 $(COMPILE.c) -o $@ $(KRB5ETDIR)/adm_err.c
165 163 $(POST_PROCESS_O)
166 164
167 165 # we need this in libgss so we don't have to link against mech_krb5
168 166 pics/asn1_err.o: $(KRB5ETDIR)/asn1_err.c
169 167 $(COMPILE.c) -o $@ $(KRB5ETDIR)/asn1_err.c
170 168 $(POST_PROCESS_O)
171 169
172 170 # we need this in libgss so we don't have to link against mech_krb5
173 171 pics/chpass_util_strings.o: $(KRB5ETDIR)/chpass_util_strings.c
174 172 $(COMPILE.c) -o $@ $(KRB5ETDIR)/chpass_util_strings.c
175 173 $(POST_PROCESS_O)
176 174
177 175 # we need this in libgss so we don't have to link against mech_krb5
178 176 pics/gssapi_err_generic.o: $(KRB5ETDIR)/gssapi_err_generic.c
179 177 $(COMPILE.c) -o $@ $(KRB5ETDIR)/gssapi_err_generic.c
180 178 $(POST_PROCESS_O)
181 179
182 180 # we need this in libgss so we don't have to link against mech_krb5
183 181 pics/gssapi_err_krb5.o: $(KRB5ETDIR)/gssapi_err_krb5.c
184 182 $(COMPILE.c) -o $@ $(KRB5ETDIR)/gssapi_err_krb5.c
185 183 $(POST_PROCESS_O)
186 184
187 185
188 186 # we need this in libgss so we don't have to link against mech_krb5
189 187 pics/import_err.o: $(KRB5ETDIR)/import_err.c
190 188 $(COMPILE.c) -o $@ $(KRB5ETDIR)/import_err.c
191 189 $(POST_PROCESS_O)
192 190
193 191 # we need this in libgss so we don't have to link against mech_krb5
194 192 pics/kadm_err.o: $(KRB5ETDIR)/kadm_err.c
195 193 $(COMPILE.c) -o $@ $(KRB5ETDIR)/kadm_err.c
196 194 $(POST_PROCESS_O)
197 195
198 196 # we need this in libgss so we don't have to link against mech_krb5
199 197 pics/kdb5_err.o: $(KRB5ETDIR)/kdb5_err.c
200 198 $(COMPILE.c) -o $@ $(KRB5ETDIR)/kdb5_err.c
201 199 $(POST_PROCESS_O)
202 200
203 201 # we need this in libgss so we don't have to link against mech_krb5
204 202 pics/kdc5_err.o: $(KRB5ETDIR)/kdc5_err.c
205 203 $(COMPILE.c) -o $@ $(KRB5ETDIR)/kdc5_err.c
206 204 $(POST_PROCESS_O)
207 205
208 206 # we need this in libgss so we don't have to link against mech_krb5
209 207 pics/kpasswd_strings.o: $(KRB5ETDIR)/kpasswd_strings.c
210 208 $(COMPILE.c) -o $@ $(KRB5ETDIR)/kpasswd_strings.c
211 209 $(POST_PROCESS_O)
212 210
213 211 # we need this in libgss so we don't have to link against mech_krb5
214 212 pics/krb5_err.o: $(KRB5ETDIR)/krb5_err.c
215 213 $(COMPILE.c) -o $@ $(KRB5ETDIR)/krb5_err.c
216 214 $(POST_PROCESS_O)
217 215
218 216 # we need this in libgss so we don't have to link against mech_krb5
219 217 pics/kv5m_err.o: $(KRB5ETDIR)/kv5m_err.c
220 218 $(COMPILE.c) -o $@ $(KRB5ETDIR)/kv5m_err.c
221 219 $(POST_PROCESS_O)
222 220
223 221 # we need this in libgss so we don't have to link against mech_krb5
224 222 pics/prof_err.o: $(KRB5ETDIR)/prof_err.c
225 223 $(COMPILE.c) -o $@ $(KRB5ETDIR)/prof_err.c
226 224 $(POST_PROCESS_O)
227 225
228 226 # we need this in libgss so we don't have to link against mech_krb5
229 227 pics/pty_err.o: $(KRB5ETDIR)/pty_err.c
230 228 $(COMPILE.c) -o $@ $(KRB5ETDIR)/pty_err.c
231 229 $(POST_PROCESS_O)
232 230
233 231 # we need this in libgss so we don't have to link against mech_krb5
234 232 pics/ss_err.o: $(KRB5ETDIR)/ss_err.c
235 233 $(COMPILE.c) -o $@ $(KRB5ETDIR)/ss_err.c
236 234 $(POST_PROCESS_O)
237 235
238 236 # gen_oids.c is kept in the kernel since the OIDs declared in them are
239 237 # used by rpcsec module
240 238 pics/gen_oids.o: $(SRC)/uts/common/gssapi/gen_oids.c
241 239 $(COMPILE.c) -o $@ $(SRC)/uts/common/gssapi/gen_oids.c
242 240 $(POST_PROCESS_O)
243 241
244 242 # include library targets
245 243 include ../../Makefile.targ
↓ open down ↓ |
120 lines elided |
↑ open up ↑ |
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX