Tag: cws_ood680_os2port01
User: ydario
Date: 2006/12/28 07:03:44
Modified:
gsl/rsc/source/prj/makefile.mk
gsl/rsc/source/prj/start.cxx
gsl/rsc/source/rscpp/cpp3.c
gsl/rsc/source/rscpp/makefile.mk
Log:
OS/2 initial import.
File Changes:
Directory: /gsl/rsc/source/prj/
===============================
File [changed]: makefile.mk
Url:
http://gsl.openoffice.org/source/browse/gsl/rsc/source/prj/makefile.mk?r1=1.3&r2=1.3.42.1
Delta lines: +3 -5
-------------------
--- makefile.mk 7 Apr 2006 16:33:34 -0000 1.3
+++ makefile.mk 28 Dec 2006 15:03:41 -0000 1.3.42.1
@@ -4,9 +4,9 @@
#
# $RCSfile: makefile.mk,v $
#
-# $Revision: 1.3 $
+# $Revision: 1.3.42.1 $
#
-# last change: $Author: vg $ $Date: 2006/04/07 16:33:34 $
+# last change: $Author: ydario $ $Date: 2006/12/28 15:03:41 $
#
# The Contents of this file are made available subject to
# the terms of GNU Lesser General Public License Version 2.1.
@@ -60,7 +60,6 @@
APP1STDLIBS=$(TOOLSLIB) $(I18NISOLANGLIB) $(VOSLIB) $(SALLIB) # $(RTLLIB)
APP1LIBS= $(LIBPRE) $(LB)$/rsctoo.lib
APP1OBJS= $(OBJ)$/start.obj
-APP1STACK=64000
.IF "$(GUI)" != "OS2"
APP1STACK=32768
.ENDIF
@@ -91,7 +90,6 @@
$(LIBPRE) $(LB)$/rscrsc.lib \
$(LIBPRE) $(LB)$/rscmis.lib
APP2OBJS= $(OBJ)$/gui.obj
-APP2STACK=64000
.IF "$(GUI)" != "OS2"
APP2STACK=32768
.ENDIF
File [changed]: start.cxx
Url:
http://gsl.openoffice.org/source/browse/gsl/rsc/source/prj/start.cxx?r1=1.5&r2=1.5.46.1
Delta lines: +22 -6
--------------------
--- start.cxx 8 Sep 2005 13:52:24 -0000 1.5
+++ start.cxx 28 Dec 2006 15:03:41 -0000 1.5.46.1
@@ -4,9 +4,9 @@
*
* $RCSfile: start.cxx,v $
*
- * $Revision: 1.5 $
+ * $Revision: 1.5.46.1 $
*
- * last change: $Author: rt $ $Date: 2005/09/08 13:52:24 $
+ * last change: $Author: ydario $ $Date: 2006/12/28 15:03:41 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -51,7 +51,7 @@
#if defined ( OS2 ) && !defined ( GCC )
#include <direct.h>
#endif
-#ifndef CSET
+#if !defined ( CSET ) && !defined ( OS2 )
#include <dos.h>
#endif
#endif
@@ -150,7 +150,11 @@
pCmdL = &aRespCmdL;
for( i = 0; i < (int)(aNewCmdL.GetCount() -1); i++ )
{
+#ifdef OS2
+ fprintf( fRspFile, "%s\n", (const char
*)aNewCmdL.GetEntry( i ) );
+#else
fprintf( fRspFile, "%s ", (const char
*)aNewCmdL.GetEntry( i ) );
+#endif
}
fclose( fRspFile );
@@ -163,7 +167,7 @@
printf( "\n" );
}
-#if ((defined PM2 || defined WNT) && (defined TCPP || defined tcpp)) ||
defined UNX
+#if ((defined PM2 || defined WNT) && (defined TCPP || defined tcpp)) ||
defined UNX || defined OS2
nExit = spawnvp( P_WAIT, rPrePro.GetBuffer(), (char*
const*)pCmdL->GetBlock() );
#elif defined CSET
nExit = spawnvp( P_WAIT, (char*)rPrePro.GetBuffer(), char **) (const
char**)pCmdL->GetBlock() );
@@ -236,23 +240,35 @@
{
}
else
+#ifdef OS2
+ fprintf( fRspFile, "%s\n",
+#else
fprintf( fRspFile, "%s ",
+#endif
(const char
*)pCmdLine->GetEntry( i ) );
};
+#ifdef OS2
+ fprintf( fRspFile, "%s\n", aSrsName.GetBuffer() );
+#else
fprintf( fRspFile, aSrsName.GetBuffer() );
+#endif
pString = pInputList->First();
while( pString )
{
+#ifdef OS2
+ fprintf( fRspFile, "%s\n", pString->GetBuffer() );
+#else
fprintf( fRspFile, " %s", pString->GetBuffer() );
+#endif
pString = pInputList->Next();
};
fclose( fRspFile );
};
-#if ((defined PM2 || defined WNT) && (defined TCPP || defined tcpp)) ||
defined UNX
+#if ((defined PM2 || defined WNT) && (defined TCPP || defined tcpp)) ||
defined UNX || defined OS2
nExit = spawnvp( P_WAIT, aRsc2Name.GetBuffer(), (char*
const*)aNewCmdL.GetBlock() );
#elif defined CSET
nExit = spawnvp( P_WAIT, (char*)aRsc2Name.GetBuffer(), (char **)(const
char**)aNewCmdL.GetBlock() );
Directory: /gsl/rsc/source/rscpp/
=================================
File [changed]: cpp3.c
Url:
http://gsl.openoffice.org/source/browse/gsl/rsc/source/rscpp/cpp3.c?r1=1.13&r2=1.13.22.1
Delta lines: +3 -3
-------------------
--- cpp3.c 22 Jun 2006 10:08:11 -0000 1.13
+++ cpp3.c 28 Dec 2006 15:03:41 -0000 1.13.22.1
@@ -4,9 +4,9 @@
*
* $RCSfile: cpp3.c,v $
*
- * $Revision: 1.13 $
+ * $Revision: 1.13.22.1 $
*
- * last change: $Author: hr $ $Date: 2006/06/22 10:08:11 $
+ * last change: $Author: ydario $ $Date: 2006/12/28 15:03:41 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -178,7 +178,7 @@
* verwendete knallte es in strcpy() !
*/
-#if !defined( ZTC ) && !defined( WNT ) && !defined(BLC) && ! defined UNX
+#if !defined( ZTC ) && !defined( WNT ) && !defined(BLC) && ! defined UNX && !
defined OS2
extern char *getenv( char *pStr ); /* BP */
#endif
char *pIncGetEnv = NULL; /* Pointer auf INCLUDE */
File [changed]: makefile.mk
Url:
http://gsl.openoffice.org/source/browse/gsl/rsc/source/rscpp/makefile.mk?r1=1.6&r2=1.6.44.1
Delta lines: +6 -4
-------------------
--- makefile.mk 28 Feb 2006 16:17:13 -0000 1.6
+++ makefile.mk 28 Dec 2006 15:03:42 -0000 1.6.44.1
@@ -4,9 +4,9 @@
#
# $RCSfile: makefile.mk,v $
#
-# $Revision: 1.6 $
+# $Revision: 1.6.44.1 $
#
-# last change: $Author: kz $ $Date: 2006/02/28 16:17:13 $
+# last change: $Author: ydario $ $Date: 2006/12/28 15:03:42 $
#
# The Contents of this file are made available subject to
# the terms of GNU Lesser General Public License Version 2.1.
@@ -70,7 +70,9 @@
LIBSALCPPRT=$(0)
APP1TARGET= $(TARGET)
APP1LIBS=$(LB)$/$(TARGET).lib
-APP1STACK= 32768
+.IF "$(GUI)" != "OS2"
+APP1STACK=32768
+.ENDIF
.ENDIF
.IF "$(GUI)"=="UNX"
|