Changeset 4837 in vbox for trunk/src/libs
- Timestamp:
- Sep 17, 2007 5:32:27 AM (17 years ago)
- Location:
- trunk/src/libs/xpcom18a4
- Files:
-
- 1 added
- 3 edited
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/libs/xpcom18a4/Makefile.kmk
r4634 r4837 47 47 TEMPLATE_XPCOM_DEFS.x86 = i386=1 48 48 TEMPLATE_XPCOM_DEFS.amd64 = HAVE_VA_LIST_AS_ARRAY HAVE_VA_COPY VA_COPY\(a\,b\)=__builtin_va_copy\(a\,b\) 49 TEMPLATE_XPCOM_DEFS.darwin = OSTYPE=\"Darwin8.8.1\" OSARCH=\"Darwin\" XP_UNIX=1 XP_MACOSX=1 TARGET_CARBON=1 HAVE_VISIBILITY_ATTRIBUTE=1 50 TEMPLATE_XPCOM_DEFS.linux = OSTYPE=\"Linux2.6\" OSARCH=\"Linux\" XP_UNIX=1 _GNU_SOURCE HAVE_VISIBILITY_ATTRIBUTE=1 49 TEMPLATE_XPCOM_DEFS.darwin = OSTYPE=\"Darwin8.8.1\" OSARCH=\"Darwin\" XP_UNIX=1 XP_MACOSX=1 TARGET_CARBON=1 HAVE_VISIBILITY_ATTRIBUTE=1 DARWIN=1 50 TEMPLATE_XPCOM_DEFS.linux = OSTYPE=\"Linux2.6\" OSARCH=\"Linux\" XP_UNIX=1 _GNU_SOURCE HAVE_VISIBILITY_ATTRIBUTE=1 ## @todo LINUX=1 51 51 TEMPLATE_XPCOM_DEFS.l4 = OSTYPE=\"L4ENV\" OSARCH=\"L4\" XP_UNIX=1 L4ENV HAVE_VISIBILITY_ATTRIBUTE=1 52 TEMPLATE_XPCOM_DEFS.os2 = OSTYPE=\"OS/2_4.5\" OSARCH=\"OS/2\" XP_OS2 XP_PC BSD_SELECT 52 TEMPLATE_XPCOM_DEFS.os2 = OSTYPE=\"OS/2_4.5\" OSARCH=\"OS/2\" XP_OS2 XP_PC BSD_SELECT OS2=4 53 TEMPLATE_XPCOM_DEFS.solaris = OSTYPE=\"Solaris10\" OSARCH=\"Solaris\" XP_UNIX=1 XP_SOLARIS=1 HAVE_LIBDL=1 HAVE_SENDFILEV=1 SOLARIS=1 53 54 TEMPLATE_XPCOM_LDFLAGS.darwin = $(VBOXR3NP_LDFLAGS.darwin) \ 54 55 -fshort-wchar -fno-rtti -fno-exceptions -fpascal-strings \ 55 56 -framework CoreServices -framework CoreFoundation -framework Foundation -framework AppKit -framework Carbon 57 TEMPLATE_XPCOM_LDFLAGS.solaris += -lsendfile 56 58 ifeq ($(filter os2 win,$(BUILD_TARGET)),) 57 59 TEMPLATE_XPCOM_CXXFLAGS += -fPIC … … 125 127 TEMPLATE_XPCOMEXE_LIBS.l4 = $(LIB_RUNTIME) $(VBOX_GCC_LIBGCC) 126 128 TEMPLATE_XPCOMEXE_LDFLAGS.darwin = -bind_at_load $(TEMPLATE_XPCOM_LDFLAGS.darwin) 129 TEMPLATE_XPCOMEXE_LDFLAGS.solaris = -mimpure-text ## @todo why? 127 130 TEMPLATE_XPCOMEXE_LDFLAGS.l4 = $(L4_DIR)/lib/x86_586/crt0.o \ 128 131 -T$(L4_DIR)/lib/x86_586/main_dyn.ld -nostdlib -lgcc \ … … 788 791 # nsprpub/pr/src/md/os2/os2vacpp.asm 789 792 793 VBox-xpcom-nspr_SOURCES.solaris = \ 794 nsprpub/pr/src/md/unix/unix.c \ 795 nsprpub/pr/src/md/unix/unix_errors.c \ 796 nsprpub/pr/src/md/unix/uxproces.c \ 797 nsprpub/pr/src/md/unix/uxrng.c \ 798 nsprpub/pr/src/md/unix/uxshm.c \ 799 nsprpub/pr/src/md/unix/uxwrap.c \ 800 nsprpub/pr/src/md/unix/solaris.c \ 801 nsprpub/pr/src/pthreads/ptio.c \ 802 nsprpub/pr/src/pthreads/ptsynch.c \ 803 nsprpub/pr/src/pthreads/ptthread.c \ 804 nsprpub/pr/src/pthreads/ptmisc.c 805 VBox-xpcom-nspr_SOURCES.solaris.x86 = nsprpub/pr/src/md/unix/os_SunOS_x86.s 806 VBox-xpcom-nspr_SOURCES.solaris.amd64 = nsprpub/pr/src/md/unix/os_SunOS_amd64.s 807 790 808 791 809 nsprpub/pr/src/prvrsion.c_DEPS = $(PATH_VBox-xpcom-nspr)/_pr_bld.h … … 972 990 # xpcom/reflect/xptcall/src/md/unix/xptcstubs_vacpp.asm 973 991 992 VBox-xpcom-xptcall_SOURCES.solaris.x86 = xpcom/reflect/xptcall/src/md/unix/xptcinvoke_x86_solaris.cpp \ 993 xpcom/reflect/xptcall/src/md/unix/xptcstubs_x86_solaris.cpp 994 974 995 VBox-xpcom-proxy_TEMPLATE = XPCOM 975 996 VBox-xpcom-proxy_NOINST = 1 … … 1017 1038 darwindeps.cpp 1018 1039 VBoxXPCOM_SOURCES.os2 = \ 1019 os2deps.cpp 1040 vboxdeps.cpp 1041 VBoxXPCOM_SOURCES.solaris = \ 1042 vboxdeps.cpp 1020 1043 VBoxXPCOM_LIBS = \ 1021 1044 $(TARGET_VBox-xpcom-typelib) \ … … 1050 1073 #VBoxXPCOM_LDFLAGS = -Wl,--whole-archive $(VBoxXPCOM_LIBS) -Wl,--no-whole-archive $(LIB_RUNTIME) 1051 1074 VBoxXPCOM_LDFLAGS.darwin = -install_name @executable_path/VBoxXPCOM.dylib 1075 VBoxXPCOM_LDFLAGS.solaris += -Wl,-M solarislink.map 1052 1076 1053 1077 ifdef VBOX_IPC_RELEASE_LOG … … 1138 1162 VBoxXPCOMIPCC_SOURCES.os2 = \ 1139 1163 ipc/ipcd/client/src/ipcConnectionUnix.cpp 1164 VBoxXPCOMIPCC_SOURCES.solaris = \ 1165 ipc/ipcd/client/src/ipcConnectionUnix.cpp 1140 1166 VBoxXPCOMIPCC_LDFLAGS.darwin = -install_name @executable_path/components/VBoxXPCOMIPCC.dylib 1141 1167 VBoxXPCOMIPCC_LIBS = \ … … 1165 1191 VBoxXPCOMIPCD_SOURCES.os2 = \ 1166 1192 ipc/ipcd/daemon/src/ipcdUnix.cpp 1193 VBoxXPCOMIPCD_SOURCES.solaris = \ 1194 ipc/ipcd/daemon/src/ipcdUnix.cpp 1167 1195 1168 1196 # -
trunk/src/libs/xpcom18a4/nsprpub/pr/include/md/_solaris.h
r1 r4837 70 70 #define NEED_STRFTIME_LOCK 71 71 72 #if defined(_LARGEFILE64_SOURCE) /* vbox */ 73 #define _PR_HAVE_OFF64_T /* vbox */ 74 #elif defined(_LP64) || _FILE_OFFSET_BITS == 32 /* vbox */ 75 #define _PR_HAVE_LARGE_OFF_T /* vbox */ 76 #else /* vbox */ 77 #define _PR_NO_LARGE_FILES /* vbox */ 78 #endif /* vbox */ 79 80 72 81 /* 73 82 * Intel x86 has atomic instructions. … … 116 125 #define _PR_INET6_PROBE 117 126 #define _PR_ACCEPT_INHERIT_NONBLOCK 127 #if !defined(_XPG4_2) || defined(_XPG6) || defined(__EXTENSIONS__) /* vbox */ 128 #define _PR_INET6 /* vbox */ 129 #endif /* vbox */ 118 130 #ifdef _PR_INET6 119 131 #define _PR_HAVE_INET_NTOP -
trunk/src/libs/xpcom18a4/vboxdeps.cpp
r4831 r4837 12 12 (uintptr_t)PL_strncpy, 13 13 (uintptr_t)PL_strchr, 14 (uintptr_t)PL_strncpyz, 14 15 (uintptr_t)PL_HashString, 15 16 (uintptr_t)PR_DestroyPollableEvent, -
trunk/src/libs/xpcom18a4/xpcom/typelib/xpidl/xpidl_util.c
r1 r4837 55 55 } 56 56 57 #if def XP_MAC57 #if defined(XP_MAC) || defined(XP_SOLARIS) 58 58 static char *strdup(const char *c) 59 59 {
Note:
See TracChangeset
for help on using the changeset viewer.