Fix security hole.
[openssl.git] / crypto / dh / Makefile.ssl
index 7e0c1e104915f521a585b2f4ad3198534558b1f3..3f945582577068e823ee4052eb18515c38adfc28 100644 (file)
@@ -9,7 +9,7 @@ INCLUDES= -I.. -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
 
@@ -46,11 +46,10 @@ files:
        perl $(TOP)/util/files.pl Makefile.ssl >> $(TOP)/MINFO
 
 links:
-       /bin/rm -f Makefile
-       $(TOP)/util/point.sh Makefile.ssl Makefile ;
-       $(TOP)/util/mklink.sh ../../include $(EXHEADER)
-       $(TOP)/util/mklink.sh ../../test $(TEST)
-       $(TOP)/util/mklink.sh ../../apps $(APPS)
+       @$(TOP)/util/point.sh Makefile.ssl Makefile
+       @$(TOP)/util/mklink.sh ../../include $(EXHEADER)
+       @$(TOP)/util/mklink.sh ../../test $(TEST)
+       @$(TOP)/util/mklink.sh ../../apps $(APPS)
 
 install:
        @for i in $(EXHEADER) ; \
@@ -75,10 +74,26 @@ dclean:
        mv -f Makefile.new $(MAKEFILE)
 
 clean:
-       /bin/rm -f *.o */*.o *.obj lib tags core .pure .nfs* *.old *.bak fluff
+       rm -f *.o */*.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 ../err/err_genc.pl $(ERR).h $(ERRC).c
+       perl ../err/err_genc.pl -s $(ERR).h $(ERRC).c
 
 # DO NOT DELETE THIS LINE -- make depend depends on it.
+
+dh_check.o: ../../include/bio.h ../../include/bn.h ../../include/buffer.h
+dh_check.o: ../../include/e_os.h ../../include/err.h ../../include/stack.h
+dh_check.o: ../cryptlib.h ../crypto.h ../opensslv.h dh.h
+dh_err.o: ../../include/err.h dh.h
+dh_gen.o: ../../include/bio.h ../../include/bn.h ../../include/buffer.h
+dh_gen.o: ../../include/e_os.h ../../include/err.h ../../include/stack.h
+dh_gen.o: ../cryptlib.h ../crypto.h ../opensslv.h dh.h
+dh_key.o: ../../include/bio.h ../../include/bn.h ../../include/buffer.h
+dh_key.o: ../../include/e_os.h ../../include/err.h ../../include/rand.h
+dh_key.o: ../../include/stack.h ../cryptlib.h ../crypto.h ../opensslv.h dh.h
+dh_lib.o: ../../include/bio.h ../../include/bn.h ../../include/buffer.h
+dh_lib.o: ../../include/e_os.h ../../include/err.h ../../include/stack.h
+dh_lib.o: ../cryptlib.h ../crypto.h ../opensslv.h dh.h