diff options
author | Geoff Thorpe <geoff@openssl.org> | 2000-06-01 05:13:52 +0000 |
---|---|---|
committer | Geoff Thorpe <geoff@openssl.org> | 2000-06-01 05:13:52 +0000 |
commit | e41c8d6ad4d1ffab51865d8cf90baff108bbe4a1 (patch) | |
tree | 0743c50a5fb135a2731e418985504664a071bf7a /Makefile.org | |
parent | ccd86b68ef7f9a5cfaaed4089bce29fdc5fe4219 (diff) |
This change will cause builds (by default) to not use different STACK
structures and functions for each stack type. The previous behaviour
can be enabled by configuring with the "-DDEBUG_SAFESTACK" option.
This will also cause "make update" (mkdef.pl in particular) to
update the libeay.num and ssleay.num symbol tables with the number of
extra functions DEBUG_SAFESTACK creates.
The way this change works is to accompany each DECLARE_STACK_OF()
macro with a set of "#define"d versions of the sk_##type##_***
functions that ensures all the existing "type-safe" stack calls are
precompiled into the underlying stack calls. The presence or abscence
of the DEBUG_SAFESTACK symbol controls whether this block of
"#define"s or the DECLARE_STACK_OF() macro is taking effect. The
block of "#define"s is in turn generated and maintained by a perl
script (util/mkstack.pl) that encompasses the block with delimiting
C comments. This works in a similar way to the auto-generated error
codes and, like the other such maintenance utilities, is invoked
by the "make update" target.
A long (but mundane) commit will follow this with the results of
"make update" - this will include all the "#define" blocks for
each DECLARE_STACK_OF() statement, along with stripped down
libeay.num and ssleay.num files.
Diffstat (limited to 'Makefile.org')
-rw-r--r-- | Makefile.org | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile.org b/Makefile.org index cf98fb515e..dceea44b50 100644 --- a/Makefile.org +++ b/Makefile.org @@ -299,6 +299,9 @@ tags: errors: perl util/mkerr.pl -recurse -write +stacks: + perl util/mkstack.pl -recurse + util/libeay.num:: perl util/mkdef.pl crypto update @@ -312,7 +315,7 @@ TABLE: Configure (echo 'Output of `Configure TABLE'"':"; \ perl Configure TABLE) > TABLE -update: depend errors util/libeay.num util/ssleay.num crypto/objects/obj_dat.h TABLE +update: depend errors stacks util/libeay.num util/ssleay.num crypto/objects/obj_dat.h TABLE tar: @$(TAR) $(TARFLAGS) -cvf - \ |