Changeset 3372 in vbox for trunk/src/libs/xpcom18a4
- Timestamp:
- Jul 3, 2007 1:05:50 AM (18 years ago)
- Location:
- trunk/src/libs/xpcom18a4
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/libs/xpcom18a4/Makefile.kmk
r3367 r3372 47 47 TEMPLATE_XPCOM_CFLAGS.l4 = -nostdinc 48 48 TEMPLATE_XPCOM_CFLAGS.linux = -pthread -ansi 49 TEMPLATE_XPCOM_DEFS = MOZILLA_CLIENT=1 NDEBUG=1 _IMPL_NS_COM 49 TEMPLATE_XPCOM_DEFS = MOZILLA_CLIENT=1 NDEBUG=1 _IMPL_NS_COM \ 50 XPCOM_DLL_BASE=\"$(basename $(notdir $(LIB_XPCOM)))\" \ 51 MOZ_DLL_SUFFIX=\"$(suffix $(LIB_XPCOM))\" 50 52 TEMPLATE_XPCOM_DEFS.x86 = i386=1 51 53 TEMPLATE_XPCOM_DEFS.amd64 = HAVE_VA_LIST_AS_ARRAY HAVE_VA_COPY VA_COPY\(a\,b\)=__builtin_va_copy\(a\,b\) 52 TEMPLATE_XPCOM_DEFS.darwin = OSTYPE=\"Darwin8.8.1\" OSARCH=\"Darwin\" MOZ_DLL_SUFFIX=\".dylib\" XP_UNIX=1 XP_MACOSX=1 TARGET_CARBON=1 HAVE_VISIBILITY_ATTRIBUTE=1 53 TEMPLATE_XPCOM_DEFS.linux = OSTYPE=\"Linux2.6\" OSARCH=\"Linux\" MOZ_DLL_SUFFIX=\".so\" XP_UNIX=1 _GNU_SOURCE HAVE_VISIBILITY_ATTRIBUTE=1 54 TEMPLATE_XPCOM_DEFS.l4 = OSTYPE=\"L4ENV\" OSARCH=\"L4\" MOZ_DLL_SUFFIX=\".s.so\" XP_UNIX=1 L4ENV HAVE_VISIBILITY_ATTRIBUTE=1 55 TEMPLATE_XPCOM_DEFS.os2 = OSTYPE=\"OS/2\ 4.5\" OSARCH=\"OS/2\" MOZ_DLL_SUFFIX=\".dll\" XP_OS2 XP_PC BSD_SELECT TCPV40HDRS 54 TEMPLATE_XPCOM_DEFS.darwin = OSTYPE=\"Darwin8.8.1\" OSARCH=\"Darwin\" XP_UNIX=1 XP_MACOSX=1 TARGET_CARBON=1 HAVE_VISIBILITY_ATTRIBUTE=1 55 TEMPLATE_XPCOM_DEFS.linux = OSTYPE=\"Linux2.6\" OSARCH=\"Linux\" XP_UNIX=1 _GNU_SOURCE HAVE_VISIBILITY_ATTRIBUTE=1 56 TEMPLATE_XPCOM_DEFS.l4 = OSTYPE=\"L4ENV\" OSARCH=\"L4\" XP_UNIX=1 L4ENV HAVE_VISIBILITY_ATTRIBUTE=1 57 TEMPLATE_XPCOM_DEFS.os2 = OSTYPE=\"OS/2_4.5\" OSARCH=\"OS/2\" XP_OS2 XP_PC BSD_SELECT TCPV40HDRS 58 TEMPLATE_XPCOM_LIBPATH.os2 = $(PATH_EMXPGCC)/lib/tcpipv4 56 59 TEMPLATE_XPCOM_LDFLAGS.darwin = $(VBOXR3NP_LDFLAGS.darwin) \ 57 60 -fshort-wchar -fno-rtti -fno-exceptions -fpascal-strings \ … … 1055 1058 TEMPLATE_XPCOMIPC_EXTENDS = XPCOM 1056 1059 TEMPLATE_XPCOMIPC_DEFS = $(TEMPLATE_XPCOM_DEFS) BUILD_DCONNECT="1" 1060 TEMPLATE_XPCOMIPC_DEFS.win = $(TEMPLATE_XPCOM_DEFS.win) IPC_DAEMON_APP_NAME=\"VBoxXPCOMIPCD.exe\" 1061 TEMPLATE_XPCOMIPC_DEFS.darwin = $(TEMPLATE_XPCOM_DEFS.darwin) IPC_DAEMON_APP_NAME=\"VBoxXPCOMIPCD\" 1062 TEMPLATE_XPCOMIPC_DEFS.linux = $(TEMPLATE_XPCOM_DEFS.linux) IPC_DAEMON_APP_NAME=\"VBoxXPCOMIPCD\" 1063 TEMPLATE_XPCOMIPC_DEFS.l4 = $(TEMPLATE_XPCOM_DEFS.l4) IPC_DAEMON_APP_NAME=\"VBoxXPCOMIPCD\" 1064 TEMPLATE_XPCOMIPC_DEFS.os2 = $(TEMPLATE_XPCOM_DEFS.os2) IPC_DAEMON_APP_NAME=\"VBoxXPCOMIPCD.exe\" 1065 1057 1066 ifdef IPC_LOGGING 1058 1067 TEMPLATE_XPCOMIPC_DEFS += IN_RING3 IPC_LOGGING … … 1116 1125 ipc/ipcd/client/src/ipcService.cpp \ 1117 1126 ipc/ipcd/client/src/ipcModuleFactory.cpp \ 1118 ipc/ipcd/client/src/ipcConnectionUnix.cpp \1119 1127 ipc/ipcd/extensions/dconnect/src/ipcDConnectService.cpp 1128 VBoxXPCOMIPCC_SOURCES.win = \ 1129 ipc/ipcd/client/src/ipcConnectionWin.cpp 1130 VBoxXPCOMIPCC_SOURCES.darwin = \ 1131 ipc/ipcd/client/src/ipcConnectionUnix.cpp 1132 VBoxXPCOMIPCC_SOURCES.l4 = \ 1133 ipc/ipcd/client/src/ipcConnectionUnix.cpp 1134 VBoxXPCOMIPCC_SOURCES.linix = \ 1135 ipc/ipcd/client/src/ipcConnectionUnix.cpp 1136 VBoxXPCOMIPCC_SOURCES.os2 = \ 1137 ipc/ipcd/client/src/ipcConnectionUnix.cpp 1120 1138 VBoxXPCOMIPCC_LDFLAGS.darwin = -install_name @executable_path/components/VBoxXPCOMIPCC.dylib 1121 1139 VBoxXPCOMIPCC_LIBS = \ … … 1134 1152 ipc/ipcd/daemon/src/ipcClient.cpp \ 1135 1153 ipc/ipcd/daemon/src/ipcModuleReg.cpp \ 1136 ipc/ipcd/daemon/src/ipcCommandModule.cpp \ 1154 ipc/ipcd/daemon/src/ipcCommandModule.cpp 1155 VBoxXPCOMIPCD_SOURCES.win = \ 1156 ipc/ipcd/daemon/src/ipcdWin.cpp 1157 VBoxXPCOMIPCD_SOURCES.darwin = \ 1158 ipc/ipcd/daemon/src/ipcdUnix.cpp 1159 VBoxXPCOMIPCD_SOURCES.l4 = \ 1160 ipc/ipcd/daemon/src/ipcdUnix.cpp 1161 VBoxXPCOMIPCD_SOURCES.linux = \ 1162 ipc/ipcd/daemon/src/ipcdUnix.cpp 1163 VBoxXPCOMIPCD_SOURCES.os2 = \ 1137 1164 ipc/ipcd/daemon/src/ipcdUnix.cpp 1138 1165 -
trunk/src/libs/xpcom18a4/ipc/ipcd/shared/src/ipcConfig.cpp
r1 r3372 36 36 * ***** END LICENSE BLOCK ***** */ 37 37 38 #ifdef XP_WIN 38 #if defined(XP_WIN) 39 #elif defined(XP_OS2) && defined(XP_OS2_NATIVEIPC) 39 40 #else 40 41 #include <string.h> … … 44 45 #include "plstr.h" 45 46 46 #ifdef XP_OS2 47 #if defined(XP_OS2) && !defined(XP_OS2_NATIVEIPC) 48 #ifdef VBOX 49 static const char kDefaultSocketPrefix[] = "\\socket\\vbox-"; 50 #else 47 51 static const char kDefaultSocketPrefix[] = "\\socket\\mozilla-"; 52 #endif 48 53 static const char kDefaultSocketSuffix[] = "-ipc\\ipcd"; 49 54 #else -
trunk/src/libs/xpcom18a4/ipc/ipcd/shared/src/ipcConfig.h
r1 r3372 50 50 #define IPC_CLIENT_WINDOW_NAME_PREFIX "Mozilla:IPCAppWindow:" 51 51 #define IPC_SYNC_EVENT_NAME "Local\\MozillaIPCSyncEvent" 52 #ifndef IPC_DAEMON_APP_NAME 52 53 #define IPC_DAEMON_APP_NAME "mozilla-ipcd.exe" 54 #endif 53 55 #define IPC_PATH_SEP_CHAR '\\' 54 56 #define IPC_MODULES_DIR "ipc\\modules" … … 71 73 #define IPC_PORT 0 72 74 #define IPC_SOCKET_TYPE "ipc" 73 #define IPC_DAEMON_APP_NAME "VBoxXPCOMIPCD" 74 #ifdef XP_OS2 75 #if defined(XP_OS2) 76 #ifndef IPC_DAEMON_APP_NAME 77 #define IPC_DAEMON_APP_NAME "mozilla-ipcd.exe" 78 #endif 75 79 #define IPC_PATH_SEP_CHAR '\\' 76 80 #define IPC_MODULES_DIR "ipc\\modules" 77 81 #else 82 #ifndef IPC_DAEMON_APP_NAME 83 #define IPC_DAEMON_APP_NAME "mozilla-ipcd" 84 #endif 78 85 #define IPC_PATH_SEP_CHAR '/' 79 86 #define IPC_MODULES_DIR "ipc/modules" -
trunk/src/libs/xpcom18a4/xpcom/base/nsDebugImpl.cpp
r1 r3372 38 38 * ***** END LICENSE BLOCK ***** */ 39 39 40 #include "nsXPCOMPrivate.h" 40 41 #include "nsDebugImpl.h" 41 42 #include "nsDebug.h" … … 227 228 si.wShowWindow = SW_SHOW; 228 229 229 if(GetModuleFileName(GetModuleHandle( "xpcom.dll"), executable, MAX_PATH) &&230 if(GetModuleFileName(GetModuleHandle(XPCOM_DLL), executable, MAX_PATH) && 230 231 NULL != (pName = strrchr(executable, '\\')) && 231 232 NULL != strcpy(pName+1, "windbgdlg.exe") && -
trunk/src/libs/xpcom18a4/xpcom/build/nsXPCOMPrivate.h
r1 r3372 168 168 */ 169 169 170 #ifdef XPCOM_DLL_BASE 171 #define XPCOM_DLL XPCOM_DLL_BASE MOZ_DLL_SUFFIX 172 #endif 173 170 174 #if defined(XP_WIN32) || defined(XP_OS2) 171 175 … … 173 177 #define GRE_CONF_NAME "gre.config" 174 178 #define GRE_WIN_REG_LOC "Software\\mozilla.org\\GRE\\" 175 #define XPCOM_DLL "xpcom.dll" 179 #ifndef XPCOM_DLL 180 #define XPCOM_DLL "xpcom"MOZ_DLL_SUFFIX 181 #endif 176 182 177 183 #elif defined(XP_BEOS) … … 180 186 #define GRE_CONF_NAME ".gre.config" 181 187 #define GRE_CONF_PATH "/boot/home/config/settings/GRE/gre.conf" 188 #ifndef XPCOM_DLL 182 189 #define XPCOM_DLL "libxpcom"MOZ_DLL_SUFFIX 190 #endif 183 191 184 192 #else // Unix 185 193 186 #define XPCOM_DLL "VBoxXPCOM"MOZ_DLL_SUFFIX 194 #ifndef XPCOM_DLL 195 #define XPCOM_DLL "libxpcom"MOZ_DLL_SUFFIX 196 #endif 187 197 188 198 // you have to love apple..
Note:
See TracChangeset
for help on using the changeset viewer.