4 VERSION_MAP= ${KRB5DIR}/lib/hx509/version-script.map
6 INCS= hx509-private.h \
44 SRCS+= ${GEN:S/.x$/.c/}
46 CFLAGS+=-I${KRB5DIR}/lib/hx509
47 CFLAGS+=-I${KRB5DIR}/lib/hx509/ref
48 CFLAGS+=-I${KRB5DIR}/lib/asn1
49 CFLAGS+=-I${KRB5DIR}/lib/roken -I.
52 asn1_OCSPBasicOCSPResponse.x \
54 asn1_OCSPCertStatus.x \
55 asn1_OCSPInnerRequest.x \
58 asn1_OCSPResponderID.x \
60 asn1_OCSPResponseBytes.x \
61 asn1_OCSPResponseData.x \
62 asn1_OCSPResponseStatus.x \
63 asn1_OCSPSignature.x \
64 asn1_OCSPSingleResponse.x \
65 asn1_OCSPTBSRequest.x \
68 asn1_id_pkix_ocsp_basic.x \
69 asn1_id_pkix_ocsp_nonce.x
72 asn1_CertificationRequestInfo.x \
73 asn1_CertificationRequest.x
78 CLEANFILES= ${GEN} ${GEN:S/.x$/.c/} asn1_files
80 GEN_ASN1=ocsp_asn1.h pkcs10_asn1.h
81 CLEANFILES+=${GEN_ASN1}
85 .ORDER: ${GEN} ${GEN_ASN1}
87 ${GEN_OCSP} ocsp_asn1.h: ocsp.asn1 ../../tools/asn1_compile/asn1_compile
88 ../../tools/asn1_compile/asn1_compile --preserve-binary=OCSPTBSRequest --preserve-binary=OCSPResponseData ${.ALLSRC:M*.asn1} ocsp_asn1
90 ${GEN_PKCS10} pkcs10_asn1.h: pkcs10.asn1 ../../tools/asn1_compile/asn1_compile
91 ../../tools/asn1_compile/asn1_compile ${.ALLSRC:M*.asn1} pkcs10_asn1
93 ../../tools/asn1_compile/asn1_compile:
94 cd ${.CURDIR}/../../tools/asn1_compile && ${MAKE}
98 cat ${.ALLSRC} > ${.TARGET}
101 .include <bsd.lib.mk>
103 .PATH: ${KRB5DIR}/lib/hx509 ${KRB5DIR}/lib/asn1