Check for the executable $openssl, not just the file.
[openssl.git] / tools / Makefile.ssl
index 7e6285b9117d3adea292b2757e32597148637a5d..b46ea44f6a42f1d28577e20d9361eded831c798d 100644 (file)
@@ -5,13 +5,14 @@
 DIR=   tools
 TOP=   ..
 CC=    cc
-INCLUDES= -I.. -I../../include
+INCLUDES= -I$(TOP) -I../../include
 CFLAG=-g
 INSTALL_PREFIX=
 OPENSSLDIR=     /usr/local/ssl
 INSTALLTOP=/usr/local/ssl
 MAKE=          make -f Makefile.ssl
-MAKEDEPEND=    $(TOP)/util/domd $(TOP)
+MAKEDEPPROG=   makedepend
+MAKEDEPEND=    $(TOP)/util/domd $(TOP) -MD $(MAKEDEPPROG)
 MAKEFILE=      Makefile.ssl
 
 CFLAGS= $(INCLUDES) $(CFLAG)