build.info 1.2 KB

123456789101112131415161718192021222324252627282930313233
  1. LIBS=../../libcrypto
  2. SOURCE[../../libcrypto]=\
  3. {- $target{rc4_asm_src} -}
  4. GENERATE[rc4-586.s]=asm/rc4-586.pl $(PERLASM_SCHEME) $(CFLAGS) $(LIB_CFLAGS) $(PROCESSOR)
  5. DEPEND[rc4-586.s]=../perlasm/x86asm.pl
  6. GENERATE[rc4-x86_64.s]=asm/rc4-x86_64.pl $(PERLASM_SCHEME)
  7. GENERATE[rc4-md5-x86_64.s]=asm/rc4-md5-x86_64.pl $(PERLASM_SCHEME)
  8. GENERATE[rc4-parisc.s]=asm/rc4-parisc.pl $(PERLASM_SCHEME)
  9. BEGINRAW[makefile(windows)]
  10. {- $builddir -}\rc4-ia64.asm: {- $sourcedir -}\asm\rc4-ia64.pl
  11. $(PERL) {- $sourcedir -}\asm\rc4-ia64.pl $@.S
  12. $(CC) -DSZ=4 -EP $@.S > $@.i && move /Y $@.i $@
  13. del /Q $@.S
  14. ENDRAW[makefile(windows)]
  15. BEGINRAW[Makefile]
  16. {- $builddir -}/rc4-ia64.s: {- $sourcedir -}/asm/rc4-ia64.pl
  17. @(trap "rm $@.*" INT 0; \
  18. $(PERL) $< $(CFLAGS) $(LIB_CFLAGS) $@.S; \
  19. case `awk '/^#define RC4_INT/{print$$NF}' $(BLDDIR)/include/openssl/opensslconf.h` in \
  20. int) set -x; $(CC) $(CFLAGS) $(LIB_CFLAGS) -DSZ=4 -E $@.S > $@.i && mv -f $@.i $@;; \
  21. char) set -x; $(CC) $(CFLAGS) $(LIB_CFLAGS) -DSZ=1 -E $@.S > $@.i && mv -f $@.i $@;; \
  22. *) exit 1 ;; \
  23. esac )
  24. # GNU make "catch all"
  25. {- $builddir -}/rc4-%.s: {- $sourcedir -}/asm/rc4-%.pl
  26. CC="$(CC)" $(PERL) $< $(PERLASM_SCHEME) $@
  27. ENDRAW[Makefile]