From 4418e0302f471750e643079a753ab43a2eb164b8 Mon Sep 17 00:00:00 2001 From: Richard Levitte Date: Thu, 18 Feb 2016 00:27:04 +0100 Subject: [PATCH 1/1] In the unified scheme, there is no $(TOP), use $(SRCDIR) instead Reviewed-by: Rich Salz --- crypto/bn/build.info | 4 ++-- crypto/build.info | 6 +++--- crypto/rc4/build.info | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/crypto/bn/build.info b/crypto/bn/build.info index 0a462a173f..a6b94c4142 100644 --- a/crypto/bn/build.info +++ b/crypto/bn/build.info @@ -71,9 +71,9 @@ BEGINRAW[Makefile] # GNU assembler fails to compile PA-RISC2 modules, insist on calling # vendor assembler... {- $builddir -}/pa-risc2W.o: {- $sourcedir -}/asm/pa-risc2W.s - CC="$(CC)" $(PERL) $(TOP)/util/fipsas.pl $(TOP) $< /usr/ccs/bin/as -o pa-risc2W.o {- $sourcedir -}/asm/pa-risc2W.s + CC="$(CC)" $(PERL) $(SRCDIR)/util/fipsas.pl $(SRCDIR) $< /usr/ccs/bin/as -o pa-risc2W.o {- $sourcedir -}/asm/pa-risc2W.s {- $builddir -}/pa-risc2.o: {- $sourcedir -}/asm/pa-risc2.s - CC="$(CC)" $(PERL) $(TOP)/util/fipsas.pl $(TOP) $< /usr/ccs/bin/as -o pa-risc2.o {- $sourcedir -}/asm/pa-risc2.s + CC="$(CC)" $(PERL) $(SRCDIR)/util/fipsas.pl $(SRCDIR) $< /usr/ccs/bin/as -o pa-risc2.o {- $sourcedir -}/asm/pa-risc2.s {- $builddir -}/parisc-mont.s: {- $sourcedir -}/asm/parisc-mont.pl CC="$(CC)" $(PERL) {- $sourcedir -}/asm/parisc-mont.pl $(PERLASM_SCHEME) $@ diff --git a/crypto/build.info b/crypto/build.info index 736079c296..507e998fc5 100644 --- a/crypto/build.info +++ b/crypto/build.info @@ -22,13 +22,13 @@ crypto/buildinf.h : Makefile ##### APPLINK, UPLINK and CPUID assembler implementations {- $builddir -}/applink.o: $(SRCDIR)/ms/applink.c - $(CC) $(CFLAGS) -c -o $@ $(TOP)/ms/applink.c + $(CC) $(CFLAGS) -c -o $@ $(SRCDIR)/ms/applink.c {- $builddir -}/uplink.o: $(SRCDIR)/ms/uplink.c {- $builddir -}/applink.o - $(CC) $(CFLAGS) -c -o $@ $(TOP)/ms/uplink.c + $(CC) $(CFLAGS) -c -o $@ $(SRCDIR)/ms/uplink.c {- $builddir -}/uplink-x86.s: $(SRCDIR)/ms/uplink-x86.pl - CC="$(CC)" $(PERL) $(TOP)/ms/uplink-x86.pl $(PERLASM_SCHEME) > $@ + CC="$(CC)" $(PERL) $(SRCDIR)/ms/uplink-x86.pl $(PERLASM_SCHEME) > $@ {- $builddir -}/x86cpuid.s: {- $sourcedir -}/x86cpuid.pl {- $sourcedir -}/perlasm/x86asm.pl CC="$(CC)" $(PERL) {- $sourcedir -}/x86cpuid.pl $(PERLASM_SCHEME) $(CFLAGS) $(PROCESSOR) > $@ diff --git a/crypto/rc4/build.info b/crypto/rc4/build.info index ea83e368a8..8d63bab70c 100644 --- a/crypto/rc4/build.info +++ b/crypto/rc4/build.info @@ -18,7 +18,7 @@ BEGINRAW[Makefile] CC="$(CC)" $(PERL) {- $sourcedir -}/asm/rc4-parisc.pl $(PERLASM_SCHEME) $@ {- $builddir -}/rc4-ia64.s: rc4-ia64.S - @case `awk '/^#define RC4_INT/{print$$NF}' $(TOP)/include/openssl/opensslconf.h` in \ + @case `awk '/^#define RC4_INT/{print$$NF}' $(SRCDIR)/include/openssl/opensslconf.h` in \ int) set -x; $(CC) $(CFLAGS) -DSZ=4 -E rc4-ia64.S > $@ ;; \ char) set -x; $(CC) $(CFLAGS) -DSZ=1 -E rc4-ia64.S > $@ ;; \ *) exit 1 ;; \ -- 2.34.1