Make sure latest Perl versions don't interpret some generated C array as Perl
[openssl.git] / rsaref / Makefile.ssl
index e0e4fb735f8b194369a69dc3abd7190f4fbca96d..920c4a385522a25ae4277689e0f8ec1202c10e13 100644 (file)
@@ -9,7 +9,7 @@ INCLUDES= -I../crypto -I../include
 CFLAG=-g
 INSTALLTOP=/usr/local/ssl
 MAKE=          make -f Makefile.ssl
-MAKEDEPEND=    makedepend -f Makefile.ssl
+MAKEDEPEND=    $(TOP)/util/domd $(TOP)
 MAKEFILE=      Makefile.ssl
 AR=            ar r
 
@@ -27,8 +27,8 @@ LIBOBJ= rsaref.o $(ERRC).o
 
 SRC= $(LIBSRC)
 
-EXHEADER=
-HEADER=        $(EXHEADER) rsaref.h
+EXHEADER=      rsaref.h
+HEADER=        $(EXHEADER)
 
 ALL=    $(GENERAL) $(SRC) $(HEADER)
 
@@ -78,8 +78,17 @@ dclean:
 clean:
        /bin/rm -f *.o *.obj lib tags core .pure .nfs* *.old *.bak fluff
 
-errors:
+errors: $(ERRC).c
+
+$(ERRC).c: $(ERR).err
        perl $(TOP)/util/err-ins.pl $(ERR).err $(ERR).h
-       perl ../crypto/err/err_genc.pl $(ERR).h $(ERRC).c
+       perl ../crypto/err/err_genc.pl -s $(ERR).h $(ERRC).c
 
 # DO NOT DELETE THIS LINE -- make depend depends on it.
+
+rsar_err.o: ../crypto/crypto.h ../include/bn.h ../include/err.h
+rsar_err.o: ../include/rsa.h ../include/stack.h rsaref.h
+rsaref.o: ../crypto/cryptlib.h ../crypto/crypto.h ../include/bio.h
+rsaref.o: ../include/bn.h ../include/buffer.h ../include/e_os.h
+rsaref.o: ../include/err.h ../include/rand.h ../include/rsa.h
+rsaref.o: ../include/stack.h rsaref.h