Harmonize the make variables across all known platforms families
[openssl.git] / crypto / md5 / build.info
index 09f417c68fdefbbe4e1e510788496e64227a7702..e641fecd0d6e6929bc9447e6bade8730c8661fd0 100644 (file)
@@ -2,17 +2,10 @@ LIBS=../../libcrypto
 SOURCE[../../libcrypto]=\
         md5_dgst.c md5_one.c {- $target{md5_asm_src} -}
 
-BEGINRAW[Makefile]
-{- $builddir -}/md5-586.s:     {- $sourcedir -}/asm/md5-586.pl {- $sourcetop -}/crypto/perlasm/x86asm.pl
-       CC="$(CC)" $(PERL) {- $sourcedir -}/asm/md5-586.pl $(PERLASM_SCHEME) $(CFLAGS) > $@
+GENERATE[md5-586.s]=asm/md5-586.pl \
+        $(PERLASM_SCHEME) $(LIB_CFLAGS) $(LIB_CPPFLAGS)
 
-{- $builddir -}/md5-x86_64.s:  {- $sourcedir -}/asm/md5-x86_64.pl
-       CC="$(CC)" $(PERL) {- $sourcedir -}/asm/md5-x86_64.pl $(PERLASM_SCHEME) > $@
+GENERATE[md5-x86_64.s]=asm/md5-x86_64.pl $(PERLASM_SCHEME)
 
-{- $builddir -}/md5-ia64.s: {- $sourcedir -}/asm/md5-ia64.S
-       $(CC) $(CFLAGS) -E {- $sourcedir -}/asm/md5-ia64.S | \
-       $(PERL) -ne 's/;\s+/;\n/g; print;' > $@
-
-{- $builddir -}/md5-sparcv9.S: {- $sourcedir -}/asm/md5-sparcv9.pl
-       CC="$(CC)" $(PERL) {- $sourcedir -}/asm/md5-sparcv9.pl $@ $(CFLAGS)
-ENDRAW[Makefile]
+GENERATE[md5-sparcv9.S]=asm/md5-sparcv9.pl $(PERLASM_SCHEME)
+INCLUDE[md5-sparcv9.o]=..