aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile.org
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2000-07-05 02:45:36 +0000
committerRichard Levitte <levitte@openssl.org>2000-07-05 02:45:36 +0000
commitc2bbf9cf6c2e2170df38f32ed58c35e49c239cb8 (patch)
tree0a3a72ce98a14aa17d346d98f10ed365ed674985 /Makefile.org
parent8f0d68fa270de23ceada7a5e636453612bc371a8 (diff)
downloadopenssl-c2bbf9cf6c2e2170df38f32ed58c35e49c239cb8.tar.gz
I got sick and tired of having to keep track of NIDs when such a thing
could be done automagically, much like the numbering in libeay.num and ssleay.num. The solution works as follows: - New object identifiers are inserted in objects.txt, following the syntax given in objects.README. - objects.pl is used to process obj_mac.num and create a new obj_mac.h. - obj_dat.pl is used to create a new obj_dat.h, using the data in obj_mac.h. This is currently kind of a hack, and the perl code in objects.pl isn't very elegant, but it works as I intended. The simplest way to check that it worked correctly is to look in obj_dat.h and check the array nid_objs and make sure the objects haven't moved around (this is important!). Additions are OK, as well as consistent name changes.
Diffstat (limited to 'Makefile.org')
-rw-r--r--Makefile.org6
1 files changed, 4 insertions, 2 deletions
diff --git a/Makefile.org b/Makefile.org
index c1af781b6e..b48000c37e 100644
--- a/Makefile.org
+++ b/Makefile.org
@@ -308,8 +308,10 @@ util/libeay.num::
util/ssleay.num::
perl util/mkdef.pl ssl update
-crypto/objects/obj_dat.h: crypto/objects/objects.h crypto/objects/obj_dat.pl
- perl crypto/objects/obj_dat.pl crypto/objects/objects.h crypto/objects/obj_dat.h
+crypto/objects/obj_dat.h: crypto/objects/obj_mac.h crypto/objects/obj_dat.pl
+ perl crypto/objects/obj_dat.pl crypto/objects/obj_mac.h crypto/objects/obj_dat.h
+crypto/objects/obj_mac.h: crypto/objects/objects.pl crypto/objects/objects.txt
+ perl crypto/objects/objects.pl crypto/objects/objects.txt crypto/objects/obj_mac.num crypto/objects/obj_mac.h
TABLE: Configure
(echo 'Output of `Configure TABLE'"':"; \