# $OpenBSD: Makefile,v 1.79 2022/08/20 09:16:18 tb Exp $ LIB= crypto LIBREBUILD=y .include .ifndef NOMAN SUBDIR= man .endif PC_FILES=libcrypto.pc CLEANFILES=${PC_FILES} ${VERSION_SCRIPT} LCRYPTO_SRC= ${.CURDIR} CFLAGS+= -Wall -Wundef .if ${COMPILER_VERSION:L} == "clang" CFLAGS+= -Werror .endif CFLAGS+= -DLIBRESSL_INTERNAL -DLIBRESSL_CRYPTO_INTERNAL .if !defined(NOPIC) CFLAGS+= -DDSO_DLFCN -DHAVE_DLFCN_H -DHAVE_FUNOPEN .endif # Hardware engines CFLAGS+= -DOPENSSL_NO_HW_PADLOCK # XXX enable this? CFLAGS+= -I${LCRYPTO_SRC} CFLAGS+= -I${LCRYPTO_SRC}/arch/${MACHINE_CPU} CFLAGS+= -I${LCRYPTO_SRC}/asn1 CFLAGS+= -I${LCRYPTO_SRC}/bio CFLAGS+= -I${LCRYPTO_SRC}/bn CFLAGS+= -I${LCRYPTO_SRC}/bytestring CFLAGS+= -I${LCRYPTO_SRC}/dh CFLAGS+= -I${LCRYPTO_SRC}/dsa CFLAGS+= -I${LCRYPTO_SRC}/ec CFLAGS+= -I${LCRYPTO_SRC}/ecdh CFLAGS+= -I${LCRYPTO_SRC}/ecdsa CFLAGS+= -I${LCRYPTO_SRC}/evp CFLAGS+= -I${LCRYPTO_SRC}/hmac CFLAGS+= -I${LCRYPTO_SRC}/kdf CFLAGS+= -I${LCRYPTO_SRC}/modes CFLAGS+= -I${LCRYPTO_SRC}/ocsp CFLAGS+= -I${LCRYPTO_SRC}/pkcs12 CFLAGS+= -I${LCRYPTO_SRC}/rsa CFLAGS+= -I${LCRYPTO_SRC}/ts CFLAGS+= -I${LCRYPTO_SRC}/x509 VERSION_SCRIPT= Symbols.map SYMBOL_LIST= ${.CURDIR}/Symbols.list # crypto/ SRCS+= cryptlib.c malloc-wrapper.c mem_dbg.c cversion.c ex_data.c cpt_err.c SRCS+= o_time.c o_str.c o_init.c o_fips.c SRCS+= mem_clr.c crypto_init.c crypto_lock.c # aes/ SRCS+= aes_misc.c aes_ecb.c aes_cfb.c aes_ofb.c SRCS+= aes_ctr.c aes_ige.c aes_wrap.c # asn1/ SRCS+= a_object.c a_bitstr.c a_time.c a_int.c a_octet.c a_pkey.c a_pubkey.c SRCS+= a_print.c a_type.c a_string.c SRCS+= a_enum.c a_utf8.c a_mbstr.c a_strex.c SRCS+= x_algor.c x_val.c x_pubkey.c x_sig.c x_req.c x_attrib.c x_bignum.c SRCS+= x_long.c x_name.c x_x509.c x_x509a.c x_crl.c x_info.c x_spki.c nsseq.c SRCS+= t_req.c t_x509.c t_x509a.c t_crl.c t_pkey.c t_spki.c SRCS+= tasn_new.c tasn_fre.c tasn_enc.c tasn_dec.c tasn_utl.c tasn_typ.c SRCS+= tasn_prn.c ameth_lib.c SRCS+= x_pkey.c x_exten.c bio_asn1.c bio_ndef.c asn_mime.c SRCS+= asn1_gen.c asn1_par.c asn1_old_lib.c asn1_err.c a_strnid.c SRCS+= p5_pbe.c p5_pbev2.c p8_pkey.c asn_moid.c SRCS+= a_time_tm.c asn1_item.c asn1_old.c asn1_types.c asn1_lib.c # bf/ SRCS+= bf_skey.c bf_ecb.c bf_cfb64.c bf_ofb64.c # bio/ SRCS+= bio_lib.c bio_cb.c bio_err.c bio_meth.c SRCS+= bss_mem.c bss_null.c bss_fd.c SRCS+= bss_file.c bss_sock.c bss_conn.c SRCS+= bf_null.c bf_buff.c b_print.c b_dump.c SRCS+= b_posix.c b_sock.c bss_acpt.c bf_nbio.c bss_log.c bss_bio.c SRCS+= bss_dgram.c # bn/ SRCS+= bn_add.c bn_div.c bn_exp.c bn_lib.c bn_ctx.c bn_mul.c bn_mod.c SRCS+= bn_print.c bn_rand.c bn_shift.c bn_word.c bn_blind.c SRCS+= bn_kron.c bn_sqrt.c bn_gcd.c bn_prime.c bn_err.c bn_sqr.c SRCS+= bn_recp.c bn_mont.c bn_mpi.c bn_exp2.c bn_gf2m.c bn_nist.c SRCS+= bn_depr.c bn_const.c bn_x931p.c SRCS+= bn_bpsw.c bn_isqrt.c # buffer/ SRCS+= buffer.c buf_err.c buf_str.c # bytestring/ SRCS+= bs_ber.c bs_cbb.c bs_cbs.c # camellia/ SRCS+= cmll_cfb.c cmll_ctr.c cmll_ecb.c cmll_ofb.c # cast/ SRCS+= c_skey.c c_ecb.c c_enc.c c_cfb64.c c_ofb64.c # chacha/ SRCS+= chacha.c # cmac/ SRCS+= cmac.c cm_ameth.c cm_pmeth.c # cms/ SRCS+= cms_asn1.c cms_att.c cms_cd.c cms_dd.c cms_enc.c cms_env.c cms_err.c SRCS+= cms_ess.c cms_io.c cms_kari.c cms_lcl.h cms_lib.c cms_pwri.c cms_sd.c SRCS+= cms_smime.c # comp/ SRCS+= comp_lib.c comp_err.c c_rle.c c_zlib.c # conf/ SRCS+= conf_err.c conf_lib.c conf_api.c conf_def.c conf_mod.c SRCS+= conf_mall.c conf_sap.c # ct/ SRCS += ct_b64.c ct_err.c ct_log.c ct_oct.c ct_policy.c SRCS += ct_prn.c ct_sct.c ct_sct_ctx.c ct_vfy.c ct_x509v3.c # curve25519/ SRCS+= curve25519.c curve25519-generic.c # des/ SRCS+= cbc_cksm.c cbc_enc.c cfb64enc.c cfb_enc.c SRCS+= ecb3_enc.c ecb_enc.c enc_read.c enc_writ.c SRCS+= fcrypt.c ofb64enc.c ofb_enc.c pcbc_enc.c SRCS+= qud_cksm.c rand_key.c set_key.c xcbc_enc.c SRCS+= str2key.c cfb64ede.c ofb64ede.c ede_cbcm_enc.c # dh/ SRCS+= dh_asn1.c dh_gen.c dh_key.c dh_lib.c dh_check.c dh_err.c dh_depr.c SRCS+= dh_ameth.c dh_pmeth.c dh_prn.c # dsa/ SRCS+= dsa_gen.c dsa_key.c dsa_lib.c dsa_asn1.c dsa_vrf.c dsa_sign.c SRCS+= dsa_err.c dsa_ossl.c dsa_depr.c dsa_ameth.c dsa_pmeth.c dsa_prn.c SRCS+= dsa_meth.c # dso/ SRCS+= dso_dlfcn.c dso_err.c dso_lib.c dso_null.c SRCS+= dso_openssl.c # ec/ SRCS+= ec_lib.c ecp_smpl.c ecp_mont.c ecp_nist.c ec_cvt.c ec_mult.c SRCS+= ec_err.c ec_curve.c ec_check.c ec_print.c ec_asn1.c ec_key.c SRCS+= ec2_smpl.c ec2_mult.c ec_ameth.c ec_pmeth.c ec_kmeth.c eck_prn.c SRCS+= ecp_nistp224.c ecp_nistp256.c ecp_nistp521.c ecp_nistputil.c SRCS+= ecp_oct.c ec2_oct.c ec_oct.c # ecdh/ SRCS+= ech_lib.c ech_key.c ech_err.c ecdh_kdf.c # ecdsa/ SRCS+= ecs_lib.c ecs_asn1.c ecs_ossl.c ecs_sign.c ecs_vrf.c ecs_err.c # engine/ SRCS+= eng_err.c eng_lib.c eng_list.c eng_init.c eng_ctrl.c SRCS+= eng_table.c eng_pkey.c eng_fat.c eng_all.c SRCS+= tb_rsa.c tb_dsa.c tb_ecdsa.c tb_dh.c tb_ecdh.c tb_rand.c tb_store.c SRCS+= tb_cipher.c tb_digest.c tb_pkmeth.c tb_asnmth.c tb_eckey.c SRCS+= eng_openssl.c eng_cnf.c eng_dyn.c # XXX unnecessary? handled in EVP now... # SRCS+= eng_aesni.c # local addition # err/ SRCS+= err.c err_all.c err_prn.c # evp/ SRCS+= encode.c digest.c evp_enc.c evp_key.c SRCS+= e_des.c e_bf.c e_idea.c e_des3.c e_camellia.c SRCS+= e_rc4.c e_aes.c names.c SRCS+= e_xcbc_d.c e_rc2.c e_cast.c SRCS+= m_null.c m_md4.c m_md5.c m_ripemd.c m_sha1.c m_sm3.c m_wp.c SRCS+= p_open.c p_seal.c p_sign.c p_verify.c p_lib.c p_enc.c p_dec.c SRCS+= bio_md.c bio_b64.c bio_enc.c evp_err.c e_null.c SRCS+= c_all.c evp_lib.c SRCS+= evp_pkey.c evp_pbe.c p5_crpt.c p5_crpt2.c SRCS+= e_old.c pmeth_lib.c pmeth_fn.c pmeth_gn.c m_sigver.c SRCS+= e_aes_cbc_hmac_sha1.c e_rc4_hmac_md5.c SRCS+= e_chacha.c evp_aead.c e_chacha20poly1305.c SRCS+= e_gost2814789.c m_gost2814789.c m_gostr341194.c m_streebog.c SRCS+= e_sm4.c SRCS+= m_md5_sha1.c # gost/ SRCS+= gost2814789.c gost89_keywrap.c gost89_params.c gost89imit_ameth.c SRCS+= gost89imit_pmeth.c gost_asn1.c gost_err.c gostr341001.c SRCS+= gostr341001_ameth.c gostr341001_key.c gostr341001_params.c SRCS+= gostr341001_pmeth.c gostr341194.c streebog.c # hkdf/ SRCS+= hkdf.c # hmac/ SRCS+= hmac.c hm_ameth.c hm_pmeth.c # idea/ SRCS+= i_cbc.c i_cfb64.c i_ofb64.c i_ecb.c i_skey.c # kdf/ SRCS+= hkdf_evp.c kdf_err.c # lhash/ SRCS+= lhash.c lh_stats.c # md4/ SRCS+= md4_dgst.c md4_one.c # md5/ SRCS+= md5_dgst.c md5_one.c # modes/ SRCS+= cbc128.c ctr128.c cts128.c cfb128.c ofb128.c gcm128.c ccm128.c xts128.c # objects/ SRCS+= o_names.c obj_dat.c obj_lib.c obj_err.c obj_xref.c # ocsp/ SRCS+= ocsp_asn.c ocsp_ext.c ocsp_ht.c ocsp_lib.c ocsp_cl.c SRCS+= ocsp_srv.c ocsp_prn.c ocsp_vfy.c ocsp_err.c # pem/ SRCS+= pem_sign.c pem_info.c pem_lib.c pem_all.c pem_err.c SRCS+= pem_x509.c pem_xaux.c pem_oth.c pem_pk8.c pem_pkey.c pvkfmt.c # pkcs12/ SRCS+= p12_add.c p12_asn.c p12_attr.c p12_crpt.c p12_crt.c p12_decr.c SRCS+= p12_init.c p12_key.c p12_kiss.c p12_mutl.c p12_sbag.c SRCS+= p12_utl.c p12_npas.c pk12err.c p12_p8d.c p12_p8e.c # pkcs7/ SRCS+= pk7_asn1.c pk7_lib.c pkcs7err.c pk7_doit.c pk7_smime.c pk7_attr.c SRCS+= pk7_mime.c bio_pk7.c # poly1305/ SRCS+= poly1305.c # rand/ SRCS+= randfile.c rand_lib.c rand_err.c # rc2/ SRCS+= rc2_ecb.c rc2_skey.c rc2_cbc.c rc2cfb64.c rc2ofb64.c # ripemd/ SRCS+= rmd_dgst.c rmd_one.c # rsa/ SRCS+= rsa_eay.c rsa_gen.c rsa_lib.c rsa_sign.c rsa_saos.c rsa_err.c SRCS+= rsa_pk1.c rsa_none.c rsa_oaep.c rsa_chk.c SRCS+= rsa_pss.c rsa_x931.c rsa_asn1.c rsa_depr.c rsa_ameth.c rsa_prn.c SRCS+= rsa_pmeth.c rsa_crpt.c rsa_meth.c # sha/ SRCS+= sha1dgst.c sha1_one.c sha256.c sha512.c # sm3/ SRCS+= sm3.c # sm4/ SRCS+= sm4.c # stack/ SRCS+= stack.c # ts/ SRCS+= ts_err.c ts_req_utils.c ts_req_print.c ts_rsp_utils.c ts_rsp_print.c SRCS+= ts_rsp_sign.c ts_rsp_verify.c ts_verify_ctx.c ts_lib.c ts_conf.c SRCS+= ts_asn1.c # txt_db/ SRCS+=txt_db.c # ui/ SRCS+= ui_err.c ui_lib.c ui_openssl.c ui_util.c # whrlpool/ SRCS+= wp_dgst.c # x509/ SRCS+= x509_addr.c x509_asid.c SRCS+= x509_def.c x509_d2.c x509_r2x.c x509_cmp.c SRCS+= x509_obj.c x509_req.c x509spki.c x509_vfy.c SRCS+= x509_set.c x509cset.c x509rset.c x509_err.c SRCS+= x509name.c x509_v3.c x509_ext.c x509_att.c SRCS+= x509type.c x509_lu.c x_all.c x509_txt.c SRCS+= x509_trs.c by_file.c by_dir.c by_mem.c x509_vpm.c SRCS+= x509_bcons.c x509_bitst.c x509_conf.c x509_extku.c x509_ia5.c x509_lib.c SRCS+= x509_prn.c x509_utl.c x509_genn.c x509_alt.c x509_skey.c x509_akey.c x509_pku.c SRCS+= x509_int.c x509_enum.c x509_sxnet.c x509_cpols.c x509_crld.c x509_purp.c x509_info.c SRCS+= x509_ocsp.c x509_akeya.c x509_pmaps.c x509_pcons.c x509_ncons.c x509_pcia.c x509_pci.c SRCS+= x509_issuer_cache.c x509_constraints.c x509_verify.c SRCS+= pcy_cache.c pcy_node.c pcy_data.c pcy_map.c pcy_tree.c pcy_lib.c .PATH: ${.CURDIR}/arch/${MACHINE_CPU} \ ${LCRYPTO_SRC} \ ${LCRYPTO_SRC}/aes \ ${LCRYPTO_SRC}/asn1 \ ${LCRYPTO_SRC}/bf \ ${LCRYPTO_SRC}/bio \ ${LCRYPTO_SRC}/bn \ ${LCRYPTO_SRC}/bn/asm \ ${LCRYPTO_SRC}/buffer \ ${LCRYPTO_SRC}/bytestring \ ${LCRYPTO_SRC}/camellia \ ${LCRYPTO_SRC}/cast \ ${LCRYPTO_SRC}/chacha \ ${LCRYPTO_SRC}/cmac \ ${LCRYPTO_SRC}/cms \ ${LCRYPTO_SRC}/comp \ ${LCRYPTO_SRC}/conf \ ${LCRYPTO_SRC}/ct \ ${LCRYPTO_SRC}/curve25519 \ ${LCRYPTO_SRC}/des \ ${LCRYPTO_SRC}/dh \ ${LCRYPTO_SRC}/dsa \ ${LCRYPTO_SRC}/dso \ ${LCRYPTO_SRC}/ec \ ${LCRYPTO_SRC}/ecdh \ ${LCRYPTO_SRC}/ecdsa \ ${LCRYPTO_SRC}/engine \ ${LCRYPTO_SRC}/err \ ${LCRYPTO_SRC}/evp \ ${LCRYPTO_SRC}/gost \ ${LCRYPTO_SRC}/hkdf \ ${LCRYPTO_SRC}/hmac \ ${LCRYPTO_SRC}/idea \ ${LCRYPTO_SRC}/kdf \ ${LCRYPTO_SRC}/lhash \ ${LCRYPTO_SRC}/md4 \ ${LCRYPTO_SRC}/md5 \ ${LCRYPTO_SRC}/modes \ ${LCRYPTO_SRC}/objects \ ${LCRYPTO_SRC}/ocsp \ ${LCRYPTO_SRC}/pem \ ${LCRYPTO_SRC}/perlasm \ ${LCRYPTO_SRC}/pkcs12 \ ${LCRYPTO_SRC}/pkcs7 \ ${LCRYPTO_SRC}/poly1305 \ ${LCRYPTO_SRC}/rand \ ${LCRYPTO_SRC}/rc2 \ ${LCRYPTO_SRC}/rc4 \ ${LCRYPTO_SRC}/ripemd \ ${LCRYPTO_SRC}/rsa \ ${LCRYPTO_SRC}/sha \ ${LCRYPTO_SRC}/sm3 \ ${LCRYPTO_SRC}/sm4 \ ${LCRYPTO_SRC}/stack \ ${LCRYPTO_SRC}/threads \ ${LCRYPTO_SRC}/ts \ ${LCRYPTO_SRC}/txt_db \ ${LCRYPTO_SRC}/ui \ ${LCRYPTO_SRC}/whrlpool \ ${LCRYPTO_SRC}/x509 HDRS=\ ${LCRYPTO_SRC}/aes/aes.h \ ${LCRYPTO_SRC}/asn1/asn1.h \ ${LCRYPTO_SRC}/asn1/asn1t.h \ ${LCRYPTO_SRC}/bf/blowfish.h \ ${LCRYPTO_SRC}/bio/bio.h \ ${LCRYPTO_SRC}/bn/bn.h \ ${LCRYPTO_SRC}/buffer/buffer.h \ ${LCRYPTO_SRC}/camellia/camellia.h \ ${LCRYPTO_SRC}/cast/cast.h \ ${LCRYPTO_SRC}/chacha/chacha.h \ ${LCRYPTO_SRC}/cmac/cmac.h \ ${LCRYPTO_SRC}/cms/cms.h \ ${LCRYPTO_SRC}/comp/comp.h \ ${LCRYPTO_SRC}/conf/conf.h \ ${LCRYPTO_SRC}/conf/conf_api.h \ ${LCRYPTO_SRC}/crypto.h \ ${LCRYPTO_SRC}/ct/ct.h \ ${LCRYPTO_SRC}/curve25519/curve25519.h \ ${LCRYPTO_SRC}/des/des.h \ ${LCRYPTO_SRC}/dh/dh.h \ ${LCRYPTO_SRC}/dsa/dsa.h \ ${LCRYPTO_SRC}/dso/dso.h \ ${LCRYPTO_SRC}/ec/ec.h \ ${LCRYPTO_SRC}/ecdh/ecdh.h \ ${LCRYPTO_SRC}/ecdsa/ecdsa.h \ ${LCRYPTO_SRC}/engine/engine.h \ ${LCRYPTO_SRC}/err/err.h \ ${LCRYPTO_SRC}/evp/evp.h \ ${LCRYPTO_SRC}/gost/gost.h \ ${LCRYPTO_SRC}/hkdf/hkdf.h \ ${LCRYPTO_SRC}/hmac/hmac.h \ ${LCRYPTO_SRC}/idea/idea.h \ ${LCRYPTO_SRC}/kdf/kdf.h \ ${LCRYPTO_SRC}/lhash/lhash.h \ ${LCRYPTO_SRC}/md4/md4.h \ ${LCRYPTO_SRC}/md5/md5.h \ ${LCRYPTO_SRC}/modes/modes.h \ ${LCRYPTO_SRC}/objects/objects.h \ ${LCRYPTO_SRC}/ocsp/ocsp.h \ ${LCRYPTO_SRC}/opensslfeatures.h \ ${LCRYPTO_SRC}/opensslv.h \ ${LCRYPTO_SRC}/ossl_typ.h \ ${LCRYPTO_SRC}/pem/pem.h \ ${LCRYPTO_SRC}/pem/pem2.h \ ${LCRYPTO_SRC}/pkcs12/pkcs12.h \ ${LCRYPTO_SRC}/pkcs7/pkcs7.h \ ${LCRYPTO_SRC}/poly1305/poly1305.h \ ${LCRYPTO_SRC}/rand/rand.h \ ${LCRYPTO_SRC}/rc2/rc2.h \ ${LCRYPTO_SRC}/rc4/rc4.h \ ${LCRYPTO_SRC}/ripemd/ripemd.h \ ${LCRYPTO_SRC}/rsa/rsa.h \ ${LCRYPTO_SRC}/sha/sha.h \ ${LCRYPTO_SRC}/sm3/sm3.h \ ${LCRYPTO_SRC}/sm4/sm4.h \ ${LCRYPTO_SRC}/stack/safestack.h \ ${LCRYPTO_SRC}/stack/stack.h \ ${LCRYPTO_SRC}/ts/ts.h \ ${LCRYPTO_SRC}/txt_db/txt_db.h \ ${LCRYPTO_SRC}/ui/ui.h \ ${LCRYPTO_SRC}/ui/ui_compat.h \ ${LCRYPTO_SRC}/whrlpool/whrlpool.h \ ${LCRYPTO_SRC}/x509/x509.h \ ${LCRYPTO_SRC}/x509/x509_vfy.h \ ${LCRYPTO_SRC}/x509/x509_verify.h \ ${LCRYPTO_SRC}/x509/x509v3.h HDRS_GEN=\ ${.CURDIR}/arch/${MACHINE_CPU}/opensslconf.h \ ${.OBJDIR}/obj_mac.h prereq: obj_mac.h includes: prereq @test -d ${DESTDIR}/usr/include/openssl || \ mkdir ${DESTDIR}/usr/include/openssl @for i in $(HDRS) $(HDRS_GEN); do \ j="cmp -s $$i ${DESTDIR}/usr/include/openssl/`basename $$i` || \ ${INSTALL} ${INSTALL_COPY} -o ${BINOWN} -g ${BINGRP} -m 444 $$i\ ${DESTDIR}/usr/include/openssl"; \ echo $$j; \ eval "$$j"; \ done; ${VERSION_SCRIPT}: ${SYMBOL_LIST} { printf '{\n\tglobal:\n'; \ sed '/^[._a-zA-Z]/s/$$/;/; s/^/ /' ${SYMBOL_LIST}; \ printf '\n\tlocal:\n\t\t*;\n};\n'; } >$@.tmp && mv $@.tmp $@ # generated CFLAGS+= -I${.OBJDIR} GENERATED=obj_mac.h obj_dat.h CLEANFILES+=${GENERATED} obj_mac.num.tmp SSL_OBJECTS=${LCRYPTO_SRC}/objects obj_mac.h: ${SSL_OBJECTS}/objects.h ${SSL_OBJECTS}/obj_mac.num ${SSL_OBJECTS}/objects.txt ${SSL_OBJECTS}/objects.pl cat ${SSL_OBJECTS}/obj_mac.num > obj_mac.num.tmp /usr/bin/perl ${SSL_OBJECTS}/objects.pl ${SSL_OBJECTS}/objects.txt obj_mac.num.tmp obj_mac.h obj_dat.h: obj_mac.h ${SSL_OBJECTS}/obj_dat.pl /usr/bin/perl ${SSL_OBJECTS}/obj_dat.pl obj_mac.h obj_dat.h .if exists (${.CURDIR}/arch/${MACHINE_CPU}/Makefile.inc) .include "${.CURDIR}/arch/${MACHINE_CPU}/Makefile.inc" .else CFLAGS+=-DOPENSSL_NO_ASM SRCS+= aes_core.c aes_cbc.c SRCS+= bf_enc.c SRCS+= bn_asm.c SRCS+= camellia.c cmll_cbc.c cmll_misc.c SRCS+= des_enc.c fcrypt_b.c SRCS+= rc4_enc.c rc4_skey.c SRCS+= wp_block.c .endif BUILDFIRST = ${GENERATED} .include distribution: ${INSTALL} ${INSTALL_COPY} -o ${BINOWN} -g ${BINGRP} -m 444 \ ${.CURDIR}/openssl.cnf ${DESTDIR}/etc/ssl/openssl.cnf && \ ${INSTALL} ${INSTALL_COPY} -o ${BINOWN} -g ${BINGRP} -m 444 \ ${.CURDIR}/cert.pem ${DESTDIR}/etc/ssl/cert.pem && \ ${INSTALL} ${INSTALL_COPY} -o ${BINOWN} -g ${BINGRP} -m 444 \ ${.CURDIR}/x509v3.cnf ${DESTDIR}/etc/ssl/x509v3.cnf all: ${PC_FILES} ${PC_FILES}: opensslv.h /bin/sh ${.CURDIR}/generate_pkgconfig.sh -c ${.CURDIR} -o ${.OBJDIR} beforeinstall: ${INSTALL} ${INSTALL_COPY} -o root -g ${SHAREGRP} \ -m ${SHAREMODE} ${.OBJDIR}/${PC_FILES} ${DESTDIR}/usr/lib/pkgconfig/ .include