mirror of https://gerrit.osmocom.org/asn1c
more generic approach
This commit is contained in:
parent
d54f255d74
commit
da0ab72fa3
|
@ -22,8 +22,8 @@ $(ASN1_FILES_1): crfc2asn1.pl $(ASN1_SOURCE_1)
|
|||
./crfc2asn1.pl $(ASN1_SOURCE_1)
|
||||
|
||||
EXTRA_DIST = rfc*.txt \
|
||||
decoder-template.c \
|
||||
sample.source.PKIX1/README \
|
||||
sample.source.PKIX1/x509dump.c \
|
||||
sample.source.PKIX1/config.h \
|
||||
sample.source.PKIX1/Makefile \
|
||||
sample.source.PKIX1/regenerate.Makefile
|
||||
|
|
|
@ -174,8 +174,8 @@ ASN1_FILES_1 = \
|
|||
rfc3280-PKIX1Implicit88.asn1
|
||||
|
||||
EXTRA_DIST = rfc*.txt \
|
||||
decoder-template.c \
|
||||
sample.source.PKIX1/README \
|
||||
sample.source.PKIX1/x509dump.c \
|
||||
sample.source.PKIX1/config.h \
|
||||
sample.source.PKIX1/Makefile \
|
||||
sample.source.PKIX1/regenerate.Makefile
|
||||
|
|
|
@ -357,6 +357,9 @@ Attribute.c: regenerate.Makefile
|
|||
./regenerate.Makefile
|
||||
make
|
||||
|
||||
$(TARGET).o: ../decoder-template.c
|
||||
$(CC) $(CFLAGS) -Dasn_DEF=asn_DEF_Certificate -o $(TARGET).o -c ../decoder-template.c
|
||||
|
||||
distclean: clean
|
||||
rm -f $(ASN_MODULE_SOURCES) $(ASN_MODULE_HEADERS)
|
||||
rm -f Makefile.am.sample
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
|
||||
The X.509 (PKIX1) certificate decoder. Invoking `make` will compile the ASN.1
|
||||
specifications from the RFC3280 in the above directory. This x509dump.c will
|
||||
supply the missing "int main()" routine which drives the decoding process.
|
||||
specifications from the RFC3280 in the above directory.
|
||||
The ../decoder-template.c will supply the missing "int main()" routine
|
||||
which drives the decoding process.
|
||||
|
||||
|
|
Loading…
Reference in New Issue