summaryrefslogtreecommitdiff
path: root/dmake
diff options
context:
space:
mode:
authorVladimir Glazounov <vg@openoffice.org>2007-09-20 13:33:40 +0000
committerVladimir Glazounov <vg@openoffice.org>2007-09-20 13:33:40 +0000
commit7fccbf5549aecb01979b1c53663f919fcad421ea (patch)
tree54afa23849dfd074e68b1e3f820c9a1991fe9976 /dmake
parent8c02c8ac1f9c20c9b9e7e92760a8d99e7c06b4ae (diff)
INTEGRATION: CWS os2port01 (1.1.1.1.162); FILE MERGED
2006/12/28 14:54:33 ydario 1.1.1.1.162.1: OS/2 initial import.
Diffstat (limited to 'dmake')
-rwxr-xr-xdmake/make.cmd14
1 files changed, 11 insertions, 3 deletions
diff --git a/dmake/make.cmd b/dmake/make.cmd
index ba209a24a3c3..0edcbfba4d3b 100755
--- a/dmake/make.cmd
+++ b/dmake/make.cmd
@@ -1,5 +1,5 @@
-echo off
-cls
+@echo off
+rem cls
rem *** This is the make command file that is used under OS/2 to make the
rem *** first version of dmake. It isn't pretty but it does work, assuming
rem *** the compilers have been correctly setup.
@@ -7,6 +7,7 @@ rem
if %0%1 == %0 goto error
+if %1 == os2-gcc goto mkgcc
if %1 == os2-ibm goto mkibm
if %1 == os2-ibm3 goto mkibm3
if %1 == winnt-bcc40 goto mkwntb40
@@ -19,6 +20,7 @@ rem label the possible DOS variations for dmake here.
:error
echo OS/2 INDEX: You must specify one of:
echo ------------------
+echo os2-gcc - GCC (innotek/emx) compile.
echo os2-ibm - IBM OS/2 ICC compile.
echo os2-ibm3 - IBM OS/2 ICC3 compile.
echo winnt-bcc40 - Windows-NT Borland C++ 4.0 Compile
@@ -27,6 +29,11 @@ echo winnt-bcc50 - Windows-NT Borland C++ 5.0 Compile
echo winnt-vpp40 - Windows-NT Microsoft VC++ 4.0 Compile
goto end
+rem This is the script that bilds OS/2 dmake using GCC (innotek/emx)
+:mkgcc
+call os2\gcc\emx\mk.cmd
+goto end
+
rem This is the script that bilds OS/2 dmake using IBM ICC Compiler
:mkibm
os2\ibm\icc\mk.cmd
@@ -98,5 +105,6 @@ goto end
winnt\microsft\vpp40\mk.bat
goto end
-rem All done!
:end
+REM dllrname libc06r1=libc06y1 dmake.exe
+echo All done!