Make sure the effect of "pic" / "no-pic" is used with assembler compilations
[openssl.git] / crypto / md5 / Makefile.in
index 49e6d99525fbb8316b3b0abf6a0ed07648c9ec79..9c3fb1f85732efd8ade62e3da9f41b928f5d80a6 100644 (file)
@@ -13,8 +13,8 @@ AR=             ar r
 
 MD5_ASM_OBJ=
 
-CFLAGS= $(INCLUDES) $(CFLAG)
-ASFLAGS= $(INCLUDES) $(ASFLAG)
+CFLAGS= $(INCLUDES) $(CFLAG) $(SHARED_CFLAG)
+ASFLAGS= $(INCLUDES) $(ASFLAG) $(SHARED_CFLAG)
 AFLAGS= $(ASFLAGS)
 
 GENERAL=Makefile
@@ -40,38 +40,23 @@ lib:    $(LIBOBJ)
        @touch lib
 
 md5-586.s:     asm/md5-586.pl ../perlasm/x86asm.pl
-       $(PERL) asm/md5-586.pl $(PERLASM_SCHEME) $(CFLAGS) $@
+       $(PERL) asm/md5-586.pl $(PERLASM_SCHEME) $(CFLAGS) $@
 
 md5-x86_64.s:  asm/md5-x86_64.pl
-       $(PERL) asm/md5-x86_64.pl $(PERLASM_SCHEME) $@
+       $(PERL) asm/md5-x86_64.pl $(PERLASM_SCHEME) $@
 
 md5-ia64.s: asm/md5-ia64.S
        $(CC) $(CFLAGS) -E asm/md5-ia64.S | \
        $(PERL) -ne 's/;\s+/;\n/g; print;' > $@
 
 md5-sparcv9.S: asm/md5-sparcv9.pl
-       $(PERL) asm/md5-sparcv9.pl $@ $(CFLAGS)
+       $(PERL) asm/md5-sparcv9.pl $(PERLASM_SCHEME) $@
 
 files:
        $(PERL) $(TOP)/util/files.pl Makefile >> $(TOP)/MINFO
 
-tags:
-       ctags $(SRC)
-
-tests:
-
-lint:
-       lint -DLINT $(INCLUDES) $(SRC)>fluff
-
-update: depend
-
 depend:
-       @[ -n "$(MAKEDEPEND)" ] # should be set by upper Makefile...
-       $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(LIBSRC)
-
-dclean:
-       $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new
-       mv -f Makefile.new $(MAKEFILE)
+       $(TOP)/util/domd $(CFLAG) $(INCLUDES) -- $(PROGS) $(LIBSRC)
 
 clean:
        rm -f *.s *.o *.obj lib tags core .pure .nfs* *.old *.bak fluff