Fix (most) WIN32 warnings and errors.
[openssl.git] / crypto / Makefile
index 6c9159ff27c4765dbea03e0ab59a9db9614d480c..ef4f724f169869dbefd7723d14d381227ba0a85d 100644 (file)
@@ -1,5 +1,5 @@
 #
-# SSLeay/crypto/Makefile
+# OpenSSL/crypto/Makefile
 #
 
 DIR=           crypto
@@ -7,7 +7,7 @@ TOP=            ..
 CC=            cc
 INCLUDE=       -I. -I$(TOP) -I../include
 # INCLUDES targets sudbirs!
-INCLUDES=      -I.. -I../.. -I../../include
+INCLUDES=      -I.. -I../.. -I../asn1 -I../evp -I../../include
 CFLAG=         -g
 MAKEDEPPROG=   makedepend
 MAKEDEPEND=    $(TOP)/util/domd $(TOP) -MD $(MAKEDEPPROG)
@@ -94,9 +94,9 @@ links:
        @$(PERL) $(TOP)/util/mklink.pl ../apps $(APPS)
        @target=links; $(RECURSIVE_MAKE)
 
+# lib: $(LIB): are splitted to avoid end-less loop
 lib:   $(LIB)
        @touch lib
-
 $(LIB):        $(LIBOBJ)
        $(AR) $(LIB) $(LIBOBJ)
        $(RANLIB) $(LIB) || echo Never mind.
@@ -135,6 +135,7 @@ clean:
 dclean:
        $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new
        mv -f Makefile.new $(MAKEFILE)
+       rm -f opensslconf.h
        @target=dclean; $(RECURSIVE_MAKE)
 
 # DO NOT DELETE THIS LINE -- make depend depends on it.