xref: /titanic_44/usr/src/lib/gss_mechs/mech_krb5/Makefile.com (revision 9df12a23948bd40cbe37ce88d84e272c3894e675)
1#
2# Copyright 2005 Sun Microsystems, Inc.  All rights reserved.
3# Use is subject to license terms.
4#
5# ident	"%Z%%M%	%I%	%E% SMI"
6#
7# This make file will build mech_krb5.so.1. This shared object
8# contains all the functionality needed to support the Kereros V5 GSS-API
9# mechanism. No other Kerberos libraries are needed.
10#
11
12
13LIBRARY= mech_krb5.a
14VERS = .1
15MAPFILE= $(MAPDIR)/mapfile
16
17GROUP=	sys
18FILEMODE=	755
19
20# objects are listed by source directory
21REL_PATH= ../
22
23to_all:	all
24
25# crypto
26CRYPTO = cksumtype_to_string.o \
27	coll_proof_cksum.o enctype_compare.o enctype_to_string.o \
28	keyed_checksum_types.o keyed_cksum.o \
29	make_random_key.o string_to_cksumtype.o \
30	string_to_enctype.o string_to_key.o valid_cksumtype.o \
31	valid_enctype.o pkcs11slot.o state.o pbkdf2.o
32
33CRYPTO_UTS= cksumtypes.o decrypt.o encrypt.o encrypt_length.o \
34	etypes.o nfold.o verify_checksum.o default_state.o \
35	prng.o block_size.o make_checksum.o checksum_length.o hmac.o \
36	mandatory_sumtype.o combine_keys.o
37
38# crypto/raw
39CRYPTO_RAW= raw_decrypt.o raw_encrypt.o
40
41# crypto/des user space only
42CRYPTO_DES= afsstring2key.o string2key.o
43
44# crypto/des common to user and kernel space
45CRYPTO_DES_UTS= f_cbc.o f_cksum.o f_parity.o weak_key.o d3_cbc.o
46
47# crypto/arcfour user space only
48CRYPTO_ARCFOUR= arcfour_str2key.o
49
50# crypto/aes user space only
51CRYPTO_AES=	aes_s2k.o
52
53# crypto/arcfour common to user and kernel space
54CRYPTO_ARCFOUR_UTS = k5_arcfour.o
55
56#crypto/dk
57CRYPTO_DK= stringtokey.o
58
59CRYPTO_DK_UTS= checksum.o derive.o dk_decrypt.o dk_encrypt.o
60
61# crypto/crc32
62CRYPTO_CRC32= crc.o
63
64# crypto/crc32
65CRYPTO_CRC32_UTS= crc32.o
66
67# crypto/md4
68CRYPTO_MD4= md4.o
69
70# crypto/enc_provider
71CRYPTO_ENC= des.o des3.o arcfour_provider.o aes_provider.o
72
73# crypto/hash_provider
74CRYPTO_HASH= hash_md5.o hash_sha1.o hash_ef_generic.o
75CRYPTO_HASH_UTS= hash_crc32.o
76
77# crypto/keyhash_provider
78CRYPTO_KEYHASH= k5_md5des.o hmac_md5.o
79CRYPTO_KEYHASH_UTS= descbc.o
80
81# crypto/old
82CRYPTO_OLD=  des_stringtokey.o
83
84# crypto/old
85CRYPTO_OLD_UTS=  old_encrypt.o old_decrypt.o
86
87# et error_tables
88ET=	adb_err.o adm_err.o asn1_err.o chpass_util_strings.o error_message.o \
89	com_err.o gssapi_err_generic.o import_err.o \
90	gssapi_err_krb5.o kadm_err.o kdb5_err.o kpasswd_strings.o kdc5_err.o \
91	krb5_err.o kv5m_err.o prof_err.o pty_err.o ss_err.o
92
93# krb5/asn.1
94K5_ASN1= asn1_decode.o asn1_k_decode.o asn1_encode.o \
95	asn1_get.o asn1_make.o \
96	asn1buf.o krb5_decode.o krb5_encode.o \
97	asn1_k_encode.o asn1_misc.o
98
99# krb5/ccache
100K5_CC= cc_file.o cc_memory.o ccbase.o ccfns.o ccdefault.o ccdefops.o ser_cc.o cc_retr.o cccopy.o
101
102# krb5/keytab
103K5_KT=	ktadd.o ktbase.o ktdefault.o ktfr_entry.o \
104	ktremove.o read_servi.o kt_file.o kt_srvtab.o ktfns.o
105
106K5_KRB= addr_comp.o  addr_order.o  addr_srch.o \
107	auth_con.o  bld_pr_ext.o  bld_princ.o  chk_trans.o \
108	conv_princ.o  copy_addrs.o  copy_creds.o  copy_data.o  copy_tick.o \
109	cp_key_cnt.o  decode_kdc.o  decrypt_tk.o  encode_kdc.o  encrypt_tk.o \
110	free_rtree.o  fwd_tgt.o  gc_frm_kdc.o  gc_via_tkt.o  gen_seqnum.o \
111	gen_subkey.o  get_creds.o  get_in_tkt.o kdc_rep_dc.o  mk_cred.o  \
112	mk_error.o  mk_priv.o  mk_rep.o  mk_req.o  mk_req_ext.o  mk_safe.o \
113	pr_to_salt.o   princ_comp.o  privacy_allowed.o  rd_cred.o \
114	rd_error.o  rd_priv.o  rd_rep.o  rd_req.o  rd_req_dec.o  rd_safe.o \
115	recvauth.o  send_tgs.o  sendauth.o  srv_rcache.o  str_conv.o \
116	tgtname.o  valid_times.o  walk_rtree.o appdefault.o deltat.o \
117	enc_helper.o gic_keytab.o gic_opt.o gic_pwd.o preauth2.o \
118	vfy_increds.o vic_opt.o krb5_libinit.o
119
120K5_KRB_UTS= copy_athctr.o copy_auth.o copy_cksum.o copy_key.o \
121	copy_princ.o init_ctx.o kfree.o parse.o ser_actx.o \
122	ser_adata.o ser_addr.o ser_auth.o \
123	ser_cksum.o ser_ctx.o ser_key.o \
124	ser_princ.o serialize.o unparse.o
125
126K5_OS=	an_to_ln.o def_realm.o ccdefname.o free_krbhs.o free_hstrl.o \
127	full_ipadr.o get_krbhst.o gen_port.o genaddrs.o gen_rname.o \
128	gmt_mktime.o hostaddr.o hst_realm.o krbfileio.o \
129	ktdefname.o kuserok.o mk_faddr.o localaddr.o locate_kdc.o lock_file.o \
130	net_read.o net_write.o osconfig.o port2ip.o promptusr.o \
131	read_msg.o read_pwd.o realm_dom.o sendto_kdc.o sn2princ.o \
132	unlck_file.o ustime.o write_msg.o safechown.o \
133	prompter.o realm_iter.o foreachaddr.o \
134	dnsglue.o dnssrv.o thread_safe.o
135
136K5_OS_UTS=init_os_ctx.o timeofday.o toffset.o c_ustime.o
137
138K5_POSIX= setenv.o daemon.o
139
140K5_RCACHE=rc_base.o rc_file.o rc_mem.o rc_common.o rc_io.o rcdef.o rc_conv.o \
141	ser_rc.o rcfns.o
142
143MECH= 	accept_sec_context.o store_cred.o \
144	add_cred.o disp_com_err_status.o  disp_major_status.o \
145	compare_name.o context_time.o copy_ccache.o \
146	disp_name.o disp_status.o export_sec_context.o \
147	get_tkt_flags.o import_name.o indicate_mechs.o \
148	inq_context.o inq_cred.o inq_names.o \
149	k5mech.o \
150	pname_to_uid.o process_context_token.o \
151        rel_buffer.o rel_oid.o rel_oid_set.o \
152	rel_cred.o  rel_name.o util_buffer.o \
153	util_dup.o util_localhost.o \
154	util_cksum.o acquire_cred.o init_sec_context.o \
155	util_ctxsetup.o set_ccache.o acquire_cred_with_pw.o
156
157MECH_UTS= delete_sec_context.o gssapi_krb5.o \
158	import_sec_context.o k5seal.o k5sealv3.o \
159	k5unseal.o seal.o ser_sctx.o \
160	sign.o unseal.o util_crypt.o  \
161	util_ordering.o util_seed.o util_seqnum.o \
162	util_set.o  util_token.o util_validate.o \
163	val_cred.o verify.o wrap_size_limit.o
164
165PROFILE_OBJS= prof_tree.o prof_file.o prof_parse.o prof_init.o \
166	prof_set.o prof_get.o
167
168SUPPORT_OBJS= fake-addrinfo.o  threads.o
169
170OBJECTS= \
171	$(MECH)  $(MECH_UTS) \
172	$(SUPPORT_OBJS) \
173	$(PROFILE_OBJS) \
174	$(CRYPTO) $(CRYPTO_UTS) \
175	$(CRYPTO_CRC32) \
176	$(CRYPTO_CRC32_UTS) \
177	$(CRYPTO_DES) $(CRYPTO_DES_UTS) \
178	$(CRYPTO_MD4) \
179	$(CRYPTO_DK) $(CRYPTO_DK_UTS) \
180	$(CRYPTO_ARCFOUR) $(CRYPTO_ARCFOUR_UTS) \
181	$(CRYPTO_AES) \
182	$(CRYPTO_ENC) \
183	$(CRYPTO_HASH) $(CRYPTO_HASH_UTS) \
184	$(CRYPTO_KEYHASH) $(CRYPTO_KEYHASH_UTS) \
185	$(CRYPTO_OLD) $(CRYPTO_OLD_UTS) \
186	$(CRYPTO_RAW) \
187	$(ET) \
188	$(K5_ASN1) \
189	$(K5_CC) \
190	$(K5_KT) \
191	$(K5_KRB) $(K5_KRB_UTS) \
192	$(K5_OS) $(K5_OS_UTS) \
193	$(K5_POSIX) $(K5_RCACHE)
194
195# include library definitions
196include $(REL_PATH)/../../Makefile.lib
197
198# Must come after Makefile.lib so CPPFLAGS doesn't get overwritten
199include $(SRC)/lib/gss_mechs/mech_krb5/Makefile.mech_krb5
200
201sparcv9_C_PICFLAGS =  -K PIC
202
203K5LIBLINK=$(LIBRARY:%.a=lib%.so)
204
205# override default text domain
206TEXT_DOMAIN= SUNW_OST_NETRPC
207INS.liblink2=	-$(RM) $@; $(SYMLINK) gss/$(LIBLINKPATH)$(LIBLINKS) $@
208
209CPPFLAGS += -I$(REL_PATH)/libgss -I../include  \
210		-I$(SRC)/uts/common/gssapi \
211		-I$(SRC)/uts/common/gssapi/include \
212		-I$(SRC)/lib/gss_mechs/mech_krb5/include/krb5 \
213		-I../include/krb5 \
214		-I../krb5/keytab \
215		-I../krb5/krb \
216		-I../krb5/os \
217		-I../krb5/ccache \
218		-I../krb5/rcache \
219		-I$(SRC)/lib/krb5 \
220		-I$(SRC)/lib/krb5/kadm5 \
221		-I$(SRC)/uts/common/gssapi/mechs/krb5/include \
222		-I$(SRC)/uts/common/gssapi/mechs/krb5/crypto/des
223
224# KRB5_DEFS can be assigned various preprocessor flags, typically -D
225# defines on the make invocation.  These values will be appended to
226# CPPFLAGS so the other flags in CPPFLAGS will not be overwritten.
227
228CPPFLAGS += $(KRB5_DEFS)
229
230$(EXPORT_RELEASE_BUILD)include $(CLOSED)/lib/gss_mechs/mech_krb5/Makefile.export
231
232#CPPFLAGS += 	-D_REENTRANT
233$(PICS) := 	CFLAGS += $(XFFLAG)
234$(PICS) := 	CCFLAGS += $(XFFLAG)
235
236CLOBBERFILES += $(MAPFILE)
237DYNFLAGS += -M$(MAPFILE)
238
239LIBS = $(DYNLIB) $(K5LIBLINK)
240
241# override ROOTLIBDIR and ROOTLINKS
242ROOTLIBDIR=	$(ROOT)/usr/lib/gss
243ROOTLIBDIR64=	$(ROOT)/usr/lib/$(MACH64)/gss
244
245K5MECHLINK=	$(K5LIBLINK:%=$(ROOT)/usr/lib/%)
246K5MECHLINK64=	$(K5LIBLINK:%=$(ROOT)/usr/lib/$(MACH64)/%)
247
248ROOTLIBS=	$(LIBS:%=$(ROOTLIBDIR)/%) $(K5MECHLINK)
249ROOTLIBS64=	$(LIBS:%=$(ROOTLIBDIR64)/%) $(K5MECHLINK64)
250
251$(ROOTLIBDIR) $(ROOTLIBDIR64):
252	$(INS.dir)
253
254# create libmech_krb5 link locally
255$(K5LIBLINK): $(DYNLIB)
256	-$(RM) $@; $(SYMLINK) $(DYNLIB) $@
257
258# create libmech_krb5 link in $ROOT/usr/lib/gss/
259$(ROOTLIBDIR)/$(K5LIBLINK):	$(ROOTLIBDIR)/$(LIBLINKS)$(VERS)
260	$(INS.liblink)
261
262# create libmech_krb5 link in $ROOT/usr/lib/$(MACH64)/gss
263$(ROOTLIBDIR64)/$(K5LIBLINK):	$(ROOTLIBDIR64)/$(LIBLINKS)$(VERS)
264	$(INS.liblink)
265
266# create libmech_krb5 link in ROOT/usr/lib
267$(K5MECHLINK):	$(ROOTLIBDIR)/$(LIBLINKS)$(VERS)
268	$(INS.liblink2)
269
270# create libmech_krb5 link in ROOT/usr/lib/$(MACH64)
271$(K5MECHLINK64):	$(ROOTLIBDIR64)/$(LIBLINKS)$(VERS)
272	$(INS.liblink2)
273
274LDLIBS += -lgss -lsocket -lresolv -lc -lpkcs11 -lnsl
275# -z ignore causes linker to ignore unneeded dependencies.  This is
276#  needed because -lnsl is only used if DEBUG is defined.
277DYNFLAGS += $(ZIGNORE)
278
279# mech lib needs special initialization at load time
280DYNFLAGS += -zinitarray=krb5_ld_init
281
282objs/%.o pics/%.o: $(SRC)/uts/common/gssapi/mechs/krb5/mech/%.c
283	$(COMPILE.c)  -o $@ $<
284	$(POST_PROCESS_O)
285
286objs/%.o pics/%.o: $(SRC)/lib/gss_mechs/mech_krb5/mech/%.c
287	$(COMPILE.c)  -o $@ $<
288	$(POST_PROCESS_O)
289
290objs/%.o pics/%.o: $(SRC)/uts/common/gssapi/mechs/krb5/crypto/%.c
291	$(COMPILE.c)  -o $@ $<
292	$(POST_PROCESS_O)
293
294objs/%.o pics/%.o: $(REL_PATH)/crypto/%.c
295	$(COMPILE.c)  -o $@ $<
296	$(POST_PROCESS_O)
297
298objs/%.o pics/%.o: $(REL_PATH)/crypto/md4/%.c
299	$(COMPILE.c)  -o $@ $<
300	$(POST_PROCESS_O)
301
302objs/%.o pics/%.o: $(SRC)/uts/common/gssapi/mechs/krb5/crypto/des/%.c
303	$(COMPILE.c)  -o $@ $<
304	$(POST_PROCESS_O)
305
306objs/%.o pics/%.o: $(REL_PATH)/crypto/des/%.c
307	$(COMPILE.c)  -o $@ $<
308	$(POST_PROCESS_O)
309
310objs/%.o pics/%.o: $(SRC)/uts/common/gssapi/mechs/krb5/crypto/arcfour/%.c
311	$(COMPILE.c)  -o $@ $<
312	$(POST_PROCESS_O)
313
314objs/%.o pics/%.o: $(REL_PATH)/crypto/arcfour/%.c
315	$(COMPILE.c)  -o $@ $<
316	$(POST_PROCESS_O)
317
318objs/%.o pics/%.o: $(REL_PATH)/crypto/aes/%.c
319	$(COMPILE.c)  -o $@ $<
320	$(POST_PROCESS_O)
321
322objs/%.o pics/%.o: $(SRC)/uts/common/gssapi/mechs/krb5/crypto/dk/%.c
323	$(COMPILE.c)  -o $@ $<
324	$(POST_PROCESS_O)
325
326objs/%.o pics/%.o: $(REL_PATH)/crypto/dk/%.c
327	$(COMPILE.c)  -o $@ $<
328	$(POST_PROCESS_O)
329
330objs/%.o pics/%.o: $(SRC)/uts/common/gssapi/mechs/krb5/crypto/raw/%.c
331	$(COMPILE.c)  -o $@ $<
332	$(POST_PROCESS_O)
333
334objs/%.o pics/%.o: $(SRC)/uts/common/gssapi/mechs/krb5/crypto/crc32/%.c
335	$(COMPILE.c)  -o $@ $<
336	$(POST_PROCESS_O)
337
338objs/%.o pics/%.o: $(REL_PATH)/crypto/crc32/%.c
339	$(COMPILE.c)  -o $@ $<
340	$(POST_PROCESS_O)
341
342objs/%.o pics/%.o: $(SRC)/uts/common/gssapi/mechs/krb5/crypto/sha1/%.c
343	$(COMPILE.c)  -o $@ $<
344	$(POST_PROCESS_O)
345
346objs/%.o pics/%.o: $(SRC)/uts/common/gssapi/mechs/krb5/crypto/enc_provider/%.c
347	$(COMPILE.c)  -o $@ $<
348	$(POST_PROCESS_O)
349
350objs/%.o pics/%.o: $(REL_PATH)/crypto/hash_provider/%.c
351	$(COMPILE.c)  -o $@ $<
352	$(POST_PROCESS_O)
353
354objs/%.o pics/%.o: $(SRC)/uts/common/gssapi/mechs/krb5/crypto/hash_provider/%.c
355	$(COMPILE.c)  -o $@ $<
356	$(POST_PROCESS_O)
357
358objs/%.o pics/%.o: $(REL_PATH)/crypto/keyhash_provider/%.c
359	$(COMPILE.c)  -o $@ $<
360	$(POST_PROCESS_O)
361
362objs/%.o pics/%.o: $(SRC)/uts/common/gssapi/mechs/krb5/crypto/keyhash_provider/%.c
363	$(COMPILE.c)  -o $@ $<
364	$(POST_PROCESS_O)
365
366objs/%.o pics/%.o: $(SRC)/uts/common/gssapi/mechs/krb5/crypto/old/%.c
367	$(COMPILE.c)  -o $@ $<
368	$(POST_PROCESS_O)
369
370objs/%.o pics/%.o: $(REL_PATH)/crypto/old/%.c
371	$(COMPILE.c)  -o $@ $<
372	$(POST_PROCESS_O)
373
374objs/%.o pics/%.o: $(SRC)/uts/common/gssapi/mechs/krb5/crypto/os/%.c
375	$(COMPILE.c)  -o $@ $<
376	$(POST_PROCESS_O)
377
378objs/%.o pics/%.o: $(REL_PATH)/crypto/sha1/%.c
379	$(COMPILE.c)  -o $@ $<
380	$(POST_PROCESS_O)
381
382objs/%.o pics/%.o: $(REL_PATH)/et/%.c
383	$(COMPILE.c)  -o $@ $<
384	$(POST_PROCESS_O)
385
386objs/%.o pics/%.o: $(REL_PATH)/krb5/asn.1/%.c
387	$(COMPILE.c)  -o $@ $<
388	$(POST_PROCESS_O)
389
390objs/%.o pics/%.o: $(REL_PATH)/krb5/ccache/%.c
391	$(COMPILE.c)  -o $@ $<
392	$(POST_PROCESS_O)
393
394objs/%.o pics/%.o: $(REL_PATH)/krb5/ccache/file/%.c
395	$(COMPILE.c)  -o $@ $<
396	$(POST_PROCESS_O)
397
398objs/%.o pics/%.o: $(REL_PATH)/krb5/ccache/stdio/%.c
399	$(COMPILE.c)  -o $@ $<
400	$(POST_PROCESS_O)
401
402objs/%.o pics/%.o: $(REL_PATH)/krb5/ccache/memory/%.c
403	$(COMPILE.c)  -o $@ $<
404	$(POST_PROCESS_O)
405
406objs/%.o pics/%.o: $(REL_PATH)/krb5/keytab/%.c
407	$(COMPILE.c)  -o $@ $<
408	$(POST_PROCESS_O)
409
410objs/%.o pics/%.o: $(REL_PATH)/krb5/keytab/file/%.c
411	$(COMPILE.c)  -o $@ $<
412	$(POST_PROCESS_O)
413
414objs/%.o pics/%.o: $(SRC)/uts/common/gssapi/mechs/krb5/krb5/krb/%.c
415	$(COMPILE.c)  -o $@ $<
416	$(POST_PROCESS_O)
417
418objs/%.o pics/%.o: $(REL_PATH)/krb5/krb/%.c
419	$(COMPILE.c)  -o $@ $<
420	$(POST_PROCESS_O)
421
422objs/%.o pics/%.o: $(SRC)/uts/common/gssapi/mechs/krb5/krb5/os/%.c
423	$(COMPILE.c)  -o $@ $<
424	$(POST_PROCESS_O)
425
426objs/%.o pics/%.o: $(REL_PATH)/krb5/os/%.c
427	$(COMPILE.c)  -o $@ $<
428	$(POST_PROCESS_O)
429
430objs/%.o pics/%.o: $(REL_PATH)/krb5/posix/%.c
431	$(COMPILE.c)  -o $@ $<
432	$(POST_PROCESS_O)
433
434objs/%.o pics/%.o: $(REL_PATH)/krb5/rcache/%.c
435	$(COMPILE.c)  -o $@ $<
436	$(POST_PROCESS_O)
437
438objs/%.o pics/%.o: $(REL_PATH)/profile/%.c
439	$(COMPILE.c)  -o $@ $<
440	$(POST_PROCESS_O)
441
442objs/%.o pics/%.o: $(REL_PATH)/support/%.c
443	$(COMPILE.c)  -o $@ $<
444	$(POST_PROCESS_O)
445
446$(DYNLIB):	$(MAPFILE)
447
448$(MAPFILE):
449	@cd $(MAPDIR); $(MAKE) mapfile
450
451# include library targets
452include $(REL_PATH)/../../Makefile.targ
453# We need to include all CPPFLAGS for the files since we are using
454# the macro to expand and they are not aware of flags yet .. ugh..
455
456OS_FLAGS = -DHAVE_LIBSOCKET -DHAVE_LIBNSL -DTIME_WITH_SYS_TIME \
457	-DHAVE_UNISTD_H -DHAVE_SYS_TIME_H -DHAVE_REGEX_H \
458	-DHAVE_REGEXP_H -DHAVE_RE_COMP -DHAVE_REGCOMP \
459	-DPOSIX_TYPES -DNDBM -DAN_TO_LN_RULES \
460	-DHAVE_STDLIB_H -DHAVE_STDARG_H -DHAVE_SYS_TYPES_H \
461	-DHAVE_NETINET_IN_H -DUSE_LOGIN_LIBRARY -DHAVE_SRAND48 \
462	-DHAVE_SRAND -DHAVE_SRANDOM -DHAVE_GETPID \
463	-DHAVE_ERRNO -DHAVE_STRFTIME -DHAVE_STRPTIME -DHAVE_STRERROR \
464	-DHAVE_STAT -DSIZEOF_INT=4 -DPROVIDE_KERNEL_IMPORT \
465	-DHAVE_STDINT_H -DPOSIX_SIGNALS -DHAVE_GETENV -DHAVE_SETENV \
466	-DHAVE_UNSETENV -DHAVE_FCHMOD
467
468CPPFLAGS += -I$(REL_PATH)krb5/ccache/file $(OS_FLAGS)
469
470SOURCES= \
471	$(CRYPTO_OS_UTS:%.o= $(SRC)/uts/common/gssapi/mechs/krb5/crypto/os/%.c)\
472	$(K5_OS_UTS:%.o=$(SRC)/uts/common/gssapi/mechs/krb5/krb5/os/%.c) \
473	$(K5_OS:%.o=$(SRC)/lib/gss_mechs/mech_krb5/krb5/os/%.c) \
474	$(CRYPTO:%.o=$(SRC)/lib/gss_mechs/mech_krb5/crypto/%.c) \
475	$(CRYPTO_UTS:%.o= $(SRC)/uts/common/gssapi/mechs/krb5/crypto/%.c)\
476	$(CRYPTO_RAW:%.o= $(SRC)/uts/common/gssapi/mechs/krb5/crypto/raw/%.c)\
477	$(CRYPTO_DES:%.o= $(SRC)/lib/gss_mechs/mech_krb5/crypto/des/%.c)\
478	$(CRYPTO_DES_UTS:%.o= $(SRC)/uts/common/gssapi/mechs/krb5/crypto/des/%.c)\
479	$(CRYPTO_ARCFOUR:%.o= $(SRC)/lib/gss_mechs/mech_krb5/crypto/arcfour/%.c)\
480	$(CRYPTO_ARCFOUR_UTS:%.o= $(SRC)/uts/common/gssapi/mechs/krb5/crypto/arcfour/%.c)\
481	$(CRYPTO_AES:%.o= $(SRC)/lib/gss_mechs/mech_krb5/crypto/aes/%.c)\
482	$(CRYPTO_DK:%.o= $(SRC)/lib/gss_mechs/mech_krb5/crypto/dk/%.c)\
483	$(CRYPTO_DK_UTS:%.o= $(SRC)/uts/common/gssapi/mechs/krb5/crypto/dk/%.c)\
484	$(CRYPTO_CRC32:%.o= $(SRC)/lib/gss_mechs/mech_krb5/crypto/crc32/%.c)\
485	$(CRYPTO_MD4:%.o= $(SRC)/lib/gss_mechs/mech_krb5/crypto/md4/%.c)\
486	$(CRYPTO_CRC32_UTS:%.o= $(SRC)/uts/common/gssapi/mechs/krb5/crypto/crc32/%.c)\
487	$(CRYPTO_ENC:%.o= $(SRC)/uts/common/gssapi/mechs/krb5/crypto/enc_provider/%.c)\
488	$(CRYPTO_HASH:%.o= $(SRC)/lib/gss_mechs/mech_krb5/crypto/hash_provider/%.c)\
489	$(CRYPTO_HASH_UTS:%.o= $(SRC)/uts/common/gssapi/mechs/krb5/crypto/hash_provider/%.c)\
490	$(CRYPTO_KEYHASH:%.o= $(SRC)/lib/gss_mechs/mech_krb5/crypto/keyhash_provider/%.c)\
491	$(CRYPTO_KEYHASH_UTS:%.o= $(SRC)/uts/common/gssapi/mechs/krb5/crypto/keyhash_provider/%.c)\
492	$(CRYPTO_OLD:%.o= $(SRC)/lib/gss_mechs/mech_krb5/crypto/old/%.c)\
493	$(CRYPTO_OLD_UTS:%.o= $(SRC)/uts/common/gssapi/mechs/krb5/crypto/old/%.c)\
494	$(ET:%.o= $(SRC)/lib/gss_mechs/mech_krb5/et/%.c) \
495	$(K5_ASN1:%.o= $(SRC)/lib/gss_mechs/mech_krb5/krb5/asn.1/%.c) \
496	$(K5_CC:%.o= $(SRC)/lib/gss_mechs/mech_krb5/krb5/ccache/%.c) \
497	$(K5_KT:%.o= $(SRC)/lib/gss_mechs/mech_krb5/krb5/keytab/%.c) \
498	$(K5_KRB:%.o= $(SRC)/lib/gss_mechs/mech_krb5/krb5/krb/%.c)\
499	$(K5_KRB_UTS:%.o= $(SRC)/uts/common/gssapi/mechs/krb5/krb5/krb/%.c)\
500	$(K5_OS:%.o= $(SRC)/lib/gss_mechs/mech_krb5/krb5/os/%.c)\
501	$(K5_OS_UTS:%.o= $(SRC)/uts/common/gssapi/mechs/krb5/krb5/os/%.c)\
502	$(K5_POSIX:%.o= $(SRC)/lib/gss_mechs/mech_krb5/krb5/posix/%.c)\
503	$(K5_RCACHE:%.o= $(SRC)/lib/gss_mechs/mech_krb5/krb5/rcache/%.c) \
504	$(MECH:%.o= $(SRC)/lib/gss_mechs/mech_krb5/mech/%.c) \
505	$(MECH_UTS:%.o= $(SRC)/uts/common/gssapi/mechs/krb5/mech/%.c) \
506	$(PROFILE_OBJS:%.o= $(SRC)/lib/gss_mechs/mech_krb5/profile/%.c) \
507	$(SUPPORT_OBJS:%.o= $(SRC)/lib/gss_mechs/mech_krb5/support/%.c)
508
509# So lint.out won't be needlessly recreated
510lint: $(LINTOUT)
511
512$(LINTOUT): $(SOURCES)
513	$(LINT.c) -o $(LIBNAME) $(SOURCES) > $(LINTOUT) 2>&1
514
515