diff options
| author | espie <> | 2017-08-20 17:53:13 +0000 |
|---|---|---|
| committer | espie <> | 2017-08-20 17:53:13 +0000 |
| commit | 39e376c267c3aa3e7cc588facfbbba9d81cb593b (patch) | |
| tree | efaf3f3299eea6e7173cd2676e57b013b15582ce /src/lib/libcrypto/arch/i386 | |
| parent | 22c9f945c938738477c04304154cdb4ce857535e (diff) | |
| download | openbsd-39e376c267c3aa3e7cc588facfbbba9d81cb593b.tar.gz openbsd-39e376c267c3aa3e7cc588facfbbba9d81cb593b.tar.bz2 openbsd-39e376c267c3aa3e7cc588facfbbba9d81cb593b.zip | |
sprinkle a few missing dependencies on perl scripts internal bits.
'it works' deraadt@
Diffstat (limited to 'src/lib/libcrypto/arch/i386')
| -rw-r--r-- | src/lib/libcrypto/arch/i386/Makefile.inc | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/lib/libcrypto/arch/i386/Makefile.inc b/src/lib/libcrypto/arch/i386/Makefile.inc index 2744da8397..7986a0f54e 100644 --- a/src/lib/libcrypto/arch/i386/Makefile.inc +++ b/src/lib/libcrypto/arch/i386/Makefile.inc | |||
| @@ -1,7 +1,10 @@ | |||
| 1 | # $OpenBSD: Makefile.inc,v 1.5 2016/11/04 18:12:13 miod Exp $ | 1 | # $OpenBSD: Makefile.inc,v 1.6 2017/08/20 17:53:13 espie Exp $ |
| 2 | 2 | ||
| 3 | # i386-specific libcrypto build rules | 3 | # i386-specific libcrypto build rules |
| 4 | 4 | ||
| 5 | # all i386 code generators use these | ||
| 6 | EXTRA_PL = ${LCRYPTO_SRC}/perlasm/x86gas.pl ${LCRYPTO_SRC}/perlasm/x86asm.pl | ||
| 7 | |||
| 5 | # aes | 8 | # aes |
| 6 | CFLAGS+= -DAES_ASM | 9 | CFLAGS+= -DAES_ASM |
| 7 | SSLASM+= aes aes-586 | 10 | SSLASM+= aes aes-586 |
| @@ -55,7 +58,7 @@ SSLASM+= whrlpool wp-mmx | |||
| 55 | .for dir f in ${SSLASM} | 58 | .for dir f in ${SSLASM} |
| 56 | SRCS+= ${f}.S | 59 | SRCS+= ${f}.S |
| 57 | GENERATED+=${f}.S | 60 | GENERATED+=${f}.S |
| 58 | ${f}.S: ${LCRYPTO_SRC}/${dir}/asm/${f}.pl ${LCRYPTO_SRC}/perlasm/x86gas.pl | 61 | ${f}.S: ${LCRYPTO_SRC}/${dir}/asm/${f}.pl ${EXTRA_PL} |
| 59 | /usr/bin/perl -I${LCRYPTO_SRC}/perlasm -I${LCRYPTO_SRC}/${dir}/asm \ | 62 | /usr/bin/perl -I${LCRYPTO_SRC}/perlasm -I${LCRYPTO_SRC}/${dir}/asm \ |
| 60 | ${LCRYPTO_SRC}/${dir}/asm/${f}.pl \ | 63 | ${LCRYPTO_SRC}/${dir}/asm/${f}.pl \ |
| 61 | openbsd-elf ${CFLAGS} 386 ${PICFLAG} > ${.TARGET} | 64 | openbsd-elf ${CFLAGS} 386 ${PICFLAG} > ${.TARGET} |
| @@ -65,6 +68,6 @@ CFLAGS+= -DOPENSSL_CPUID_OBJ | |||
| 65 | SRCS+= x86cpuid.S | 68 | SRCS+= x86cpuid.S |
| 66 | GENERATED+=x86cpuid.S | 69 | GENERATED+=x86cpuid.S |
| 67 | 70 | ||
| 68 | x86cpuid.S: ${LCRYPTO_SRC}/x86cpuid.pl ${LCRYPTO_SRC}/perlasm/x86gas.pl | 71 | x86cpuid.S: ${LCRYPTO_SRC}/x86cpuid.pl ${EXTRA_PL} |
| 69 | /usr/bin/perl -I${LCRYPTO_SRC}/perlasm ${LCRYPTO_SRC}/x86cpuid.pl \ | 72 | /usr/bin/perl -I${LCRYPTO_SRC}/perlasm ${LCRYPTO_SRC}/x86cpuid.pl \ |
| 70 | openbsd-elf ${CFLAGS} 386 ${PICFLAG} > ${.TARGET} | 73 | openbsd-elf ${CFLAGS} 386 ${PICFLAG} > ${.TARGET} |
