# # CDDL HEADER START # # The contents of this file are subject to the terms of the # Common Development and Distribution License (the "License"). # You may not use this file except in compliance with the License. # # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE # or http://www.opensolaris.org/os/licensing. # See the License for the specific language governing permissions # and limitations under the License. # # When distributing Covered Code, include this CDDL HEADER in each # file and include the License file at usr/src/OPENSOLARIS.LICENSE. # If applicable, add the following below this CDDL HEADER, with the # fields enclosed by brackets "[]" replaced with your own identifying # information: Portions Copyright [yyyy] [name of copyright owner] # # CDDL HEADER END # # Copyright (c) 1999, 2010, Oracle and/or its affiliates. All rights reserved. # # This make file will build mech_krb5.so.1. This shared object # contains all the functionality needed to support the Kereros V5 GSS-API # mechanism. No other Kerberos libraries are needed. # LIBRARY= mech_krb5.a VERS = .1 FILEMODE= 755 # objects are listed by source directory REL_PATH= ../ to_all: all # crypto CRYPTO = cksumtype_to_string.o \ coll_proof_cksum.o enctype_compare.o enctype_to_string.o \ keyed_checksum_types.o keyed_cksum.o \ make_random_key.o string_to_cksumtype.o \ string_to_enctype.o string_to_key.o valid_cksumtype.o \ valid_enctype.o pkcs11slot.o state.o pbkdf2.o old_api_glue.o \ keylengths.o random_to_key.o CRYPTO_UTS= cksumtypes.o decrypt.o encrypt.o encrypt_length.o \ etypes.o nfold.o verify_checksum.o default_state.o \ prng.o block_size.o make_checksum.o checksum_length.o hmac.o \ mandatory_sumtype.o combine_keys.o # crypto/raw CRYPTO_RAW= raw_decrypt.o raw_encrypt.o # crypto/des user space only CRYPTO_DES= afsstring2key.o string2key.o # crypto/des common to user and kernel space CRYPTO_DES_UTS= f_cbc.o f_cksum.o f_parity.o weak_key.o d3_cbc.o # crypto/arcfour user space only CRYPTO_ARCFOUR= arcfour_str2key.o # crypto/aes user space only CRYPTO_AES= aes_s2k.o # crypto/arcfour common to user and kernel space CRYPTO_ARCFOUR_UTS = k5_arcfour.o #crypto/dk CRYPTO_DK= stringtokey.o CRYPTO_DK_UTS= checksum.o derive.o dk_decrypt.o dk_encrypt.o # crypto/crc32 CRYPTO_CRC32= crc.o # crypto/crc32 CRYPTO_CRC32_UTS= crc32.o # crypto/md4 CRYPTO_MD4= md4.o # crypto/enc_provider CRYPTO_ENC= des.o des3.o arcfour_provider.o aes_provider.o # crypto/hash_provider CRYPTO_HASH= hash_md5.o hash_sha1.o hash_ef_generic.o CRYPTO_HASH_UTS= hash_crc32.o # crypto/keyhash_provider CRYPTO_KEYHASH= k5_md5des.o hmac_md5.o CRYPTO_KEYHASH_UTS= descbc.o # crypto/old CRYPTO_OLD= des_stringtokey.o # crypto/old CRYPTO_OLD_UTS= old_encrypt.o old_decrypt.o # et error_tables ET= adb_err.o adm_err.o asn1_err.o chpass_util_strings.o error_message.o \ com_err.o gssapi_err_generic.o import_err.o \ gssapi_err_krb5.o kadm_err.o kdb5_err.o kpasswd_strings.o kdc5_err.o \ krb5_err.o kv5m_err.o prof_err.o pty_err.o ss_err.o # krb5/asn.1 K5_ASN1= asn1_decode.o asn1_k_decode.o asn1_encode.o \ asn1_get.o asn1_make.o \ asn1buf.o krb5_decode.o krb5_encode.o \ asn1_k_encode.o asn1_misc.o ldap_key_seq.o # krb5/ccache K5_CC= cc_file.o cc_memory.o ccbase.o ccfns.o ccdefault.o ccdefops.o ser_cc.o cc_retr.o cccopy.o # krb5/keytab K5_KT= ktadd.o ktbase.o ktdefault.o ktfr_entry.o \ ktremove.o read_servi.o kt_file.o kt_srvtab.o ktfns.o kt_findrealm.o \ kt_solaris.o K5_KRB= addr_comp.o addr_order.o addr_srch.o \ auth_con.o bld_pr_ext.o bld_princ.o chk_trans.o \ conv_princ.o copy_addrs.o copy_creds.o copy_data.o copy_tick.o \ cp_key_cnt.o decode_kdc.o decrypt_tk.o encode_kdc.o encrypt_tk.o \ free_rtree.o fwd_tgt.o gc_frm_kdc.o gc_via_tkt.o gen_seqnum.o \ gen_subkey.o get_creds.o get_in_tkt.o kdc_rep_dc.o mk_cred.o \ mk_error.o mk_priv.o mk_rep.o mk_req.o mk_req_ext.o mk_safe.o \ pr_to_salt.o princ_comp.o privacy_allowed.o rd_cred.o \ rd_error.o rd_priv.o rd_rep.o rd_req.o rd_req_dec.o rd_safe.o \ recvauth.o send_tgs.o sendauth.o srv_rcache.o str_conv.o \ tgtname.o valid_times.o walk_rtree.o appdefault.o deltat.o \ enc_helper.o gic_keytab.o gic_opt.o gic_pwd.o preauth2.o \ preauth.o vfy_increds.o vic_opt.o set_realm.o krb5_libinit.o chpw.o \ init_keyblock.o init_allocated_keyblock.o get_set_keyblock.o kerrs.o \ getuid.o pac.o K5_KRB_UTS= copy_athctr.o copy_auth.o copy_cksum.o copy_key.o \ copy_princ.o init_ctx.o kfree.o parse.o ser_actx.o \ ser_adata.o ser_addr.o ser_auth.o \ ser_cksum.o ser_ctx.o ser_key.o \ ser_princ.o serialize.o unparse.o K5_OS= an_to_ln.o def_realm.o ccdefname.o free_krbhs.o free_hstrl.o \ full_ipadr.o get_krbhst.o gen_port.o genaddrs.o gen_rname.o \ gmt_mktime.o hostaddr.o hst_realm.o krbfileio.o \ ktdefname.o kuserok.o mk_faddr.o localaddr.o locate_kdc.o lock_file.o \ net_read.o net_write.o osconfig.o port2ip.o promptusr.o \ read_msg.o read_pwd.o realm_dom.o sendto_kdc.o sn2princ.o \ unlck_file.o ustime.o write_msg.o safechown.o \ prompter.o realm_iter.o foreachaddr.o \ dnsglue.o dnssrv.o thread_safe.o changepw.o accessor.o K5_OS_UTS=init_os_ctx.o timeofday.o toffset.o c_ustime.o K5_POSIX= setenv.o daemon.o K5_RCACHE=rc_base.o rc_file.o rc_mem.o rc_common.o rc_io.o rcdef.o rc_conv.o \ ser_rc.o rcfns.o rc_none.o MECH= accept_sec_context.o store_cred.o \ add_cred.o disp_com_err_status.o disp_major_status.o \ compare_name.o context_time.o copy_ccache.o \ disp_name.o disp_status.o export_sec_context.o \ get_tkt_flags.o import_name.o indicate_mechs.o \ inq_context.o inq_cred.o inq_names.o \ krb5_gss_glue.o \ pname_to_uid.o process_context_token.o \ rel_buffer.o rel_oid.o rel_oid_set.o \ rel_cred.o rel_name.o util_buffer.o \ util_dup.o util_localhost.o \ util_cksum.o acquire_cred.o init_sec_context.o \ set_ccache.o acquire_cred_with_pw.o lucid_context.o \ set_allowable_enctypes.o oid_ops.o export_name.o gss_libinit.o \ util_buffer_set.o util_errmap.o MECH_UTS= delete_sec_context.o gssapi_krb5.o \ import_sec_context.o k5seal.o k5sealv3.o \ k5unseal.o seal.o ser_sctx.o \ sign.o unseal.o util_crypt.o \ util_ordering.o util_seed.o util_seqnum.o \ util_set.o util_token.o util_validate.o \ val_cred.o verify.o wrap_size_limit.o GSSAPI_UTS= gen_oids.o PROFILE_OBJS= prof_tree.o prof_file.o prof_parse.o prof_init.o \ prof_set.o prof_get.o prof_solaris.o SUPPORT_OBJS= fake-addrinfo.o init-addrinfo.o threads.o errors.o plugins.o \ utf8_conv.o utf8.o KWARN_OBJS= kwarnd_clnt_stubs.o kwarnd_clnt.o kwarnd_handle.o kwarnd_xdr.o OBJECTS= \ $(MECH) $(MECH_UTS) $(GSSAPI_UTS)\ $(SUPPORT_OBJS) \ $(KWARN_OBJS) \ $(PROFILE_OBJS) \ $(CRYPTO) $(CRYPTO_UTS) \ $(CRYPTO_CRC32) \ $(CRYPTO_CRC32_UTS) \ $(CRYPTO_DES) $(CRYPTO_DES_UTS) \ $(CRYPTO_MD4) \ $(CRYPTO_DK) $(CRYPTO_DK_UTS) \ $(CRYPTO_ARCFOUR) $(CRYPTO_ARCFOUR_UTS) \ $(CRYPTO_AES) \ $(CRYPTO_ENC) \ $(CRYPTO_HASH) $(CRYPTO_HASH_UTS) \ $(CRYPTO_KEYHASH) $(CRYPTO_KEYHASH_UTS) \ $(CRYPTO_OLD) $(CRYPTO_OLD_UTS) \ $(CRYPTO_RAW) \ $(ET) \ $(K5_ASN1) \ $(K5_CC) \ $(K5_KT) \ $(K5_KRB) $(K5_KRB_UTS) \ $(K5_OS) $(K5_OS_UTS) \ $(K5_POSIX) $(K5_RCACHE) # include library definitions include $(REL_PATH)/../../Makefile.lib # Must come after Makefile.lib so CPPFLAGS doesn't get overwritten include $(SRC)/lib/gss_mechs/mech_krb5/Makefile.mech_krb5 K5LIBLINK=$(LIBRARY:%.a=lib%.so) # override default text domain TEXT_DOMAIN= SUNW_OST_NETRPC INS.liblink2= -$(RM) $@; $(SYMLINK) gss/$(LIBLINKPATH)$(LIBLINKS) $@ CPPFLAGS += -I$(REL_PATH)/libgss -I../include \ -I$(SRC)/uts/common/gssapi \ -I$(SRC)/uts/common/gssapi/include \ -I$(SRC)/lib/gss_mechs/mech_krb5/mech \ -I$(SRC)/lib/gss_mechs/mech_krb5/include/krb5 \ -I../include/krb5 \ -I../krb5/keytab \ -I../krb5/krb \ -I../krb5/os \ -I../krb5/ccache \ -I../krb5/rcache \ -I$(SRC)/lib/krb5 \ -I$(SRC)/lib/krb5/kadm5 \ -I$(SRC)/uts/common/gssapi/mechs/krb5/include \ -I$(SRC)/uts/common/gssapi/mechs/krb5/crypto/des # KRB5_DEFS can be assigned various preprocessor flags, typically -D # defines on the make invocation. These values will be appended to # CPPFLAGS so the other flags in CPPFLAGS will not be overwritten. CPPFLAGS += $(KRB5_DEFS) MAPFILE_EXPORT = ../mapfile-vers-clean $(EXPORT_RELEASE_BUILD)MAPFILE_EXPORT = \ $(CLOSED)/lib/gss_mechs/mech_krb5/mapfile-vers-export MAPFILES = ../mapfile-vers $(MAPFILE_EXPORT) $(EXPORT_RELEASE_BUILD)include $(CLOSED)/lib/gss_mechs/mech_krb5/Makefile.export #CPPFLAGS += -D_REENTRANT $(PICS) := CFLAGS += $(XFFLAG) $(PICS) := CFLAGS64 += $(XFFLAG) $(PICS) := CCFLAGS += $(XFFLAG) $(PICS) := CCFLAGS64 += $(XFFLAG) LIBS = $(DYNLIB) $(K5LIBLINK) # override ROOTLIBDIR and ROOTLINKS ROOTLIBDIR= $(ROOT)/usr/lib/gss ROOTLIBDIR64= $(ROOT)/usr/lib/$(MACH64)/gss K5MECHLINK= $(K5LIBLINK:%=$(ROOT)/usr/lib/%) K5MECHLINK64= $(K5LIBLINK:%=$(ROOT)/usr/lib/$(MACH64)/%) ROOTLIBS= $(LIBS:%=$(ROOTLIBDIR)/%) $(K5MECHLINK) ROOTLIBS64= $(LIBS:%=$(ROOTLIBDIR64)/%) $(K5MECHLINK64) $(ROOTLIBDIR) $(ROOTLIBDIR64): $(INS.dir) # create libmech_krb5 link locally $(K5LIBLINK): $(DYNLIB) -$(RM) $@; $(SYMLINK) $(DYNLIB) $@ # create libmech_krb5 link in $ROOT/usr/lib/gss/ $(ROOTLIBDIR)/$(K5LIBLINK): $(ROOTLIBDIR)/$(LIBLINKS)$(VERS) $(INS.liblink) # create libmech_krb5 link in $ROOT/usr/lib/$(MACH64)/gss $(ROOTLIBDIR64)/$(K5LIBLINK): $(ROOTLIBDIR64)/$(LIBLINKS)$(VERS) $(INS.liblink) # create libmech_krb5 link in ROOT/usr/lib $(K5MECHLINK): $(ROOTLIBDIR)/$(LIBLINKS)$(VERS) $(INS.liblink2) # create libmech_krb5 link in ROOT/usr/lib/$(MACH64) $(K5MECHLINK64): $(ROOTLIBDIR64)/$(LIBLINKS)$(VERS) $(INS.liblink2) LDLIBS += -lgss -lsocket -lresolv -lc -lpkcs11 -lnsl -lkstat # -z ignore causes linker to ignore unneeded dependencies. This is # needed because -lnsl is only used if DEBUG is defined. DYNFLAGS += $(ZIGNORE) # mech lib needs special initialization at load time DYNFLAGS += -zinitarray=krb5_ld_init objs/%.o pics/%.o: $(SRC)/uts/common/gssapi/%.c $(COMPILE.c) -o $@ $< $(POST_PROCESS_O) objs/%.o pics/%.o: $(SRC)/uts/common/gssapi/mechs/krb5/mech/%.c $(COMPILE.c) -o $@ $< $(POST_PROCESS_O) objs/%.o pics/%.o: $(SRC)/lib/gss_mechs/mech_krb5/mech/%.c $(COMPILE.c) -o $@ $< $(POST_PROCESS_O) objs/%.o pics/%.o: $(SRC)/uts/common/gssapi/mechs/krb5/crypto/%.c $(COMPILE.c) -o $@ $< $(POST_PROCESS_O) objs/%.o pics/%.o: $(REL_PATH)/crypto/%.c $(COMPILE.c) -o $@ $< $(POST_PROCESS_O) objs/%.o pics/%.o: $(REL_PATH)/crypto/md4/%.c $(COMPILE.c) -o $@ $< $(POST_PROCESS_O) objs/%.o pics/%.o: $(SRC)/uts/common/gssapi/mechs/krb5/crypto/des/%.c $(COMPILE.c) -o $@ $< $(POST_PROCESS_O) objs/%.o pics/%.o: $(REL_PATH)/crypto/des/%.c $(COMPILE.c) -o $@ $< $(POST_PROCESS_O) objs/%.o pics/%.o: $(SRC)/uts/common/gssapi/mechs/krb5/crypto/arcfour/%.c $(COMPILE.c) -o $@ $< $(POST_PROCESS_O) objs/%.o pics/%.o: $(REL_PATH)/crypto/arcfour/%.c $(COMPILE.c) -o $@ $< $(POST_PROCESS_O) objs/%.o pics/%.o: $(REL_PATH)/crypto/aes/%.c $(COMPILE.c) -o $@ $< $(POST_PROCESS_O) objs/%.o pics/%.o: $(SRC)/uts/common/gssapi/mechs/krb5/crypto/dk/%.c $(COMPILE.c) -o $@ $< $(POST_PROCESS_O) objs/%.o pics/%.o: $(REL_PATH)/crypto/dk/%.c $(COMPILE.c) -o $@ $< $(POST_PROCESS_O) objs/%.o pics/%.o: $(SRC)/uts/common/gssapi/mechs/krb5/crypto/raw/%.c $(COMPILE.c) -o $@ $< $(POST_PROCESS_O) objs/%.o pics/%.o: $(SRC)/uts/common/gssapi/mechs/krb5/crypto/crc32/%.c $(COMPILE.c) -o $@ $< $(POST_PROCESS_O) objs/%.o pics/%.o: $(REL_PATH)/crypto/crc32/%.c $(COMPILE.c) -o $@ $< $(POST_PROCESS_O) objs/%.o pics/%.o: $(SRC)/uts/common/gssapi/mechs/krb5/crypto/sha1/%.c $(COMPILE.c) -o $@ $< $(POST_PROCESS_O) objs/%.o pics/%.o: $(SRC)/uts/common/gssapi/mechs/krb5/crypto/enc_provider/%.c $(COMPILE.c) -o $@ $< $(POST_PROCESS_O) objs/%.o pics/%.o: $(REL_PATH)/crypto/hash_provider/%.c $(COMPILE.c) -o $@ $< $(POST_PROCESS_O) objs/%.o pics/%.o: $(SRC)/uts/common/gssapi/mechs/krb5/crypto/hash_provider/%.c $(COMPILE.c) -o $@ $< $(POST_PROCESS_O) objs/%.o pics/%.o: $(REL_PATH)/crypto/keyhash_provider/%.c $(COMPILE.c) -o $@ $< $(POST_PROCESS_O) objs/%.o pics/%.o: $(SRC)/uts/common/gssapi/mechs/krb5/crypto/keyhash_provider/%.c $(COMPILE.c) -o $@ $< $(POST_PROCESS_O) objs/%.o pics/%.o: $(SRC)/uts/common/gssapi/mechs/krb5/crypto/old/%.c $(COMPILE.c) -o $@ $< $(POST_PROCESS_O) objs/%.o pics/%.o: $(REL_PATH)/crypto/old/%.c $(COMPILE.c) -o $@ $< $(POST_PROCESS_O) objs/%.o pics/%.o: $(SRC)/uts/common/gssapi/mechs/krb5/crypto/os/%.c $(COMPILE.c) -o $@ $< $(POST_PROCESS_O) objs/%.o pics/%.o: $(REL_PATH)/crypto/sha1/%.c $(COMPILE.c) -o $@ $< $(POST_PROCESS_O) objs/%.o pics/%.o: $(REL_PATH)/et/%.c $(COMPILE.c) -o $@ $< $(POST_PROCESS_O) objs/%.o pics/%.o: $(REL_PATH)/krb5/asn.1/%.c $(COMPILE.c) -o $@ $< $(POST_PROCESS_O) objs/%.o pics/%.o: $(REL_PATH)/krb5/ccache/%.c $(COMPILE.c) -o $@ $< $(POST_PROCESS_O) objs/%.o pics/%.o: $(REL_PATH)/krb5/ccache/file/%.c $(COMPILE.c) -o $@ $< $(POST_PROCESS_O) objs/%.o pics/%.o: $(REL_PATH)/krb5/ccache/stdio/%.c $(COMPILE.c) -o $@ $< $(POST_PROCESS_O) objs/%.o pics/%.o: $(REL_PATH)/krb5/ccache/memory/%.c $(COMPILE.c) -o $@ $< $(POST_PROCESS_O) objs/%.o pics/%.o: $(REL_PATH)/krb5/keytab/%.c $(COMPILE.c) -o $@ $< $(POST_PROCESS_O) objs/%.o pics/%.o: $(REL_PATH)/krb5/keytab/file/%.c $(COMPILE.c) -o $@ $< $(POST_PROCESS_O) objs/%.o pics/%.o: $(SRC)/uts/common/gssapi/mechs/krb5/krb5/krb/%.c $(COMPILE.c) -o $@ $< $(POST_PROCESS_O) objs/%.o pics/%.o: $(REL_PATH)/krb5/krb/%.c $(COMPILE.c) -o $@ $< $(POST_PROCESS_O) objs/%.o pics/%.o: $(SRC)/uts/common/gssapi/mechs/krb5/krb5/os/%.c $(COMPILE.c) -o $@ $< $(POST_PROCESS_O) objs/%.o pics/%.o: $(REL_PATH)/krb5/os/%.c $(COMPILE.c) -o $@ $< $(POST_PROCESS_O) objs/%.o pics/%.o: $(REL_PATH)/krb5/posix/%.c $(COMPILE.c) -o $@ $< $(POST_PROCESS_O) objs/%.o pics/%.o: $(REL_PATH)/krb5/rcache/%.c $(COMPILE.c) -o $@ $< $(POST_PROCESS_O) objs/%.o pics/%.o: $(REL_PATH)/profile/%.c $(COMPILE.c) -o $@ $< $(POST_PROCESS_O) objs/%.o pics/%.o: $(REL_PATH)/support/%.c $(COMPILE.c) -o $@ $< $(POST_PROCESS_O) # include library targets include $(REL_PATH)/../../Makefile.targ # We need to include all CPPFLAGS for the files since we are using # the macro to expand and they are not aware of flags yet .. ugh.. OS_FLAGS = -DHAVE_LIBSOCKET -DHAVE_LIBNSL -DTIME_WITH_SYS_TIME \ -DHAVE_UNISTD_H -DHAVE_SYS_TIME_H -DHAVE_REGEX_H \ -DHAVE_REGEXP_H -DHAVE_RE_COMP -DHAVE_REGCOMP \ -DPOSIX_TYPES -DNDBM \ -DHAVE_STDLIB_H -DHAVE_STDARG_H -DHAVE_SYS_TYPES_H \ -DHAVE_NETINET_IN_H -DHAVE_SRAND48 \ -DHAVE_SRAND -DHAVE_SRANDOM -DHAVE_GETPID \ -DHAVE_ERRNO -DHAVE_STRFTIME -DHAVE_STRPTIME -DHAVE_STRERROR \ -DHAVE_STAT -DSIZEOF_INT=4 -DPROVIDE_KERNEL_IMPORT \ -DHAVE_STDINT_H -DPOSIX_SIGNALS -DHAVE_GETENV -DHAVE_SETENV \ -DHAVE_UNSETENV -DHAVE_FCHMOD -DHAVE_STRUCT_LIFCONF \ -DHAVE_VASPRINTF -DHAVE_RES_NINIT -DHAVE_RES_NDESTROY \ -DHAVE_RES_NSEARCH CPPFLAGS += -I$(REL_PATH)krb5/ccache/file $(OS_FLAGS) SOURCES= \ $(CRYPTO_OS_UTS:%.o= $(SRC)/uts/common/gssapi/mechs/krb5/crypto/os/%.c)\ $(K5_OS_UTS:%.o=$(SRC)/uts/common/gssapi/mechs/krb5/krb5/os/%.c) \ $(K5_OS:%.o=$(SRC)/lib/gss_mechs/mech_krb5/krb5/os/%.c) \ $(CRYPTO:%.o=$(SRC)/lib/gss_mechs/mech_krb5/crypto/%.c) \ $(CRYPTO_UTS:%.o= $(SRC)/uts/common/gssapi/mechs/krb5/crypto/%.c)\ $(CRYPTO_RAW:%.o= $(SRC)/uts/common/gssapi/mechs/krb5/crypto/raw/%.c)\ $(CRYPTO_DES:%.o= $(SRC)/lib/gss_mechs/mech_krb5/crypto/des/%.c)\ $(CRYPTO_DES_UTS:%.o= $(SRC)/uts/common/gssapi/mechs/krb5/crypto/des/%.c)\ $(CRYPTO_ARCFOUR:%.o= $(SRC)/lib/gss_mechs/mech_krb5/crypto/arcfour/%.c)\ $(CRYPTO_ARCFOUR_UTS:%.o= $(SRC)/uts/common/gssapi/mechs/krb5/crypto/arcfour/%.c)\ $(CRYPTO_AES:%.o= $(SRC)/lib/gss_mechs/mech_krb5/crypto/aes/%.c)\ $(CRYPTO_DK:%.o= $(SRC)/lib/gss_mechs/mech_krb5/crypto/dk/%.c)\ $(CRYPTO_DK_UTS:%.o= $(SRC)/uts/common/gssapi/mechs/krb5/crypto/dk/%.c)\ $(CRYPTO_CRC32:%.o= $(SRC)/lib/gss_mechs/mech_krb5/crypto/crc32/%.c)\ $(CRYPTO_MD4:%.o= $(SRC)/lib/gss_mechs/mech_krb5/crypto/md4/%.c)\ $(CRYPTO_CRC32_UTS:%.o= $(SRC)/uts/common/gssapi/mechs/krb5/crypto/crc32/%.c)\ $(CRYPTO_ENC:%.o= $(SRC)/uts/common/gssapi/mechs/krb5/crypto/enc_provider/%.c)\ $(CRYPTO_HASH:%.o= $(SRC)/lib/gss_mechs/mech_krb5/crypto/hash_provider/%.c)\ $(CRYPTO_HASH_UTS:%.o= $(SRC)/uts/common/gssapi/mechs/krb5/crypto/hash_provider/%.c)\ $(CRYPTO_KEYHASH:%.o= $(SRC)/lib/gss_mechs/mech_krb5/crypto/keyhash_provider/%.c)\ $(CRYPTO_KEYHASH_UTS:%.o= $(SRC)/uts/common/gssapi/mechs/krb5/crypto/keyhash_provider/%.c)\ $(CRYPTO_OLD:%.o= $(SRC)/lib/gss_mechs/mech_krb5/crypto/old/%.c)\ $(CRYPTO_OLD_UTS:%.o= $(SRC)/uts/common/gssapi/mechs/krb5/crypto/old/%.c)\ $(ET:%.o= $(SRC)/lib/gss_mechs/mech_krb5/et/%.c) \ $(K5_ASN1:%.o= $(SRC)/lib/gss_mechs/mech_krb5/krb5/asn.1/%.c) \ $(K5_CC:%.o= $(SRC)/lib/gss_mechs/mech_krb5/krb5/ccache/%.c) \ $(K5_KT:%.o= $(SRC)/lib/gss_mechs/mech_krb5/krb5/keytab/%.c) \ $(K5_KRB:%.o= $(SRC)/lib/gss_mechs/mech_krb5/krb5/krb/%.c)\ $(K5_KRB_UTS:%.o= $(SRC)/uts/common/gssapi/mechs/krb5/krb5/krb/%.c)\ $(K5_OS:%.o= $(SRC)/lib/gss_mechs/mech_krb5/krb5/os/%.c)\ $(K5_OS_UTS:%.o= $(SRC)/uts/common/gssapi/mechs/krb5/krb5/os/%.c)\ $(K5_POSIX:%.o= $(SRC)/lib/gss_mechs/mech_krb5/krb5/posix/%.c)\ $(K5_RCACHE:%.o= $(SRC)/lib/gss_mechs/mech_krb5/krb5/rcache/%.c) \ $(MECH:%.o= $(SRC)/lib/gss_mechs/mech_krb5/mech/%.c) \ $(MECH_UTS:%.o= $(SRC)/uts/common/gssapi/mechs/krb5/mech/%.c) \ $(GSSAPI_UTS:%.o= $(SRC)/uts/common/gssapi/%.c) \ $(PROFILE_OBJS:%.o= $(SRC)/lib/gss_mechs/mech_krb5/profile/%.c) \ $(SUPPORT_OBJS:%.o= $(SRC)/lib/gss_mechs/mech_krb5/support/%.c) kwarnd.h: $(SRC)/cmd/krb5/kwarn/kwarnd.x $(RM) $@ $(RPCGEN) -M -h $(SRC)/cmd/krb5/kwarn/kwarnd.x | \ $(SED) -e 's!$(SRC)/cmd/krb5/kwarn/kwarnd.h!kwarnd.h!' > $@ kwarnd_xdr.c: kwarnd.h $(SRC)/cmd/krb5/kwarn/kwarnd.x $(RM) $@ $(RPCGEN) -M -c $(SRC)/cmd/krb5/kwarn/kwarnd.x | \ $(SED) -e 's!$(SRC)/cmd/krb5/kwarn/kwarnd.h!kwarnd.h!' > $@ kwarnd_clnt.c: kwarnd.h $(SRC)/cmd/krb5/kwarn/kwarnd.x $(RM) $@ $(RPCGEN) -M -l $(SRC)/cmd/krb5/kwarn/kwarnd.x | \ $(SED) -e 's!$(SRC)/cmd/krb5/kwarn/kwarnd.h!kwarnd.h!' > $@ kwarnd_clnt_stubs.c: kwarnd.h $(SRC)/cmd/krb5/kwarn/kwarnd_clnt_stubs.c $(RM) $@ $(CP) $(SRC)/cmd/krb5/kwarn/kwarnd_clnt_stubs.c $@ kwarnd_handle.c: $(SRC)/cmd/krb5/kwarn/kwarnd_handle.c $(RM) $@ $(CP) $(SRC)/cmd/krb5/kwarn/kwarnd_handle.c $@ # So lint.out won't be needlessly recreated lint: $(LINTOUT) $(LINTOUT): $(SOURCES) $(LINT.c) -o $(LIBNAME) $(SOURCES) > $(LINTOUT) 2>&1