summaryrefslogtreecommitdiff
path: root/scp2
diff options
context:
space:
mode:
authorFridrich Štrba <fridrich.strba@bluewin.ch>2012-02-22 10:12:42 +0100
committerFridrich Štrba <fridrich.strba@bluewin.ch>2012-02-22 10:12:42 +0100
commit91f255df4e526bc9045793b52005339eb5aba39f (patch)
tree3f1835b15484bd125d3c3ffbb7541d3c97a288ff /scp2
parent33eefb2c5e15b6eb69629632cf5dc7c2f3452df8 (diff)
Separate stdlib package (work in progress)
Diffstat (limited to 'scp2')
-rw-r--r--scp2/source/ooo/makefile.mk1
-rw-r--r--scp2/source/ooo/stdlib.scp59
-rw-r--r--scp2/source/ooo/ure.scp30
3 files changed, 60 insertions, 30 deletions
diff --git a/scp2/source/ooo/makefile.mk b/scp2/source/ooo/makefile.mk
index 244cf558d9df..08ba316e2b96 100644
--- a/scp2/source/ooo/makefile.mk
+++ b/scp2/source/ooo/makefile.mk
@@ -328,6 +328,7 @@ PARFILES= \
profile_ooo.par \
profileitem_ooo.par \
ure.par \
+ stdlib.par \
ure_into_ooo.par \
ure_standalone.par \
common_brand.par \
diff --git a/scp2/source/ooo/stdlib.scp b/scp2/source/ooo/stdlib.scp
new file mode 100644
index 000000000000..700b35b10063
--- /dev/null
+++ b/scp2/source/ooo/stdlib.scp
@@ -0,0 +1,59 @@
+/*************************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************/
+
+#include "macros.inc"
+
+#if defined _gcc3 && !(defined FREEBSD || defined NETBSD || defined OPENBSD \
+ || defined MACOSX || defined SYSTEM_STDLIBS || defined(WNT) || defined(DRAGONFLY))
+File gid_File_Dl_GccS
+ LIB_FILE_BODY;
+ Dir = SCP2_URE_DL_DIR;
+#ifdef AIX
+ Name = "libgcc_s.a";
+#else
+ Name = SCP2_URE_DL_VER("gcc_s", STRING(SHORTSTDC3));
+#endif
+ Styles = (PACKED, VERSION_INDEPENDENT_COMP_ID);
+ // CompID = "C601D04B-2194-4F1B-BB09-7B4930D6E1DB";
+End
+#endif
+
+#if defined _gcc3 && !(defined FREEBSD || defined NETBSD || defined OPENBSD \
+ || defined MACOSX || defined SYSTEM_STDLIBS || defined(WNT) || defined(DRAGONFLY))
+File gid_File_Dl_Stdcpp
+ Dir = SCP2_URE_DL_DIR;
+ LIB_FILE_BODY;
+#ifdef AIX
+ Name = "libstdc++.a";
+#else
+ Name = SCP2_URE_DL_VER("stdc++", STRING(SHORTSTDCPP3));
+#endif
+ Styles = (PACKED, VERSION_INDEPENDENT_COMP_ID);
+ // CompID = "89740D6A-38EE-41AF-A6A2-A8F7ABBE4996";
+End
+#endif
+
diff --git a/scp2/source/ooo/ure.scp b/scp2/source/ooo/ure.scp
index 3667ed4c09e7..6993a796e614 100644
--- a/scp2/source/ooo/ure.scp
+++ b/scp2/source/ooo/ure.scp
@@ -880,36 +880,6 @@ File gid_File_Dl_Stlport
End
#endif
-#if defined _gcc3 && !(defined FREEBSD || defined NETBSD || defined OPENBSD \
- || defined MACOSX || defined SYSTEM_STDLIBS || defined(WNT) || defined(DRAGONFLY))
-File gid_File_Dl_GccS
- LIB_FILE_BODY;
- Dir = SCP2_URE_DL_DIR;
-#ifdef AIX
- Name = "libgcc_s.a";
-#else
- Name = SCP2_URE_DL_VER("gcc_s", STRING(SHORTSTDC3));
-#endif
- Styles = (PACKED, VERSION_INDEPENDENT_COMP_ID);
- // CompID = "C601D04B-2194-4F1B-BB09-7B4930D6E1DB";
-End
-#endif
-
-#if defined _gcc3 && !(defined FREEBSD || defined NETBSD || defined OPENBSD \
- || defined MACOSX || defined SYSTEM_STDLIBS || defined(WNT) || defined(DRAGONFLY))
-File gid_File_Dl_Stdcpp
- Dir = SCP2_URE_DL_DIR;
- LIB_FILE_BODY;
-#ifdef AIX
- Name = "libstdc++.a";
-#else
- Name = SCP2_URE_DL_VER("stdc++", STRING(SHORTSTDCPP3));
-#endif
- Styles = (PACKED, VERSION_INDEPENDENT_COMP_ID);
- // CompID = "89740D6A-38EE-41AF-A6A2-A8F7ABBE4996";
-End
-#endif
-
#if defined(WNT) && defined( _gcc3 )
#if defined(MINGW_GCCDLL)