1 | # $Id: Config.kmk 29232 2010-05-07 19:43:32Z vboxsync $
|
---|
2 | ## @file
|
---|
3 | # XPCOM kBuild Configuration file.
|
---|
4 | #
|
---|
5 |
|
---|
6 | #
|
---|
7 | # Copyright (C) 2006-2010 Oracle Corporation
|
---|
8 | #
|
---|
9 | # This file is part of VirtualBox Open Source Edition (OSE), as
|
---|
10 | # available from http://www.virtualbox.org. This file is free software;
|
---|
11 | # you can redistribute it and/or modify it under the terms of the GNU
|
---|
12 | # General Public License (GPL) as published by the Free Software
|
---|
13 | # Foundation, in version 2 as it comes in the "COPYING" file of the
|
---|
14 | # VirtualBox OSE distribution. VirtualBox OSE is distributed in the
|
---|
15 | # hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
|
---|
16 | #
|
---|
17 |
|
---|
18 | # Include the top-level configure file.
|
---|
19 | ifndef VBOX_ROOT_CONFIG_KMK_INCLUDED
|
---|
20 | include $(PATH_ROOT)/Config.kmk
|
---|
21 | endif
|
---|
22 |
|
---|
23 | #
|
---|
24 | # Globals.
|
---|
25 | #
|
---|
26 | VBOX_PATH_XPCOM_SRC := $(PATH_ROOT)/src/libs/xpcom18a4
|
---|
27 |
|
---|
28 | #
|
---|
29 | # Template for building the XPCOM libraries (shared).
|
---|
30 | #
|
---|
31 | TEMPLATE_XPCOM = XPCOM libraries (shared)
|
---|
32 | TEMPLATE_XPCOM_EXTENDS = VBOXR3NP
|
---|
33 | ## @todo correct inheritance here to make it use all the VBOXR3NP settings instead of overriding all of them.
|
---|
34 | TEMPLATE_XPCOM_ASTOOL = $(TEMPLATE_VBOXR3NP_TOOL)
|
---|
35 | TEMPLATE_XPCOM_ASFLAGS = $(NO_SUCH_VARIABLE)
|
---|
36 | TEMPLATE_XPCOM_ASFLAGS.x86 = -m32
|
---|
37 | TEMPLATE_XPCOM_ASFLAGS.amd64 = -m64
|
---|
38 | TEMPLATE_XPCOM_ASDEFS = $(NO_SUCH_VARIABLE)
|
---|
39 | TEMPLATE_XPCOM_CXXFLAGS = -g -pipe -ansi -Wall -Wno-unused -Wno-non-virtual-dtor \
|
---|
40 | $(VBOX_GCC_Wno-invalid-offsetof) -Wno-sign-compare -Wno-unused -Wno-ctor-dtor-privacy \
|
---|
41 | $(VBOX_GCC_fvisibility-inlines-hidden) $(VBOX_GCC_fvisibility-hidden) $(VBOX_GCC_fdiagnostics-show-option)
|
---|
42 | TEMPLATE_XPCOM_CXXFLAGS.x86 = -m32
|
---|
43 | TEMPLATE_XPCOM_CXXFLAGS.amd64 = -m64
|
---|
44 | TEMPLATE_XPCOM_CXXFLAGS.release = -O
|
---|
45 | TEMPLATE_XPCOM_CXXFLAGS.profile = -O
|
---|
46 | TEMPLATE_XPCOM_CXXFLAGS.darwin = -fpascal-strings -fshort-wchar -fno-common -fno-rtti $(VBOX_DARWIN_DEF_SDK_CXXFLAGS)
|
---|
47 | TEMPLATE_XPCOM_CXXFLAGS.freebsd = -pthread
|
---|
48 | TEMPLATE_XPCOM_CXXFLAGS.l4 = -fno-exceptions -nostdinc
|
---|
49 | TEMPLATE_XPCOM_CXXFLAGS.linux = -pthread
|
---|
50 | TEMPLATE_XPCOM_CXXFLAGS.solaris = -fno-omit-frame-pointer # for now anyway.
|
---|
51 | TEMPLATE_XPCOM_CFLAGS = -g -pipe -Wall -Wno-unused -Wno-parentheses -Wno-uninitialized $(VBOX_GCC_fvisibility-hidden) \
|
---|
52 | $(VBOX_GCC_fdiagnostics-show-option)
|
---|
53 | TEMPLATE_XPCOM_CFLAGS.x86 = -m32
|
---|
54 | TEMPLATE_XPCOM_CFLAGS.amd64 = -m64
|
---|
55 | TEMPLATE_XPCOM_CFLAGS.release = -O
|
---|
56 | TEMPLATE_XPCOM_CFLAGS.profile = -O
|
---|
57 | TEMPLATE_XPCOM_CFLAGS.freebsd = -pthread
|
---|
58 | TEMPLATE_XPCOM_CFLAGS.l4 = -nostdinc
|
---|
59 | TEMPLATE_XPCOM_CFLAGS.linux = -pthread -ansi
|
---|
60 | TEMPLATE_XPCOM_CFLAGS.solaris = -fno-omit-frame-pointer # for now anyway.
|
---|
61 | TEMPLATE_XPCOM_DEFS = MOZILLA_CLIENT=1 NDEBUG=1 _IMPL_NS_COM \
|
---|
62 | XPCOM_DLL_BASE=\"$(basename $(notdir $(LIB_XPCOM)))\" \
|
---|
63 | MOZ_DLL_SUFFIX=\"$(suffix $(LIB_XPCOM))\" \
|
---|
64 | IN_RING3
|
---|
65 | ifdef VBOX_WITH_XPCOM_NAMESPACE_CLEANUP
|
---|
66 | TEMPLATE_XPCOM_DEFS += VBOX_WITH_XPCOM_NAMESPACE_CLEANUP
|
---|
67 | endif
|
---|
68 | TEMPLATE_XPCOM_DEFS.x86 = i386=1
|
---|
69 | TEMPLATE_XPCOM_DEFS.amd64 = HAVE_VA_LIST_AS_ARRAY HAVE_VA_COPY VA_COPY\(a\,b\)=__builtin_va_copy\(a\,b\)
|
---|
70 | 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 $(TEMPLATE_VBOXR3NP_DEFS.darwin)
|
---|
71 | TEMPLATE_XPCOM_DEFS.darwin.amd64 = VBOX_MACOSX_FOLLOWS_UNIX_IO
|
---|
72 | TEMPLATE_XPCOM_DEFS.freebsd = OSTYPE=\"FreeBSD5+\" OSARCH=\"FreeBSD\" XP_UNIX=1 FREEBSD=1 HAVE_VISIBILITY_ATTRIBUTE=1
|
---|
73 | TEMPLATE_XPCOM_DEFS.linux = OSTYPE=\"Linux2.6\" OSARCH=\"Linux\" XP_UNIX=1 _GNU_SOURCE HAVE_VISIBILITY_ATTRIBUTE=1 ## @todo LINUX=1
|
---|
74 | TEMPLATE_XPCOM_DEFS.l4 = OSTYPE=\"L4ENV\" OSARCH=\"L4\" XP_UNIX=1 L4ENV HAVE_VISIBILITY_ATTRIBUTE=1
|
---|
75 | # Don't define BSD_SELECT because bsdselect() from kLIBC <= 0.6.3 has problems on SMP
|
---|
76 | TEMPLATE_XPCOM_DEFS.os2 = OSTYPE=\"OS/2_4.5\" OSARCH=\"OS/2\" XP_OS2 XP_PC OS2=4
|
---|
77 | TEMPLATE_XPCOM_DEFS.solaris = OSTYPE=\"Solaris10\" OSARCH=\"Solaris\" XP_UNIX=1 XP_SOLARIS=1 HAVE_LIBDL=1 HAVE_SENDFILEV=1 SOLARIS=1 _REENTRANT
|
---|
78 | ## @todo The LDFLAGS inheriting is being hidden here and below where -fPIC is added.
|
---|
79 | ifdef VBOX_WITH_RUNPATH
|
---|
80 | TEMPLATE_XPCOM_LDFLAGS += '$(VBOX_GCC_RPATH_OPT)$(VBOX_WITH_RUNPATH)'
|
---|
81 | else ifdef VBOX_WITH_RELATIVE_RUNPATH
|
---|
82 | TEMPLATE_XPCOM_LDFLAGS += '$(VBOX_GCC_RPATH_OPT)$(VBOX_WITH_RELATIVE_RUNPATH)'
|
---|
83 | endif
|
---|
84 | TEMPLATE_XPCOM_LDFLAGS.x86 = -m32
|
---|
85 | TEMPLATE_XPCOM_LDFLAGS.amd64 = -m64
|
---|
86 | TEMPLATE_XPCOM_LDFLAGS.darwin = $(TEMPLATE_VBOXR3NP_LDFLAGS.darwin) \
|
---|
87 | -fshort-wchar -fno-rtti -fno-exceptions -fpascal-strings \
|
---|
88 | -current_version $(VBOX_VERSION_MAJOR).$(VBOX_VERSION_MINOR).$(VBOX_VERSION_BUILD) \
|
---|
89 | -compatibility_version $(VBOX_VERSION_MAJOR).$(VBOX_VERSION_MINOR).$(VBOX_VERSION_BUILD) \
|
---|
90 | -framework CoreServices \
|
---|
91 | -framework CoreFoundation \
|
---|
92 | -framework Foundation \
|
---|
93 | -framework AppKit \
|
---|
94 | -framework Carbon
|
---|
95 | ## @todo why is -fno-exceptions here.
|
---|
96 | ifn1of ($(KBUILD_TARGET), os2 win)
|
---|
97 | TEMPLATE_XPCOM_CXXFLAGS += -fPIC
|
---|
98 | TEMPLATE_XPCOM_CFLAGS += -fPIC
|
---|
99 | TEMPLATE_XPCOM_LDFLAGS += -fPIC
|
---|
100 | TEMPLATE_XPCOM_DEFS += MOZ_PRESERVE_PIC
|
---|
101 | endif
|
---|
102 | TEMPLATE_XPCOM_INCS = $(VBOX_PATH_XPCOM_SRC)/xpcom/build \
|
---|
103 | $(VBOX_PATH_XPCOM_SRC)/xpcom/ds \
|
---|
104 | $(VBOX_PATH_XPCOM_SRC)/xpcom/io \
|
---|
105 | $(VBOX_PATH_XPCOM_SRC)/xpcom/base \
|
---|
106 | $(VBOX_PATH_XPCOM_SRC)/xpcom/components \
|
---|
107 | $(VBOX_PATH_XPCOM_SRC)/xpcom/threads \
|
---|
108 | $(VBOX_PATH_XPCOM_SRC)/xpcom/proxy/src \
|
---|
109 | $(VBOX_PATH_XPCOM_SRC)/xpcom/reflect/xptcall/src \
|
---|
110 | $(VBOX_PATH_XPCOM_SRC)/ipc/ipcd/client/src \
|
---|
111 | $(VBOX_PATH_XPCOM_SRC)/ipc/ipcd/shared/src \
|
---|
112 | $(VBOX_PATH_XPCOM_SRC)/ipc/ipcd/extensions/lock/src \
|
---|
113 | $(VBOX_PATH_XPCOM_SRC)/ipc/ipcd/extensions/transmngr/src \
|
---|
114 | $(VBOX_PATH_XPCOM_SRC)/ipc/ipcd/extensions/dconnect/src \
|
---|
115 | $(VBOX_PATH_XPCOM_SRC)/ipc/ipcd/extensions/transmngr/common \
|
---|
116 | $(VBOX_PATH_SDK)/bindings/xpcom/include \
|
---|
117 | $(VBOX_PATH_SDK)/bindings/xpcom/include/nsprpub \
|
---|
118 | $(VBOX_PATH_SDK)/bindings/xpcom/include/string \
|
---|
119 | $(VBOX_PATH_SDK)/bindings/xpcom/include/xpcom \
|
---|
120 | $(VBOX_PATH_SDK)/bindings/xpcom/include/ipcd \
|
---|
121 | .
|
---|
122 | TEMPLATE_XPCOM_INCS.darwin = $(VBOX_PATH_MACOSX_SDK)/Developer/Headers/FlatCarbon
|
---|
123 | TEMPLATE_XPCOM_INCS.l4 = $(L4_INCDIR) $(VBOX_L4_GCC3_INCS)
|
---|
124 | TEMPLATE_XPCOM_LDFLAGS.l4 = $(L4_DIR)/lib/x86_586/crt0.o \
|
---|
125 | -T$(L4_DIR)/lib/x86_586/main_rel.ld -nostdlib \
|
---|
126 | # -Wl,--whole-archive,--no-allow-shlib-undefined
|
---|
127 | TEMPLATE_XPCOM_LIBS.l4 = $(VBOX_GCC_LIBGCC)
|
---|
128 | TEMPLATE_XPCOM_LIBS.solaris = sendfile
|
---|
129 | TEMPLATE_XPCOM_ORDERDEPS = $(foreach hdrinst, $(filter %-HEADERS, $(INSTALLS)), $(TARGET_$(hdrinst))) \
|
---|
130 | $(PATH_TARGET)/VBox-xpcom-idl-timestamp
|
---|
131 | ifeq ($(KBUILD_TARGET),os2)
|
---|
132 | ifndef USE_OS2_TOOLKIT_HEADERS
|
---|
133 | TEMPLATE_XPCOM_DEFS.os2 += OS2EMX_PLAIN_CHAR
|
---|
134 | endif
|
---|
135 | TEMPLATE_XPCOM_DEFS.os2 += XP_OS2_EMX OS2=4
|
---|
136 | # this is at least for strnicmp()
|
---|
137 | TEMPLATE_XPCOM_DEFS.os2 += _EMX_SOURCE
|
---|
138 | # @@todo shouldn't this be somehow default for ASTOOL?
|
---|
139 | TEMPLATE_XPCOM_ASFLAGS.os2 += -Zomf
|
---|
140 | endif
|
---|
141 |
|
---|
142 | # When using IPRT in NSRP or/and using IPRT for logging, link with IPRT.
|
---|
143 | TEMPLATE_XPCOM_LIBS += $(LIB_RUNTIME)
|
---|
144 |
|
---|
145 | #
|
---|
146 | # Template for building the XPCOM executables.
|
---|
147 | # Used as a base template by XPCOMTSTEXE and XPCOMIPCEXE.
|
---|
148 | #
|
---|
149 | TEMPLATE_XPCOMEXE = XPCOM executable files
|
---|
150 | TEMPLATE_XPCOMEXE_EXTENDS = XPCOM
|
---|
151 | ## @todo undo -fPIC.
|
---|
152 | TEMPLATE_XPCOMEXE_INCS = ipc/ipcd/shared/src \
|
---|
153 | $(VBOX_PATH_SDK)/bindings/xpcom/include \
|
---|
154 | $(VBOX_PATH_SDK)/bindings/xpcom/include/nsprpub \
|
---|
155 | $(VBOX_PATH_SDK)/bindings/xpcom/include/string \
|
---|
156 | $(VBOX_PATH_SDK)/bindings/xpcom/include/xpcom \
|
---|
157 | $(VBOX_PATH_SDK)/bindings/xpcom/include/ipcd \
|
---|
158 | .
|
---|
159 | TEMPLATE_XPCOMEXE_LIBS = \
|
---|
160 | $(TARGET_VBox-xpcom-ipcshared) \
|
---|
161 | $(TARGET_VBoxXPCOM) \
|
---|
162 | $(TEMPLATE_XPCOM_LIBS)
|
---|
163 | TEMPLATE_XPCOMEXE_LIBS.freebsd = $(LIB_PTHREAD)
|
---|
164 | TEMPLATE_XPCOMEXE_LIBS.linux = dl $(LIB_PTHREAD)
|
---|
165 | TEMPLATE_XPCOMEXE_LIBS.l4 = $(LIB_RUNTIME) $(VBOX_GCC_LIBGCC)
|
---|
166 | TEMPLATE_XPCOMEXE_LDFLAGS.darwin = -bind_at_load $(filter-out -current_version -compatibility_version $(VBOX_VERSION_MAJOR).$(VBOX_VERSION_MINOR).$(VBOX_VERSION_BUILD),$(TEMPLATE_XPCOM_LDFLAGS.darwin))
|
---|
167 | TEMPLATE_XPCOMEXE_LDFLAGS.l4 = $(L4_DIR)/lib/x86_586/crt0.o \
|
---|
168 | -T$(L4_DIR)/lib/x86_586/main_dyn.ld -nostdlib -lgcc \
|
---|
169 | -Wl,--export-dynamic,--dynamic-linker=libld-l4.s.so \
|
---|
170 | -Wl,--rpath-link,$(L4_LIBDIR) \
|
---|
171 | # -Wl,--whole-archive,--no-allow-shlib-undefined
|
---|
172 | # -Wno-format
|
---|
173 |
|
---|
174 |
|
---|
175 | #
|
---|
176 | # Template for building the XPCOM testcase executables
|
---|
177 | #
|
---|
178 | TEMPLATE_XPCOMTSTEXE = XPCOM executable files (testcases)
|
---|
179 | TEMPLATE_XPCOMTSTEXE_EXTENDS = XPCOMEXE
|
---|
180 | TEMPLATE_XPCOMTSTEXE_CXXFLAGS = $(TEMPLATE_XPCOMEXE_CXXFLAGS) -Wno-format
|
---|
181 | TEMPLATE_XPCOMTSTEXE_CFLAGS = $(TEMPLATE_XPCOMEXE_CFLAGS) -Wno-format
|
---|
182 |
|
---|
183 |
|
---|
184 | #
|
---|
185 | # Template for building XPCOM executables for running at build time.
|
---|
186 | #
|
---|
187 | # It extends the BLDPROG template in config.kmk but overrides CFLAGS
|
---|
188 | # and CXXFLAGS completely at the moment.
|
---|
189 | #
|
---|
190 | TEMPLATE_XPCOMBLDPROG = XPCOM Build programs executables
|
---|
191 | TEMPLATE_XPCOMBLDPROG_EXTENDS = VBOXBLDPROG
|
---|
192 | ## @todo Verify that this doesn't blow up because of template inheriance ordering. (we're assuming XPCOMEXE is expanded when this is being used.)
|
---|
193 | TEMPLATE_XPCOMBLDPROG_DEFS = $(TEMPLATE_VBOXBLDPROG_DEFS) $(TEMPLATE_XPCOMEXE_DEFS)
|
---|
194 | TEMPLATE_XPCOMBLDPROG_DEFS.$(KBUILD_HOST) = $(TEMPLATE_VBOXBLDPROG_DEFS.$(KBUILD_HOST)) $(TEMPLATE_XPCOMEXE_DEFS.$(KBUILD_HOST))
|
---|
195 | TEMPLATE_XPCOMBLDPROG_DEFS.x86 = $(TEMPLATE_VBOXBLDPROG_DEFS.x86) $(TEMPLATE_XPCOMEXE_DEFS.x86)
|
---|
196 | TEMPLATE_XPCOMBLDPROG_DEFS.amd64 = $(TEMPLATE_VBOXBLDPROG_DEFS.amd64) $(TEMPLATE_XPCOMEXE_DEFS.amd64)
|
---|
197 | TEMPLATE_XPCOMBLDPROG_INCS = \
|
---|
198 | $(VBOX_PATH_SDK)/bindings/xpcom/include \
|
---|
199 | $(VBOX_PATH_SDK)/bindings/xpcom/include/nsprpub \
|
---|
200 | $(VBOX_PATH_SDK)/bindings/xpcom/include/string \
|
---|
201 | $(VBOX_PATH_SDK)/bindings/xpcom/include/xpcom \
|
---|
202 | $(VBOX_PATH_SDK)/bindings/xpcom/include/ipcd
|
---|
203 | TEMPLATE_XPCOMBLDPROG_CFLAGS = $(filter-out -pedantic -Wshadow, $(TEMPLATE_VBOX_BLDPROG_CFLAGS)) $(VBOX_GCC_Wno-int-to-pointer-cast) $(VBOX_GCC_Wno-pointer-to-int-cast) -Wno-format
|
---|
204 | TEMPLATE_XPCOMBLDPROG_CXXFLAGS.darwin = $(TEMPLATE_VBOXBLDPROG_CXXFLAGS.darwin) -fpascal-strings -fshort-wchar -fno-common -fno-rtti
|
---|
205 | TEMPLATE_XPCOMBLDPROG_CXXFLAGS.solaris = $(TEMPLATE_VBOXBLDPROG_CXXFLAGS.solaris) -fno-omit-frame-pointer # for now anyway.
|
---|
206 | TEMPLATE_XPCOMBLDPROG_LDFLAGS.darwin = $(TEMPLATE_VBOXBLDPROG_LDFLAGS.darwin) -fpascal-strings -fshort-wchar -fno-rtti -fno-exceptions
|
---|
207 | TEMPLATE_XPCOMBLDPROG_ORDERDEPS = $(foreach hdrinst, $(filter %-HEADERS, $(INSTALLS)), $(TARGET_$(hdrinst)))
|
---|
208 |
|
---|
209 |
|
---|
210 | ifeq ($(VBOX_DEF_MACOSX_VERSION_MIN),10.4)
|
---|
211 | #
|
---|
212 | # Template for building VBoxPython against the Mac OS X 10.4 SDK.
|
---|
213 | # ASSUMES that the SDK bits are in the .darwin properties we're overriding below.
|
---|
214 | #
|
---|
215 | TEMPLATE_XPCOMOSX104 = XPCOM libraries (shared) built against the Mac OS X 10.4 SDK
|
---|
216 | TEMPLATE_XPCOMOSX104_EXTENDS = XPCOM
|
---|
217 | TEMPLATE_XPCOMOSX104_CXXFLAGS.darwin = $(filter-out $(VBOX_DARWIN_DEF_SDK_CXXFLAGS),$(TEMPLATE_XPCOM_CXXFLAGS.darwin)) $(VBOX_DARWIN_DEF_SDK_10_4_CXXFLAGS)
|
---|
218 | TEMPLATE_XPCOMOSX104_CFLAGS.darwin = $(filter-out $(VBOX_DARWIN_DEF_SDK_CFLAGS),$(TEMPLATE_XPCOM_CFLAGS.darwin)) $(VBOX_DARWIN_DEF_SDK_10_4_CFLAGS)
|
---|
219 | TEMPLATE_XPCOMOSX104_LDFLAGS.darwin = $(filter-out $(VBOX_DARWIN_DEF_SDK_LDFLAGS),$(TEMPLATE_XPCOM_LDFLAGS.darwin)) $(VBOX_DARWIN_DEF_SDK_10_4_LDFLAGS)
|
---|
220 | TEMPLATE_XPCOMOSX104_DEFS.darwin = $(filter-out $(VBOX_DARWIN_DEF_SDK_DEFS),$(TEMPLATE_XPCOM_DEFS.darwin)) $(VBOX_DARWIN_DEF_SDK_10_4_DEFS)
|
---|
221 | TEMPLATE_XPCOMOSX104_INCS.darwin = $(VBOX_PATH_MACOSX_SDK_10_4)/Developer/Headers/FlatCarbon
|
---|
222 | endif
|
---|
223 |
|
---|
224 | #
|
---|
225 | # Template for building VBoxPython against the Mac OS X 10.5 SDK.
|
---|
226 | # ASSUMES that the SDK bits are in the .darwin properties we're overriding below.
|
---|
227 | #
|
---|
228 | TEMPLATE_XPCOMOSX105 = XPCOM libraries (shared) built against the Mac OS X 10.5 SDK
|
---|
229 | TEMPLATE_XPCOMOSX105_EXTENDS = XPCOM
|
---|
230 | TEMPLATE_XPCOMOSX105_CXXFLAGS.darwin = $(filter-out $(VBOX_DARWIN_DEF_SDK_CXXFLAGS),$(TEMPLATE_XPCOM_CXXFLAGS.darwin)) $(VBOX_DARWIN_DEF_SDK_10_5_CXXFLAGS)
|
---|
231 | TEMPLATE_XPCOMOSX105_CFLAGS.darwin = $(filter-out $(VBOX_DARWIN_DEF_SDK_CFLAGS),$(TEMPLATE_XPCOM_CFLAGS.darwin)) $(VBOX_DARWIN_DEF_SDK_10_5_CFLAGS)
|
---|
232 | TEMPLATE_XPCOMOSX105_LDFLAGS.darwin = $(filter-out $(VBOX_DARWIN_DEF_SDK_LDFLAGS),$(TEMPLATE_XPCOM_LDFLAGS.darwin)) $(VBOX_DARWIN_DEF_SDK_10_5_LDFLAGS)
|
---|
233 | TEMPLATE_XPCOMOSX105_DEFS.darwin = $(filter-out $(VBOX_DARWIN_DEF_SDK_DEFS),$(TEMPLATE_XPCOM_DEFS.darwin)) $(VBOX_DARWIN_DEF_SDK_10_5_DEFS)
|
---|
234 | TEMPLATE_XPCOMOSX105_INCS.darwin = $(VBOX_PATH_MACOSX_SDK_10_5)/Developer/Headers/FlatCarbon
|
---|
235 |
|
---|
236 | #
|
---|
237 | # Template for building VBoxPhython against the Mac OS X 10.6 SDK.
|
---|
238 | # ASSUMES that the SDK bits are in the .darwin properties we're overriding below.
|
---|
239 | #
|
---|
240 | TEMPLATE_XPCOMOSX106 = XPCOM libraries (shared) built against the Mac OS X 10.6 SDK
|
---|
241 | TEMPLATE_XPCOMOSX106_EXTENDS = XPCOM
|
---|
242 | TEMPLATE_XPCOMOSX106_CXXFLAGS.darwin = $(filter-out $(VBOX_DARWIN_DEF_SDK_CXXFLAGS),$(TEMPLATE_XPCOM_CXXFLAGS.darwin)) $(VBOX_DARWIN_DEF_SDK_10_6_CXXFLAGS)
|
---|
243 | TEMPLATE_XPCOMOSX106_CFLAGS.darwin = $(filter-out $(VBOX_DARWIN_DEF_SDK_CFLAGS),$(TEMPLATE_XPCOM_CFLAGS.darwin)) $(VBOX_DARWIN_DEF_SDK_10_6_CFLAGS)
|
---|
244 | TEMPLATE_XPCOMOSX106_LDFLAGS.darwin = $(filter-out $(VBOX_DARWIN_DEF_SDK_LDFLAGS),$(TEMPLATE_XPCOM_LDFLAGS.darwin)) $(VBOX_DARWIN_DEF_SDK_10_6_LDFLAGS)
|
---|
245 | TEMPLATE_XPCOMOSX106_DEFS.darwin = $(filter-out $(VBOX_DARWIN_DEF_SDK_DEFS),$(TEMPLATE_XPCOM_DEFS.darwin)) $(VBOX_DARWIN_DEF_SDK_10_6_DEFS)
|
---|
246 | TEMPLATE_XPCOMOSX106_INCS.darwin = $(VBOX_PATH_MACOSX_SDK_10_6)/Developer/Headers/FlatCarbon
|
---|
247 |
|
---|
248 |
|
---|
249 | #
|
---|
250 | # The list of XPCOM's IDL files.
|
---|
251 | # This is used by the java bindings as well as the XPCOM build.
|
---|
252 | #
|
---|
253 | XPCOM_IDLFILES = \
|
---|
254 | xpcom/base/nsIDebug.idl \
|
---|
255 | xpcom/base/nsIInterfaceRequestor.idl \
|
---|
256 | xpcom/base/nsIMemory.idl \
|
---|
257 | xpcom/base/nsIProgrammingLanguage.idl \
|
---|
258 | xpcom/base/nsISupports.idl \
|
---|
259 | xpcom/base/nsITraceRefcnt.idl \
|
---|
260 | xpcom/base/nsIWeakReference.idl \
|
---|
261 | xpcom/base/nsIConsoleMessage.idl \
|
---|
262 | xpcom/base/nsIConsoleService.idl \
|
---|
263 | xpcom/base/nsIConsoleListener.idl \
|
---|
264 | xpcom/base/nsIErrorService.idl \
|
---|
265 | xpcom/base/nsIException.idl \
|
---|
266 | xpcom/base/nsIExceptionService.idl \
|
---|
267 | xpcom/base/nsrootidl.idl \
|
---|
268 | xpcom/components/nsIClassInfo.idl \
|
---|
269 | xpcom/components/nsIComponentRegistrar.idl \
|
---|
270 | xpcom/components/nsIFactory.idl \
|
---|
271 | xpcom/components/nsIModule.idl \
|
---|
272 | xpcom/components/nsIServiceManager.idl \
|
---|
273 | xpcom/components/nsIComponentManager.idl \
|
---|
274 | xpcom/components/nsICategoryManager.idl \
|
---|
275 | xpcom/components/nsIComponentLoader.idl \
|
---|
276 | xpcom/components/nsINativeComponentLoader.idl \
|
---|
277 | xpcom/components/nsIComponentManagerObsolete.idl \
|
---|
278 | xpcom/components/nsIComponentLoaderManager.idl \
|
---|
279 | xpcom/ds/nsISupportsArray.idl \
|
---|
280 | xpcom/ds/nsICollection.idl \
|
---|
281 | xpcom/ds/nsISerializable.idl \
|
---|
282 | xpcom/ds/nsIEnumerator.idl \
|
---|
283 | xpcom/ds/nsISimpleEnumerator.idl \
|
---|
284 | xpcom/ds/nsIObserverService.idl \
|
---|
285 | xpcom/ds/nsIObserver.idl \
|
---|
286 | xpcom/ds/nsIAtom.idl \
|
---|
287 | xpcom/ds/nsIAtomService.idl \
|
---|
288 | xpcom/ds/nsIProperties.idl \
|
---|
289 | xpcom/ds/nsIPersistentProperties2.idl \
|
---|
290 | xpcom/ds/nsIRecyclingAllocator.idl \
|
---|
291 | xpcom/ds/nsIStringEnumerator.idl \
|
---|
292 | xpcom/ds/nsISupportsPrimitives.idl \
|
---|
293 | xpcom/ds/nsISupportsIterators.idl \
|
---|
294 | xpcom/ds/nsIVariant.idl \
|
---|
295 | xpcom/ds/nsITimelineService.idl \
|
---|
296 | xpcom/ds/nsIArray.idl \
|
---|
297 | xpcom/ds/nsIPropertyBag.idl \
|
---|
298 | xpcom/ds/nsIHashable.idl \
|
---|
299 | xpcom/io/nsIDirectoryService.idl \
|
---|
300 | xpcom/io/nsIDirectoryEnumerator.idl \
|
---|
301 | xpcom/io/nsIFile.idl \
|
---|
302 | xpcom/io/nsILocalFile.idl \
|
---|
303 | xpcom/io/nsILocalFileMac.idl \
|
---|
304 | xpcom/io/nsIInputStream.idl \
|
---|
305 | xpcom/io/nsIObjectInputStream.idl \
|
---|
306 | xpcom/io/nsIBinaryInputStream.idl \
|
---|
307 | xpcom/io/nsIObjectOutputStream.idl \
|
---|
308 | xpcom/io/nsIBinaryOutputStream.idl \
|
---|
309 | xpcom/io/nsIOutputStream.idl \
|
---|
310 | xpcom/io/nsIStreamBufferAccess.idl \
|
---|
311 | xpcom/io/nsIByteArrayInputStream.idl \
|
---|
312 | xpcom/io/nsISeekableStream.idl \
|
---|
313 | xpcom/io/nsIFastLoadFileControl.idl \
|
---|
314 | xpcom/io/nsIFastLoadService.idl \
|
---|
315 | xpcom/io/nsIInputStreamTee.idl \
|
---|
316 | xpcom/io/nsIMultiplexInputStream.idl \
|
---|
317 | xpcom/io/nsIPipe.idl \
|
---|
318 | xpcom/io/nsIAsyncInputStream.idl \
|
---|
319 | xpcom/io/nsIAsyncOutputStream.idl \
|
---|
320 | xpcom/io/nsIScriptableInputStream.idl \
|
---|
321 | xpcom/io/nsIStorageStream.idl \
|
---|
322 | xpcom/io/nsIStringStream.idl \
|
---|
323 | xpcom/io/nsILineInputStream.idl \
|
---|
324 | xpcom/proxy/public/nsIProxyObjectManager.idl \
|
---|
325 | xpcom/threads/nsIEventQueueService.idl \
|
---|
326 | xpcom/threads/nsIEventQueue.idl \
|
---|
327 | xpcom/threads/nsIEventTarget.idl \
|
---|
328 | xpcom/threads/nsIRunnable.idl \
|
---|
329 | xpcom/threads/nsIThread.idl \
|
---|
330 | xpcom/threads/nsITimer.idl \
|
---|
331 | xpcom/threads/nsIEnvironment.idl \
|
---|
332 | xpcom/threads/nsITimerInternal.idl \
|
---|
333 | xpcom/threads/nsITimerManager.idl \
|
---|
334 | xpcom/threads/nsIProcess.idl \
|
---|
335 | xpcom/reflect/xptinfo/public/nsIInterfaceInfo.idl \
|
---|
336 | xpcom/reflect/xptinfo/public/nsIInterfaceInfoManager.idl \
|
---|
337 | xpcom/reflect/xptinfo/public/nsIXPTLoader.idl \
|
---|
338 | ipc/ipcd/client/public/ipcIService.idl \
|
---|
339 | ipc/ipcd/client/public/ipcIMessageObserver.idl \
|
---|
340 | ipc/ipcd/client/public/ipcIClientObserver.idl \
|
---|
341 | ipc/ipcd/extensions/lock/public/ipcILockService.idl \
|
---|
342 | ipc/ipcd/extensions/transmngr/public/ipcITransactionService.idl \
|
---|
343 | ipc/ipcd/extensions/dconnect/public/ipcIDConnectService.idl \
|
---|
344 | ipc/ipcd/extensions/transmngr/public/ipcITransactionObserver.idl
|
---|
345 |
|
---|
346 | #
|
---|
347 | # The include path for the XPCOM IDL files above.
|
---|
348 | #
|
---|
349 | XPIDL_INCS = \
|
---|
350 | -I $(VBOX_PATH_XPCOM_SRC)/xpcom/base/ \
|
---|
351 | -I $(VBOX_PATH_XPCOM_SRC)/xpcom/ds/ \
|
---|
352 | -I $(VBOX_PATH_XPCOM_SRC)/xpcom/components/ \
|
---|
353 | -I $(VBOX_PATH_XPCOM_SRC)/xpcom/io/ \
|
---|
354 | -I $(VBOX_PATH_XPCOM_SRC)/xpcom/threads/ \
|
---|
355 | -I $(VBOX_PATH_XPCOM_SRC)/xpcom/reflect/xptinfo/public/
|
---|
356 |
|
---|