diff options
author | Dr. Stephen Henson <steve@openssl.org> | 1999-01-18 22:18:38 +0000 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 1999-01-18 22:18:38 +0000 |
commit | 6c8abdd744ecba1cf06f03bea4a034412c5922dd (patch) | |
tree | 0cf16338b54eefe8324742250fb0bcba3e3150db /crypto/Makefile.ssl | |
parent | 4a66b7e0b235298716664e570e44428a0e54d196 (diff) |
New err_code.pl script to retain old error codes. This should allow the use
of 'make errors' without causing huge re-organisations of files when a new
code is added.
Diffstat (limited to 'crypto/Makefile.ssl')
-rw-r--r-- | crypto/Makefile.ssl | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/crypto/Makefile.ssl b/crypto/Makefile.ssl index 3303523e08..b91baad738 100644 --- a/crypto/Makefile.ssl +++ b/crypto/Makefile.ssl @@ -15,10 +15,6 @@ MAKEFILE= Makefile.ssl RM= /bin/rm -f AR= ar r -MAKE= make -f Makefile.ssl -MAKEDEPEND= makedepend -f Makefile.ssl -MAKEFILE= Makefile.ssl - PEX_LIBS= EX_LIBS= @@ -148,14 +144,19 @@ dclean: $(MAKE) CC='$(CC)' CFLAG='${CFLAG}' INSTALLTOP='${INSTALLTOP}' PEX_LIBS='${PEX_LIBS}' EX_LIBS='${EX_LIBS}' dclean ); \ done; -errors: - perl ./err/err_code.pl -conf err/ssleay.ec *.c */*.c ../ssl/*.c ../rsaref/*.c +errors: errgen $(ERRC).c + +$(ERRC).c: $(ERR).err perl $(TOP)/util/err-ins.pl $(ERR).err $(ERR).h perl err/err_genc.pl -s $(ERR).h $(ERRC).c + +errgen: + perl ./err/err_code.pl -conf err/ssleay.ec *.c */*.c ../ssl/*.c ../rsaref/*.c @for i in $(SDIRS) ;\ do \ (cd $$i; echo "making errors in $$i..."; \ $(MAKE) errors ); \ done; + # DO NOT DELETE THIS LINE -- make depend depends on it. |