summaryrefslogtreecommitdiffstats
path: root/crypto/objects/Makefile.ssl
diff options
context:
space:
mode:
authorBodo Möller <bodo@openssl.org>2001-03-06 08:58:38 +0000
committerBodo Möller <bodo@openssl.org>2001-03-06 08:58:38 +0000
commit1d00800e88d56f1a0776c6cf99b48ddcd31108fd (patch)
tree87b5e020576ffecf09e91f5fe168635c439b2eca /crypto/objects/Makefile.ssl
parent774530f4121afdafa9b43632f8e7a4a68014278c (diff)
Change obj_... generation so that it does not generate rubbish or
abort with errors if no name is defined for some object, which was the case for 'pilotAttributeType 27'. Also avoid this very situation by assigning the name 'pilotAttributeType27'.
Diffstat (limited to 'crypto/objects/Makefile.ssl')
-rw-r--r--crypto/objects/Makefile.ssl6
1 files changed, 4 insertions, 2 deletions
diff --git a/crypto/objects/Makefile.ssl b/crypto/objects/Makefile.ssl
index 1c5d65d712..f12602ee01 100644
--- a/crypto/objects/Makefile.ssl
+++ b/crypto/objects/Makefile.ssl
@@ -15,6 +15,7 @@ MAKEDEPPROG= makedepend
MAKEDEPEND= $(TOP)/util/domd $(TOP) -MD $(MAKEDEPPROG)
MAKEFILE= Makefile.ssl
AR= ar r
+PERL= perl
CFLAGS= $(INCLUDES) $(CFLAG)
@@ -44,10 +45,11 @@ lib: $(LIBOBJ)
- $(RANLIB) $(LIB)
@touch lib
-obj_dat.h: objects.h objects.txt obj_mac.h
+obj_dat.h: obj_dat.pl obj_mac.h
$(PERL) obj_dat.pl obj_mac.h obj_dat.h
-obj_mac.h: objects.txt obj_mac.num
+# objects.pl both reads and writes obj_mac.num
+obj_mac.h: objects.pl objects.txt obj_mac.num
$(PERL) objects.pl objects.txt obj_mac.num obj_mac.h
files: