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