summaryrefslogtreecommitdiff
path: root/cygwin
diff options
context:
space:
mode:
authorGurusamy Sarathy <gsar@cpan.org>1999-12-28 02:05:23 +0000
committerGurusamy Sarathy <gsar@cpan.org>1999-12-28 02:05:23 +0000
commitbd0dd1d83c04650dba1d85f284d68152ddb80c5c (patch)
treee2aae2978fd532bd184bb93595585cf5b4b7b8cb /cygwin
parent9a7dcd9c47ba9757eae19d3e3965b387f5197198 (diff)
downloadperl-bd0dd1d83c04650dba1d85f284d68152ddb80c5c.tar.gz
miniperl build fixes for os2 (from Yitzchak Scott-Thoennes
<sthoenna@efn.org>); add explicit target for opmini.o p4raw-id: //depot/perl@4710
Diffstat (limited to 'cygwin')
-rw-r--r--cygwin/Makefile.SHs13
1 files changed, 7 insertions, 6 deletions
diff --git a/cygwin/Makefile.SHs b/cygwin/Makefile.SHs
index 466afdabf3..d466bdea52 100644
--- a/cygwin/Makefile.SHs
+++ b/cygwin/Makefile.SHs
@@ -124,10 +124,9 @@ $(LIBPERL)$(LIB_EXT): $& perl$(OBJ_EXT) $(cwobj) ld2
# build problems but that's not obvious to the novice.
# The Module used here must not depend on Config or any extensions.
-miniperl: $& miniperlmain$(OBJ_EXT) $(LIBPERL)s$(LIB_EXT)
- $(CCCMD) $(PLDLFLAGS) -DPERL_EXTERNAL_GLOB -o opmini$(OBJ_EXT) op.c
+miniperl: $& miniperlmain$(OBJ_EXT) $(LIBPERL)s$(LIB_EXT) opmini$(OBJ_EXT)
$(LDLIBPTH) $(CC) $(LARGE) $(CLDFLAGS) -o miniperl miniperlmain$(OBJ_EXT) opmini$(OBJ_EXT) $(LLIBPERL)s $(libs)
- $(LDLIBPTH) ./miniperl -w -Ilib -MExporter -e 0 || $(MAKE) minitest
+ $(LDLIBPTH) ./miniperl -w -Ilib -MExporter -e '<?>' || $(MAKE) minitest
!NO!SUBS!
;;
@@ -147,10 +146,9 @@ $(LIBPERL)$(LIB_EXT): $& perl$(OBJ_EXT) $(cwobj)
# build problems but that's not obvious to the novice.
# The Module used here must not depend on Config or any extensions.
-miniperl: $& miniperlmain$(OBJ_EXT) $(LIBPERL)$(LIB_EXT)
- $(CCCMD) $(PLDLFLAGS) -DPERL_EXTERNAL_GLOB -o opmini$(OBJ_EXT) op.c
+miniperl: $& miniperlmain$(OBJ_EXT) $(LIBPERL)$(LIB_EXT) opmini$(OBJ_EXT)
$(LDLIBPTH) $(CC) $(LARGE) $(CLDFLAGS) -o miniperl miniperlmain$(OBJ_EXT) opmini$(OBJ_EXT) $(LLIBPERL) $(libs)
- $(LDLIBPTH) ./miniperl -w -Ilib -MExporter -e 0 || $(MAKE) minitest
+ $(LDLIBPTH) ./miniperl -w -Ilib -MExporter -e '<?>' || $(MAKE) minitest
!NO!SUBS!
;;
@@ -161,6 +159,9 @@ esac
#
$spitshell >>Makefile <<'!NO!SUBS!'
+opmini$(OBJ_EXT) : op.c
+ $(CCCMD) $(PLDLFLAGS) -DPERL_EXTERNAL_GLOB -o opmini$(OBJ_EXT) op.c
+
perl: $& perlmain$(OBJ_EXT) $(LIBPERL)$(LIB_EXT) $(DYNALOADER) $(static_ext) ext.libs
$(SHRPENV) $(LDLIBPTH) $(CC) $(LARGE) $(CLDFLAGS) $(CCDLFLAGS) -o perl perlmain$(OBJ_EXT) $(DYNALOADER) $(static_ext) $(LLIBPERL) `cat ext.libs` $(libs)