Makefile.asm (127326) | Makefile.asm (142429) |
---|---|
1# $FreeBSD: head/secure/lib/libcrypto/Makefile.asm 127326 2004-03-23 08:32:29Z markm $ | 1# $FreeBSD: head/secure/lib/libcrypto/Makefile.asm 142429 2005-02-25 06:04:12Z nectar $ |
2# Use this to help generate the asm *.s files after an import. It is not 3# perfect by any means, but does what is needed. 4# Do a 'make -f Makefile.asm all' and it will generate *.s. Move them 5# to the i386 subdir, and correct any exposed paths and $ FreeBSD $ tags. 6 7.if ${MACHINE_ARCH} == "i386" 8 9.include "Makefile.inc" 10 11.PATH: ${LCRYPTO_SRC}/crypto/rc4/asm ${LCRYPTO_SRC}/crypto/rc5/asm \ 12 ${LCRYPTO_SRC}/crypto/des/asm ${LCRYPTO_SRC}/crypto/cast/asm \ 13 ${LCRYPTO_SRC}/crypto/sha/asm ${LCRYPTO_SRC}/crypto/bn/asm \ 14 ${LCRYPTO_SRC}/crypto/bf/asm ${LCRYPTO_SRC}/crypto/md5/asm \ 15 ${LCRYPTO_SRC}/crypto/ripemd/asm 16 | 2# Use this to help generate the asm *.s files after an import. It is not 3# perfect by any means, but does what is needed. 4# Do a 'make -f Makefile.asm all' and it will generate *.s. Move them 5# to the i386 subdir, and correct any exposed paths and $ FreeBSD $ tags. 6 7.if ${MACHINE_ARCH} == "i386" 8 9.include "Makefile.inc" 10 11.PATH: ${LCRYPTO_SRC}/crypto/rc4/asm ${LCRYPTO_SRC}/crypto/rc5/asm \ 12 ${LCRYPTO_SRC}/crypto/des/asm ${LCRYPTO_SRC}/crypto/cast/asm \ 13 ${LCRYPTO_SRC}/crypto/sha/asm ${LCRYPTO_SRC}/crypto/bn/asm \ 14 ${LCRYPTO_SRC}/crypto/bf/asm ${LCRYPTO_SRC}/crypto/md5/asm \ 15 ${LCRYPTO_SRC}/crypto/ripemd/asm 16 |
17PERLPATH= ${LCRYPTO_SRC}/crypto/des/asm:${LCRYPTO_SRC}/crypto/perlasm | 17PERLPATH= -I${LCRYPTO_SRC}/crypto/des/asm -I${LCRYPTO_SRC}/crypto/perlasm |
18 19# blowfish 20SRCS= bf-686.pl bf-586.pl 21 22# bn 23SRCS+= bn-586.pl co-586.pl 24 25# cast --- 21 unchanged lines hidden (view full) --- 47 48all: ${ASM} 49 50CLEANFILES+= ${SRCS:M*.pl:S/.pl$/.cmt/} ${SRCS:M*.pl:S/.pl$/.s/} 51.SUFFIXES: .pl .cmt 52 53.pl.cmt: 54 ( echo ' # $$'FreeBSD'$$' ;\ | 18 19# blowfish 20SRCS= bf-686.pl bf-586.pl 21 22# bn 23SRCS+= bn-586.pl co-586.pl 24 25# cast --- 21 unchanged lines hidden (view full) --- 47 48all: ${ASM} 49 50CLEANFILES+= ${SRCS:M*.pl:S/.pl$/.cmt/} ${SRCS:M*.pl:S/.pl$/.s/} 51.SUFFIXES: .pl .cmt 52 53.pl.cmt: 54 ( echo ' # $$'FreeBSD'$$' ;\ |
55 perl -I${PERLPATH} ${.IMPSRC} elf ${CPUTYPE:Mi386:S/i//} ) > ${.TARGET} | 55 perl ${PERLPATH} ${.IMPSRC} elf ${CPUTYPE:Mi386:S/i//} ) > ${.TARGET} |
56 57.cmt.s: 58 tr -d "'" < ${.IMPSRC} > ${.TARGET} 59 60.include <bsd.prog.mk> 61.endif | 56 57.cmt.s: 58 tr -d "'" < ${.IMPSRC} > ${.TARGET} 59 60.include <bsd.prog.mk> 61.endif |