Finally lay dependencies to rest (I hope!).
[openssl.git] / crypto / buffer / Makefile.ssl
index a5f150e523129802d978e8d0d20b588d5191b561..aefd7869b015a4cffbb2594cb8afad2bf9b193a5 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
 
@@ -77,8 +77,14 @@ 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 ../err/err_genc.pl -s $(ERR).h $(ERRC).c
 
 # DO NOT DELETE THIS LINE -- make depend depends on it.
+
+buf_err.o: ../../include/err.h buffer.h ../../include/bio.h
+buffer.o: ../../include/e_os.h ../../include/err.h ../../include/stack.h
+buffer.o: ../cryptlib.h ../crypto.h buffer.h