Always build library object files with shared library cflags
[openssl.git] / crypto / bf / Makefile.in
index 57873503dee9a59039db6f5b70e70ef6ea131b9b..ee5c2599239c46dc7cf5bb06b8c92a55a51e9cbe 100644 (file)
@@ -13,7 +13,7 @@ AR=           ar r
 
 BF_ENC=                bf_enc.o
 
-CFLAGS= $(INCLUDES) $(CFLAG)
+CFLAGS= $(INCLUDES) $(CFLAG) $(SHARED_CFLAG)
 ASFLAGS= $(INCLUDES) $(ASFLAG)
 AFLAGS= $(ASFLAGS)
 
@@ -45,11 +45,8 @@ bf-586.s:    asm/bf-586.pl ../perlasm/x86asm.pl ../perlasm/cbc.pl
 files:
        $(PERL) $(TOP)/util/files.pl Makefile >> $(TOP)/MINFO
 
-update: depend
-
 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