Always build library object files with shared library cflags
[openssl.git] / crypto / ec / Makefile.in
index f815a18cd5d350705e2904d9a776fa94189cf05d..1aa22d49624338f985553077606c90dcdfd6107e 100644 (file)
@@ -10,7 +10,7 @@ CFLAG=-g
 MAKEFILE=      Makefile
 AR=            ar r
 
-CFLAGS= $(INCLUDES) $(CFLAG)
+CFLAGS= $(INCLUDES) $(CFLAG) $(SHARED_CFLAG)
 ASFLAGS= $(INCLUDES) $(ASFLAG)
 AFLAGS= $(ASFLAGS)
 
@@ -66,11 +66,8 @@ ecp_nistz256-armv8.o:        ecp_nistz256-armv8.S
 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 */*.o *.obj lib tags core .pure .nfs* *.old *.bak fluff