wireshark/asn1/pkcs1
Peter Wu a198f47c06 cmake: add asn1 target, avoid unnecessary rebuilds
Add an "asn1" build target that rebuilds all ASN.1 dissectors.

Do not always generate the ASN.1 dissector when invoking the
"generate_dissector-PROTO" target. Use a special "packet-PROTO-stamp"
file to detect whether the dissector is out of date.

This indirection is needed because cmake removes output files from
add_custom_command in the clean target, but we would like to keep the
generated packet-PROTO.c files.

Make all EXTRA_CNF and EXPORT_DEPENDS point to absolute paths for
generated exported configs (PROTO-exp.cnf). This is done by automake too
and is needed for proper dependency tracking. Example: when h225.cnf is
updated, h225-exp.cnf needs to be generated. That is the purpose of the
"generate-h225-exp.cnf" target. Now h235 (and other) dissectors need to
be regenerated as well because the h225-exp.cnf is updated. This is why
there is a separate add_custom_command and add_custom_target.

Change-Id: I8cfc1f8f43cea595267b21eae30b4548f3407c0b
Reviewed-on: https://code.wireshark.org/review/12080
Reviewed-by: Peter Wu <peter@lekensteyn.nl>
Petri-Dish: Peter Wu <peter@lekensteyn.nl>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com>
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2015-11-26 12:37:21 +00:00
..
CMakeLists.txt cmake: add asn1 target, avoid unnecessary rebuilds 2015-11-26 12:37:21 +00:00
Makefile.am Remove $Id$ from the ASN.1 dissectors and regenerate them. 2014-02-18 03:05:28 +00:00
Makefile.common Add some files under asn1 to the distribution. 2014-07-30 23:42:55 +00:00
Makefile.nmake Remove $Id$ from the ASN.1 dissectors and regenerate them. 2014-02-18 03:05:28 +00:00
PKIXAlgs-2009.asn pkcs1: remove unused RSAPrivateKey definition 2015-09-18 04:00:47 +00:00
packet-pkcs1-template.c Require BER dissector (OID) registration to be "new style". 2015-11-25 19:21:14 +00:00
packet-pkcs1-template.h Remove $Id$ from the ASN.1 dissectors and regenerate them. 2014-02-18 03:05:28 +00:00
pkcs1.cnf x509af: dissect subjectPublicKey for RSA 2015-10-18 03:30:21 +00:00