summaryrefslogtreecommitdiff
path: root/scp2/inc
diff options
context:
space:
mode:
authorVladimir Glazounov <vg@openoffice.org>2009-08-25 13:07:56 +0000
committerVladimir Glazounov <vg@openoffice.org>2009-08-25 13:07:56 +0000
commit412727e371b974b89f75924b6547b54ad19ace41 (patch)
tree7829569700e096d820afa99583430ce6c97d642b /scp2/inc
parent8376996e6553f0026390e64fbc1fd21106bf308b (diff)
CWS-TOOLING: integrate CWS sb110
2009-08-05 15:28:43 +0200 sb r274677 : CWS-TOOLING: rebase CWS sb110 to trunk@274622 (milestone: DEV300:m54) 2009-08-05 11:46:36 +0200 sb r274646 : #i104018# fixed previous svn changeset 271712 (from issue 101244) 2009-07-20 14:41:56 +0200 sb r274138 : CWS-TOOLING: rebase CWS sb110 to trunk@273858 (milestone: DEV300:m52) 2009-06-02 11:42:17 +0200 sb r272489 : CWS-TOOLING: rebase CWS sb110 to trunk@272291 (milestone: DEV300:m49) 2009-05-08 12:46:51 +0200 sb r271712 : #i101244# after DLLs have been moved from basis to brand layer on Windows, code that used SvtPathOptions::GetModulePath to located libraries had to be adapted 2009-05-08 10:10:43 +0200 sb r271703 : #i101244# for performance reasons, on Windows move DLLs from basis to brand layer (i.e., next to executables); consequently eliminated some library duplications across the layers; adapted various code to the move 2009-05-08 09:54:44 +0200 sb r271702 : #i101244# hardwire Python dynamic libraries and script files into base layer (even if other dynamic libraries will move to brand layer on Windows), mainly because the pyuno dynamic library is both linked against from other dynamic libraries (pythonloader.uno) and accessed via "import pyuno" from Python scripts 2009-05-07 17:18:30 +0200 sb r271686 : #i101244# support NativeServicesURLPrefix on individual files; to implement that, changed meaning of global unomaxservices 2009-05-07 17:15:24 +0200 sb r271685 : #i101244# take legacy_binfilters.rdb explicitly from $OOO_BASE_DIR/program (instead of implicitly next to some dynamic library); cleaned up dead code 2009-05-07 17:12:12 +0200 sb r271684 : #i101244# take senddoc.exe explicitly from $OOO_BASE_DIR/program (instead of implicitly next to some dynamic library) 2009-05-07 17:11:33 +0200 sb r271683 : #i101244# take odbcconfig.exe explicitly from $OOO_BASE_DIR/program (instead of implicitly next to some dynamic library) 2009-05-07 17:09:44 +0200 sb r271682 : #i101244# read configmgr ini file explicitly from $OOO_BASE_DIR/program (instead of next to configmgr dynamic library)
Diffstat (limited to 'scp2/inc')
-rw-r--r--scp2/inc/macros.inc18
1 files changed, 12 insertions, 6 deletions
diff --git a/scp2/inc/macros.inc b/scp2/inc/macros.inc
index cdbc6f8ce20d..7d9cdbd1d027 100644
--- a/scp2/inc/macros.inc
+++ b/scp2/inc/macros.inc
@@ -85,6 +85,12 @@
#define EXTRAFILENAME(name,lang) STRING(CONCAT3(name,lang,.zip))
#define CONFIGLANGFILENAME(name,lang,ext) STRING(CONCAT4(name,lang,.,ext))
+#if defined WNT
+#define SCP2_OOO_BIN_DIR gid_Brand_Dir_Program
+#else
+#define SCP2_OOO_BIN_DIR gid_Dir_Program
+#endif
+
#define BIN_FILE_BODY \
UnixRights = 555
@@ -121,12 +127,12 @@
#define PACKED_LIB_FILE_BODY \
TXT_FILE_BODY; \
Styles = (PACKED); \
- Dir = gid_Dir_Program
+ Dir = SCP2_OOO_BIN_DIR
#define PACKED_LIB_FILE_BODY_PATCH \
TXT_FILE_BODY; \
Styles = (PACKED,PATCH); \
- Dir = gid_Dir_Program
+ Dir = SCP2_OOO_BIN_DIR
#define PACKED_FILTER_FILE_BODY \
TXT_FILE_BODY; \
@@ -307,13 +313,13 @@
#define PACKED_UNO_LIB_FILE_BODY \
TXT_FILE_BODY; \
Styles = (PACKED,UNO_COMPONENT); \
- Dir = gid_Dir_Program; \
+ Dir = SCP2_OOO_BIN_DIR; \
RegistryID = gid_Starregistry_Services_Rdb
#define PACKED_UNO_LIB_FILE_BODY_PATCH \
TXT_FILE_BODY; \
Styles = (PACKED,UNO_COMPONENT,PATCH); \
- Dir = gid_Dir_Program; \
+ Dir = SCP2_OOO_BIN_DIR; \
RegistryID = gid_Starregistry_Services_Rdb
#define STD_UNO_LIB_FILE(id,name) \
@@ -374,7 +380,7 @@
File id \
TXT_FILE_BODY; \
Name = LIBNAME(name); \
- Dir = gid_Dir_Program; \
+ Dir = SCP2_OOO_BIN_DIR; \
Styles = (PACKED, NO_WARNING_IF_NOT_EXISTS); \
End
@@ -382,7 +388,7 @@
File id \
TXT_FILE_BODY; \
Name = LIBNAME(name); \
- Dir = gid_Dir_Program; \
+ Dir = SCP2_OOO_BIN_DIR; \
Styles = (PACKED, NO_WARNING_IF_NOT_EXISTS, UNO_COMPONENT); \
RegistryID = gid_Starregistry_Services_Rdb; \
End