summaryrefslogtreecommitdiff
path: root/Cross/Makefile-cross-SH
diff options
context:
space:
mode:
authorVadim Konovalov <vkonovalov@lucent.com>2007-06-09 21:41:44 +0200
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>2007-06-11 08:28:57 +0000
commit608969de9d8f7b5ff63543f0fb8b9f3bee668da2 (patch)
treed5b6cdb81d04cbcb9f88c43744235be1447ec6a5 /Cross/Makefile-cross-SH
parentfa06c9c1dceeb58bb75c4cd7ac36d5aaac6840a6 (diff)
downloadperl-608969de9d8f7b5ff63543f0fb8b9f3bee668da2.tar.gz
cross-compilation for linux
From: "Konovalov, Vadim Vladimirovich \(Vadim\)** CTR **" <vkonovalov@alcatel-lucent.com> Message-ID: <D16F05D0CAAA234BA2B753B80DE6100D278EBC@DEEXC1U02.de.lucent.com> p4raw-id: //depot/perl@31362
Diffstat (limited to 'Cross/Makefile-cross-SH')
-rwxr-xr-xCross/Makefile-cross-SH22
1 files changed, 8 insertions, 14 deletions
diff --git a/Cross/Makefile-cross-SH b/Cross/Makefile-cross-SH
index c910a9b4c8..bb1e0e32f9 100755
--- a/Cross/Makefile-cross-SH
+++ b/Cross/Makefile-cross-SH
@@ -327,9 +327,7 @@ CCCMDSRC = \`sh \$(shellflags) cflags-cross-${CROSS_NAME} "optimize='\$(OPTIMIZE
## In the following dollars and backticks do not need the extra backslash.
$spitshell >>$Makefile <<'!NO!SUBS!'
-XCOREDIR = ./xlib/$(CROSS_NAME)/CORE
-
-CONFIGPM = xlib/$(CROSS_NAME)/Config.pm xlib/$(CROSS_NAME)/Config_heavy.pl
+CONFIGPM = xlib/$(CROSS_NAME)/Config.pm
private = preplibrary $(CONFIGPM) $(CROSS_LIB)/Config.pod
@@ -766,17 +764,11 @@ makeppport: miniperl$(EXE_EXT) $(CONFIGPM)
$(LDLIBPTH) ./miniperl$(EXE_EXT) -Ilib mkppport
$(CROSS_LIB)/Config.pod: config.sh miniperl configpm Porting/Glossary
- $(LDLIBPTH) ./miniperl -Ilib configpm --cross=$(CROSS_NAME) --heavy=$(CROSS_LIB)/Config_heavy.pl
- #TODO $(XCOPY) ..\*.h $(XCOREDIR)\*.*
- #TODO $(XCOPY) ..\*.inc $(XCOREDIR)\*.*
- #TODO $(XCOPY) *.h $(XCOREDIR)\*.*
- #TODO $(XCOPY) ..\ext\re\re.pm $(LIBDIR)\*.*
- #TODO $(RCOPY) include $(XCOREDIR)\*.*
- #TODO $(LDLIBPTH) ./miniperl -Ilib -MCross=$(CROSS_NAME) config_h.PL "INST_VER=$(INST_VER)" "CORE_DIR=$(XCOREDIR)" "CONFIG_H=xconfig.h"
- #TODO cp xconfig.h $(CROSS_LIB)/config.h
- #TODO cp xconfig.h $(CROSS_LIB)/xconfig.h
-
-$(CONFIGPM): $(CROSS_LIB)/Config.pod
+ $(LDLIBPTH) ./miniperl -Ilib configpm --cross=$(CROSS_NAME)
+ cp *.h $(CROSS_LIB)/
+ cp ext/re/re.pm $(LIBDIR)/
+
+$(CONFIGPM): $(CROSS_LIB)/Config.pod xconfig.h
lib/re.pm: ext/re/re.pm
@-rm -f $@
@@ -1103,7 +1095,9 @@ config.h: config_h.SH config.sh
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 -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
# When done, touch perlmain.c so that it doesn't get remade each time.
.PHONY: depend