1 | # $Id: Makefile.kmk 3381 2007-07-03 09:36:24Z vboxsync $
|
---|
2 | ## @file
|
---|
3 | # Makefile for XPCOM.
|
---|
4 | #
|
---|
5 |
|
---|
6 | #
|
---|
7 | # Copyright (C) 2006-2007 innotek GmbH
|
---|
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 as published by the Free Software Foundation,
|
---|
13 | # in version 2 as it comes in the "COPYING" file of the VirtualBox OSE
|
---|
14 | # distribution. VirtualBox OSE is distributed in the hope that it will
|
---|
15 | # be useful, but WITHOUT ANY WARRANTY of any kind.
|
---|
16 | #
|
---|
17 | # If you received this file as part of a commercial VirtualBox
|
---|
18 | # distribution, then only the terms of your commercial VirtualBox
|
---|
19 | # license agreement apply instead of the previous paragraph.
|
---|
20 | #
|
---|
21 |
|
---|
22 | DEPTH = ../../..
|
---|
23 | include $(PATH_KBUILD)/header.kmk
|
---|
24 |
|
---|
25 |
|
---|
26 | #
|
---|
27 | # Template for building the XPCOM libraries (shared).
|
---|
28 | #
|
---|
29 | TEMPLATE_XPCOM = XPCOM libraries (shared)
|
---|
30 | TEMPLATE_XPCOM_EXTENDS = VBOXR3NP
|
---|
31 | TEMPLATE_XPCOM_ASTOOL = $(TEMPLATE_VBOXR3NP_TOOL)
|
---|
32 | TEMPLATE_XPCOM_ASFLAGS = $(NO_SUCH_VARIABLE)
|
---|
33 | TEMPLATE_XPCOM_ASDEFS = $(NO_SUCH_VARIABLE)
|
---|
34 | TEMPLATE_XPCOM_CXXFLAGS = -pipe -ansi -Wall -Wno-unused -Wno-non-virtual-dtor \
|
---|
35 | $(VBOX_GCC_Wno-invalid-offsetof) -Wno-sign-compare -Wno-unused -Wno-ctor-dtor-privacy \
|
---|
36 | $(VBOX_GCC_fvisibility-inlines-hidden) $(VBOX_GCC_fvisibility-hidden)
|
---|
37 | TEMPLATE_XPCOM_CXXFLAGS.debug = -fno-inline
|
---|
38 | TEMPLATE_XPCOM_CXXFLAGS.release = -O
|
---|
39 | TEMPLATE_XPCOM_CXXFLAGS.profile = -O
|
---|
40 | TEMPLATE_XPCOM_CXXFLAGS.darwin = -fpascal-strings -fshort-wchar -fno-common -fno-rtti
|
---|
41 | TEMPLATE_XPCOM_CXXFLAGS.l4 = -fno-exceptions -nostdinc
|
---|
42 | TEMPLATE_XPCOM_CXXFLAGS.linux = -pthread
|
---|
43 | TEMPLATE_XPCOM_CFLAGS = -pipe -Wall -Wno-unused -Wno-parentheses -Wno-uninitialized $(VBOX_GCC_fvisibility-hidden)
|
---|
44 | TEMPLATE_XPCOM_CFLAGS.debug = -fno-inline
|
---|
45 | TEMPLATE_XPCOM_CFLAGS.release = -O
|
---|
46 | TEMPLATE_XPCOM_CFLAGS.profile = -O
|
---|
47 | TEMPLATE_XPCOM_CFLAGS.l4 = -nostdinc
|
---|
48 | TEMPLATE_XPCOM_CFLAGS.linux = -pthread -ansi
|
---|
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))\"
|
---|
52 | TEMPLATE_XPCOM_DEFS.x86 = i386=1
|
---|
53 | TEMPLATE_XPCOM_DEFS.amd64 = HAVE_VA_LIST_AS_ARRAY HAVE_VA_COPY VA_COPY\(a\,b\)=__builtin_va_copy\(a\,b\)
|
---|
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
|
---|
59 | TEMPLATE_XPCOM_LDFLAGS.darwin = $(VBOXR3NP_LDFLAGS.darwin) \
|
---|
60 | -fshort-wchar -fno-rtti -fno-exceptions -fpascal-strings \
|
---|
61 | -framework CoreServices -framework CoreFoundation -framework Foundation -framework AppKit -framework Carbon
|
---|
62 | ifeq ($(filter os2 win,$(BUILD_TARGET)),)
|
---|
63 | TEMPLATE_XPCOM_CXXFLAGS += -fPIC
|
---|
64 | TEMPLATE_XPCOM_CFLAGS += -fPIC
|
---|
65 | TEMPLATE_XPCOM_LDFLAGS += -fPIC
|
---|
66 | TEMPLATE_XPCOM_DEFS += MOZ_PRESERVE_PIC
|
---|
67 | endif
|
---|
68 | TEMPLATE_XPCOM_INCS = $(PATH_TARGET) \
|
---|
69 | xpcom/build \
|
---|
70 | xpcom/ds \
|
---|
71 | xpcom/io \
|
---|
72 | xpcom/base \
|
---|
73 | xpcom/components \
|
---|
74 | xpcom/threads \
|
---|
75 | xpcom/proxy/src \
|
---|
76 | xpcom/reflect/xptcall/src \
|
---|
77 | ipc/ipcd/client/src \
|
---|
78 | ipc/ipcd/shared/src \
|
---|
79 | ipc/ipcd/extensions/lock/src \
|
---|
80 | ipc/ipcd/extensions/transmngr/src \
|
---|
81 | ipc/ipcd/extensions/dconnect/src \
|
---|
82 | ipc/ipcd/extensions/transmngr/common \
|
---|
83 | $(VBOX_PATH_SDK)/include \
|
---|
84 | $(VBOX_PATH_SDK)/include/xpcom \
|
---|
85 | $(VBOX_PATH_SDK)/include/xpcom/nsprpub \
|
---|
86 | $(VBOX_PATH_SDK)/include/xpcom/string \
|
---|
87 | $(VBOX_PATH_SDK)/include/xpcom/xpcom \
|
---|
88 | $(VBOX_PATH_SDK)/include/xpcom/ipcd \
|
---|
89 | $(PATH_CURRENT)
|
---|
90 | TEMPLATE_XPCOM_INCS.darwin = /Developer/SDKs/MacOSX10.4u.sdk/Developer/Headers/FlatCarbon
|
---|
91 | TEMPLATE_XPCOM_INCS.l4 = $(L4_INCDIR) $(VBOX_L4_GCC3_INCS)
|
---|
92 | TEMPLATE_XPCOM_LDFLAGS.l4 = $(L4_DIR)/lib/x86_586/crt0.o \
|
---|
93 | -T$(L4_DIR)/lib/x86_586/main_rel.ld -nostdlib \
|
---|
94 | # -Wl,--whole-archive,--no-allow-shlib-undefined
|
---|
95 | TEMPLATE_XPCOM_LIBS.l4 = $(VBOX_GCC_LIBGCC)
|
---|
96 | TEMPLATE_XPCOM_ORDERDEPS = $(foreach hdrinst, $(filter %-HEADERS, $(INSTALLS)), $(TARGET_$(hdrinst))) \
|
---|
97 | $(PATH_VBox-xpcom-string)/idl_ts
|
---|
98 | ifeq ($(BUILD_TARGET),os2)
|
---|
99 | ifndef USE_OS2_TOOLKIT_HEADERS
|
---|
100 | TEMPLATE_XPCOM_DEFS.os2 += OS2EMX_PLAIN_CHAR
|
---|
101 | endif
|
---|
102 | TEMPLATE_XPCOM_DEFS.os2 += XP_OS2_EMX OS2
|
---|
103 | # this is at least for strnicmp()
|
---|
104 | TEMPLATE_XPCOM_DEFS.os2 += _EMX_SOURCE
|
---|
105 | # @@todo shouldn't this be somehow default for ASTOOL?
|
---|
106 | TEMPLATE_XPCOM_ASFLAGS.os2 += -Zomf
|
---|
107 | endif
|
---|
108 |
|
---|
109 | # We use IPRT logging in debug builds, so we need IPRT
|
---|
110 | TEMPLATE_XPCOM_LIBS.debug += $(LIB_RUNTIME)
|
---|
111 |
|
---|
112 | #
|
---|
113 | # Template for building the XPCOM executables
|
---|
114 | #
|
---|
115 | TEMPLATE_XPCOMEXE = XPCOM executable files (testcases)
|
---|
116 | TEMPLATE_XPCOMEXE_EXTENDS = XPCOM
|
---|
117 | ## @todo undo -fPIC.
|
---|
118 | TEMPLATE_XPCOMEXE_INCS = $(PATH_TARGET) \
|
---|
119 | ipc/ipcd/shared/src \
|
---|
120 | $(VBOX_PATH_SDK)/include \
|
---|
121 | $(VBOX_PATH_SDK)/include/xpcom \
|
---|
122 | $(VBOX_PATH_SDK)/include/xpcom/nsprpub \
|
---|
123 | $(VBOX_PATH_SDK)/include/xpcom/string \
|
---|
124 | $(VBOX_PATH_SDK)/include/xpcom/xpcom \
|
---|
125 | $(VBOX_PATH_SDK)/include/xpcom/ipcd \
|
---|
126 | $(PATH_CURRENT)
|
---|
127 | TEMPLATE_XPCOMEXE_LIBS = \
|
---|
128 | $(TARGET_VBox-xpcom-ipcshared) \
|
---|
129 | $(TARGET_VBoxXPCOM)
|
---|
130 | TEMPLATE_XPCOMEXE_LIBS.linux = dl $(LIB_PTHREAD)
|
---|
131 | TEMPLATE_XPCOMEXE_LIBS.l4 = $(LIB_RUNTIME) $(VBOX_GCC_LIBGCC)
|
---|
132 | TEMPLATE_XPCOMEXE_LDFLAGS.darwin = -bind_at_load $(TEMPLATE_XPCOM_LDFLAGS.darwin)
|
---|
133 | TEMPLATE_XPCOMEXE_LDFLAGS.l4 = $(L4_DIR)/lib/x86_586/crt0.o \
|
---|
134 | -T$(L4_DIR)/lib/x86_586/main_dyn.ld -nostdlib -lgcc \
|
---|
135 | -Wl,--export-dynamic,--dynamic-linker=libld-l4.s.so \
|
---|
136 | -Wl,--rpath-link,$(L4_LIBDIR) \
|
---|
137 | # -Wl,--whole-archive,--no-allow-shlib-undefined
|
---|
138 |
|
---|
139 |
|
---|
140 | #
|
---|
141 | # Template for building XPCOM executables for running at build time.
|
---|
142 | #
|
---|
143 | # It extends the BLDPROG template in config.kmk but overrides CFLAGS
|
---|
144 | # and CXXFLAGS completely at the moment.
|
---|
145 | #
|
---|
146 | TEMPLATE_XPCOMBLDPROG = XPCOM Build programs executables
|
---|
147 | TEMPLATE_XPCOMBLDPROG_EXTENDS = BLDPROG
|
---|
148 |
|
---|
149 | TEMPLATE_XPCOMBLDPROG_DEFS = $(TEMPLATE_BLDPROG_DEFS) $(TEMPLATE_XPCOMEXE_DEFS)
|
---|
150 | TEMPLATE_XPCOMBLDPROG_DEFS.$(BUILD_TARGET) = $(TEMPLATE_BLDPROG_DEFS.$(BUILD_TARGET)) $(TEMPLATE_XPCOMEXE_DEFS.$(BUILD_TARGET))
|
---|
151 | TEMPLATE_XPCOMBLDPROG_DEFS.$(BUILD_TARGET_ARCH) = $(TEMPLATE_BLDPROG_DEFS.$(BUILD_TARGET_ARCH)) $(TEMPLATE_XPCOMEXE_DEFS.$(BUILD_TARGET_ARCH))
|
---|
152 | TEMPLATE_XPCOMBLDPROG_CXXFLAGS = -ansi -Wall -Wno-non-virtual-dtor
|
---|
153 | TEMPLATE_XPCOMBLDPROG_CXXFLAGS.linux = -pthread
|
---|
154 | TEMPLATE_XPCOMBLDPROG_CXXFLAGS.release = -O
|
---|
155 | TEMPLATE_XPCOMBLDPROG_CXXFLAGS.profile = -O
|
---|
156 | TEMPLATE_XPCOMBLDPROG_CFLAGS = -pipe -ansi -Wall -Wno-unused
|
---|
157 | TEMPLATE_XPCOMBLDPROG_CFLAGS.linux = -pthread
|
---|
158 | TEMPLATE_XPCOMBLDPROG_CFLAGS.release = -O
|
---|
159 | TEMPLATE_XPCOMBLDPROG_CFLAGS.profile = -O
|
---|
160 | TEMPLATE_XPCOMBLDPROG_INCS = $(VBOX_PATH_SDK)/include \
|
---|
161 | $(VBOX_PATH_SDK)/include/xpcom \
|
---|
162 | $(VBOX_PATH_SDK)/include/xpcom/nsprpub \
|
---|
163 | $(VBOX_PATH_SDK)/include/xpcom/string \
|
---|
164 | $(VBOX_PATH_SDK)/include/xpcom/xpcom \
|
---|
165 | $(VBOX_PATH_SDK)/include/xpcom/ipcd
|
---|
166 | TEMPLATE_XPCOMBLDPROG_INCS.$(BUILD_TARGET) = $(TEMPLATE_XPCOMEXE_INCS.$(BUILD_TARGET))
|
---|
167 | TEMPLATE_XPCOMBLDPROG_INCS.$(BUILD_TARGET_ARCH) = $(TEMPLATE_XPCOMEXE_INCS.$(BUILD_TARGET_ARCH))
|
---|
168 | TEMPLATE_XPCOMBLDPROG_LIBPATH.$(BUILD_TARGET) = $(TEMPLATE_XPCOMEXE_LIBPATH.$(BUILD_TARGET))
|
---|
169 | TEMPLATE_XPCOMBLDPROG_LIBPATH.$(BUILD_TARGET_ARCH) = $(TEMPLATE_XPCOMEXE_LIBPATH.$(BUILD_TARGET_ARCH))
|
---|
170 | TEMPLATE_XPCOMBLDPROG_LDFLAGS.$(BUILD_TARGET) = $(TEMPLATE_XPCOMEXE_LDFLAGS.$(BUILD_TARGET))
|
---|
171 | TEMPLATE_XPCOMBLDPROG_LDFLAGS.$(BUILD_TARGET_ARCH) = $(TEMPLATE_XPCOMEXE_LDFLAGS.$(BUILD_TARGET_ARCH))
|
---|
172 | TEMPLATE_XPCOMBLDPROG_ORDERDEPS = $(foreach hdrinst, $(filter %-HEADERS, $(INSTALLS)), $(TARGET_$(hdrinst)))
|
---|
173 |
|
---|
174 |
|
---|
175 | #
|
---|
176 | # Header installs.
|
---|
177 | #
|
---|
178 | INSTALLS = \
|
---|
179 | NSPRPUB-HEADERS \
|
---|
180 | NSPRPUB-MD-HEADERS \
|
---|
181 | NSPRPUB-OBS-HEADERS \
|
---|
182 | NSPRPUB-PRIV-HEADERS \
|
---|
183 | STRING-HEADERS \
|
---|
184 | XPCOM-HEADERS \
|
---|
185 | IPCD-HEADERS
|
---|
186 |
|
---|
187 | #
|
---|
188 | # The IDL compiler and typelib linker.
|
---|
189 | #
|
---|
190 | BLDPROGS = \
|
---|
191 | xpidl \
|
---|
192 | xpt_link
|
---|
193 |
|
---|
194 | #
|
---|
195 | # We build several libraries so that any linker command line
|
---|
196 | # length restrictions limit will be avoided. (Solaris, Mac?)
|
---|
197 | #
|
---|
198 | LIBRARIES = \
|
---|
199 | VBox-xpcom-nspr \
|
---|
200 | VBox-xpcom-typelib \
|
---|
201 | VBox-xpcom-string \
|
---|
202 | VBox-xpcom-base \
|
---|
203 | VBox-xpcom-ds \
|
---|
204 | VBox-xpcom-io \
|
---|
205 | VBox-xpcom-components \
|
---|
206 | VBox-xpcom-threads \
|
---|
207 | VBox-xpcom-xptinfo \
|
---|
208 | VBox-xpcom-xptcall \
|
---|
209 | VBox-xpcom-proxy \
|
---|
210 | VBoxXPCOMGlue \
|
---|
211 | VBox-xpcom-ipcutils \
|
---|
212 | VBox-xpcom-ipcshared \
|
---|
213 | VBox-xpcom-ipcdlock \
|
---|
214 | VBox-xpcom-ipctransmgr \
|
---|
215 | VBox-xcpom-ipctmgrcom
|
---|
216 |
|
---|
217 | DLLS = \
|
---|
218 | VBoxXPCOM \
|
---|
219 | VBoxXPCOMIPCC
|
---|
220 |
|
---|
221 | ifdef VBOX_WITH_TESTCASES
|
---|
222 | PROGRAMS = \
|
---|
223 | tstnsIFileEnumerator \
|
---|
224 | tstnsIFileTest \
|
---|
225 | tstTestArray \
|
---|
226 | tstTestAtoms \
|
---|
227 | tstTestAutoLock \
|
---|
228 | tstTestCallTemplates \
|
---|
229 | tstTestCOMPtr \
|
---|
230 | tstTestCOMPtrEq \
|
---|
231 | tstTestCRT \
|
---|
232 | tstTestFactory \
|
---|
233 | tstTestHashtables \
|
---|
234 | tstTestID \
|
---|
235 | tstTestObserverService \
|
---|
236 | tstTestPipes \
|
---|
237 | tstTestServMgr \
|
---|
238 | tstTestThreads \
|
---|
239 | tstTestXPIDLString \
|
---|
240 | tstTestDeque \
|
---|
241 | tstTestAutoPtr \
|
---|
242 | tstTestMinStringAPI \
|
---|
243 | tstTestStrings \
|
---|
244 | tstPrimitiveTest \
|
---|
245 | tstSimpleTypeLib \
|
---|
246 | tstXptDump \
|
---|
247 | tstXptLink
|
---|
248 | # tstTestPermanentAtoms
|
---|
249 | endif # VBOX_WITH_TESTCASES
|
---|
250 | PROGRAMS += VBoxXPCOMIPCD
|
---|
251 |
|
---|
252 | ifeq ($(BUILD_TARGET),linux)
|
---|
253 | XPCOM_TYPELIB = $(PATH_BIN)/VBoxXPCOMBase.xpt
|
---|
254 | else
|
---|
255 | XPCOM_TYPELIB = $(PATH_BIN)/components/VBoxXPCOMBase.xpt
|
---|
256 | endif
|
---|
257 | OTHERS = $(XPCOM_TYPELIB)
|
---|
258 | OTHER_CLEAN = \
|
---|
259 | $(PATH_TARGET)/VBox-xpcom-nspr/_pr_bld.h \
|
---|
260 | $(PATH_TARGET)/VBox-xpcom-nspr/_pl_bld.h \
|
---|
261 | $(XPCOM_TYPELIB)
|
---|
262 |
|
---|
263 |
|
---|
264 |
|
---|
265 | #
|
---|
266 | # SDK headers - lot's of files to install...
|
---|
267 | #
|
---|
268 | # Tip: If you are going to remove files here, you might
|
---|
269 | # wish to do a `kmk uninstall' first to avoid have
|
---|
270 | # obsoleted files in the $(INST_SDK) directory.
|
---|
271 | #
|
---|
272 |
|
---|
273 | NSPRPUB-HEADERS_INST = $(INST_SDK)/include/xpcom/nsprpub/
|
---|
274 | NSPRPUB-HEADERS_IFFLAGS = -m 644
|
---|
275 | NSPRPUB-HEADERS_SOURCES = \
|
---|
276 | nsprpub/pr/include/nspr.h \
|
---|
277 | nsprpub/lib/ds/plarena.h \
|
---|
278 | nsprpub/lib/ds/plarenas.h \
|
---|
279 | nsprpub/lib/libc/include/plbase64.h \
|
---|
280 | nsprpub/lib/libc/include/plerror.h \
|
---|
281 | nsprpub/lib/libc/include/plgetopt.h \
|
---|
282 | nsprpub/lib/ds/plhash.h \
|
---|
283 | nsprpub/lib/libc/include/plresolv.h \
|
---|
284 | nsprpub/lib/libc/include/plstr.h \
|
---|
285 | nsprpub/pr/include/pratom.h \
|
---|
286 | nsprpub/pr/include/prbit.h \
|
---|
287 | nsprpub/pr/include/prclist.h \
|
---|
288 | nsprpub/pr/include/prcmon.h \
|
---|
289 | nsprpub/pr/include/prcountr.h \
|
---|
290 | nsprpub/pr/include/prcvar.h \
|
---|
291 | nsprpub/pr/include/prdtoa.h \
|
---|
292 | nsprpub/pr/include/prenv.h \
|
---|
293 | nsprpub/pr/include/prerr.h \
|
---|
294 | nsprpub/pr/include/prerror.h \
|
---|
295 | nsprpub/pr/include/prinet.h \
|
---|
296 | nsprpub/pr/include/prinit.h \
|
---|
297 | nsprpub/pr/include/prinrval.h \
|
---|
298 | nsprpub/pr/include/prio.h \
|
---|
299 | nsprpub/pr/include/pripcsem.h \
|
---|
300 | nsprpub/pr/include/prlink.h \
|
---|
301 | nsprpub/pr/include/prlock.h \
|
---|
302 | nsprpub/pr/include/prlog.h \
|
---|
303 | nsprpub/pr/include/prlong.h \
|
---|
304 | nsprpub/pr/include/prmem.h \
|
---|
305 | nsprpub/pr/include/prmon.h \
|
---|
306 | nsprpub/pr/include/prmwait.h \
|
---|
307 | nsprpub/pr/include/prnetdb.h \
|
---|
308 | nsprpub/pr/include/prolock.h \
|
---|
309 | nsprpub/pr/include/prpdce.h \
|
---|
310 | nsprpub/pr/include/prprf.h \
|
---|
311 | nsprpub/pr/include/prproces.h \
|
---|
312 | nsprpub/pr/include/prrng.h \
|
---|
313 | nsprpub/pr/include/prrwlock.h \
|
---|
314 | nsprpub/pr/include/prshm.h \
|
---|
315 | nsprpub/pr/include/prshma.h \
|
---|
316 | nsprpub/pr/include/prsystem.h \
|
---|
317 | nsprpub/pr/include/prthread.h \
|
---|
318 | nsprpub/pr/include/prtime.h \
|
---|
319 | nsprpub/pr/include/prtpool.h \
|
---|
320 | nsprpub/pr/include/prtrace.h \
|
---|
321 | nsprpub/pr/include/prtypes.h \
|
---|
322 | nsprpub/pr/include/prvrsion.h \
|
---|
323 | nsprpub/pr/include/prwin16.h \
|
---|
324 | nsprpub/pr/include/md/_vbox.cfg=>prcpucfg.h \
|
---|
325 |
|
---|
326 | NSPRPUB-MD-HEADERS_INST = $(INST_SDK)/include/xpcom/nsprpub/md
|
---|
327 | NSPRPUB-MD-HEADERS_IFFLAGS = -m 644
|
---|
328 | NSPRPUB-MD-HEADERS_SOURCES = \
|
---|
329 | nsprpub/pr/include/md/_darwin.h \
|
---|
330 | nsprpub/pr/include/md/_freebsd.h \
|
---|
331 | nsprpub/pr/include/md/_l4v2.h \
|
---|
332 | nsprpub/pr/include/md/_linux.h \
|
---|
333 | nsprpub/pr/include/md/_macos.h \
|
---|
334 | nsprpub/pr/include/md/_netbsd.h \
|
---|
335 | nsprpub/pr/include/md/_openbsd.h \
|
---|
336 | nsprpub/pr/include/md/_os2_errors.h \
|
---|
337 | nsprpub/pr/include/md/_os2.h \
|
---|
338 | nsprpub/pr/include/md/_pcos.h \
|
---|
339 | nsprpub/pr/include/md/_solaris.h \
|
---|
340 | nsprpub/pr/include/md/_unix_errors.h \
|
---|
341 | nsprpub/pr/include/md/_unixos.h \
|
---|
342 | nsprpub/pr/include/md/_pth.h \
|
---|
343 | nsprpub/pr/include/md/prosdep.h \
|
---|
344 | \
|
---|
345 | nsprpub/pr/include/md/_freebsd.cfg \
|
---|
346 | nsprpub/pr/include/md/_linux.cfg \
|
---|
347 | nsprpub/pr/include/md/_darwin.cfg \
|
---|
348 | nsprpub/pr/include/md/_netbsd.cfg \
|
---|
349 | nsprpub/pr/include/md/_openbsd.cfg \
|
---|
350 | nsprpub/pr/include/md/_os2.cfg \
|
---|
351 | nsprpub/pr/include/md/_solaris32.cfg \
|
---|
352 | nsprpub/pr/include/md/_solaris64.cfg \
|
---|
353 | nsprpub/pr/include/md/_l4v2.cfg
|
---|
354 |
|
---|
355 | NSPRPUB-OBS-HEADERS_INST = $(INST_SDK)/include/xpcom/nsprpub/obsolete
|
---|
356 | NSPRPUB-OBS-HEADERS_IFFLAGS = -m 644
|
---|
357 | NSPRPUB-OBS-HEADERS_SOURCES = \
|
---|
358 | nsprpub/pr/include/obsolete/pralarm.h \
|
---|
359 | nsprpub/pr/include/obsolete/probslet.h \
|
---|
360 | nsprpub/pr/include/obsolete/protypes.h \
|
---|
361 | nsprpub/pr/include/obsolete/prsem.h
|
---|
362 |
|
---|
363 | NSPRPUB-PRIV-HEADERS_INST = $(INST_SDK)/include/xpcom/nsprpub/private
|
---|
364 | NSPRPUB-PRIV-HEADERS_IFFLAGS = -m 644
|
---|
365 | NSPRPUB-PRIV-HEADERS_SOURCES = \
|
---|
366 | nsprpub/pr/include/private/pprio.h \
|
---|
367 | nsprpub/pr/include/private/pprthred.h \
|
---|
368 | nsprpub/pr/include/private/prpriv.h
|
---|
369 |
|
---|
370 | STRING-HEADERS_INST = $(INST_SDK)/include/xpcom/string
|
---|
371 | STRING-HEADERS_IFFLAGS = -m 644
|
---|
372 | STRING-HEADERS_SOURCES = \
|
---|
373 | xpcom/string/public/nsAString.h \
|
---|
374 | xpcom/string/public/nsAlgorithm.h \
|
---|
375 | xpcom/string/public/nsCharTraits.h \
|
---|
376 | xpcom/string/public/nsDependentString.h \
|
---|
377 | xpcom/string/public/nsDependentSubstring.h \
|
---|
378 | xpcom/string/public/nsEmbedString.h \
|
---|
379 | xpcom/string/public/nsLiteralString.h \
|
---|
380 | xpcom/string/public/nsObsoleteAString.h \
|
---|
381 | xpcom/string/public/nsPrintfCString.h \
|
---|
382 | xpcom/string/public/nsPromiseFlatString.h \
|
---|
383 | xpcom/string/public/nsReadableUtils.h \
|
---|
384 | xpcom/string/public/nsString.h \
|
---|
385 | xpcom/string/public/nsStringAPI.h \
|
---|
386 | xpcom/string/public/nsStringFwd.h \
|
---|
387 | xpcom/string/public/nsStringIterator.h \
|
---|
388 | xpcom/string/public/nsSubstring.h \
|
---|
389 | xpcom/string/public/nsSubstringTuple.h \
|
---|
390 | xpcom/string/public/nsTAString.h \
|
---|
391 | xpcom/string/public/nsTDependentString.h \
|
---|
392 | xpcom/string/public/nsTDependentSubstring.h \
|
---|
393 | xpcom/string/public/nsTObsoleteAString.h \
|
---|
394 | xpcom/string/public/nsTPromiseFlatString.h \
|
---|
395 | xpcom/string/public/nsTString.h \
|
---|
396 | xpcom/string/public/nsTSubstring.h \
|
---|
397 | xpcom/string/public/nsTSubstringTuple.h \
|
---|
398 | xpcom/string/public/nsUTF8Utils.h \
|
---|
399 | xpcom/string/public/nsXPIDLString.h \
|
---|
400 | xpcom/string/public/string-template-def-char.h \
|
---|
401 | xpcom/string/public/string-template-def-unichar.h \
|
---|
402 | xpcom/string/public/string-template-undef.h
|
---|
403 |
|
---|
404 | XPCOM-HEADERS_INST = $(INST_SDK)/include/xpcom/xpcom
|
---|
405 | XPCOM-HEADERS_IFFLAGS = -m 644
|
---|
406 | XPCOM-HEADERS_SOURCES = \
|
---|
407 | xpcom/base/nsAgg.h \
|
---|
408 | xpcom/io/nsAppDirectoryServiceDefs.h \
|
---|
409 | xpcom/ds/nsArray.h \
|
---|
410 | xpcom/ds/nsArrayEnumerator.h \
|
---|
411 | xpcom/ds/nsAtomService.h \
|
---|
412 | xpcom/ds/nsAutoBuffer.h \
|
---|
413 | xpcom/threads/nsAutoLock.h \
|
---|
414 | xpcom/base/nsAutoPtr.h \
|
---|
415 | xpcom/ds/nsBaseHashtable.h \
|
---|
416 | xpcom/ds/nsCOMArray.h \
|
---|
417 | xpcom/glue/nsCOMPtr.h \
|
---|
418 | xpcom/ds/nsCRT.h \
|
---|
419 | xpcom/components/nsCategoryManagerUtils.h \
|
---|
420 | xpcom/ds/nsCheapSets.h \
|
---|
421 | xpcom/ds/nsClassHashtable.h \
|
---|
422 | xpcom/base/nsCom.h \
|
---|
423 | xpcom/components/nsComponentManagerObsolete.h \
|
---|
424 | xpcom/components/nsComponentManagerUtils.h \
|
---|
425 | xpcom/ds/nsCppSharedAllocator.h \
|
---|
426 | xpcom/ds/nsDataHashtable.h \
|
---|
427 | xpcom/glue/nsDebug.h \
|
---|
428 | xpcom/base/nsDebugImpl.h \
|
---|
429 | xpcom/ds/nsDeque.h \
|
---|
430 | xpcom/io/nsDirectoryService.h \
|
---|
431 | xpcom/io/nsDirectoryServiceDefs.h \
|
---|
432 | xpcom/io/nsDirectoryServiceUtils.h \
|
---|
433 | xpcom/ds/nsDoubleHashtable.h \
|
---|
434 | xpcom/ds/nsEnumeratorUtils.h \
|
---|
435 | xpcom/base/nsError.h \
|
---|
436 | xpcom/io/nsEscape.h \
|
---|
437 | xpcom/threads/nsEventQueueUtils.h \
|
---|
438 | xpcom/io/nsFastLoadPtr.h \
|
---|
439 | xpcom/io/nsFastLoadService.h \
|
---|
440 | xpcom/ds/nsFixedSizeAllocator.h \
|
---|
441 | xpcom/glue/nsGenericFactory.h \
|
---|
442 | xpcom/ds/nsHashKeys.h \
|
---|
443 | xpcom/ds/nsHashSets.h \
|
---|
444 | xpcom/ds/nsHashtable.h \
|
---|
445 | xpcom/base/nsIAllocator.h \
|
---|
446 | xpcom/ds/nsIByteBuffer.h \
|
---|
447 | xpcom/base/nsID.h \
|
---|
448 | xpcom/glue/nsIGenericFactory.h \
|
---|
449 | xpcom/base/nsIID.h \
|
---|
450 | xpcom/glue/nsIInterfaceRequestorUtils.h \
|
---|
451 | xpcom/components/nsIServiceManagerObsolete.h \
|
---|
452 | xpcom/components/nsIServiceManagerUtils.h \
|
---|
453 | xpcom/base/nsISupportsBase.h \
|
---|
454 | xpcom/glue/nsISupportsImpl.h \
|
---|
455 | xpcom/base/nsISupportsObsolete.h \
|
---|
456 | xpcom/glue/nsISupportsUtils.h \
|
---|
457 | xpcom/ds/nsIUnicharBuffer.h \
|
---|
458 | xpcom/io/nsIUnicharInputStream.h \
|
---|
459 | xpcom/glue/nsIWeakReferenceUtils.h \
|
---|
460 | xpcom/ds/nsInt64.h \
|
---|
461 | xpcom/ds/nsInterfaceHashtable.h \
|
---|
462 | xpcom/io/nsLinebreakConverter.h \
|
---|
463 | xpcom/io/nsLocalFile.h \
|
---|
464 | xpcom/io/nsLocalFileUnix.h \
|
---|
465 | xpcom/io/nsLocalFileOS2.h \
|
---|
466 | xpcom/io/nsLocalFileOSX.h \
|
---|
467 | xpcom/glue/nsMemory.h \
|
---|
468 | xpcom/components/nsModule.h \
|
---|
469 | xpcom/io/nsMultiplexInputStream.h \
|
---|
470 | xpcom/io/nsNativeCharsetUtils.h \
|
---|
471 | xpcom/components/nsNativeComponentLoader.h \
|
---|
472 | xpcom/ds/nsObserverService.h \
|
---|
473 | xpcom/components/nsObsoleteModuleLoading.h \
|
---|
474 | xpcom/threads/nsProcess.h \
|
---|
475 | xpcom/proxy/public/nsProxiedService.h \
|
---|
476 | xpcom/proxy/public/nsProxyEvent.h \
|
---|
477 | xpcom/proxy/public/nsProxyRelease.h \
|
---|
478 | xpcom/ds/nsQuickSort.h \
|
---|
479 | xpcom/ds/nsRecyclingAllocator.h \
|
---|
480 | xpcom/ds/nsRefPtrHashtable.h \
|
---|
481 | xpcom/io/nsScriptableInputStream.h \
|
---|
482 | xpcom/ds/nsStaticAtom.h \
|
---|
483 | xpcom/components/nsStaticComponent.h \
|
---|
484 | xpcom/ds/nsStaticNameTable.h \
|
---|
485 | xpcom/io/nsStorageStream.h \
|
---|
486 | xpcom/io/nsStreamUtils.h \
|
---|
487 | xpcom/ds/nsStringEnumerator.h \
|
---|
488 | xpcom/io/nsStringIO.h \
|
---|
489 | xpcom/io/nsStringStream.h \
|
---|
490 | xpcom/ds/nsSupportsArray.h \
|
---|
491 | xpcom/ds/nsSupportsPrimitives.h \
|
---|
492 | xpcom/ds/nsTHashtable.h \
|
---|
493 | xpcom/ds/nsTextFormatter.h \
|
---|
494 | xpcom/ds/nsTime.h \
|
---|
495 | xpcom/glue/nsTraceRefcnt.h \
|
---|
496 | xpcom/base/nsTraceRefcntImpl.h \
|
---|
497 | xpcom/ds/nsUnitConversion.h \
|
---|
498 | xpcom/ds/nsValueArray.h \
|
---|
499 | xpcom/ds/nsVariant.h \
|
---|
500 | xpcom/ds/nsVoidArray.h \
|
---|
501 | xpcom/base/nsWeakPtr.h \
|
---|
502 | xpcom/glue/nsWeakReference.h \
|
---|
503 | xpcom/build/nsXPCOM.h \
|
---|
504 | xpcom/build/nsXPCOMCID.h \
|
---|
505 | xpcom/glue/standalone/nsXPCOMGlue.h \
|
---|
506 | xpcom/base/nscore.h \
|
---|
507 | xpcom/ds/pldhash.h \
|
---|
508 | xpcom/threads/plevent.h \
|
---|
509 | xpcom/components/xcDll.h \
|
---|
510 | xpcom/typelib/xpt/public/xpt_arena.h \
|
---|
511 | xpcom/typelib/xpt/public/xpt_struct.h \
|
---|
512 | xpcom/typelib/xpt/public/xpt_xdr.h \
|
---|
513 | xpcom/reflect/xptcall/public/xptcall.h \
|
---|
514 | xpcom/reflect/xptcall/public/xptcstubsdecl.inc \
|
---|
515 | xpcom/reflect/xptcall/public/xptcstubsdef.inc \
|
---|
516 | xpcom/reflect/xptinfo/public/xptinfo.h \
|
---|
517 | xpcom-config.h
|
---|
518 |
|
---|
519 | IPCD-HEADERS_INST = $(INST_SDK)/include/xpcom/ipcd
|
---|
520 | IPCD-HEADERS_IFFLAGS = -m 644
|
---|
521 | IPCD-HEADERS_SOURCES = \
|
---|
522 | ipc/ipcd/client/public/ipcCID.h \
|
---|
523 | ipc/ipcd/extensions/lock/public/ipcLockCID.h \
|
---|
524 | ipc/ipcd/util/public/ipcMessageReader.h \
|
---|
525 | ipc/ipcd/util/public/ipcMessageWriter.h \
|
---|
526 | ipc/ipcd/daemon/public/ipcModule.h \
|
---|
527 | ipc/ipcd/daemon/public/ipcModuleUtil.h \
|
---|
528 | ipc/ipcd/client/public/ipcdclient.h
|
---|
529 |
|
---|
530 |
|
---|
531 | #
|
---|
532 | # The IDL compiler.
|
---|
533 | #
|
---|
534 | # We build it statically because we cannot rely on additional .a files
|
---|
535 | # like in the original build
|
---|
536 | #
|
---|
537 | xpidl_TEMPLATE = XPCOMBLDPROG
|
---|
538 | xpidl_DEFS = EXPORT_XPT_API
|
---|
539 | ## @todo This assumes HOST == TARGET.
|
---|
540 | xpidl_INST = $(INST_SDK)/bin/
|
---|
541 | xpidl_SOURCES = \
|
---|
542 | xpcom/typelib/xpidl/xpidl.c \
|
---|
543 | xpcom/typelib/xpidl/xpidl_idl.c \
|
---|
544 | xpcom/typelib/xpidl/xpidl_util.c \
|
---|
545 | xpcom/typelib/xpidl/xpidl_header.c \
|
---|
546 | xpcom/typelib/xpidl/xpidl_typelib.c \
|
---|
547 | xpcom/typelib/xpidl/xpidl_doc.c \
|
---|
548 | xpcom/typelib/xpidl/xpidl_java.c \
|
---|
549 | xpcom/typelib/xpt/src/xpt_arena.c \
|
---|
550 | xpcom/typelib/xpt/src/xpt_struct.c \
|
---|
551 | xpcom/typelib/xpt/src/xpt_xdr.c
|
---|
552 |
|
---|
553 | ifeq ($(filter-out os2,$(BUILD_TARGET)),)
|
---|
554 | # glib and libIDL needed by XPCOM on OS/2.
|
---|
555 | VBOX_PATH_GLIB ?= $(PATH_DEVTOOLS_TRG)/glibidl
|
---|
556 | VBOX_PATH_GLIB := $(wildcard $(VBOX_PATH_GLIB))
|
---|
557 | VBOX_PATH_LIBIDL ?= $(PATH_DEVTOOLS_TRG)/glibidl
|
---|
558 | VBOX_PATH_LIBIDL := $(wildcard $(VBOX_PATH_LIBIDL))
|
---|
559 | ifeq ($(VBOX_PATH_GLIB),)
|
---|
560 | $(warning VBOX_PATH_GLIB is wrong or not defined!)
|
---|
561 | endif
|
---|
562 | ifeq ($(VBOX_PATH_LIBIDL),)
|
---|
563 | $(warning VBOX_PATH_LIBIDL is wrong or not defined!)
|
---|
564 | endif
|
---|
565 | xpidl_INCS = \
|
---|
566 | $(VBOX_PATH_LIBIDL)/include \
|
---|
567 | $(VBOX_PATH_GLIB)/include
|
---|
568 | xpidl_LIBS = \
|
---|
569 | $(VBOX_PATH_LIBIDL)/lib/libidl.lib \
|
---|
570 | $(VBOX_PATH_LIBIDL)/lib/glib.lib
|
---|
571 | else
|
---|
572 | # We do these ONCE.
|
---|
573 | libIDL_config_cflags := $(shell $(VBOX_LIBIDL_CONFIG) --cflags)
|
---|
574 | libIDL_config_libs := $(shell $(VBOX_LIBIDL_CONFIG) --libs)
|
---|
575 | xpidl_CFLAGS = \
|
---|
576 | $(libIDL_config_cflags)
|
---|
577 | xpidl_LDFLAGS = \
|
---|
578 | $(libIDL_config_libs)
|
---|
579 | endif
|
---|
580 |
|
---|
581 | #
|
---|
582 | # The XPT linker.
|
---|
583 | #
|
---|
584 | xpt_link_TEMPLATE = XPCOMBLDPROG
|
---|
585 | xpt_link_SOURCES = \
|
---|
586 | xpcom/typelib/xpt/tools/xpt_link.c \
|
---|
587 | xpcom/typelib/xpt/src/xpt_arena.c \
|
---|
588 | xpcom/typelib/xpt/src/xpt_struct.c \
|
---|
589 | xpcom/typelib/xpt/src/xpt_xdr.c
|
---|
590 |
|
---|
591 |
|
---|
592 | #
|
---|
593 | # The NSPR Library.
|
---|
594 | #
|
---|
595 | VBox-xpcom-nspr_TEMPLATE = XPCOM
|
---|
596 | VBox-xpcom-nspr_NOINST = 1
|
---|
597 | VBox-xpcom-nspr_DEFS = \
|
---|
598 | _NSPR_BUILD_ \
|
---|
599 | HAVE_LCHOWN=1 \
|
---|
600 | HAVE_STRERROR=1 \
|
---|
601 | FORCE_PR_LOG
|
---|
602 | VBox-xpcom-nspr_DEFS.darwin = \
|
---|
603 | HAVE_BSD_FLOCK=1 \
|
---|
604 | _PR_PTHREADS
|
---|
605 | VBox-xpcom-nspr_DEFS.freebsd = \
|
---|
606 | HAVE_CVAR_BUILT_ON_SEM \
|
---|
607 | _PR_PTHREADS
|
---|
608 | # FIXME: LINUX should be defined by _linux.cfg
|
---|
609 | VBox-xpcom-nspr_DEFS.linux = \
|
---|
610 | LINUX=1 \
|
---|
611 | _POSIX_SOURCE=1 \
|
---|
612 | _BSD_SOURCE=1 \
|
---|
613 | _SVID_SOURCE=1 \
|
---|
614 | _REENTRANT=1 \
|
---|
615 | _LARGEFILE64_SOURCE=1 \
|
---|
616 | HAVE_FCNTL_FILE_LOCKING=1 \
|
---|
617 | HAVE_CVAR_BUILT_ON_SEM \
|
---|
618 | _PR_PTHREADS
|
---|
619 | # _BSD_SOURCE is here to keep the Glibc header files happy and make them include the right things
|
---|
620 | # FIXME: L4 should be defined by _linux.cfg
|
---|
621 | VBox-xpcom-nspr_DEFS.l4 = \
|
---|
622 | L4=1 \
|
---|
623 | _REENTRANT=1 \
|
---|
624 | _LARGEFILE64_SOURCE=1 \
|
---|
625 | _POSIX_SOURCE=1 \
|
---|
626 | _BSD_SOURCE=1 \
|
---|
627 | HAVE_FCNTL_FILE_LOCKING=1 \
|
---|
628 | HAVE_CVAR_BUILT_ON_SEM
|
---|
629 | VBox-xpcom-nspr_DEFS.netbsd = \
|
---|
630 | _PR_PTHREADS
|
---|
631 | VBox-xpcom-nspr_DEFS.openbsd = \
|
---|
632 | _PR_PTHREADS
|
---|
633 | VBox-xpcom-nspr_DEFS.os2 =
|
---|
634 | VBox-xpcom-nspr_DEFS.solaris = \
|
---|
635 | _PR_PTHREADS
|
---|
636 | VBox-xpcom-nspr_INCS = \
|
---|
637 | nsprpub/pr/include/private \
|
---|
638 | $(PATH_TARGET)/VBox-xpcom-nspr
|
---|
639 |
|
---|
640 | VBox-xpcom-nspr_SOURCES = \
|
---|
641 | nsprpub/pr/src/io/prfdcach.c \
|
---|
642 | nsprpub/pr/src/io/prmwait.c \
|
---|
643 | nsprpub/pr/src/io/priometh.c \
|
---|
644 | nsprpub/pr/src/io/pripv6.c \
|
---|
645 | nsprpub/pr/src/io/prmapopt.c \
|
---|
646 | nsprpub/pr/src/io/prlayer.c \
|
---|
647 | nsprpub/pr/src/io/prlog.c \
|
---|
648 | nsprpub/pr/src/io/prmmap.c \
|
---|
649 | nsprpub/pr/src/io/prpolevt.c \
|
---|
650 | nsprpub/pr/src/io/prprf.c \
|
---|
651 | nsprpub/pr/src/io/prscanf.c \
|
---|
652 | nsprpub/pr/src/io/prstdio.c \
|
---|
653 | nsprpub/pr/src/linking/prlink.c \
|
---|
654 | nsprpub/pr/src/malloc/prmalloc.c \
|
---|
655 | nsprpub/pr/src/malloc/prmem.c \
|
---|
656 | nsprpub/pr/src/md/prosdep.c \
|
---|
657 | nsprpub/pr/src/memory/prseg.c \
|
---|
658 | nsprpub/pr/src/memory/prshm.c \
|
---|
659 | nsprpub/pr/src/memory/prshma.c \
|
---|
660 | nsprpub/pr/src/misc/pralarm.c \
|
---|
661 | nsprpub/pr/src/misc/pratom.c \
|
---|
662 | nsprpub/pr/src/misc/prcountr.c \
|
---|
663 | nsprpub/pr/src/misc/prdtoa.c \
|
---|
664 | nsprpub/pr/src/misc/prenv.c \
|
---|
665 | nsprpub/pr/src/misc/prerr.c \
|
---|
666 | nsprpub/pr/src/misc/prerror.c \
|
---|
667 | nsprpub/pr/src/misc/prerrortable.c \
|
---|
668 | nsprpub/pr/src/misc/prinit.c \
|
---|
669 | nsprpub/pr/src/misc/prinrval.c \
|
---|
670 | nsprpub/pr/src/misc/pripc.c \
|
---|
671 | nsprpub/pr/src/misc/prlog2.c \
|
---|
672 | nsprpub/pr/src/misc/prlong.c \
|
---|
673 | nsprpub/pr/src/misc/prnetdb.c \
|
---|
674 | nsprpub/pr/src/misc/prolock.c \
|
---|
675 | nsprpub/pr/src/misc/prrng.c \
|
---|
676 | nsprpub/pr/src/misc/prsystem.c \
|
---|
677 | nsprpub/pr/src/misc/prtime.c \
|
---|
678 | nsprpub/pr/src/misc/prthinfo.c \
|
---|
679 | nsprpub/pr/src/misc/prtpool.c \
|
---|
680 | nsprpub/pr/src/misc/prtrace.c \
|
---|
681 | nsprpub/pr/src/threads/prcmon.c \
|
---|
682 | nsprpub/pr/src/threads/prrwlock.c \
|
---|
683 | nsprpub/pr/src/threads/prtpd.c \
|
---|
684 | nsprpub/pr/src/prvrsion.c \
|
---|
685 | nsprpub/lib/ds/plarena.c \
|
---|
686 | nsprpub/lib/ds/plhash.c \
|
---|
687 | nsprpub/lib/libc/src/strlen.c \
|
---|
688 | nsprpub/lib/libc/src/strcpy.c \
|
---|
689 | nsprpub/lib/libc/src/strdup.c \
|
---|
690 | nsprpub/lib/libc/src/strcat.c \
|
---|
691 | nsprpub/lib/libc/src/strcmp.c \
|
---|
692 | nsprpub/lib/libc/src/strccmp.c \
|
---|
693 | nsprpub/lib/libc/src/strchr.c \
|
---|
694 | nsprpub/lib/libc/src/strpbrk.c \
|
---|
695 | nsprpub/lib/libc/src/strstr.c \
|
---|
696 | nsprpub/lib/libc/src/strcstr.c \
|
---|
697 | nsprpub/lib/libc/src/strtok.c \
|
---|
698 | nsprpub/lib/libc/src/base64.c \
|
---|
699 | nsprpub/lib/libc/src/plerror.c \
|
---|
700 | nsprpub/lib/libc/src/plgetopt.c
|
---|
701 |
|
---|
702 | VBox-xpcom-nspr_SOURCES.darwin = \
|
---|
703 | nsprpub/pr/src/md/unix/unix.c \
|
---|
704 | nsprpub/pr/src/md/unix/unix_errors.c \
|
---|
705 | nsprpub/pr/src/md/unix/uxproces.c \
|
---|
706 | nsprpub/pr/src/md/unix/uxrng.c \
|
---|
707 | nsprpub/pr/src/md/unix/uxshm.c \
|
---|
708 | nsprpub/pr/src/md/unix/uxwrap.c \
|
---|
709 | nsprpub/pr/src/md/unix/darwin.c \
|
---|
710 | nsprpub/pr/src/pthreads/ptio.c \
|
---|
711 | nsprpub/pr/src/pthreads/ptsynch.c \
|
---|
712 | nsprpub/pr/src/pthreads/ptthread.c \
|
---|
713 | nsprpub/pr/src/pthreads/ptmisc.c
|
---|
714 | VBox-xpcom-nspr_SOURCES.darwin.x86 = nsprpub/pr/src/md/unix/os_Darwin_x86.s
|
---|
715 |
|
---|
716 | VBox-xpcom-nspr_SOURCES.l4 = \
|
---|
717 | nsprpub/pr/src/io/prfile.c /* why not for Linux? */ \
|
---|
718 | nsprpub/pr/src/io/prio.c /* "" "" "" "" */ \
|
---|
719 | nsprpub/pr/src/io/prsocket.c \
|
---|
720 | nsprpub/pr/src/md/unix/unix.c \
|
---|
721 | nsprpub/pr/src/md/unix/unix_errors.c \
|
---|
722 | nsprpub/pr/src/md/unix/uxpoll.c \
|
---|
723 | nsprpub/pr/src/md/unix/uxproces.c \
|
---|
724 | nsprpub/pr/src/md/unix/uxrng.c \
|
---|
725 | nsprpub/pr/src/md/unix/uxshm.c \
|
---|
726 | nsprpub/pr/src/md/unix/uxwrap.c \
|
---|
727 | nsprpub/pr/src/md/unix/l4env.c \
|
---|
728 | nsprpub/pr/src/threads/prcthr.c \
|
---|
729 | nsprpub/pr/src/threads/prmon.c \
|
---|
730 | nsprpub/pr/src/threads/combined/prucpu.c \
|
---|
731 | nsprpub/pr/src/threads/combined/prucv.c \
|
---|
732 | nsprpub/pr/src/threads/combined/prulock.c \
|
---|
733 | nsprpub/pr/src/threads/combined/prustack.c \
|
---|
734 | nsprpub/pr/src/threads/combined/pruthr.c
|
---|
735 | # nsprpub/pr/src/md/l4env/prnetdb.c \
|
---|
736 | # nsprpub/pr/src/md/l4env/threads.c
|
---|
737 | VBox-xpcom-nspr_SOURCES.l4.x86 = nsprpub/pr/src/md/unix/os_Linux_x86.s
|
---|
738 | VBox-xpcom-nspr_SOURCES.l4.amd64 = nsprpub/pr/src/md/unix/os_Linux_x86_64.s
|
---|
739 |
|
---|
740 | VBox-xpcom-nspr_SOURCES.linux = \
|
---|
741 | nsprpub/pr/src/md/unix/unix.c \
|
---|
742 | nsprpub/pr/src/md/unix/unix_errors.c \
|
---|
743 | nsprpub/pr/src/md/unix/uxproces.c \
|
---|
744 | nsprpub/pr/src/md/unix/uxrng.c \
|
---|
745 | nsprpub/pr/src/md/unix/uxshm.c \
|
---|
746 | nsprpub/pr/src/md/unix/uxwrap.c \
|
---|
747 | nsprpub/pr/src/md/unix/linux.c \
|
---|
748 | nsprpub/pr/src/pthreads/ptio.c \
|
---|
749 | nsprpub/pr/src/pthreads/ptsynch.c \
|
---|
750 | nsprpub/pr/src/pthreads/ptthread.c \
|
---|
751 | nsprpub/pr/src/pthreads/ptmisc.c
|
---|
752 | VBox-xpcom-nspr_SOURCES.linux.x86 = nsprpub/pr/src/md/unix/os_Linux_x86.s
|
---|
753 | VBox-xpcom-nspr_SOURCES.linux.amd64 = nsprpub/pr/src/md/unix/os_Linux_x86_64.s
|
---|
754 |
|
---|
755 | VBox-xpcom-nspr_SOURCES.os2 = \
|
---|
756 | nsprpub/pr/src/io/prdir.c \
|
---|
757 | nsprpub/pr/src/io/prfile.c \
|
---|
758 | nsprpub/pr/src/io/prio.c \
|
---|
759 | nsprpub/pr/src/io/prsocket.c \
|
---|
760 | nsprpub/pr/src/md/os2/os2misc.c \
|
---|
761 | nsprpub/pr/src/md/os2/os2sem.c \
|
---|
762 | nsprpub/pr/src/md/os2/os2inrval.c \
|
---|
763 | nsprpub/pr/src/md/os2/os2gc.c \
|
---|
764 | nsprpub/pr/src/md/os2/os2thred.c \
|
---|
765 | nsprpub/pr/src/md/os2/os2io.c \
|
---|
766 | nsprpub/pr/src/md/os2/os2cv.c \
|
---|
767 | nsprpub/pr/src/md/os2/os2sock.c \
|
---|
768 | nsprpub/pr/src/md/os2/os2_errors.c \
|
---|
769 | nsprpub/pr/src/md/os2/os2poll.c \
|
---|
770 | nsprpub/pr/src/md/os2/os2rng.c \
|
---|
771 | nsprpub/pr/src/threads/prdump.c \
|
---|
772 | nsprpub/pr/src/threads/prmon.c \
|
---|
773 | nsprpub/pr/src/threads/prsem.c \
|
---|
774 | nsprpub/pr/src/threads/prcthr.c \
|
---|
775 | nsprpub/pr/src/threads/combined/prucpu.c \
|
---|
776 | nsprpub/pr/src/threads/combined/prucv.c \
|
---|
777 | nsprpub/pr/src/threads/combined/prulock.c \
|
---|
778 | nsprpub/pr/src/threads/combined/prustack.c \
|
---|
779 | nsprpub/pr/src/threads/combined/pruthr.c
|
---|
780 | # gcc/emx sources
|
---|
781 | VBox-xpcom-nspr_SOURCES.os2 += \
|
---|
782 | nsprpub/pr/src/md/os2/os2emx.s \
|
---|
783 | nsprpub/pr/src/md/os2/os2vaclegacy.s
|
---|
784 | # IBM VAC sources (not used)
|
---|
785 | #VBox-xpcom-nspr_SOURCES.os2 += \
|
---|
786 | # nsprpub/pr/src/md/os2/os2vacpp.asm
|
---|
787 |
|
---|
788 |
|
---|
789 | nsprpub/pr/src/prvrsion.c_DEPS = $(PATH_VBox-xpcom-nspr)/_pr_bld.h
|
---|
790 | nsprpub/lib/ds/plvrsion.c_DEPS = $(PATH_VBox-xpcom-nspr)/_pl_bld.h
|
---|
791 |
|
---|
792 |
|
---|
793 | VBox-xpcom-typelib_TEMPLATE = XPCOM
|
---|
794 | VBox-xpcom-typelib_NOINST = 1
|
---|
795 | VBox-xpcom-typelib_SOURCES = \
|
---|
796 | xpcom/typelib/xpt/src/xpt_arena.c \
|
---|
797 | xpcom/typelib/xpt/src/xpt_struct.c \
|
---|
798 | xpcom/typelib/xpt/src/xpt_xdr.c
|
---|
799 |
|
---|
800 | VBox-xpcom-string_TEMPLATE = XPCOM
|
---|
801 | VBox-xpcom-string_NOINST = 1
|
---|
802 | VBox-xpcom-string_SOURCES = \
|
---|
803 | xpcom/string/src/nsAString.cpp \
|
---|
804 | xpcom/string/src/nsDependentSubstring.cpp \
|
---|
805 | xpcom/string/src/nsObsoleteAStringThunk.cpp \
|
---|
806 | xpcom/string/src/nsPrintfCString.cpp \
|
---|
807 | xpcom/string/src/nsPromiseFlatString.cpp \
|
---|
808 | xpcom/string/src/nsReadableUtils.cpp \
|
---|
809 | xpcom/string/src/nsSubstring.cpp \
|
---|
810 | xpcom/string/src/nsSubstringTuple.cpp \
|
---|
811 | xpcom/string/src/nsString.cpp \
|
---|
812 | xpcom/string/src/nsStringComparator.cpp \
|
---|
813 | xpcom/string/src/nsStringObsolete.cpp
|
---|
814 |
|
---|
815 | VBox-xpcom-base_TEMPLATE = XPCOM
|
---|
816 | VBox-xpcom-base_NOINST = 1
|
---|
817 | VBox-xpcom-base_DEFS = _IMPL_NS_COM
|
---|
818 | VBox-xpcom-base_SOURCES = \
|
---|
819 | xpcom/base/nsAllocator.cpp \
|
---|
820 | xpcom/base/nsConsoleMessage.cpp \
|
---|
821 | xpcom/base/nsConsoleService.cpp \
|
---|
822 | xpcom/base/nsDebugImpl.cpp \
|
---|
823 | xpcom/base/nsErrorService.cpp \
|
---|
824 | xpcom/base/nsExceptionService.cpp \
|
---|
825 | xpcom/base/nsID.cpp \
|
---|
826 | xpcom/base/nsMemoryImpl.cpp \
|
---|
827 | xpcom/base/nsTraceRefcntImpl.cpp \
|
---|
828 | xpcom/base/nsStackFrameUnix.cpp
|
---|
829 |
|
---|
830 | VBox-xpcom-ds_TEMPLATE = XPCOM
|
---|
831 | VBox-xpcom-ds_NOINST = 1
|
---|
832 | VBox-xpcom-ds_DEFS = _IMPL_NS_COM
|
---|
833 | VBox-xpcom-ds_SOURCES = \
|
---|
834 | xpcom/ds/pldhash.c \
|
---|
835 | xpcom/ds/nsAtomTable.cpp \
|
---|
836 | xpcom/ds/nsAtomService.cpp \
|
---|
837 | xpcom/ds/nsByteBuffer.cpp \
|
---|
838 | xpcom/ds/nsCheapSets.cpp \
|
---|
839 | xpcom/ds/nsCRT.cpp \
|
---|
840 | xpcom/ds/nsDeque.cpp \
|
---|
841 | xpcom/ds/nsEmptyEnumerator.cpp \
|
---|
842 | xpcom/ds/nsEnumeratorUtils.cpp \
|
---|
843 | xpcom/ds/nsFixedSizeAllocator.cpp \
|
---|
844 | xpcom/ds/nsHashSets.cpp \
|
---|
845 | xpcom/ds/nsHashtable.cpp \
|
---|
846 | xpcom/ds/nsObserverList.cpp \
|
---|
847 | xpcom/ds/nsObserverService.cpp \
|
---|
848 | xpcom/ds/nsProperties.cpp \
|
---|
849 | xpcom/ds/nsPersistentProperties.cpp \
|
---|
850 | xpcom/ds/nsQuickSort.cpp \
|
---|
851 | xpcom/ds/nsRecyclingAllocator.cpp \
|
---|
852 | xpcom/ds/nsStaticNameTable.cpp \
|
---|
853 | xpcom/ds/nsStringEnumerator.cpp \
|
---|
854 | xpcom/ds/nsSupportsArray.cpp \
|
---|
855 | xpcom/ds/nsSupportsArrayEnumerator.cpp \
|
---|
856 | xpcom/ds/nsSupportsPrimitives.cpp \
|
---|
857 | xpcom/ds/nsTHashtable.cpp \
|
---|
858 | xpcom/ds/nsUnicharBuffer.cpp \
|
---|
859 | xpcom/ds/nsVariant.cpp \
|
---|
860 | xpcom/ds/nsVoidArray.cpp \
|
---|
861 | xpcom/ds/nsTextFormatter.cpp \
|
---|
862 | xpcom/ds/nsTimelineService.cpp \
|
---|
863 | xpcom/ds/nsValueArray.cpp \
|
---|
864 | xpcom/ds/nsCOMArray.cpp \
|
---|
865 | xpcom/ds/nsArray.cpp \
|
---|
866 | xpcom/ds/nsArrayEnumerator.cpp
|
---|
867 | # xpcom/ds/nsHashPropertyBag.cpp
|
---|
868 |
|
---|
869 | # @todo what about MOZ_USER_DIR?
|
---|
870 | VBox-xpcom-io_TEMPLATE = XPCOM
|
---|
871 | VBox-xpcom-io_NOINST = 1
|
---|
872 | VBox-xpcom-io_DEFS = _IMPL_NS_COM MOZ_USER_DIR=\".mozilla\"
|
---|
873 | VBox-xpcom-io_INCS.darwin = \
|
---|
874 | xpcom/MoreFiles
|
---|
875 | VBox-xpcom-io_SOURCES = \
|
---|
876 | xpcom/io/nsAppFileLocationProvider.cpp \
|
---|
877 | xpcom/io/nsBinaryStream.cpp \
|
---|
878 | xpcom/io/nsByteArrayInputStream.cpp \
|
---|
879 | xpcom/io/nsDirectoryService.cpp \
|
---|
880 | xpcom/io/nsEscape.cpp \
|
---|
881 | xpcom/io/nsFastLoadFile.cpp \
|
---|
882 | xpcom/io/nsFastLoadService.cpp \
|
---|
883 | xpcom/io/nsInputStreamTee.cpp \
|
---|
884 | xpcom/io/nsLinebreakConverter.cpp \
|
---|
885 | xpcom/io/nsLocalFileCommon.cpp \
|
---|
886 | xpcom/io/nsMultiplexInputStream.cpp \
|
---|
887 | xpcom/io/nsPipe3.cpp \
|
---|
888 | xpcom/io/nsStreamUtils.cpp \
|
---|
889 | xpcom/io/nsScriptableInputStream.cpp \
|
---|
890 | xpcom/io/nsSegmentedBuffer.cpp \
|
---|
891 | xpcom/io/SpecialSystemDirectory.cpp \
|
---|
892 | xpcom/io/nsStorageStream.cpp \
|
---|
893 | xpcom/io/nsStringStream.cpp \
|
---|
894 | xpcom/io/nsUnicharInputStream.cpp \
|
---|
895 | xpcom/io/nsNativeCharsetUtils.cpp
|
---|
896 | VBox-xpcom-io_SOURCES.darwin = \
|
---|
897 | xpcom/io/nsLocalFileOSX.cpp \
|
---|
898 | xpcom/MoreFiles/FSCopyObject.c \
|
---|
899 | xpcom/MoreFiles/MoreFilesX.c
|
---|
900 | VBox-xpcom-io_SOURCES.l4 = \
|
---|
901 | xpcom/io/nsLocalFileL4.cpp
|
---|
902 | ifeq ($(filter-out freebsd linux netbsd openbsd solaris,$(BUILD_TARGET)),)
|
---|
903 | VBox-xpcom-io_SOURCES += \
|
---|
904 | xpcom/io/nsLocalFileUnix.cpp
|
---|
905 | endif
|
---|
906 | VBox-xpcom-io_SOURCES.os2 = \
|
---|
907 | xpcom/io/nsLocalFileOS2.cpp
|
---|
908 |
|
---|
909 | VBox-xpcom-components_TEMPLATE = XPCOM
|
---|
910 | VBox-xpcom-components_NOINST = 1
|
---|
911 | VBox-xpcom-components_DEFS = _IMPL_NS_COM EXPORT_XPTI_API
|
---|
912 | VBox-xpcom-components_SOURCES = \
|
---|
913 | xpcom/components/nsCategoryManager.cpp \
|
---|
914 | xpcom/components/nsComponentManager.cpp \
|
---|
915 | xpcom/components/nsComponentManagerObsolete.cpp \
|
---|
916 | xpcom/components/nsNativeComponentLoader.cpp \
|
---|
917 | xpcom/components/nsServiceManagerObsolete.cpp \
|
---|
918 | xpcom/components/xcDll.cpp \
|
---|
919 | xpcom/components/nsStaticComponentLoader.cpp
|
---|
920 |
|
---|
921 | VBox-xpcom-threads_TEMPLATE = XPCOM
|
---|
922 | VBox-xpcom-threads_NOINST = 1
|
---|
923 | VBox-xpcom-threads_DEFS = _IMPL_NS_COM
|
---|
924 | VBox-xpcom-threads_SOURCES = \
|
---|
925 | xpcom/threads/plevent.c \
|
---|
926 | xpcom/threads/nsAutoLock.cpp \
|
---|
927 | xpcom/threads/nsEnvironment.cpp \
|
---|
928 | xpcom/threads/nsEventQueue.cpp \
|
---|
929 | xpcom/threads/nsEventQueueService.cpp \
|
---|
930 | xpcom/threads/nsThread.cpp \
|
---|
931 | xpcom/threads/nsTimerImpl.cpp \
|
---|
932 | xpcom/threads/nsProcessCommon.cpp \
|
---|
933 | xpcom/threads/TimerThread.cpp
|
---|
934 |
|
---|
935 | VBox-xpcom-xptinfo_TEMPLATE = XPCOM
|
---|
936 | VBox-xpcom-xptinfo_NOINST = 1
|
---|
937 | VBox-xpcom-xptinfo_DEFS = _IMPL_NS_COM _IMPL_NS_BASE EXPORT_XPTI_API EXPORT_XPT_API
|
---|
938 | VBox-xpcom-xptinfo_SOURCES = \
|
---|
939 | xpcom/reflect/xptinfo/src/xptiFile.cpp \
|
---|
940 | xpcom/reflect/xptinfo/src/xptiInterfaceInfo.cpp \
|
---|
941 | xpcom/reflect/xptinfo/src/xptiInterfaceInfoManager.cpp \
|
---|
942 | xpcom/reflect/xptinfo/src/xptiManifest.cpp \
|
---|
943 | xpcom/reflect/xptinfo/src/xptiMisc.cpp \
|
---|
944 | xpcom/reflect/xptinfo/src/xptiTypelibGuts.cpp \
|
---|
945 | xpcom/reflect/xptinfo/src/xptiWorkingSet.cpp \
|
---|
946 | xpcom/reflect/xptinfo/src/xptiZipItem.cpp \
|
---|
947 | xpcom/reflect/xptinfo/src/xptiZipLoader.cpp
|
---|
948 |
|
---|
949 |
|
---|
950 | VBox-xpcom-xptcall_TEMPLATE = XPCOM
|
---|
951 | VBox-xpcom-xptcall_NOINST = 1
|
---|
952 | VBox-xpcom-xptcall_DEFS = _IMPL_NS_COM _IMPL_NS_BASE EXPORT_XPTC_API
|
---|
953 | VBox-xpcom-xptcall_DEFS.darwin = KEEP_STACK_16_BYTE_ALIGNED
|
---|
954 | VBox-xpcom-xptcall_DEFS.l4 = L4
|
---|
955 | VBox-xpcom-xptcall_SOURCES = xpcom/reflect/xptcall/src/xptcall.cpp
|
---|
956 | VBox-xpcom-xptcall_SOURCES.darwin.x86 = xpcom/reflect/xptcall/src/md/unix/xptcinvoke_unixish_x86.cpp \
|
---|
957 | xpcom/reflect/xptcall/src/md/unix/xptcstubs_unixish_x86.cpp
|
---|
958 | VBox-xpcom-xptcall_SOURCES.linux.x86 = xpcom/reflect/xptcall/src/md/unix/xptcinvoke_gcc_x86_unix.cpp \
|
---|
959 | xpcom/reflect/xptcall/src/md/unix/xptcstubs_gcc_x86_unix.cpp
|
---|
960 | VBox-xpcom-xptcall_SOURCES.linux.amd64 = xpcom/reflect/xptcall/src/md/unix/xptcinvoke_x86_64_linux.cpp \
|
---|
961 | xpcom/reflect/xptcall/src/md/unix/xptcstubs_x86_64_linux.cpp
|
---|
962 | # gcc/emx sources
|
---|
963 | VBox-xpcom-xptcall_SOURCES.os2 = xpcom/reflect/xptcall/src/md/os2/xptcinvoke_gcc_x86_os2.cpp \
|
---|
964 | xpcom/reflect/xptcall/src/md/os2/xptcstubs_gcc_x86_os2.cpp
|
---|
965 | VBox-xpcom-xptcall_INCS.os2 = xpcom/reflect/xptcall/src/md/unix
|
---|
966 | VBox-xpcom-xptcall_DEFS.os2 = MOZ_NEED_LEADING_UNDERSCORE
|
---|
967 | # IBM/VAC sources (not used)
|
---|
968 | #VBox-xpcom-xptcall_SOURCES.os2 = xpcom/reflect/xptcall/src/md/unix/xptcstubs_os2.cpp \
|
---|
969 | # xpcom/reflect/xptcall/src/md/unix/xptcinvoke_vacpp.asm \
|
---|
970 | # xpcom/reflect/xptcall/src/md/unix/xptcstubs_vacpp.asm
|
---|
971 |
|
---|
972 | VBox-xpcom-proxy_TEMPLATE = XPCOM
|
---|
973 | VBox-xpcom-proxy_NOINST = 1
|
---|
974 | VBox-xpcom-proxy_DEFS = _IMPL_NS_COM EXPORT_XPTC_API EXPORT_XPTI_API
|
---|
975 | VBox-xpcom-proxy_SOURCES = xpcom/proxy/src/nsProxyEvent.cpp \
|
---|
976 | xpcom/proxy/src/nsProxyEventClass.cpp \
|
---|
977 | xpcom/proxy/src/nsProxyEventObject.cpp \
|
---|
978 | xpcom/proxy/src/nsProxyObjectManager.cpp \
|
---|
979 | xpcom/proxy/src/nsProxyRelease.cpp
|
---|
980 |
|
---|
981 | # glue library which all client apps will link with
|
---|
982 | VBoxXPCOMGlue_TEMPLATE = XPCOM
|
---|
983 | VBoxXPCOMGlue_DEFS = _IMPL_NS_COM XPCOM_GLUE
|
---|
984 | VBoxXPCOMGlue_SOURCES = xpcom/glue/nsCOMPtr.cpp \
|
---|
985 | xpcom/glue/nsComponentManagerUtils.cpp \
|
---|
986 | xpcom/glue/nsDebug.cpp \
|
---|
987 | xpcom/glue/nsGenericFactory.cpp \
|
---|
988 | xpcom/glue/nsIInterfaceRequestorUtils.cpp \
|
---|
989 | xpcom/glue/nsMemory.cpp \
|
---|
990 | xpcom/glue/nsTraceRefcnt.cpp \
|
---|
991 | xpcom/glue/nsWeakReference.cpp \
|
---|
992 | xpcom/glue/standalone/nsXPCOMGlue.cpp \
|
---|
993 | xpcom/glue/standalone/nsGREDirServiceProvider.cpp
|
---|
994 | VBoxXPCOMGlue_INST = lib/ $(INST_SDK)/lib/
|
---|
995 |
|
---|
996 |
|
---|
997 | #
|
---|
998 | # The VBoxXPCOM Shared Object, assembling all lib files.
|
---|
999 | #
|
---|
1000 | VBoxXPCOM_TEMPLATE = XPCOM
|
---|
1001 | VBoxXPCOM_NAME = $(basename $(notdir $(LIB_XPCOM)))
|
---|
1002 | VBoxXPCOM_DEFS = BUILD_DCONNECT="1" _IMPL_NS_COM
|
---|
1003 | VBoxXPCOM_SOURCES = \
|
---|
1004 | xpcom/glue/nsCOMPtr.cpp \
|
---|
1005 | xpcom/glue/nsComponentManagerUtils.cpp \
|
---|
1006 | xpcom/glue/nsDebug.cpp \
|
---|
1007 | xpcom/glue/nsGenericFactory.cpp \
|
---|
1008 | xpcom/glue/nsIInterfaceRequestorUtils.cpp \
|
---|
1009 | xpcom/glue/nsMemory.cpp \
|
---|
1010 | xpcom/glue/nsTraceRefcnt.cpp \
|
---|
1011 | xpcom/glue/nsWeakReference.cpp \
|
---|
1012 | xpcom/build/nsXPComInit.cpp \
|
---|
1013 | xpcom/build/nsStringAPI.cpp
|
---|
1014 | VBoxXPCOM_SOURCES.darwin = \
|
---|
1015 | darwindeps.cpp
|
---|
1016 | VBoxXPCOM_SOURCES.os2 = \
|
---|
1017 | os2deps.cpp
|
---|
1018 | VBoxXPCOM_LIBS = \
|
---|
1019 | $(TARGET_VBox-xpcom-typelib) \
|
---|
1020 | $(TARGET_VBox-xpcom-string) \
|
---|
1021 | $(TARGET_VBox-xpcom-base) \
|
---|
1022 | $(TARGET_VBox-xpcom-ds) \
|
---|
1023 | $(TARGET_VBox-xpcom-io) \
|
---|
1024 | $(TARGET_VBox-xpcom-components) \
|
---|
1025 | $(TARGET_VBox-xpcom-threads) \
|
---|
1026 | $(TARGET_VBox-xpcom-xptinfo) \
|
---|
1027 | $(TARGET_VBox-xpcom-xptcall) \
|
---|
1028 | $(TARGET_VBox-xpcom-proxy) \
|
---|
1029 | $(TARGET_VBox-xpcom-nspr)
|
---|
1030 |
|
---|
1031 | VBoxXPCOM_LDFLAGS.linux = -Wl,--whole-archive \
|
---|
1032 | $(TARGET_VBox-xpcom-typelib) \
|
---|
1033 | $(TARGET_VBox-xpcom-string) \
|
---|
1034 | $(TARGET_VBox-xpcom-base) \
|
---|
1035 | $(TARGET_VBox-xpcom-ds) \
|
---|
1036 | $(TARGET_VBox-xpcom-io) \
|
---|
1037 | $(TARGET_VBox-xpcom-components) \
|
---|
1038 | $(TARGET_VBox-xpcom-threads) \
|
---|
1039 | $(TARGET_VBox-xpcom-xptinfo) \
|
---|
1040 | $(TARGET_VBox-xpcom-xptcall) \
|
---|
1041 | $(TARGET_VBox-xpcom-proxy) \
|
---|
1042 | $(TARGET_VBox-xpcom-nspr) \
|
---|
1043 | -Wl,--no-whole-archive
|
---|
1044 | #VBoxXPCOM_LIBS.l4 = $(L4_LIBDIR)/libxpcomstubs.a $(L4_LIBDIR)/../libuc_c++.a \
|
---|
1045 | # $(VBOX_PATH_L4_GCC3_INSTALL)/libsupc++.a $(VBOX_PATH_L4_GCC3_INSTALL)/libgcc_eh.a
|
---|
1046 | # EF heap
|
---|
1047 | #VBoxXPCOM_LIBS += $(LIB_RUNTIME_EF)
|
---|
1048 | #VBoxXPCOM_LDFLAGS = -Wl,--whole-archive $(VBoxXPCOM_LIBS) -Wl,--no-whole-archive $(LIB_RUNTIME)
|
---|
1049 | VBoxXPCOM_LDFLAGS.darwin = -install_name @executable_path/VBoxXPCOM.dylib
|
---|
1050 |
|
---|
1051 | ifdef VBOX_IPC_RELEASE_LOG
|
---|
1052 | IPC_LOGGING = 1
|
---|
1053 | else ifneq ($(BUILD_TYPE),release)
|
---|
1054 | IPC_LOGGING = 1
|
---|
1055 | endif
|
---|
1056 |
|
---|
1057 | TEMPLATE_XPCOMIPC = XPCOM IPC libraries
|
---|
1058 | TEMPLATE_XPCOMIPC_EXTENDS = XPCOM
|
---|
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 |
|
---|
1066 | ifdef IPC_LOGGING
|
---|
1067 | TEMPLATE_XPCOMIPC_DEFS += IN_RING3 IPC_LOGGING
|
---|
1068 | TEMPLATE_XPCOMIPC_LIBS = $(TEMPLATE_XPCOM_LIBS) $(LIB_RUNTIME)
|
---|
1069 | endif
|
---|
1070 | TEMPLATE_XPCOMIPC_LIBS.darwin = $(TARGET_VBoxXPCOM)
|
---|
1071 | TEMPLATE_XPCOMIPC_LIBS.os2 = $(TARGET_VBoxXPCOM)
|
---|
1072 |
|
---|
1073 | TEMPLATE_XPCOMIPCEXE = XPCOM IPC executables
|
---|
1074 | TEMPLATE_XPCOMIPCEXE_EXTENDS = XPCOMEXE
|
---|
1075 | TEMPLATE_XPCOMIPCEXE_DEFS = $(TEMPLATE_XPCOMEXE_DEFS) BUILD_DCONNECT="1"
|
---|
1076 | ifdef IPC_LOGGING
|
---|
1077 | TEMPLATE_XPCOMIPCEXE_DEFS += IN_RING3 IPC_LOGGING
|
---|
1078 | TEMPLATE_XPCOMIPCEXE_LIBS = $(TEMPLATE_XPCOMEXE_LIBS) $(LIB_RUNTIME)
|
---|
1079 | endif
|
---|
1080 |
|
---|
1081 | VBox-xpcom-ipcutils_TEMPLATE = XPCOMIPC
|
---|
1082 | VBox-xpcom-ipcutils_NOINST = 1
|
---|
1083 | VBox-xpcom-ipcutils_SOURCES = \
|
---|
1084 | ipc/ipcd/util/src/ipcMessageReader.cpp \
|
---|
1085 | ipc/ipcd/util/src/ipcMessageWriter.cpp
|
---|
1086 |
|
---|
1087 | VBox-xpcom-ipcshared_TEMPLATE = XPCOMIPC
|
---|
1088 | VBox-xpcom-ipcshared_NOINST = 1
|
---|
1089 | VBox-xpcom-ipcshared_SOURCES = \
|
---|
1090 | ipc/ipcd/shared/src/ipcLog.cpp \
|
---|
1091 | ipc/ipcd/shared/src/ipcConfig.cpp \
|
---|
1092 | ipc/ipcd/shared/src/ipcMessage.cpp \
|
---|
1093 | ipc/ipcd/shared/src/ipcMessagePrimitives.cpp \
|
---|
1094 | ipc/ipcd/shared/src/ipcStringList.cpp \
|
---|
1095 | ipc/ipcd/shared/src/ipcIDList.cpp \
|
---|
1096 | ipc/ipcd/shared/src/ipcm.cpp
|
---|
1097 |
|
---|
1098 | VBox-xpcom-ipcdlock_TEMPLATE = XPCOMIPC
|
---|
1099 | VBox-xpcom-ipcdlock_NOINST = 1
|
---|
1100 | VBox-xpcom-ipcdlock_SOURCES = \
|
---|
1101 | ipc/ipcd/extensions/lock/src/ipcLockProtocol.cpp \
|
---|
1102 | ipc/ipcd/extensions/lock/src/ipcLockService.cpp
|
---|
1103 |
|
---|
1104 | VBox-xpcom-ipctransmgr_TEMPLATE = XPCOMIPC
|
---|
1105 | VBox-xpcom-ipctransmgr_NOINST = 1
|
---|
1106 | VBox-xpcom-ipctransmgr_SOURCES = \
|
---|
1107 | ipc/ipcd/extensions/transmngr/src/tmTransactionService.cpp
|
---|
1108 |
|
---|
1109 | VBox-xcpom-ipctmgrcom_TEMPLATE = XPCOMIPC
|
---|
1110 | VBox-xcpom-ipctmgrcom_NOINST = 1
|
---|
1111 | VBox-xcpom-ipctmgrcom_SOURCES = \
|
---|
1112 | ipc/ipcd/extensions/transmngr/common/tmTransaction.cpp \
|
---|
1113 | ipc/ipcd/extensions/transmngr/common/tmVector.cpp
|
---|
1114 |
|
---|
1115 |
|
---|
1116 | # DCONNECT client shared object
|
---|
1117 | VBoxXPCOMIPCC_TEMPLATE = XPCOMIPC
|
---|
1118 | VBoxXPCOMIPCC_NAME.os2 = VBoxIPCC
|
---|
1119 | ifneq ($(BUILD_TARGET),linux)
|
---|
1120 | VBoxXPCOMIPCC_INST = $(INST_BIN)components/
|
---|
1121 | endif
|
---|
1122 | VBoxXPCOMIPCC_DEFS = HAVE_DEPENDENT_LIBS
|
---|
1123 | VBoxXPCOMIPCC_SOURCES = \
|
---|
1124 | ipc/ipcd/client/src/ipcdclient.cpp \
|
---|
1125 | ipc/ipcd/client/src/ipcService.cpp \
|
---|
1126 | ipc/ipcd/client/src/ipcModuleFactory.cpp \
|
---|
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.linux = \
|
---|
1135 | ipc/ipcd/client/src/ipcConnectionUnix.cpp
|
---|
1136 | VBoxXPCOMIPCC_SOURCES.os2 = \
|
---|
1137 | ipc/ipcd/client/src/ipcConnectionUnix.cpp
|
---|
1138 | VBoxXPCOMIPCC_LDFLAGS.darwin = -install_name @executable_path/components/VBoxXPCOMIPCC.dylib
|
---|
1139 | VBoxXPCOMIPCC_LIBS = \
|
---|
1140 | $(TARGET_VBox-xpcom-ipcutils) \
|
---|
1141 | $(TARGET_VBox-xpcom-ipcshared) \
|
---|
1142 | $(TARGET_VBox-xpcom-ipcdlock) \
|
---|
1143 | $(TARGET_VBox-xpcom-ipctransmgr) \
|
---|
1144 | $(TARGET_VBox-xcpom-ipctmgrcom)
|
---|
1145 | # EF
|
---|
1146 | #VBoxXPCOMIPCC_LIBS += $(LIB_RUNTIME)
|
---|
1147 |
|
---|
1148 | # DCONNECT daemon executable
|
---|
1149 | VBoxXPCOMIPCD_TEMPLATE = XPCOMIPCEXE
|
---|
1150 | VBoxXPCOMIPCD_SOURCES = \
|
---|
1151 | ipc/ipcd/daemon/src/ipcd.cpp \
|
---|
1152 | ipc/ipcd/daemon/src/ipcClient.cpp \
|
---|
1153 | ipc/ipcd/daemon/src/ipcModuleReg.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 = \
|
---|
1164 | ipc/ipcd/daemon/src/ipcdUnix.cpp
|
---|
1165 |
|
---|
1166 | #
|
---|
1167 | # testcases
|
---|
1168 | #
|
---|
1169 | tstnsIFileEnumerator_TEMPLATE = XPCOMEXE
|
---|
1170 | tstnsIFileEnumerator_SOURCES = xpcom/tests/nsIFileEnumerator.cpp
|
---|
1171 | tstnsIFileTest_TEMPLATE = XPCOMEXE
|
---|
1172 | tstnsIFileTest_SOURCES = xpcom/tests/nsIFileTest.cpp
|
---|
1173 | tstTestArray_TEMPLATE = XPCOMEXE
|
---|
1174 | tstTestArray_SOURCES = xpcom/tests/TestArray.cpp
|
---|
1175 | tstTestAtoms_TEMPLATE = XPCOMEXE
|
---|
1176 | tstTestAtoms_SOURCES = xpcom/tests/TestAtoms.cpp
|
---|
1177 | tstTestAutoLock_TEMPLATE = XPCOMEXE
|
---|
1178 | tstTestAutoLock_SOURCES = xpcom/tests/TestAutoLock.cpp
|
---|
1179 | tstTestCallTemplates_TEMPLATE = XPCOMEXE
|
---|
1180 | tstTestCallTemplates_SOURCES = xpcom/tests/TestCallTemplates.cpp
|
---|
1181 | tstTestCOMPtr_TEMPLATE = XPCOMEXE
|
---|
1182 | tstTestCOMPtr_SOURCES = xpcom/tests/TestCOMPtr.cpp
|
---|
1183 | tstTestCOMPtrEq_TEMPLATE = XPCOMEXE
|
---|
1184 | tstTestCOMPtrEq_SOURCES = xpcom/tests/TestCOMPtrEq.cpp
|
---|
1185 | tstTestCRT_TEMPLATE = XPCOMEXE
|
---|
1186 | tstTestCRT_SOURCES = xpcom/tests/TestCRT.cpp
|
---|
1187 | tstTestFactory_TEMPLATE = XPCOMEXE
|
---|
1188 | tstTestFactory_SOURCES = xpcom/tests/TestFactory.cpp
|
---|
1189 | tstTestHashtables_TEMPLATE = XPCOMEXE
|
---|
1190 | tstTestHashtables_SOURCES = xpcom/tests/TestHashtables.cpp
|
---|
1191 | tstTestID_TEMPLATE = XPCOMEXE
|
---|
1192 | tstTestID_SOURCES = xpcom/tests/TestID.cpp
|
---|
1193 | tstTestObserverService_TEMPLATE= XPCOMEXE
|
---|
1194 | tstTestObserverService_SOURCES = xpcom/tests/TestObserverService.cpp
|
---|
1195 | tstTestPermanentAtoms_TEMPLATE = XPCOMEXE
|
---|
1196 | tstTestPermanentAtoms_SOURCES = xpcom/tests/TestPermanentAtoms.cpp
|
---|
1197 | tstTestPipes_TEMPLATE = XPCOMEXE
|
---|
1198 | tstTestPipes_SOURCES = xpcom/tests/TestPipes.cpp
|
---|
1199 | tstTestServMgr_TEMPLATE = XPCOMEXE
|
---|
1200 | tstTestServMgr_SOURCES = xpcom/tests/TestServMgr.cpp
|
---|
1201 | tstTestServMgr_INCS = xpcom/tests/services
|
---|
1202 | tstTestThreads_TEMPLATE = XPCOMEXE
|
---|
1203 | tstTestThreads_SOURCES = xpcom/tests/TestThreads.cpp
|
---|
1204 | tstTestXPIDLString_TEMPLATE = XPCOMEXE
|
---|
1205 | tstTestXPIDLString_SOURCES = xpcom/tests/TestXPIDLString.cpp
|
---|
1206 | tstTestDeque_TEMPLATE = XPCOMEXE
|
---|
1207 | tstTestDeque_SOURCES = xpcom/tests/TestDeque.cpp
|
---|
1208 | tstTestAutoPtr_TEMPLATE = XPCOMEXE
|
---|
1209 | tstTestAutoPtr_SOURCES = xpcom/tests/TestAutoPtr.cpp
|
---|
1210 | tstTestMinStringAPI_TEMPLATE = XPCOMEXE
|
---|
1211 | tstTestMinStringAPI_SOURCES = xpcom/tests/TestMinStringAPI.cpp
|
---|
1212 | tstTestStrings_TEMPLATE = XPCOMEXE
|
---|
1213 | tstTestStrings_SOURCES = xpcom/tests/TestStrings.cpp
|
---|
1214 | tstPrimitiveTest_TEMPLATE = XPCOMEXE
|
---|
1215 | tstPrimitiveTest_SOURCES = xpcom/typelib/xpt/tests/PrimitiveTest.c
|
---|
1216 | tstSimpleTypeLib_TEMPLATE = XPCOMEXE
|
---|
1217 | tstSimpleTypeLib_SOURCES = xpcom/typelib/xpt/tests/SimpleTypeLib.c
|
---|
1218 | tstXptDump_TEMPLATE = XPCOMEXE
|
---|
1219 | tstXptDump_SOURCES = xpcom/typelib/xpt/tools/xpt_dump.c
|
---|
1220 | tstXptLink_TEMPLATE = XPCOMEXE
|
---|
1221 | tstXptLink_SOURCES = xpcom/typelib/xpt/tools/xpt_link.c
|
---|
1222 |
|
---|
1223 |
|
---|
1224 |
|
---|
1225 |
|
---|
1226 | IDLFILES = \
|
---|
1227 | xpcom/base/nsIDebug.idl \
|
---|
1228 | xpcom/base/nsIInterfaceRequestor.idl \
|
---|
1229 | xpcom/base/nsIMemory.idl \
|
---|
1230 | xpcom/base/nsIProgrammingLanguage.idl \
|
---|
1231 | xpcom/base/nsISupports.idl \
|
---|
1232 | xpcom/base/nsITraceRefcnt.idl \
|
---|
1233 | xpcom/base/nsIWeakReference.idl \
|
---|
1234 | xpcom/base/nsIConsoleMessage.idl \
|
---|
1235 | xpcom/base/nsIConsoleService.idl \
|
---|
1236 | xpcom/base/nsIConsoleListener.idl \
|
---|
1237 | xpcom/base/nsIErrorService.idl \
|
---|
1238 | xpcom/base/nsIException.idl \
|
---|
1239 | xpcom/base/nsIExceptionService.idl \
|
---|
1240 | xpcom/base/nsrootidl.idl \
|
---|
1241 | xpcom/components/nsIClassInfo.idl \
|
---|
1242 | xpcom/components/nsIComponentRegistrar.idl \
|
---|
1243 | xpcom/components/nsIFactory.idl \
|
---|
1244 | xpcom/components/nsIModule.idl \
|
---|
1245 | xpcom/components/nsIServiceManager.idl \
|
---|
1246 | xpcom/components/nsIComponentManager.idl \
|
---|
1247 | xpcom/components/nsICategoryManager.idl \
|
---|
1248 | xpcom/components/nsIComponentLoader.idl \
|
---|
1249 | xpcom/components/nsINativeComponentLoader.idl \
|
---|
1250 | xpcom/components/nsIComponentManagerObsolete.idl \
|
---|
1251 | xpcom/components/nsIComponentLoaderManager.idl \
|
---|
1252 | xpcom/ds/nsISupportsArray.idl \
|
---|
1253 | xpcom/ds/nsICollection.idl \
|
---|
1254 | xpcom/ds/nsISerializable.idl \
|
---|
1255 | xpcom/ds/nsIEnumerator.idl \
|
---|
1256 | xpcom/ds/nsISimpleEnumerator.idl \
|
---|
1257 | xpcom/ds/nsIObserverService.idl \
|
---|
1258 | xpcom/ds/nsIObserver.idl \
|
---|
1259 | xpcom/ds/nsIAtom.idl \
|
---|
1260 | xpcom/ds/nsIAtomService.idl \
|
---|
1261 | xpcom/ds/nsIProperties.idl \
|
---|
1262 | xpcom/ds/nsIPersistentProperties2.idl \
|
---|
1263 | xpcom/ds/nsIRecyclingAllocator.idl \
|
---|
1264 | xpcom/ds/nsIStringEnumerator.idl \
|
---|
1265 | xpcom/ds/nsISupportsPrimitives.idl \
|
---|
1266 | xpcom/ds/nsISupportsIterators.idl \
|
---|
1267 | xpcom/ds/nsIVariant.idl \
|
---|
1268 | xpcom/ds/nsITimelineService.idl \
|
---|
1269 | xpcom/ds/nsIArray.idl \
|
---|
1270 | xpcom/ds/nsIPropertyBag.idl \
|
---|
1271 | xpcom/ds/nsIHashable.idl \
|
---|
1272 | xpcom/io/nsIDirectoryService.idl \
|
---|
1273 | xpcom/io/nsIDirectoryEnumerator.idl \
|
---|
1274 | xpcom/io/nsIFile.idl \
|
---|
1275 | xpcom/io/nsILocalFile.idl \
|
---|
1276 | xpcom/io/nsILocalFileMac.idl \
|
---|
1277 | xpcom/io/nsIInputStream.idl \
|
---|
1278 | xpcom/io/nsIObjectInputStream.idl \
|
---|
1279 | xpcom/io/nsIBinaryInputStream.idl \
|
---|
1280 | xpcom/io/nsIObjectOutputStream.idl \
|
---|
1281 | xpcom/io/nsIBinaryOutputStream.idl \
|
---|
1282 | xpcom/io/nsIOutputStream.idl \
|
---|
1283 | xpcom/io/nsIStreamBufferAccess.idl \
|
---|
1284 | xpcom/io/nsIByteArrayInputStream.idl \
|
---|
1285 | xpcom/io/nsISeekableStream.idl \
|
---|
1286 | xpcom/io/nsIFastLoadFileControl.idl \
|
---|
1287 | xpcom/io/nsIFastLoadService.idl \
|
---|
1288 | xpcom/io/nsIInputStreamTee.idl \
|
---|
1289 | xpcom/io/nsIMultiplexInputStream.idl \
|
---|
1290 | xpcom/io/nsIPipe.idl \
|
---|
1291 | xpcom/io/nsIAsyncInputStream.idl \
|
---|
1292 | xpcom/io/nsIAsyncOutputStream.idl \
|
---|
1293 | xpcom/io/nsIScriptableInputStream.idl \
|
---|
1294 | xpcom/io/nsIStorageStream.idl \
|
---|
1295 | xpcom/io/nsIStringStream.idl \
|
---|
1296 | xpcom/io/nsILineInputStream.idl \
|
---|
1297 | xpcom/proxy/public/nsIProxyObjectManager.idl \
|
---|
1298 | xpcom/threads/nsIEventQueueService.idl \
|
---|
1299 | xpcom/threads/nsIEventQueue.idl \
|
---|
1300 | xpcom/threads/nsIEventTarget.idl \
|
---|
1301 | xpcom/threads/nsIRunnable.idl \
|
---|
1302 | xpcom/threads/nsIThread.idl \
|
---|
1303 | xpcom/threads/nsITimer.idl \
|
---|
1304 | xpcom/threads/nsIEnvironment.idl \
|
---|
1305 | xpcom/threads/nsITimerInternal.idl \
|
---|
1306 | xpcom/threads/nsITimerManager.idl \
|
---|
1307 | xpcom/threads/nsIProcess.idl \
|
---|
1308 | xpcom/reflect/xptinfo/public/nsIInterfaceInfo.idl \
|
---|
1309 | xpcom/reflect/xptinfo/public/nsIInterfaceInfoManager.idl \
|
---|
1310 | xpcom/reflect/xptinfo/public/nsIXPTLoader.idl \
|
---|
1311 | ipc/ipcd/client/public/ipcIService.idl \
|
---|
1312 | ipc/ipcd/client/public/ipcIMessageObserver.idl \
|
---|
1313 | ipc/ipcd/client/public/ipcIClientObserver.idl \
|
---|
1314 | ipc/ipcd/extensions/lock/public/ipcILockService.idl \
|
---|
1315 | ipc/ipcd/extensions/transmngr/public/ipcITransactionService.idl \
|
---|
1316 | ipc/ipcd/extensions/dconnect/public/ipcIDConnectService.idl \
|
---|
1317 | ipc/ipcd/extensions/transmngr/public/ipcITransactionObserver.idl
|
---|
1318 |
|
---|
1319 |
|
---|
1320 | OTHER_CLEAN += \
|
---|
1321 | $(PATH_VBox-xpcom-string)/idl_ts \
|
---|
1322 | $(addprefix $(VBOX_PATH_SDK)/include/,$(notdir $(subst .idl,.h,$(IDLFILES)))) \
|
---|
1323 | $(addprefix $(VBOX_PATH_SDK)/include/,$(notdir $(subst .idl,.xpt,$(IDLFILES)))) \
|
---|
1324 | $(addprefix $(VBOX_PATH_SDK)/idl/,$(notdir $(IDLFILES))) \
|
---|
1325 | $(addprefix $(PATH_TARGET)/,$(notdir $(subst .idl,.xpt,$(IDLFILES))))
|
---|
1326 |
|
---|
1327 |
|
---|
1328 | # generate rules
|
---|
1329 | include $(PATH_KBUILD)/footer.kmk
|
---|
1330 |
|
---|
1331 |
|
---|
1332 |
|
---|
1333 | XPTFILES = $(addprefix $(PATH_TARGET)/, \
|
---|
1334 | nsIConsoleListener.xpt \
|
---|
1335 | nsIConsoleMessage.xpt \
|
---|
1336 | nsIConsoleService.xpt \
|
---|
1337 | nsIErrorService.xpt \
|
---|
1338 | nsIException.xpt \
|
---|
1339 | nsIExceptionService.xpt \
|
---|
1340 | nsIDebug.xpt \
|
---|
1341 | nsIInterfaceRequestor.xpt \
|
---|
1342 | nsIMemory.xpt \
|
---|
1343 | nsIProgrammingLanguage.xpt \
|
---|
1344 | nsISupports.xpt \
|
---|
1345 | nsITraceRefcnt.xpt \
|
---|
1346 | nsIWeakReference.xpt \
|
---|
1347 | nsrootidl.xpt \
|
---|
1348 | nsIAtom.xpt \
|
---|
1349 | nsIAtomService.xpt \
|
---|
1350 | nsICollection.xpt \
|
---|
1351 | nsIEnumerator.xpt \
|
---|
1352 | nsIPersistentProperties2.xpt \
|
---|
1353 | nsIPropertyBag.xpt \
|
---|
1354 | nsIRecyclingAllocator.xpt \
|
---|
1355 | nsIVariant.xpt \
|
---|
1356 | nsISerializable.xpt \
|
---|
1357 | nsIStringEnumerator.xpt \
|
---|
1358 | nsISupportsArray.xpt \
|
---|
1359 | nsISupportsIterators.xpt \
|
---|
1360 | nsITimelineService.xpt \
|
---|
1361 | nsIArray.xpt \
|
---|
1362 | nsIObserverService.xpt \
|
---|
1363 | nsIObserver.xpt \
|
---|
1364 | nsIProperties.xpt \
|
---|
1365 | nsISimpleEnumerator.xpt \
|
---|
1366 | nsISupportsPrimitives.xpt \
|
---|
1367 | nsIBinaryInputStream.xpt \
|
---|
1368 | nsIBinaryOutputStream.xpt \
|
---|
1369 | nsIByteArrayInputStream.xpt \
|
---|
1370 | nsIFastLoadFileControl.xpt \
|
---|
1371 | nsIFastLoadService.xpt \
|
---|
1372 | nsIInputStreamTee.xpt \
|
---|
1373 | nsILineInputStream.xpt \
|
---|
1374 | nsIMultiplexInputStream.xpt \
|
---|
1375 | nsIObjectInputStream.xpt \
|
---|
1376 | nsIObjectOutputStream.xpt \
|
---|
1377 | nsIPipe.xpt \
|
---|
1378 | nsISeekableStream.xpt \
|
---|
1379 | nsIStorageStream.xpt \
|
---|
1380 | nsIStringStream.xpt \
|
---|
1381 | nsIStreamBufferAccess.xpt \
|
---|
1382 | nsIAsyncInputStream.xpt \
|
---|
1383 | nsIAsyncOutputStream.xpt \
|
---|
1384 | nsIDirectoryService.xpt \
|
---|
1385 | nsIFile.xpt \
|
---|
1386 | nsILocalFile.xpt \
|
---|
1387 | nsIInputStream.xpt \
|
---|
1388 | nsIOutputStream.xpt \
|
---|
1389 | nsIScriptableInputStream.xpt \
|
---|
1390 | nsIComponentLoader.xpt \
|
---|
1391 | nsIComponentLoaderManager.xpt \
|
---|
1392 | nsIComponentManagerObsolete.xpt \
|
---|
1393 | nsINativeComponentLoader.xpt \
|
---|
1394 | nsIClassInfo.xpt \
|
---|
1395 | nsIComponentRegistrar.xpt \
|
---|
1396 | nsIFactory.xpt \
|
---|
1397 | nsIModule.xpt \
|
---|
1398 | nsIServiceManager.xpt \
|
---|
1399 | nsIComponentManager.xpt \
|
---|
1400 | nsICategoryManager.xpt \
|
---|
1401 | nsIThread.xpt \
|
---|
1402 | nsITimer.xpt \
|
---|
1403 | nsITimerInternal.xpt \
|
---|
1404 | nsITimerManager.xpt \
|
---|
1405 | nsIRunnable.xpt \
|
---|
1406 | nsIEventTarget.xpt \
|
---|
1407 | nsIEventQueue.xpt \
|
---|
1408 | nsIEventQueueService.xpt \
|
---|
1409 | nsIEnvironment.xpt \
|
---|
1410 | nsIProcess.xpt \
|
---|
1411 | nsIInterfaceInfo.xpt \
|
---|
1412 | nsIInterfaceInfoManager.xpt \
|
---|
1413 | nsIXPTLoader.xpt)
|
---|
1414 |
|
---|
1415 | OTHER_CLEAN += \
|
---|
1416 | $(XPTFILES)
|
---|
1417 |
|
---|
1418 | # combined typelib library
|
---|
1419 | $(XPCOM_TYPELIB): $(XPTFILES) | $(TARGET_xp_link)
|
---|
1420 | $(call MSG_LINK,XPCOM_TYPELIB,$@)
|
---|
1421 | $(QUIET)$(TARGET_xpt_link) $@ $^
|
---|
1422 |
|
---|
1423 | # generate build stamps
|
---|
1424 | $(PATH_VBox-xpcom-nspr)/_pr_bld.h:
|
---|
1425 | $(call MSG_GENERATE,,$@)
|
---|
1426 | $(QUIET)echo '#define _BUILD_STRING "$(shell date "+%Y-%m-%d %T")"' > $@
|
---|
1427 |
|
---|
1428 | $(PATH_VBox-xpcom-nspr)/_pl_bld.h:
|
---|
1429 | $(call MSG_GENERATE,,$@)
|
---|
1430 | $(QUIET)echo '#define _BUILD_STRING "$(shell date "+%Y-%m-%d %T")"' > $@
|
---|
1431 |
|
---|
1432 | #
|
---|
1433 | # Generate IDL rules.
|
---|
1434 | #
|
---|
1435 |
|
---|
1436 | ##
|
---|
1437 | # Define for compiling one IDL into a header and a typelib
|
---|
1438 | # @param idl The filename with everything.
|
---|
1439 | XPIDL_INCS = -I xpcom/base/ -I xpcom/ds/ -I xpcom/components/ -I xpcom/io/ -I xpcom/threads/ -I xpcom/reflect/xptinfo/public/
|
---|
1440 | define def_IDL
|
---|
1441 | $(addprefix $(VBOX_PATH_SDK)/include/,$(notdir $(subst .idl,.h,$(idl)))) \
|
---|
1442 | $(PATH_TARGET)/$(notdir $(subst .idl,.xpt,$(idl))): $(idl) | $(TARGET_xpidl)
|
---|
1443 | $$(call MSG_TOOL,xpidl,XPCOM,$$<,$$@)
|
---|
1444 | $$(QUIET)$(MKDIR) -p $(VBOX_PATH_SDK)/include $(VBOX_PATH_SDK)/idl
|
---|
1445 | $$(QUIET)$$(TARGET_xpidl) -m header $(XPIDL_INCS) -e $$@ $$<
|
---|
1446 | $$(QUIET)$$(TARGET_xpidl) -m typelib $(XPIDL_INCS) -e $(addprefix $(PATH_TARGET)/,$(notdir $(subst .idl,.xpt,$(idl)))) $$<
|
---|
1447 | $$(QUIET)$(CP) $$< $$(VBOX_PATH_SDK)/idl
|
---|
1448 | endef
|
---|
1449 |
|
---|
1450 | $(foreach idl, $(IDLFILES), $(eval $(def_IDL)))
|
---|
1451 |
|
---|
1452 | # dummy target.
|
---|
1453 | $(PATH_VBox-xpcom-string)/idl_ts: $(addprefix $(VBOX_PATH_SDK)/include/,$(notdir $(subst .idl,.h,$(IDLFILES))))
|
---|
1454 | $(call MSG_L1,IDL processing completed.)
|
---|
1455 | $(QUIET)$(MKDIR) -p $(dir $@)
|
---|
1456 | $(QUIET)$(ECHO_EXT) > $@
|
---|
1457 |
|
---|
1458 | # Manual dependency...
|
---|
1459 | xpcom/string/src/nsAString.cpp: $(PATH_VBox-xpcom-string)/idl_ts
|
---|
1460 |
|
---|