unified build scheme: add a "unified" template for Unix Makefile
[openssl.git] / crypto / poly1305 / build.info
index 35d4fa8fa08974368318e128bb392a0af119327a..0b59b9fe67595111b68cc566f98daaab49c35e6f 100644 (file)
@@ -1,3 +1,15 @@
 LIBS=../../libcrypto
 SOURCE[../../libcrypto]=\
         poly1305.c {- $target{poly1305_asm_src} -}
+
+BEGINRAW[Makefile(unix)]
+{- $builddir -}/poly1305-sparcv9.S:    {- $sourcedir -}/asm/poly1305-sparcv9.pl
+       $(PERL) {- $sourcedir -}/asm/poly1305-sparcv9.pl > $@
+{- $builddir -}/poly1305-x86.s:                {- $sourcedir -}/asm/poly1305-x86.pl
+       $(PERL) {- $sourcedir -}/asm/poly1305-x86.pl $(PERLASM_SCHEME) $(CFLAGS) $(PROCESSOR) > $@
+{- $builddir -}/poly1305-x86_64.s:     {- $sourcedir -}/asm/poly1305-x86_64.pl
+       $(PERL) {- $sourcedir -}/asm/poly1305-x86_64.pl $(PERLASM_SCHEME) > $@
+
+{- $builddir -}/poly1305-%.S:  {- $sourcedir -}/asm/poly1305-%.pl
+       $(PERL) $< $(PERLASM_SCHEME) $@
+ENDRAW[Makefile(unix)]