1 ########################################################################
3 # Copyright (c) 2009, Secure Endpoints Inc.
6 # Redistribution and use in source and binary forms, with or without
7 # modification, are permitted provided that the following conditions
10 # - Redistributions of source code must retain the above copyright
11 # notice, this list of conditions and the following disclaimer.
13 # - Redistributions in binary form must reproduce the above copyright
14 # notice, this list of conditions and the following disclaimer in
15 # the documentation and/or other materials provided with the
18 # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
19 # "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
20 # LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
21 # FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
22 # COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
23 # INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
24 # BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
25 # LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
26 # CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
27 # LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
28 # ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
29 # POSSIBILITY OF SUCH DAMAGE.
34 intcflags=-I$(SRCDIR) -I$(OBJ)
36 !include ../../windows/NTMakefile.w32
39 $(OBJ)\asn1_AD_AND_OR.x \
40 $(OBJ)\asn1_AD_IF_RELEVANT.x \
41 $(OBJ)\asn1_AD_KDCIssued.x \
42 $(OBJ)\asn1_AD_LoginAlias.x \
43 $(OBJ)\asn1_AD_MANDATORY_FOR_KDC.x \
44 $(OBJ)\asn1_APOptions.x \
45 $(OBJ)\asn1_AP_REP.x \
46 $(OBJ)\asn1_AP_REQ.x \
47 $(OBJ)\asn1_AS_REP.x \
48 $(OBJ)\asn1_AS_REQ.x \
49 $(OBJ)\asn1_AUTHDATA_TYPE.x \
50 $(OBJ)\asn1_Authenticator.x \
51 $(OBJ)\asn1_AuthorizationData.x \
52 $(OBJ)\asn1_AuthorizationDataElement.x \
53 $(OBJ)\asn1_CKSUMTYPE.x \
54 $(OBJ)\asn1_ChangePasswdDataMS.x \
55 $(OBJ)\asn1_Checksum.x \
56 $(OBJ)\asn1_ENCTYPE.x \
57 $(OBJ)\asn1_ETYPE_INFO.x \
58 $(OBJ)\asn1_ETYPE_INFO2.x \
59 $(OBJ)\asn1_ETYPE_INFO2_ENTRY.x \
60 $(OBJ)\asn1_ETYPE_INFO_ENTRY.x \
61 $(OBJ)\asn1_EncAPRepPart.x \
62 $(OBJ)\asn1_EncASRepPart.x \
63 $(OBJ)\asn1_EncKDCRepPart.x \
64 $(OBJ)\asn1_EncKrbCredPart.x \
65 $(OBJ)\asn1_EncKrbPrivPart.x \
66 $(OBJ)\asn1_EncTGSRepPart.x \
67 $(OBJ)\asn1_EncTicketPart.x \
68 $(OBJ)\asn1_EncryptedData.x \
69 $(OBJ)\asn1_EncryptionKey.x \
70 $(OBJ)\asn1_EtypeList.x \
71 $(OBJ)\asn1_FastOptions.x \
72 $(OBJ)\asn1_HostAddress.x \
73 $(OBJ)\asn1_HostAddresses.x \
74 $(OBJ)\asn1_KDCOptions.x \
75 $(OBJ)\asn1_KDC_REP.x \
76 $(OBJ)\asn1_KDC_REQ.x \
77 $(OBJ)\asn1_KDC_REQ_BODY.x \
78 $(OBJ)\asn1_KRB5SignedPath.x \
79 $(OBJ)\asn1_KRB5SignedPathData.x \
80 $(OBJ)\asn1_KRB_CRED.x \
81 $(OBJ)\asn1_KRB_ERROR.x \
82 $(OBJ)\asn1_KRB_PRIV.x \
83 $(OBJ)\asn1_KRB_SAFE.x \
84 $(OBJ)\asn1_KRB_SAFE_BODY.x \
85 $(OBJ)\asn1_KerberosString.x \
86 $(OBJ)\asn1_KerberosTime.x \
87 $(OBJ)\asn1_KrbCredInfo.x \
88 $(OBJ)\asn1_KrbFastArmor.x \
89 $(OBJ)\asn1_KrbFastArmoredRep.x \
90 $(OBJ)\asn1_KrbFastArmoredReq.x \
91 $(OBJ)\asn1_KrbFastFinished.x \
92 $(OBJ)\asn1_KrbFastReq.x \
93 $(OBJ)\asn1_KrbFastResponse.x \
94 $(OBJ)\asn1_LR_TYPE.x \
95 $(OBJ)\asn1_LastReq.x \
96 $(OBJ)\asn1_MESSAGE_TYPE.x \
97 $(OBJ)\asn1_METHOD_DATA.x \
98 $(OBJ)\asn1_NAME_TYPE.x \
99 $(OBJ)\asn1_PA_FX_FAST_REPLY.x \
100 $(OBJ)\asn1_PA_FX_FAST_REQUEST.x \
101 $(OBJ)\asn1_PADATA_TYPE.x \
102 $(OBJ)\asn1_PA_ClientCanonicalized.x \
103 $(OBJ)\asn1_PA_ClientCanonicalizedNames.x \
104 $(OBJ)\asn1_PA_DATA.x \
105 $(OBJ)\asn1_PA_ENC_SAM_RESPONSE_ENC.x \
106 $(OBJ)\asn1_PA_ENC_TS_ENC.x \
107 $(OBJ)\asn1_PA_PAC_REQUEST.x \
108 $(OBJ)\asn1_PA_S4U2Self.x \
109 $(OBJ)\asn1_PA_SAM_CHALLENGE_2.x \
110 $(OBJ)\asn1_PA_SAM_CHALLENGE_2_BODY.x \
111 $(OBJ)\asn1_PA_SAM_REDIRECT.x \
112 $(OBJ)\asn1_PA_SAM_RESPONSE_2.x \
113 $(OBJ)\asn1_PA_SAM_TYPE.x \
114 $(OBJ)\asn1_PA_SERVER_REFERRAL_DATA.x \
115 $(OBJ)\asn1_PA_ServerReferralData.x \
116 $(OBJ)\asn1_PA_SvrReferralData.x \
117 $(OBJ)\asn1_PROV_SRV_LOCATION.x \
118 $(OBJ)\asn1_Principal.x \
119 $(OBJ)\asn1_PrincipalName.x \
120 $(OBJ)\asn1_Principals.x \
121 $(OBJ)\asn1_Realm.x \
122 $(OBJ)\asn1_SAMFlags.x \
123 $(OBJ)\asn1_TGS_REP.x \
124 $(OBJ)\asn1_TGS_REQ.x \
125 $(OBJ)\asn1_TYPED_DATA.x \
126 $(OBJ)\asn1_Ticket.x \
127 $(OBJ)\asn1_TicketFlags.x \
128 $(OBJ)\asn1_TransitedEncoding.x \
129 $(OBJ)\asn1_TypedData.x \
130 $(OBJ)\asn1_krb5int32.x \
131 $(OBJ)\asn1_krb5uint32.x
134 $(OBJ)\asn1_CMSAttributes.x \
135 $(OBJ)\asn1_CMSCBCParameter.x \
136 $(OBJ)\asn1_CMSEncryptedData.x \
137 $(OBJ)\asn1_CMSIdentifier.x \
138 $(OBJ)\asn1_CMSRC2CBCParameter.x \
139 $(OBJ)\asn1_CMSVersion.x \
140 $(OBJ)\asn1_CertificateList.x \
141 $(OBJ)\asn1_CertificateRevocationLists.x \
142 $(OBJ)\asn1_CertificateSet.x \
143 $(OBJ)\asn1_ContentEncryptionAlgorithmIdentifier.x \
144 $(OBJ)\asn1_ContentInfo.x \
145 $(OBJ)\asn1_ContentType.x \
146 $(OBJ)\asn1_DigestAlgorithmIdentifier.x \
147 $(OBJ)\asn1_DigestAlgorithmIdentifiers.x \
148 $(OBJ)\asn1_EncapsulatedContentInfo.x \
149 $(OBJ)\asn1_EncryptedContent.x \
150 $(OBJ)\asn1_EncryptedContentInfo.x \
151 $(OBJ)\asn1_EncryptedKey.x \
152 $(OBJ)\asn1_EnvelopedData.x \
153 $(OBJ)\asn1_IssuerAndSerialNumber.x \
154 $(OBJ)\asn1_KeyEncryptionAlgorithmIdentifier.x \
155 $(OBJ)\asn1_KeyTransRecipientInfo.x \
156 $(OBJ)\asn1_MessageDigest.x \
157 $(OBJ)\asn1_OriginatorInfo.x \
158 $(OBJ)\asn1_RecipientIdentifier.x \
159 $(OBJ)\asn1_RecipientInfo.x \
160 $(OBJ)\asn1_RecipientInfos.x \
161 $(OBJ)\asn1_SignatureAlgorithmIdentifier.x \
162 $(OBJ)\asn1_SignatureValue.x \
163 $(OBJ)\asn1_SignedData.x \
164 $(OBJ)\asn1_SignerIdentifier.x \
165 $(OBJ)\asn1_SignerInfo.x \
166 $(OBJ)\asn1_SignerInfos.x \
167 $(OBJ)\asn1_id_pkcs7.x \
168 $(OBJ)\asn1_id_pkcs7_data.x \
169 $(OBJ)\asn1_id_pkcs7_digestedData.x \
170 $(OBJ)\asn1_id_pkcs7_encryptedData.x \
171 $(OBJ)\asn1_id_pkcs7_envelopedData.x \
172 $(OBJ)\asn1_id_pkcs7_signedAndEnvelopedData.x \
173 $(OBJ)\asn1_id_pkcs7_signedData.x \
174 $(OBJ)\asn1_UnprotectedAttributes.x
176 gen_files_rfc2459 = \
177 $(OBJ)\asn1_AccessDescription.x \
178 $(OBJ)\asn1_AlgorithmIdentifier.x \
179 $(OBJ)\asn1_Attribute.x \
180 $(OBJ)\asn1_AttributeType.x \
181 $(OBJ)\asn1_AttributeTypeAndValue.x \
182 $(OBJ)\asn1_AttributeValue.x \
183 $(OBJ)\asn1_AuthorityInfoAccessSyntax.x \
184 $(OBJ)\asn1_AuthorityKeyIdentifier.x \
185 $(OBJ)\asn1_BaseDistance.x \
186 $(OBJ)\asn1_BasicConstraints.x \
187 $(OBJ)\asn1_CRLCertificateList.x \
188 $(OBJ)\asn1_CRLDistributionPoints.x \
189 $(OBJ)\asn1_CRLReason.x \
190 $(OBJ)\asn1_Certificate.x \
191 $(OBJ)\asn1_CertificateSerialNumber.x \
192 $(OBJ)\asn1_Certificates.x \
193 $(OBJ)\asn1_DHPublicKey.x \
194 $(OBJ)\asn1_DSAParams.x \
195 $(OBJ)\asn1_DSAPublicKey.x \
196 $(OBJ)\asn1_DSASigValue.x \
197 $(OBJ)\asn1_DigestInfo.x \
198 $(OBJ)\asn1_DirectoryString.x \
199 $(OBJ)\asn1_DistributionPoint.x \
200 $(OBJ)\asn1_DistributionPointName.x \
201 $(OBJ)\asn1_DistributionPointReasonFlags.x \
202 $(OBJ)\asn1_DHParameter.x \
203 $(OBJ)\asn1_DomainParameters.x \
204 $(OBJ)\asn1_ECParameters.x \
205 $(OBJ)\asn1_ECPoint.x \
206 $(OBJ)\asn1_ECDSA_Sig_Value.x \
207 $(OBJ)\asn1_ExtKeyUsage.x \
208 $(OBJ)\asn1_Extension.x \
209 $(OBJ)\asn1_Extensions.x \
210 $(OBJ)\asn1_GeneralName.x \
211 $(OBJ)\asn1_GeneralNames.x \
212 $(OBJ)\asn1_GeneralSubtree.x \
213 $(OBJ)\asn1_GeneralSubtrees.x \
214 $(OBJ)\asn1_KeyIdentifier.x \
215 $(OBJ)\asn1_KeyUsage.x \
217 $(OBJ)\asn1_NameConstraints.x \
218 $(OBJ)\asn1_OtherName.x \
219 $(OBJ)\asn1_PKIXXmppAddr.x \
220 $(OBJ)\asn1_ProxyCertInfo.x \
221 $(OBJ)\asn1_ProxyPolicy.x \
222 $(OBJ)\asn1_RDNSequence.x \
223 $(OBJ)\asn1_RSAPrivateKey.x \
224 $(OBJ)\asn1_RSAPublicKey.x \
225 $(OBJ)\asn1_RelativeDistinguishedName.x \
226 $(OBJ)\asn1_SubjectKeyIdentifier.x \
227 $(OBJ)\asn1_SubjectPublicKeyInfo.x \
228 $(OBJ)\asn1_TBSCRLCertList.x \
229 $(OBJ)\asn1_TBSCertificate.x \
231 $(OBJ)\asn1_UniqueIdentifier.x \
232 $(OBJ)\asn1_ValidationParms.x \
233 $(OBJ)\asn1_Validity.x \
234 $(OBJ)\asn1_Version.x \
235 $(OBJ)\asn1_id_Userid.x \
236 $(OBJ)\asn1_id_aes_128_cbc.x \
237 $(OBJ)\asn1_id_aes_192_cbc.x \
238 $(OBJ)\asn1_id_aes_256_cbc.x \
239 $(OBJ)\asn1_id_at_commonName.x \
240 $(OBJ)\asn1_id_at_countryName.x \
241 $(OBJ)\asn1_id_at_generationQualifier.x \
242 $(OBJ)\asn1_id_at_givenName.x \
243 $(OBJ)\asn1_id_at_initials.x \
244 $(OBJ)\asn1_id_at_localityName.x \
245 $(OBJ)\asn1_id_at_name.x \
246 $(OBJ)\asn1_id_at_organizationName.x \
247 $(OBJ)\asn1_id_at_organizationalUnitName.x \
248 $(OBJ)\asn1_id_at_pseudonym.x \
249 $(OBJ)\asn1_id_at_serialNumber.x \
250 $(OBJ)\asn1_id_at_stateOrProvinceName.x \
251 $(OBJ)\asn1_id_at_streetAddress.x \
252 $(OBJ)\asn1_id_at_surname.x \
253 $(OBJ)\asn1_id_dhpublicnumber.x \
254 $(OBJ)\asn1_id_domainComponent.x \
255 $(OBJ)\asn1_id_dsa.x \
256 $(OBJ)\asn1_id_dsa_with_sha1.x \
257 $(OBJ)\asn1_id_ecDH.x \
258 $(OBJ)\asn1_id_ecMQV.x \
259 $(OBJ)\asn1_id_ecPublicKey.x \
260 $(OBJ)\asn1_id_ec_group_secp160r1.x \
261 $(OBJ)\asn1_id_ec_group_secp160r2.x \
262 $(OBJ)\asn1_id_ec_group_secp256r1.x \
263 $(OBJ)\asn1_id_ecdsa_with_SHA1.x \
264 $(OBJ)\asn1_id_ecdsa_with_SHA256.x \
265 $(OBJ)\asn1_id_heim_rsa_pkcs1_x509.x \
266 $(OBJ)\asn1_id_ms_cert_enroll_domaincontroller.x \
267 $(OBJ)\asn1_id_ms_client_authentication.x \
268 $(OBJ)\asn1_id_netscape.x \
269 $(OBJ)\asn1_id_netscape_cert_comment.x \
270 $(OBJ)\asn1_id_nistAlgorithm.x \
271 $(OBJ)\asn1_id_nist_aes_algs.x \
272 $(OBJ)\asn1_id_nist_sha_algs.x \
273 $(OBJ)\asn1_id_pkcs1_md2WithRSAEncryption.x \
274 $(OBJ)\asn1_id_pkcs1_md5WithRSAEncryption.x \
275 $(OBJ)\asn1_id_pkcs1_rsaEncryption.x \
276 $(OBJ)\asn1_id_pkcs1_sha1WithRSAEncryption.x \
277 $(OBJ)\asn1_id_pkcs1_sha256WithRSAEncryption.x \
278 $(OBJ)\asn1_id_pkcs1_sha384WithRSAEncryption.x \
279 $(OBJ)\asn1_id_pkcs1_sha512WithRSAEncryption.x \
280 $(OBJ)\asn1_id_pkcs2_md2.x \
281 $(OBJ)\asn1_id_pkcs2_md4.x \
282 $(OBJ)\asn1_id_pkcs2_md5.x \
283 $(OBJ)\asn1_id_pkcs3_des_ede3_cbc.x \
284 $(OBJ)\asn1_id_pkcs3_rc2_cbc.x \
285 $(OBJ)\asn1_id_pkcs3_rc4.x \
286 $(OBJ)\asn1_id_pkcs_1.x \
287 $(OBJ)\asn1_id_pkcs_2.x \
288 $(OBJ)\asn1_id_pkcs_3.x \
289 $(OBJ)\asn1_id_pkix.x \
290 $(OBJ)\asn1_id_pkix_kp.x \
291 $(OBJ)\asn1_id_pkix_kp_OCSPSigning.x \
292 $(OBJ)\asn1_id_pkix_kp_clientAuth.x \
293 $(OBJ)\asn1_id_pkix_kp_emailProtection.x \
294 $(OBJ)\asn1_id_pkix_kp_serverAuth.x \
295 $(OBJ)\asn1_id_pkix_kp_timeStamping.x \
296 $(OBJ)\asn1_id_pkix_on.x \
297 $(OBJ)\asn1_id_pkix_on_dnsSRV.x \
298 $(OBJ)\asn1_id_pkix_on_xmppAddr.x \
299 $(OBJ)\asn1_id_pkix_pe.x \
300 $(OBJ)\asn1_id_pkix_pe_authorityInfoAccess.x \
301 $(OBJ)\asn1_id_pkix_pe_proxyCertInfo.x \
302 $(OBJ)\asn1_id_pkix_ppl.x \
303 $(OBJ)\asn1_id_pkix_ppl_anyLanguage.x \
304 $(OBJ)\asn1_id_pkix_ppl_independent.x \
305 $(OBJ)\asn1_id_pkix_ppl_inheritAll.x \
306 $(OBJ)\asn1_id_rsa_digestAlgorithm.x \
307 $(OBJ)\asn1_id_rsa_digest_md2.x \
308 $(OBJ)\asn1_id_rsa_digest_md4.x \
309 $(OBJ)\asn1_id_rsa_digest_md5.x \
310 $(OBJ)\asn1_id_rsadsi_des_ede3_cbc.x \
311 $(OBJ)\asn1_id_rsadsi_encalg.x \
312 $(OBJ)\asn1_id_rsadsi_rc2_cbc.x \
313 $(OBJ)\asn1_id_secsig_sha_1.x \
314 $(OBJ)\asn1_id_sha224.x \
315 $(OBJ)\asn1_id_sha256.x \
316 $(OBJ)\asn1_id_sha384.x \
317 $(OBJ)\asn1_id_sha512.x \
318 $(OBJ)\asn1_id_uspkicommon_card_id.x \
319 $(OBJ)\asn1_id_uspkicommon_piv_interim.x \
320 $(OBJ)\asn1_id_x509_ce.x \
321 $(OBJ)\asn1_id_x509_ce_authorityKeyIdentifier.x \
322 $(OBJ)\asn1_id_x509_ce_basicConstraints.x \
323 $(OBJ)\asn1_id_x509_ce_cRLDistributionPoints.x \
324 $(OBJ)\asn1_id_x509_ce_cRLNumber.x \
325 $(OBJ)\asn1_id_x509_ce_cRLReason.x \
326 $(OBJ)\asn1_id_x509_ce_certificateIssuer.x \
327 $(OBJ)\asn1_id_x509_ce_certificatePolicies.x \
328 $(OBJ)\asn1_id_x509_ce_deltaCRLIndicator.x \
329 $(OBJ)\asn1_id_x509_ce_extKeyUsage.x \
330 $(OBJ)\asn1_id_x509_ce_freshestCRL.x \
331 $(OBJ)\asn1_id_x509_ce_holdInstructionCode.x \
332 $(OBJ)\asn1_id_x509_ce_inhibitAnyPolicy.x \
333 $(OBJ)\asn1_id_x509_ce_invalidityDate.x \
334 $(OBJ)\asn1_id_x509_ce_issuerAltName.x \
335 $(OBJ)\asn1_id_x509_ce_issuingDistributionPoint.x \
336 $(OBJ)\asn1_id_x509_ce_keyUsage.x \
337 $(OBJ)\asn1_id_x509_ce_nameConstraints.x \
338 $(OBJ)\asn1_id_x509_ce_policyConstraints.x \
339 $(OBJ)\asn1_id_x509_ce_policyMappings.x \
340 $(OBJ)\asn1_id_x509_ce_privateKeyUsagePeriod.x \
341 $(OBJ)\asn1_id_x509_ce_subjectAltName.x \
342 $(OBJ)\asn1_id_x509_ce_subjectDirectoryAttributes.x \
343 $(OBJ)\asn1_id_x509_ce_subjectKeyIdentifier.x \
344 $(OBJ)\asn1_id_x520_at.x \
345 $(OBJ)\asn1_id_x9_57.x
348 $(OBJ)\asn1_id_pkinit.x \
349 $(OBJ)\asn1_id_pkauthdata.x \
350 $(OBJ)\asn1_id_pkdhkeydata.x \
351 $(OBJ)\asn1_id_pkrkeydata.x \
352 $(OBJ)\asn1_id_pkekuoid.x \
353 $(OBJ)\asn1_id_pkkdcekuoid.x \
354 $(OBJ)\asn1_id_pkinit_san.x \
355 $(OBJ)\asn1_id_pkinit_ms_eku.x \
356 $(OBJ)\asn1_id_pkinit_ms_san.x \
357 $(OBJ)\asn1_id_pkinit_kdf.x \
358 $(OBJ)\asn1_id_pkinit_kdf_ah_sha1.x \
359 $(OBJ)\asn1_id_pkinit_kdf_ah_sha256.x \
360 $(OBJ)\asn1_id_pkinit_kdf_ah_sha512.x \
361 $(OBJ)\asn1_MS_UPN_SAN.x \
362 $(OBJ)\asn1_DHNonce.x \
363 $(OBJ)\asn1_KDFAlgorithmId.x \
364 $(OBJ)\asn1_TrustedCA.x \
365 $(OBJ)\asn1_ExternalPrincipalIdentifier.x \
366 $(OBJ)\asn1_ExternalPrincipalIdentifiers.x \
367 $(OBJ)\asn1_PA_PK_AS_REQ.x \
368 $(OBJ)\asn1_PKAuthenticator.x \
369 $(OBJ)\asn1_AuthPack.x \
370 $(OBJ)\asn1_TD_TRUSTED_CERTIFIERS.x \
371 $(OBJ)\asn1_TD_INVALID_CERTIFICATES.x \
372 $(OBJ)\asn1_KRB5PrincipalName.x \
373 $(OBJ)\asn1_AD_INITIAL_VERIFIED_CAS.x \
374 $(OBJ)\asn1_DHRepInfo.x \
375 $(OBJ)\asn1_PA_PK_AS_REP.x \
376 $(OBJ)\asn1_KDCDHKeyInfo.x \
377 $(OBJ)\asn1_ReplyKeyPack.x \
378 $(OBJ)\asn1_TD_DH_PARAMETERS.x \
379 $(OBJ)\asn1_PKAuthenticator_Win2k.x \
380 $(OBJ)\asn1_AuthPack_Win2k.x \
381 $(OBJ)\asn1_TrustedCA_Win2k.x \
382 $(OBJ)\asn1_PA_PK_AS_REQ_Win2k.x \
383 $(OBJ)\asn1_PA_PK_AS_REP_Win2k.x \
384 $(OBJ)\asn1_PA_PK_AS_REP_BTMM.x \
385 $(OBJ)\asn1_KDCDHKeyInfo_Win2k.x \
386 $(OBJ)\asn1_ReplyKeyPack_Win2k.x \
387 $(OBJ)\asn1_PkinitSP80056AOtherInfo.x \
388 $(OBJ)\asn1_PkinitSuppPubInfo.x
391 $(OBJ)\asn1_id_pkcs_12.x \
392 $(OBJ)\asn1_id_pkcs_12PbeIds.x \
393 $(OBJ)\asn1_id_pbeWithSHAAnd128BitRC4.x \
394 $(OBJ)\asn1_id_pbeWithSHAAnd40BitRC4.x \
395 $(OBJ)\asn1_id_pbeWithSHAAnd3_KeyTripleDES_CBC.x \
396 $(OBJ)\asn1_id_pbeWithSHAAnd2_KeyTripleDES_CBC.x \
397 $(OBJ)\asn1_id_pbeWithSHAAnd128BitRC2_CBC.x \
398 $(OBJ)\asn1_id_pbewithSHAAnd40BitRC2_CBC.x \
399 $(OBJ)\asn1_id_pkcs12_bagtypes.x \
400 $(OBJ)\asn1_id_pkcs12_keyBag.x \
401 $(OBJ)\asn1_id_pkcs12_pkcs8ShroudedKeyBag.x \
402 $(OBJ)\asn1_id_pkcs12_certBag.x \
403 $(OBJ)\asn1_id_pkcs12_crlBag.x \
404 $(OBJ)\asn1_id_pkcs12_secretBag.x \
405 $(OBJ)\asn1_id_pkcs12_safeContentsBag.x \
406 $(OBJ)\asn1_PKCS12_MacData.x \
407 $(OBJ)\asn1_PKCS12_PFX.x \
408 $(OBJ)\asn1_PKCS12_AuthenticatedSafe.x \
409 $(OBJ)\asn1_PKCS12_CertBag.x \
410 $(OBJ)\asn1_PKCS12_Attribute.x \
411 $(OBJ)\asn1_PKCS12_Attributes.x \
412 $(OBJ)\asn1_PKCS12_SafeBag.x \
413 $(OBJ)\asn1_PKCS12_SafeContents.x \
414 $(OBJ)\asn1_PKCS12_OctetString.x \
415 $(OBJ)\asn1_PKCS12_PBEParams.x
418 $(OBJ)\asn1_PKCS8PrivateKeyAlgorithmIdentifier.x \
419 $(OBJ)\asn1_PKCS8PrivateKey.x \
420 $(OBJ)\asn1_PKCS8PrivateKeyInfo.x \
421 $(OBJ)\asn1_PKCS8Attributes.x \
422 $(OBJ)\asn1_PKCS8EncryptedPrivateKeyInfo.x \
423 $(OBJ)\asn1_PKCS8EncryptedData.x
426 $(OBJ)\asn1_id_pkcs_9.x \
427 $(OBJ)\asn1_id_pkcs9_contentType.x \
428 $(OBJ)\asn1_id_pkcs9_emailAddress.x \
429 $(OBJ)\asn1_id_pkcs9_messageDigest.x \
430 $(OBJ)\asn1_id_pkcs9_signingTime.x \
431 $(OBJ)\asn1_id_pkcs9_countersignature.x \
432 $(OBJ)\asn1_id_pkcs_9_at_friendlyName.x \
433 $(OBJ)\asn1_id_pkcs_9_at_localKeyId.x \
434 $(OBJ)\asn1_id_pkcs_9_at_certTypes.x \
435 $(OBJ)\asn1_id_pkcs_9_at_certTypes_x509.x \
436 $(OBJ)\asn1_PKCS9_BMPString.x \
437 $(OBJ)\asn1_PKCS9_friendlyName.x
440 $(OBJ)\asn1_TESTOptional.x \
441 $(OBJ)\asn1_TESTAlloc.x \
442 $(OBJ)\asn1_TESTAllocInner.x \
443 $(OBJ)\asn1_TESTBitString.x \
444 $(OBJ)\asn1_TESTCONTAINING.x \
445 $(OBJ)\asn1_TESTCONTAININGENCODEDBY.x \
446 $(OBJ)\asn1_TESTCONTAININGENCODEDBY2.x \
447 $(OBJ)\asn1_TESTChoice1.x \
448 $(OBJ)\asn1_TESTChoice2.x \
449 $(OBJ)\asn1_TESTDer.x \
450 $(OBJ)\asn1_TESTENCODEDBY.x \
451 $(OBJ)\asn1_TESTImplicit.x \
452 $(OBJ)\asn1_TESTImplicit2.x \
453 $(OBJ)\asn1_TESTInteger.x \
454 $(OBJ)\asn1_TESTInteger2.x \
455 $(OBJ)\asn1_TESTInteger3.x \
456 $(OBJ)\asn1_TESTLargeTag.x \
457 $(OBJ)\asn1_TESTOSSize1.x \
458 $(OBJ)\asn1_TESTPreserve.x \
459 $(OBJ)\asn1_TESTSeq.x \
460 $(OBJ)\asn1_TESTSeqOf.x \
461 $(OBJ)\asn1_TESTSeqOf2.x \
462 $(OBJ)\asn1_TESTSeqOf3.x \
463 $(OBJ)\asn1_TESTSeqOfSeq.x \
464 $(OBJ)\asn1_TESTSeqOfSeq2.x \
465 $(OBJ)\asn1_TESTSeqOfSeq3.x \
466 $(OBJ)\asn1_TESTSeqSizeOf1.x \
467 $(OBJ)\asn1_TESTSeqSizeOf2.x \
468 $(OBJ)\asn1_TESTSeqSizeOf3.x \
469 $(OBJ)\asn1_TESTSeqSizeOf4.x \
470 $(OBJ)\asn1_TESTUSERCONSTRAINED.x \
471 $(OBJ)\asn1_TESTuint32.x
474 $(OBJ)\asn1_DigestError.x \
475 $(OBJ)\asn1_DigestInit.x \
476 $(OBJ)\asn1_DigestInitReply.x \
477 $(OBJ)\asn1_DigestREP.x \
478 $(OBJ)\asn1_DigestREQ.x \
479 $(OBJ)\asn1_DigestRepInner.x \
480 $(OBJ)\asn1_DigestReqInner.x \
481 $(OBJ)\asn1_DigestRequest.x \
482 $(OBJ)\asn1_DigestResponse.x \
483 $(OBJ)\asn1_DigestTypes.x \
484 $(OBJ)\asn1_NTLMInit.x \
485 $(OBJ)\asn1_NTLMInitReply.x \
486 $(OBJ)\asn1_NTLMRequest.x \
487 $(OBJ)\asn1_NTLMRequest2.x \
488 $(OBJ)\asn1_NTLMResponse.x \
489 $(OBJ)\asn1_NTLMReply.x
492 $(OBJ)\asn1_Kx509Response.x \
493 $(OBJ)\asn1_KX509_ERROR_CODE.x \
494 $(OBJ)\asn1_Kx509Request.x
497 $(LIBEXECDIR)\asn1_compile.exe \
498 $(LIBEXECDIR)\asn1_print.exe \
499 $(BINDIR)\asn1_gen.exe
501 $(BINDIR)\asn1_compile.exe: \
502 $(OBJ)\asn1parse.obj \
504 $(OBJ)\gen_copy.obj \
505 $(OBJ)\gen_decode.obj \
506 $(OBJ)\gen_encode.obj \
507 $(OBJ)\gen_free.obj \
508 $(OBJ)\gen_glue.obj \
509 $(OBJ)\gen_length.obj \
511 $(OBJ)\gen_template.obj \
516 $(EXECONLINK) $(LIBROKEN) $(LIBVERS)
517 $(_VC_MANIFEST_EMBED_EXE)
518 $(_VC_MANIFEST_CLEAN)
521 $(OBJ)\lex.c: lex.l $(OBJ)\asn1parse.h
524 $(OBJ)\asn1parse.c $(OBJ)\asn1parse.h: asn1parse.y
525 $(YACC) -o $(OBJ)\asn1parse.c --defines=$(OBJ)\asn1parse.h $**
527 $(OBJ)\asn1_err.c $(OBJ)\asn1_err.h: asn1_err.et
529 $(BINDIR)\compile_et.exe $(SRCDIR)\asn1_err.et
532 $(BINDIR)\asn1_print.exe: $(OBJ)\asn1_print.obj $(LIBASN1)
533 $(EXECONLINK) $(LIBVERS) $(LIBROKEN) $(LIBCOMERR)
534 $(_VC_MANIFEST_EMBED_EXE)
535 $(_VC_MANIFEST_CLEAN)
538 $(BINDIR)\asn1_gen.exe: $(OBJ)\asn1_gen.obj $(LIBASN1)
539 $(EXECONLINK) $(LIBVERS) $(LIBROKEN)
540 $(_VC_MANIFEST_EMBED_EXE)
541 $(_VC_MANIFEST_CLEAN)
548 $(OBJ)\der_free.obj \
549 $(OBJ)\der_length.obj \
550 $(OBJ)\der_copy.obj \
552 $(OBJ)\der_format.obj \
555 $(gen_files_rfc2459:.x=.obj) \
556 $(gen_files_cms:.x=.obj) \
557 $(gen_files_k5:.x=.obj) \
558 $(gen_files_pkinit:.x=.obj) \
559 $(gen_files_pkcs8:.x=.obj) \
560 $(gen_files_pkcs9:.x=.obj) \
561 $(gen_files_pkcs12:.x=.obj) \
562 $(gen_files_digest:.x=.obj) \
563 $(gen_files_kx509:.x=.obj) \
572 $(LIBASN1): $(BINDIR)\libasn1.dll
574 $(BINDIR)\libasn1.dll: $(LIBASN1_OBJS) $(LIBASN1_LIBS)
575 $(DLLGUILINK_C) -out:$@ -def:libasn1-exports.def -implib:$(LIBASN1) @<<
582 -$(RM) $(BINDIR)\libasn1.dll
586 $(LIBASN1): $(LIBASN1_OBJS)
587 $(LIBCON_C) -out:$@ @<<
598 # Generate list of exports
600 # This target is only used during development to generate a list of
601 # symbols that are exported from all the object files in LIBASN1_OBJS.
603 exports-list.txt: $(LIBASN1_OBJS)
604 $(PERL) ..\..\cf\w32-list-externs-from-objs.pl -q -u @<< > $@
609 $(gen_files_k5:.x=.c) : $$(@R).x
611 $(gen_files_pkinit:.x=.c) : $$(@R).x
613 $(gen_files_pkcs8:.x=.c) : $$(@R).x
615 $(gen_files_pkcs9:.x=.c) : $$(@R).x
617 $(gen_files_pkcs12:.x=.c) : $$(@R).x
619 $(gen_files_digest:.x=.c) : $$(@R).x
621 $(gen_files_kx509:.x=.c) : $$(@R).x
623 $(gen_files_rfc2459:.x=.c) : $$(@R).x
625 $(gen_files_cms:.x=.c) : $$(@R).x
627 $(gen_files_test:.x=.c) : $$(@R).x
629 $(gen_files_k5) $(OBJ)\krb5_asn1.hx: $(BINDIR)\asn1_compile.exe krb5.asn1 krb5.opt
631 $(BINDIR)\asn1_compile.exe \
632 --option-file=$(SRCDIR)\krb5.opt \
633 $(SRCDIR)\krb5.asn1 krb5_asn1 \
634 || ($(RM) $(OBJ)\krb5_asn1.h ; exit /b 1)
637 $(gen_files_pkinit) $(OBJ)\pkinit_asn1.hx: $(BINDIR)\asn1_compile.exe pkinit.asn1
639 $(BINDIR)\asn1_compile.exe $(SRCDIR)\pkinit.asn1 pkinit_asn1 \
640 || ($(RM) $(OBJ)\pkinit_asn1.h ; exit /b 1)
643 $(gen_files_pkcs8) $(OBJ)\pkcs8_asn1.hx: $(BINDIR)\asn1_compile.exe pkcs8.asn1
645 $(BINDIR)\asn1_compile.exe $(SRCDIR)\pkcs8.asn1 pkcs8_asn1 \
646 || ($(RM) $(OBJ)\pkcs8_asn1.h ; exit /b 1)
649 $(gen_files_pkcs9) $(OBJ)\pkcs9_asn1.hx: $(BINDIR)\asn1_compile.exe pkcs9.asn1
651 $(BINDIR)\asn1_compile.exe $(SRCDIR)\pkcs9.asn1 pkcs9_asn1 \
652 || ($(RM) $(OBJ)\pkcs9_asn1.h ; exit /b 1)
655 $(gen_files_pkcs12) $(OBJ)\pkcs12_asn1.hx: $(BINDIR)\asn1_compile.exe pkcs12.asn1
657 $(BINDIR)\asn1_compile.exe $(SRCDIR)\pkcs12.asn1 pkcs12_asn1 \
658 || ($(RM) $(OBJ)\pkcs12_asn1.h ; exit /b 1)
661 $(gen_files_digest) $(OBJ)\digest_asn1.hx: $(BINDIR)\asn1_compile.exe digest.asn1
663 $(BINDIR)\asn1_compile.exe $(SRCDIR)\digest.asn1 digest_asn1 \
664 || ($(RM) $(OBJ)\digest_asn1.h ; exit /b 1)
667 $(gen_files_kx509) $(OBJ)\kx509_asn1.hx: $(BINDIR)\asn1_compile.exe kx509.asn1
669 $(BINDIR)\asn1_compile.exe $(SRCDIR)\kx509.asn1 kx509_asn1 \
670 || ($(RM) $(OBJ)\kx509_asn1.h ; exit /b 1)
673 $(gen_files_rfc2459) $(OBJ)\rfc2459_asn1.hx: $(BINDIR)\asn1_compile.exe rfc2459.asn1
675 $(BINDIR)\asn1_compile.exe \
676 --preserve-binary=TBSCertificate \
677 --preserve-binary=TBSCRLCertList \
678 --preserve-binary=Name \
679 --sequence=GeneralNames \
680 --sequence=Extensions \
681 --sequence=CRLDistributionPoints \
682 $(SRCDIR)\rfc2459.asn1 rfc2459_asn1 \
683 || ($(RM) $(OBJ)\rfc2459_asn1.h ; exit /b 1)
686 $(gen_files_cms) $(OBJ)\cms_asn1.hx: $(BINDIR)\asn1_compile.exe cms.asn1 cms.opt
688 $(BINDIR)\asn1_compile.exe \
689 --option-file=$(SRCDIR)\cms.opt \
690 $(SRCDIR)\cms.asn1 cms_asn1 \
691 || ($(RM) $(OBJ)\cms_asn1.h ; exit /b 1)
694 $(gen_files_test) $(OBJ)\test_asn1.hx: $(BINDIR)\asn1_compile.exe test.asn1
696 $(BINDIR)\asn1_compile.exe \
697 --sequence=TESTSeqOf \
698 $(SRCDIR)\test.asn1 test_asn1 \
699 || ($(RM) $(OBJ)\test_asn1.h ; exit /b 1)
704 $(INCDIR)\heim_asn1.h \
705 $(INCDIR)\der-protos.h \
706 $(INCDIR)\der-private.h \
707 $(INCDIR)\asn1-common.h \
708 $(INCDIR)\asn1-template.h \
711 $(INCDIR)\der-protos.h: $(OBJ)\der-protos.h
714 $(INCDIR)\asn1_err.h \
715 $(INCDIR)\cms_asn1.h \
716 $(INCDIR)\digest_asn1.h \
717 $(INCDIR)\krb5_asn1.h \
718 $(INCDIR)\kx509_asn1.h \
719 $(INCDIR)\pkcs12_asn1.h \
720 $(INCDIR)\pkcs8_asn1.h \
721 $(INCDIR)\pkcs9_asn1.h \
722 $(INCDIR)\pkinit_asn1.h \
723 $(INCDIR)\rfc2459_asn1.h \
724 $(OBJ)\krb5_asn1-priv.h \
725 $(OBJ)\pkinit_asn1-priv.h \
726 $(OBJ)\cms_asn1-priv.h \
727 $(OBJ)\rfc2459_asn1-priv.h \
728 $(OBJ)\pkcs8_asn1-priv.h \
729 $(OBJ)\pkcs9_asn1-priv.h \
730 $(OBJ)\pkcs12_asn1-priv.h \
731 $(OBJ)\digest_asn1-priv.h \
732 $(OBJ)\kx509_asn1-priv.h \
734 $(OBJ)\test_asn1-priv.h
751 $(OBJ)\der-protos.h: $(libasn1_SOURCES)
752 $(PERL) ..\..\cf\make-proto.pl -q -P remove -o $(OBJ)\der-protos.h $(libasn1_SOURCES) || $(RM) $(OBJ)\der-protos.h
754 $(OBJ)\der-private.h: $(libasn1_SOURCES)
755 $(PERL) ..\..\cf\make-proto.pl -q -P remove -p $(OBJ)\der-private.h $(libasn1_SOURCES) || $(RM) $(OBJ)\der-private.h
758 -$(RM) $(INCDIR)\der-protos.h
760 all:: $(INCFILES) $(GENINCFILES) $(ASN1_BINARIES) $(LIBASN1)
763 $(OBJ)\check-der.exe \
764 $(OBJ)\check-gen.exe \
765 $(OBJ)\check-timegm.exe
767 test-binaries: $(TEST_BINARIES)
771 test:: test-binaries test-run