Always build library object files with shared library cflags
[openssl.git] / crypto / md5 / Makefile.in
index 8d334ce9f6facab916e15ec16ac6f317187f1ac9..aec94b6d6b12b037717c6d735156b8b08d7d8198 100644 (file)
@@ -13,7 +13,7 @@ AR=             ar r
 
 MD5_ASM_OBJ=
 
-CFLAGS= $(INCLUDES) $(CFLAG)
+CFLAGS= $(INCLUDES) $(CFLAG) $(SHARED_CFLAG)
 ASFLAGS= $(INCLUDES) $(ASFLAG)
 AFLAGS= $(ASFLAGS)
 
@@ -56,8 +56,7 @@ files:
        $(PERL) $(TOP)/util/files.pl Makefile >> $(TOP)/MINFO
 
 depend:
-       @[ -n "$(MAKEDEPEND)" ] # should be set by upper Makefile...
-       $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(LIBSRC)
+       $(TOP)/util/domd $(CFLAG) $(INCLUDES) -- $(PROGS) $(LIBSRC)
 
 clean:
        rm -f *.s *.o *.obj lib tags core .pure .nfs* *.old *.bak fluff