summaryrefslogtreecommitdiff
path: root/Makefile.SH
diff options
context:
space:
mode:
authorBrian Fraser <fraserbn@gmail.com>2013-11-13 02:47:14 -0300
committerBrian Fraser <fraserbn@gmail.com>2014-01-22 13:08:22 -0300
commit3c32af271d49f3c027fd33194d2508a5bf362931 (patch)
tree81adcb75b0c6fcd9840b8fa7bdcd0bc74e14b482 /Makefile.SH
parent611cf9572dcb0f33e095beba6939bc42115e302a (diff)
downloadperl-3c32af271d49f3c027fd33194d2508a5bf362931.tar.gz
Makefile.SH: Remove remnants of the old cross-compilation model
Diffstat (limited to 'Makefile.SH')
-rwxr-xr-xMakefile.SH35
1 files changed, 1 insertions, 34 deletions
diff --git a/Makefile.SH b/Makefile.SH
index 700a371a4d..d86953ab2a 100755
--- a/Makefile.SH
+++ b/Makefile.SH
@@ -20,16 +20,7 @@ case $PERL_CONFIG_SH in
;;
esac
-case $CROSS_NAME in
-'')
- Makefile=Makefile
- ;;
-*)
- # if cross-compilation, the Makefile named accordingly
- Makefile=Makefile-cross-$CROSS_NAME
- . Cross/config-${CROSS_NAME}.sh
- ;;
-esac
+Makefile=Makefile
: This forces SH files to create target in same directory as SH file.
: This is so that make depend always knows where to find SH derivatives.
@@ -425,8 +416,6 @@ EOF
;;
esac
-case $CROSS_NAME in
-'')
## In the following dollars and backticks do not need the extra backslash.
$spitshell >>$Makefile <<'!NO!SUBS!'
@@ -441,28 +430,6 @@ CONFIGPOD = lib/Config.pod
CONFIGH = config.h
!NO!SUBS!
- ;;
-*)
- # if cross-compilation
-$spitshell >>$Makefile <<!GROK!THIS!
-CROSS_NAME = $CROSS_NAME
-CROSS_LIB = xlib/$CROSS_NAME
-
-CCCMD = \`sh \$(shellflags) cflags-cross-$CROSS_NAME "optimize='\$(OPTIMIZE)'" \$@\` -I\$(CROSS_LIB)
-CCCMDSRC = \`sh \$(shellflags) cflags-cross-$CROSS_NAME "optimize='\$(OPTIMIZE)'" \$<\` -I\$(CROSS_LIB)
-CONFIGPM = xlib/\$(CROSS_NAME)/Config.pm
-CONFIGPOD = xlib/\$(CROSS_NAME)/Config.pod
-CONFIGH = xconfig.h
-
-xconfig.h: config_h.SH Cross/config-\$(CROSS_NAME).sh
- CONFIG_SH=Cross/config-\$(CROSS_NAME).sh CONFIG_H=xconfig.h \$(SHELL) config_h.SH
- #TODO \$(LDLIBPTH) ./miniperl$(EXE_EXT) -Ilib -MCross=\$(CROSS_NAME) config_h.PL "INST_VER=\$(INST_VER)" "CORE_DIR=\$(CROSS_LIB)" "CONFIG_H=xconfig.h"
- cp xconfig.h \$(CROSS_LIB)/
- cp xconfig.h \$(CROSS_LIB)/config.h
-
-!GROK!THIS!
- ;;
-esac
SH_to_target() {
echo $@ | sed -e s/\\\.SH//g -e s/_/./g