summaryrefslogtreecommitdiff
path: root/os2/Makefile.SHs
diff options
context:
space:
mode:
authorIlya Zakharevich <ilya@math.berkeley.edu>2002-02-11 01:56:41 -0500
committerJarkko Hietaniemi <jhi@iki.fi>2002-02-11 14:32:12 +0000
commita64c954a1bae6e00706f368c6d1ae9d131a4361d (patch)
treec106c6ba370e9bb68f72fff73689ed5f483e9075 /os2/Makefile.SHs
parenta77eafec20d39a9432a97557c1161fb77fdf7f3d (diff)
downloadperl-a64c954a1bae6e00706f368c6d1ae9d131a4361d.tar.gz
OS/2 build
Message-ID: <20020211065640.A14993@math.ohio-state.edu> (sans the Configure, perlio.sym, and t/op/stat.t parts) p4raw-id: //depot/perl@14641
Diffstat (limited to 'os2/Makefile.SHs')
-rw-r--r--os2/Makefile.SHs7
1 files changed, 6 insertions, 1 deletions
diff --git a/os2/Makefile.SHs b/os2/Makefile.SHs
index 9c44823a21..23f6eadf06 100644
--- a/os2/Makefile.SHs
+++ b/os2/Makefile.SHs
@@ -55,6 +55,7 @@ AOUT_EXTRA_LIBS = $aout_extra_libs
!GROK!THIS!
$spitshell >>Makefile <<'!NO!SUBS!'
+PREPLIBRARY_LIBPERL = $(LIBPERL)
$(LIBPERL): perl.imp $(PERL_DLL) perl5.def libperl_override.lib
emximp -o $(LIBPERL) perl.imp
cp $(LIBPERL) perl.lib
@@ -126,7 +127,11 @@ perl.linkexp: perl.exports perl.map os2/os2.sym
# We link miniperl statically, since .DLL depends on $(DYNALOADER)
-miniperl.map miniperl: $(obj) perl$(OBJ_EXT) miniperlmain$(OBJ_EXT) opmini$(OBJ_EXT)
+miniperl.map: miniperl
+
+miniperl.exe: miniperl
+
+miniperl: $(obj) perl$(OBJ_EXT) miniperlmain$(OBJ_EXT) opmini$(OBJ_EXT)
$(CC) $(CLDFLAGS) -o miniperl miniperlmain$(OBJ_EXT) perl$(OBJ_EXT) `echo $(obj)|sed -e 's/\bop\./opmini./g'` $(libs) -Zmap -Zlinker /map/PM:VIO
@./miniperl -w -Ilib -MExporter -e '<?>' || $(MAKE) minitest