In the unified scheme, there is no $(TOP), use $(SRCDIR) instead
[openssl.git] / crypto / rc4 / build.info
index f2c4e2a68b989510438f1b1d9c1b9e4cda0c12cb..8d63bab70c34059ce9bdc1537e108c98b513aa53 100644 (file)
@@ -4,21 +4,21 @@ SOURCE[../../libcrypto]=\
 
 BEGINRAW[Makefile]
 {- $builddir -}/rc4-586.s:     {- $sourcedir -}/asm/rc4-586.pl {- $sourcetop -}/crypto/perlasm/x86asm.pl
-       $(PERL) {- $sourcedir -}/asm/rc4-586.pl $(PERLASM_SCHEME) $(CFLAGS) $(PROCESSOR) > $@
+       CC="$(CC)" $(PERL) {- $sourcedir -}/asm/rc4-586.pl $(PERLASM_SCHEME) $(CFLAGS) $(PROCESSOR) > $@
 
 {- $builddir -}/rc4-x86_64.s: {- $sourcedir -}/asm/rc4-x86_64.pl
-       $(PERL) {- $sourcedir -}/asm/rc4-x86_64.pl $(PERLASM_SCHEME) > $@
+       CC="$(CC)" $(PERL) {- $sourcedir -}/asm/rc4-x86_64.pl $(PERLASM_SCHEME) > $@
 {- $builddir -}/rc4-md5-x86_64.s:      {- $sourcedir -}/asm/rc4-md5-x86_64.pl
-       $(PERL) {- $sourcedir -}/asm/rc4-md5-x86_64.pl $(PERLASM_SCHEME) > $@
+       CC="$(CC)" $(PERL) {- $sourcedir -}/asm/rc4-md5-x86_64.pl $(PERLASM_SCHEME) > $@
 
 {- $builddir -}/rc4-ia64.S: {- $sourcedir -}/asm/rc4-ia64.pl
-       $(PERL) {- $sourcedir -}/asm/rc4-ia64.pl $(CFLAGS) > $@
+       CC="$(CC)" $(PERL) {- $sourcedir -}/asm/rc4-ia64.pl $(CFLAGS) > $@
 
 {- $builddir -}/rc4-parisc.s:  {- $sourcedir -}/asm/rc4-parisc.pl
-       $(PERL) {- $sourcedir -}/asm/rc4-parisc.pl $(PERLASM_SCHEME) $@
+       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 ;; \
@@ -26,5 +26,5 @@ BEGINRAW[Makefile]
 
 # GNU make "catch all"
 {- $builddir -}/rc4-%.s:       {- $sourcedir -}/asm/rc4-%.pl
-       $(PERL) $< $(PERLASM_SCHEME) $@
+       CC="$(CC)" $(PERL) $< $(PERLASM_SCHEME) $@
 ENDRAW[Makefile]