vlm | f331497 | 2004-09-23 22:02:52 +0000 | [diff] [blame] | 1 | ASN_MODULE_SOURCES= \ |
| 2 | Attribute.c \ |
| 3 | AttributeType.c \ |
| 4 | AttributeValue.c \ |
| 5 | AttributeTypeAndValue.c \ |
| 6 | X520name.c \ |
| 7 | X520CommonName.c \ |
| 8 | X520LocalityName.c \ |
| 9 | X520StateOrProvinceName.c \ |
| 10 | X520OrganizationName.c \ |
| 11 | X520OrganizationalUnitName.c \ |
| 12 | X520Title.c \ |
| 13 | X520dnQualifier.c \ |
| 14 | X520countryName.c \ |
| 15 | X520SerialNumber.c \ |
| 16 | X520Pseudonym.c \ |
| 17 | DomainComponent.c \ |
| 18 | EmailAddress.c \ |
| 19 | Name.c \ |
| 20 | RDNSequence.c \ |
| 21 | DistinguishedName.c \ |
| 22 | RelativeDistinguishedName.c \ |
| 23 | DirectoryString.c \ |
| 24 | Certificate.c \ |
| 25 | TBSCertificate.c \ |
| 26 | Version.c \ |
| 27 | CertificateSerialNumber.c \ |
| 28 | Validity.c \ |
| 29 | Time.c \ |
| 30 | UniqueIdentifier.c \ |
| 31 | SubjectPublicKeyInfo.c \ |
| 32 | Extensions.c \ |
| 33 | Extension.c \ |
| 34 | CertificateList.c \ |
| 35 | TBSCertList.c \ |
| 36 | AlgorithmIdentifier.c \ |
| 37 | ORAddress.c \ |
| 38 | BuiltInStandardAttributes.c \ |
| 39 | CountryName.c \ |
| 40 | AdministrationDomainName.c \ |
| 41 | NetworkAddress.c \ |
| 42 | X121Address.c \ |
| 43 | TerminalIdentifier.c \ |
| 44 | PrivateDomainName.c \ |
| 45 | OrganizationName.c \ |
| 46 | NumericUserIdentifier.c \ |
| 47 | PersonalName.c \ |
| 48 | OrganizationalUnitNames.c \ |
| 49 | OrganizationalUnitName.c \ |
| 50 | BuiltInDomainDefinedAttributes.c \ |
| 51 | BuiltInDomainDefinedAttribute.c \ |
| 52 | ExtensionAttributes.c \ |
| 53 | ExtensionAttribute.c \ |
| 54 | CommonName.c \ |
| 55 | TeletexCommonName.c \ |
| 56 | TeletexOrganizationName.c \ |
| 57 | TeletexPersonalName.c \ |
| 58 | TeletexOrganizationalUnitNames.c \ |
| 59 | TeletexOrganizationalUnitName.c \ |
| 60 | PDSName.c \ |
| 61 | PhysicalDeliveryCountryName.c \ |
| 62 | PostalCode.c \ |
| 63 | PhysicalDeliveryOfficeName.c \ |
| 64 | PhysicalDeliveryOfficeNumber.c \ |
| 65 | ExtensionORAddressComponents.c \ |
| 66 | PhysicalDeliveryPersonalName.c \ |
| 67 | PhysicalDeliveryOrganizationName.c \ |
| 68 | ExtensionPhysicalDeliveryAddressComponents.c \ |
| 69 | UnformattedPostalAddress.c \ |
| 70 | StreetAddress.c \ |
| 71 | PostOfficeBoxAddress.c \ |
| 72 | PosteRestanteAddress.c \ |
| 73 | UniquePostalName.c \ |
| 74 | LocalPostalAttributes.c \ |
| 75 | PDSParameter.c \ |
| 76 | ExtendedNetworkAddress.c \ |
| 77 | PresentationAddress.c \ |
| 78 | TerminalType.c \ |
| 79 | TeletexDomainDefinedAttributes.c \ |
| 80 | TeletexDomainDefinedAttribute.c \ |
| 81 | AuthorityKeyIdentifier.c \ |
| 82 | KeyIdentifier.c \ |
| 83 | SubjectKeyIdentifier.c \ |
| 84 | KeyUsage.c \ |
| 85 | PrivateKeyUsagePeriod.c \ |
| 86 | CertificatePolicies.c \ |
| 87 | PolicyInformation.c \ |
| 88 | CertPolicyId.c \ |
| 89 | PolicyQualifierInfo.c \ |
| 90 | PolicyQualifierId.c \ |
| 91 | CPSuri.c \ |
| 92 | UserNotice.c \ |
| 93 | NoticeReference.c \ |
| 94 | DisplayText.c \ |
| 95 | PolicyMappings.c \ |
| 96 | SubjectAltName.c \ |
| 97 | GeneralNames.c \ |
| 98 | GeneralName.c \ |
| 99 | AnotherName.c \ |
| 100 | EDIPartyName.c \ |
| 101 | IssuerAltName.c \ |
| 102 | SubjectDirectoryAttributes.c \ |
| 103 | BasicConstraints.c \ |
| 104 | NameConstraints.c \ |
| 105 | GeneralSubtrees.c \ |
| 106 | GeneralSubtree.c \ |
| 107 | BaseDistance.c \ |
| 108 | PolicyConstraints.c \ |
| 109 | SkipCerts.c \ |
| 110 | CRLDistributionPoints.c \ |
| 111 | DistributionPoint.c \ |
| 112 | DistributionPointName.c \ |
| 113 | ReasonFlags.c \ |
| 114 | ExtKeyUsageSyntax.c \ |
| 115 | KeyPurposeId.c \ |
| 116 | InhibitAnyPolicy.c \ |
| 117 | FreshestCRL.c \ |
| 118 | AuthorityInfoAccessSyntax.c \ |
| 119 | AccessDescription.c \ |
| 120 | SubjectInfoAccessSyntax.c \ |
| 121 | CRLNumber.c \ |
| 122 | IssuingDistributionPoint.c \ |
| 123 | BaseCRLNumber.c \ |
| 124 | CRLReason.c \ |
| 125 | CertificateIssuer.c \ |
| 126 | HoldInstructionCode.c \ |
| 127 | InvalidityDate.c |
| 128 | |
| 129 | ASN_MODULE_HEADERS= \ |
| 130 | Attribute.h \ |
| 131 | AttributeType.h \ |
| 132 | AttributeValue.h \ |
| 133 | AttributeTypeAndValue.h \ |
| 134 | X520name.h \ |
| 135 | X520CommonName.h \ |
| 136 | X520LocalityName.h \ |
| 137 | X520StateOrProvinceName.h \ |
| 138 | X520OrganizationName.h \ |
| 139 | X520OrganizationalUnitName.h \ |
| 140 | X520Title.h \ |
| 141 | X520dnQualifier.h \ |
| 142 | X520countryName.h \ |
| 143 | X520SerialNumber.h \ |
| 144 | X520Pseudonym.h \ |
| 145 | DomainComponent.h \ |
| 146 | EmailAddress.h \ |
| 147 | Name.h \ |
| 148 | RDNSequence.h \ |
| 149 | DistinguishedName.h \ |
| 150 | RelativeDistinguishedName.h \ |
| 151 | DirectoryString.h \ |
| 152 | Certificate.h \ |
| 153 | TBSCertificate.h \ |
| 154 | Version.h \ |
| 155 | CertificateSerialNumber.h \ |
| 156 | Validity.h \ |
| 157 | Time.h \ |
| 158 | UniqueIdentifier.h \ |
| 159 | SubjectPublicKeyInfo.h \ |
| 160 | Extensions.h \ |
| 161 | Extension.h \ |
| 162 | CertificateList.h \ |
| 163 | TBSCertList.h \ |
| 164 | AlgorithmIdentifier.h \ |
| 165 | ORAddress.h \ |
| 166 | BuiltInStandardAttributes.h \ |
| 167 | CountryName.h \ |
| 168 | AdministrationDomainName.h \ |
| 169 | NetworkAddress.h \ |
| 170 | X121Address.h \ |
| 171 | TerminalIdentifier.h \ |
| 172 | PrivateDomainName.h \ |
| 173 | OrganizationName.h \ |
| 174 | NumericUserIdentifier.h \ |
| 175 | PersonalName.h \ |
| 176 | OrganizationalUnitNames.h \ |
| 177 | OrganizationalUnitName.h \ |
| 178 | BuiltInDomainDefinedAttributes.h \ |
| 179 | BuiltInDomainDefinedAttribute.h \ |
| 180 | ExtensionAttributes.h \ |
| 181 | ExtensionAttribute.h \ |
| 182 | CommonName.h \ |
| 183 | TeletexCommonName.h \ |
| 184 | TeletexOrganizationName.h \ |
| 185 | TeletexPersonalName.h \ |
| 186 | TeletexOrganizationalUnitNames.h \ |
| 187 | TeletexOrganizationalUnitName.h \ |
| 188 | PDSName.h \ |
| 189 | PhysicalDeliveryCountryName.h \ |
| 190 | PostalCode.h \ |
| 191 | PhysicalDeliveryOfficeName.h \ |
| 192 | PhysicalDeliveryOfficeNumber.h \ |
| 193 | ExtensionORAddressComponents.h \ |
| 194 | PhysicalDeliveryPersonalName.h \ |
| 195 | PhysicalDeliveryOrganizationName.h \ |
| 196 | ExtensionPhysicalDeliveryAddressComponents.h \ |
| 197 | UnformattedPostalAddress.h \ |
| 198 | StreetAddress.h \ |
| 199 | PostOfficeBoxAddress.h \ |
| 200 | PosteRestanteAddress.h \ |
| 201 | UniquePostalName.h \ |
| 202 | LocalPostalAttributes.h \ |
| 203 | PDSParameter.h \ |
| 204 | ExtendedNetworkAddress.h \ |
| 205 | PresentationAddress.h \ |
| 206 | TerminalType.h \ |
| 207 | TeletexDomainDefinedAttributes.h \ |
| 208 | TeletexDomainDefinedAttribute.h \ |
| 209 | AuthorityKeyIdentifier.h \ |
| 210 | KeyIdentifier.h \ |
| 211 | SubjectKeyIdentifier.h \ |
| 212 | KeyUsage.h \ |
| 213 | PrivateKeyUsagePeriod.h \ |
| 214 | CertificatePolicies.h \ |
| 215 | PolicyInformation.h \ |
| 216 | CertPolicyId.h \ |
| 217 | PolicyQualifierInfo.h \ |
| 218 | PolicyQualifierId.h \ |
| 219 | CPSuri.h \ |
| 220 | UserNotice.h \ |
| 221 | NoticeReference.h \ |
| 222 | DisplayText.h \ |
| 223 | PolicyMappings.h \ |
| 224 | SubjectAltName.h \ |
| 225 | GeneralNames.h \ |
| 226 | GeneralName.h \ |
| 227 | AnotherName.h \ |
| 228 | EDIPartyName.h \ |
| 229 | IssuerAltName.h \ |
| 230 | SubjectDirectoryAttributes.h \ |
| 231 | BasicConstraints.h \ |
| 232 | NameConstraints.h \ |
| 233 | GeneralSubtrees.h \ |
| 234 | GeneralSubtree.h \ |
| 235 | BaseDistance.h \ |
| 236 | PolicyConstraints.h \ |
| 237 | SkipCerts.h \ |
| 238 | CRLDistributionPoints.h \ |
| 239 | DistributionPoint.h \ |
| 240 | DistributionPointName.h \ |
| 241 | ReasonFlags.h \ |
| 242 | ExtKeyUsageSyntax.h \ |
| 243 | KeyPurposeId.h \ |
| 244 | InhibitAnyPolicy.h \ |
| 245 | FreshestCRL.h \ |
| 246 | AuthorityInfoAccessSyntax.h \ |
| 247 | AccessDescription.h \ |
| 248 | SubjectInfoAccessSyntax.h \ |
| 249 | CRLNumber.h \ |
| 250 | IssuingDistributionPoint.h \ |
| 251 | BaseCRLNumber.h \ |
| 252 | CRLReason.h \ |
| 253 | CertificateIssuer.h \ |
| 254 | HoldInstructionCode.h \ |
| 255 | InvalidityDate.h |
| 256 | |
| 257 | ASN_MODULE_HEADERS+=ANY.h |
| 258 | ASN_MODULE_SOURCES+=ANY.c |
vlm | f331497 | 2004-09-23 22:02:52 +0000 | [diff] [blame] | 259 | ASN_MODULE_HEADERS+=BMPString.h |
| 260 | ASN_MODULE_SOURCES+=BMPString.c |
vlm | e32c6cf | 2004-10-26 10:48:48 +0000 | [diff] [blame] | 261 | ASN_MODULE_HEADERS+=UTF8String.h |
vlm | f331497 | 2004-09-23 22:02:52 +0000 | [diff] [blame] | 262 | ASN_MODULE_HEADERS+=BOOLEAN.h |
| 263 | ASN_MODULE_SOURCES+=BOOLEAN.c |
| 264 | ASN_MODULE_HEADERS+=ENUMERATED.h |
| 265 | ASN_MODULE_SOURCES+=ENUMERATED.c |
| 266 | ASN_MODULE_HEADERS+=INTEGER.h |
| 267 | ASN_MODULE_HEADERS+=GeneralizedTime.h |
| 268 | ASN_MODULE_SOURCES+=GeneralizedTime.c |
| 269 | ASN_MODULE_HEADERS+=IA5String.h |
| 270 | ASN_MODULE_SOURCES+=IA5String.c |
| 271 | ASN_MODULE_SOURCES+=INTEGER.c |
| 272 | ASN_MODULE_HEADERS+=NumericString.h |
| 273 | ASN_MODULE_SOURCES+=NumericString.c |
| 274 | ASN_MODULE_HEADERS+=OBJECT_IDENTIFIER.h |
| 275 | ASN_MODULE_SOURCES+=OBJECT_IDENTIFIER.c |
| 276 | ASN_MODULE_HEADERS+=PrintableString.h |
| 277 | ASN_MODULE_SOURCES+=PrintableString.c |
| 278 | ASN_MODULE_HEADERS+=TeletexString.h |
| 279 | ASN_MODULE_SOURCES+=TeletexString.c |
| 280 | ASN_MODULE_HEADERS+=UTCTime.h |
| 281 | ASN_MODULE_SOURCES+=UTCTime.c |
vlm | f331497 | 2004-09-23 22:02:52 +0000 | [diff] [blame] | 282 | ASN_MODULE_SOURCES+=UTF8String.c |
| 283 | ASN_MODULE_HEADERS+=UniversalString.h |
| 284 | ASN_MODULE_SOURCES+=UniversalString.c |
| 285 | ASN_MODULE_HEADERS+=VisibleString.h |
| 286 | ASN_MODULE_SOURCES+=VisibleString.c |
| 287 | ASN_MODULE_HEADERS+=asn_SEQUENCE_OF.h |
| 288 | ASN_MODULE_SOURCES+=asn_SEQUENCE_OF.c |
| 289 | ASN_MODULE_HEADERS+=asn_SET_OF.h |
| 290 | ASN_MODULE_SOURCES+=asn_SET_OF.c |
| 291 | ASN_MODULE_HEADERS+=constr_CHOICE.h |
| 292 | ASN_MODULE_SOURCES+=constr_CHOICE.c |
| 293 | ASN_MODULE_HEADERS+=constr_SEQUENCE.h |
| 294 | ASN_MODULE_SOURCES+=constr_SEQUENCE.c |
| 295 | ASN_MODULE_HEADERS+=constr_SEQUENCE_OF.h |
| 296 | ASN_MODULE_SOURCES+=constr_SEQUENCE_OF.c |
vlm | 2e2c09a | 2004-10-05 06:38:19 +0000 | [diff] [blame] | 297 | ASN_MODULE_HEADERS+=constr_SET_OF.h |
vlm | f331497 | 2004-09-23 22:02:52 +0000 | [diff] [blame] | 298 | ASN_MODULE_HEADERS+=constr_SET.h |
| 299 | ASN_MODULE_SOURCES+=constr_SET.c |
vlm | f331497 | 2004-09-23 22:02:52 +0000 | [diff] [blame] | 300 | ASN_MODULE_SOURCES+=constr_SET_OF.c |
vlm | ec618c6 | 2004-09-24 20:55:11 +0000 | [diff] [blame] | 301 | ASN_MODULE_HEADERS+=asn_application.h |
vlm | 93de4c1 | 2004-10-20 15:49:29 +0000 | [diff] [blame] | 302 | ASN_MODULE_HEADERS+=asn_system.h |
vlm | 4b818e8 | 2004-10-28 13:24:08 +0000 | [diff] [blame] | 303 | ASN_MODULE_HEADERS+=asn_codecs.h |
| 304 | ASN_MODULE_HEADERS+=asn_internal.h |
vlm | f331497 | 2004-09-23 22:02:52 +0000 | [diff] [blame] | 305 | ASN_MODULE_HEADERS+=OCTET_STRING.h |
| 306 | ASN_MODULE_SOURCES+=OCTET_STRING.c |
vlm | 0f1ab76 | 2004-10-12 05:57:23 +0000 | [diff] [blame] | 307 | ASN_MODULE_HEADERS+=BIT_STRING.h |
| 308 | ASN_MODULE_SOURCES+=BIT_STRING.c |
vlm | e32c6cf | 2004-10-26 10:48:48 +0000 | [diff] [blame] | 309 | ASN_MODULE_SOURCES+=asn_codecs_prim.c |
| 310 | ASN_MODULE_HEADERS+=asn_codecs_prim.h |
vlm | f331497 | 2004-09-23 22:02:52 +0000 | [diff] [blame] | 311 | ASN_MODULE_HEADERS+=ber_tlv_length.h |
| 312 | ASN_MODULE_SOURCES+=ber_tlv_length.c |
| 313 | ASN_MODULE_HEADERS+=ber_tlv_tag.h |
| 314 | ASN_MODULE_SOURCES+=ber_tlv_tag.c |
vlm | e32c6cf | 2004-10-26 10:48:48 +0000 | [diff] [blame] | 315 | ASN_MODULE_HEADERS+=ber_decoder.h |
| 316 | ASN_MODULE_SOURCES+=ber_decoder.c |
| 317 | ASN_MODULE_HEADERS+=der_encoder.h |
| 318 | ASN_MODULE_SOURCES+=der_encoder.c |
vlm | f331497 | 2004-09-23 22:02:52 +0000 | [diff] [blame] | 319 | ASN_MODULE_HEADERS+=constr_TYPE.h |
| 320 | ASN_MODULE_SOURCES+=constr_TYPE.c |
| 321 | ASN_MODULE_HEADERS+=constraints.h |
| 322 | ASN_MODULE_SOURCES+=constraints.c |
vlm | 93de4c1 | 2004-10-20 15:49:29 +0000 | [diff] [blame] | 323 | ASN_MODULE_HEADERS+=xer_support.h |
| 324 | ASN_MODULE_SOURCES+=xer_support.c |
vlm | e32c6cf | 2004-10-26 10:48:48 +0000 | [diff] [blame] | 325 | ASN_MODULE_HEADERS+=xer_decoder.h |
| 326 | ASN_MODULE_SOURCES+=xer_decoder.c |
vlm | f331497 | 2004-09-23 22:02:52 +0000 | [diff] [blame] | 327 | ASN_MODULE_HEADERS+=xer_encoder.h |
| 328 | ASN_MODULE_SOURCES+=xer_encoder.c |
| 329 | |
| 330 | |
| 331 | lib_LTLIBRARIES=libsomething.la |
| 332 | libsomething_la_SOURCES=$(ASN_MODULE_SOURCES) $(ASN_MODULE_HEADERS) |
| 333 | |
| 334 | # This file may be used as an input for make(3) |
| 335 | # Remove the lines below to convert it into a pure .am file |
| 336 | TARGET = x509dump |
vlm | 2b9f951 | 2004-09-23 22:40:26 +0000 | [diff] [blame] | 337 | CFLAGS += -I. -DHAVE_CONFIG_H |
vlm | f331497 | 2004-09-23 22:02:52 +0000 | [diff] [blame] | 338 | OBJS=${ASN_MODULE_SOURCES:.c=.o} $(TARGET).o |
| 339 | |
| 340 | all: $(TARGET) |
| 341 | |
| 342 | $(TARGET): ${OBJS} |
| 343 | $(CC) $(CFLAGS) -o $(TARGET) ${OBJS} $(LDFLAGS) $(LIBS) |
| 344 | |
| 345 | .SUFFIXES: |
| 346 | .SUFFIXES: .c .o |
| 347 | |
| 348 | .c.o: |
| 349 | $(CC) $(CFLAGS) -o $@ -c $< |
| 350 | |
| 351 | clean: |
| 352 | rm -f $(TARGET) |
| 353 | rm -f $(OBJS) |
| 354 | |
vlm | 6eb5716 | 2005-03-06 09:28:03 +0000 | [diff] [blame] | 355 | regen: regenerate-from-asn1-source |
| 356 | |
| 357 | regenerate-from-asn1-source: |
| 358 | ../../asn1c/asn1c -S ../../skeletons ../rfc3280-PKIX1Explicit88.asn1 ../rfc3280-PKIX1Implicit88.asn1 |
| 359 | |
vlm | f331497 | 2004-09-23 22:02:52 +0000 | [diff] [blame] | 360 | |
| 361 | Attribute.c: regenerate.Makefile |
| 362 | ./regenerate.Makefile |
vlm | e65d03c | 2005-03-10 11:29:27 +0000 | [diff] [blame] | 363 | @touch Attribute.c |
vlm | f331497 | 2004-09-23 22:02:52 +0000 | [diff] [blame] | 364 | make |
vlm | f331497 | 2004-09-23 22:02:52 +0000 | [diff] [blame] | 365 | |
vlm | 4b7adae | 2005-04-08 04:43:06 +0000 | [diff] [blame] | 366 | ASN_DECODER_TEMPLATE=../../skeletons/asn-decoder-template.c |
| 367 | $(TARGET).o: $(ASN_DECODER_TEMPLATE) |
| 368 | $(CC) $(CFLAGS) -o $(TARGET).o -c $(ASN_DECODER_TEMPLATE) |
vlm | ec24422 | 2004-10-28 11:56:26 +0000 | [diff] [blame] | 369 | |
vlm | f331497 | 2004-09-23 22:02:52 +0000 | [diff] [blame] | 370 | distclean: clean |
| 371 | rm -f $(ASN_MODULE_SOURCES) $(ASN_MODULE_HEADERS) |
| 372 | rm -f Makefile.am.sample |