diff options
author | Lev Walkin <vlm@lionet.info> | 2004-09-07 06:32:11 +0000 |
---|---|---|
committer | Lev Walkin <vlm@lionet.info> | 2004-09-07 06:32:11 +0000 |
commit | 824378ec75c41aa8c5bdaad3213fb9704f69135f (patch) | |
tree | 748ca2a91abed84889ad5acdcd6ea27d4bdf833b /examples | |
parent | d1ed1d79653dc8c402f72f4d76c12ce8edb34dbd (diff) |
automatic .asn1 files creation
Diffstat (limited to 'examples')
-rw-r--r-- | examples/Makefile.am | 11 | ||||
-rw-r--r-- | examples/Makefile.in | 13 |
2 files changed, 20 insertions, 4 deletions
diff --git a/examples/Makefile.am b/examples/Makefile.am index 5b856e50..90e2678f 100644 --- a/examples/Makefile.am +++ b/examples/Makefile.am @@ -1,4 +1,13 @@ dist_bin_SCRIPTS = crfc2asn1.pl clyx2asn1.pl -EXTRA_DIST = *.asn1 rfc*.txt +ASN1_SOURCE_1 = rfc3280.txt +ASN1_FILES_1 = rfc3280-PKIX1Explicit88.asn1 rfc3280-PKIX1Implicit88.asn1 + +all: $(ASN1_FILES_1) + +$(ASN1_FILES_1): crfc2asn1.pl $(ASN1_SOURCE_1) + ./crfc2asn1.pl $(ASN1_SOURCE_1) + +EXTRA_DIST = rfc*.txt +CLEANFILES = *.asn1 diff --git a/examples/Makefile.in b/examples/Makefile.in index 09bae06a..97ce8d4f 100644 --- a/examples/Makefile.in +++ b/examples/Makefile.in @@ -34,9 +34,7 @@ POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : -build_triplet = @build@ host_triplet = @host@ -target_triplet = @target@ subdir = examples DIST_COMMON = README $(dist_bin_SCRIPTS) $(srcdir)/Makefile.am \ $(srcdir)/Makefile.in @@ -164,7 +162,10 @@ target_cpu = @target_cpu@ target_os = @target_os@ target_vendor = @target_vendor@ dist_bin_SCRIPTS = crfc2asn1.pl clyx2asn1.pl -EXTRA_DIST = *.asn1 rfc*.txt +ASN1_SOURCE_1 = rfc3280.txt +ASN1_FILES_1 = rfc3280-PKIX1Explicit88.asn1 rfc3280-PKIX1Implicit88.asn1 +EXTRA_DIST = rfc*.txt +CLEANFILES = *.asn1 all: all-am .SUFFIXES: @@ -284,6 +285,7 @@ install-strip: mostlyclean-generic: clean-generic: + -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES) distclean-generic: -rm -f $(CONFIG_CLEAN_FILES) @@ -348,6 +350,11 @@ uninstall-am: uninstall-dist_binSCRIPTS uninstall-info-am ps ps-am uninstall uninstall-am uninstall-dist_binSCRIPTS \ uninstall-info-am + +all: $(ASN1_FILES_1) + +$(ASN1_FILES_1): crfc2asn1.pl $(ASN1_SOURCE_1) + ./crfc2asn1.pl $(ASN1_SOURCE_1) # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: |