VirtualBox

source: vbox/trunk/src/libs/xpcom18a4/Makefile.kmk@ 11469

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

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette