VirtualBox

source: vbox/trunk/src/VBox/Main/Makefile@ 977

Last change on this file since 977 was 960, checked in by vboxsync, 18 years ago

Darwin hacking.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 14.1 KB
Line 
1#
2# Makefile for the VBox Main module.
3#
4
5#
6# Copyright (C) 2006 InnoTek Systemberatung GmbH
7#
8# This file is part of VirtualBox Open Source Edition (OSE), as
9# available from http://www.virtualbox.org. This file is free software;
10# you can redistribute it and/or modify it under the terms of the GNU
11# General Public License as published by the Free Software Foundation,
12# in version 2 as it comes in the "COPYING" file of the VirtualBox OSE
13# distribution. VirtualBox OSE is distributed in the hope that it will
14# be useful, but WITHOUT ANY WARRANTY of any kind.
15#
16# If you received this file as part of a commercial VirtualBox
17# distribution, then only the terms of your commercial VirtualBox
18# license agreement apply instead of the previous paragraph.
19#
20
21DEPTH = ../../..
22include $(PATH_KBUILD)/header.kmk
23
24ifdef VRDP_MC
25DEFS += VRDP_MC
26endif
27
28SUBDIRS_AFTER = testcase
29
30LIBRARIES =
31DLLS = VBoxXML VBoxC
32PROGRAMS = VBoxSVC
33ifeq ($(BUILD_TARGET),win)
34 LIBRARIES = VBoxCOM
35else
36 ifndef VBOX_WITH_XPCOM
37 $(error "VBox: VBOX_WITH_XPCOM isn't defined")
38 endif
39 LIBRARIES = VBoxXPCOM
40 DEFS += VBOX_WITH_XPCOM
41 DEFS += VBOX_WITH_SYS_V_IPC_SESSION_WATCHER
42 DEFS += VBOX_WITH_UNIXY_TAP_NETWORKING
43endif
44#PROGRAMS = tstCFGLdr
45
46ifeq ($(BUILD_TARGET),win)
47 OTHERS = $(PATH_BIN)/comregister.cmd
48 IDLFILE = $(VBOX_PATH_SDK)/idl/VirtualBox.idl
49 OTHER_CLEAN = \
50 $(PATH_BIN)/comregister.cmd \
51 $(VBOX_PATH_SDK)/include/VirtualBox.h \
52 $(IDLFILE) \
53 $(VBOX_PATH_SDK)/lib/VirtualBox.tlb \
54 $(VBOX_PATH_SDK)/lib/VirtualBox_i.c \
55 $(PATH_VBoxCOM)/VirtualBox.h \
56 $(PATH_VBoxCOM)/VirtualBox_i.c \
57 $(PATH_VBoxCOM)/VirtualBox.tlb
58else
59 INSTALLS = xpcom-components
60 IDLFILE = $(VBOX_PATH_SDK)/idl/VirtualBox_XPCOM.idl
61 IDLTYPELIB = $(PATH_BIN)/VirtualBox_XPCOM.xpt
62 IDLHEADER = $(VBOX_PATH_SDK)/include/VirtualBox_XPCOM.h
63 OTHERS = $(IDLTYPELIB)
64 OTHER_CLEAN = \
65 $(IDLFILE) \
66 $(IDLHEADER) \
67 $(IDLTYPELIB)
68
69endif
70
71
72
73#
74# The Main API documentation
75#
76docs: $(PATH_TARGET)/docs.Main
77
78$(PATH_TARGET)/docs.Main: \
79 Doxyfile.Main \
80 idl/doxygen.xsl \
81 idl/VirtualBox.xidl \
82 | $(call DIRDEP, $(PATH_TARGET)) \
83 $(call DIRDEP, $(PATH_OUT)/docs/Main)
84 $(RM) -f $(wildcard $(PATH_OUT)/docs/Main/html/*)
85 $(VBOX_XSLTPROC) -o $(PATH_TARGET)/VirtualBox.idl idl/doxygen.xsl idl/VirtualBox.xidl
86 PATH_OUT="$(PATH_OUT)" PATH_TARGET="$(PATH_TARGET)" PATH_CHM="$(subst /,\\,$(PATH_BIN)/VirtualBoxAPI.chm)" doxygen Doxyfile.Main
87 -$(EXEC_X86_WIN32) $(VBOX_PATH_HTML_HELP_WORKSHOP)/hhc.exe $(subst /,\\,$(PATH_OUT)/docs/Main/html/index.hhp)
88 $(APPEND) $(PATH_TARGET)/docs.Main
89
90$(call DIRDEP, $(PATH_OUT)/docs/Main):
91 $(MKDIR) -p $@
92
93
94#
95# VBoxSVC
96#
97VBoxSVC_TEMPLATE = VBOXMAINEXE
98VBoxSVC_DEFS = CFGLDR_HAVE_COM IN_CFGLDR_R3
99ifdef VBOX_WITH_VRDP
100VBoxSVC_DEFS += VBOX_VRDP IN_VRDP_R3
101endif
102ifdef VBOX_WITH_HGCM
103VBoxSVC_DEFS += VBOX_HGCM
104endif
105ifdef VBOX_MAIN_RELEASE_LOG
106VBoxSVC_DEFS += VBOX_MAIN_RELEASE_LOG LOG_ENABLED
107endif
108ifdef VBOX_WITH_USB
109VBoxSVC_DEFS += VBOX_WITH_USB
110endif
111ifdef VBOX_WITH_ALSA
112VBoxSVC_DEFS += VBOX_WITH_ALSA
113endif
114ifdef NO_COMPILER_H
115VBoxSVC_DEFS += NO_COMPILER_H
116endif
117VBoxSVC_DEFS.win += VBOX_COM_OUTOFPROC_MODULE
118VBoxSVC_DEFS.win.x86 += _WIN32_WINNT=0x0400
119VBoxSVC_DEFS.win.amd64 += _WIN32_WINNT=0x0510
120VBoxSVC_INCS = \
121 include \
122 $(PATH_VBoxSVC) \
123 $(PATH_VBoxCOM) \
124 $(VBOX_PATH_SDK)/include
125ifneq ($(BUILD_TARGET),win)
126VBoxSVC_INCS += \
127 $(VBOX_XPCOM_INCS)
128endif
129ifdef VBOX_WITH_XPCOM
130VBoxSVC_LIBS += \
131 $(PATH_BIN)/VBoxDD$(VBOX_SUFF_DLL) \
132 $(PATH_BIN)/VBoxXML$(VBOX_SUFF_DLL) \
133 $(TARGET_VBoxXPCOM)
134VBoxSVC_LIBS += \
135 $(PATH_LIB)/VBoxXPCOMGlue$(VBOX_SUFF_LIB) \
136 $(PATH_BIN)/VBoxXPCOM$(VBOX_SUFF_DLL)
137VBoxSVC_LIBS.darwin = \
138 $(LIB_VMM) \
139 $(LIB_REM)
140else
141VBoxSVC_LIBS = \
142 $(PATH_LIB)/VBoxDD$(VBOX_SUFF_LIB) \
143 $(PATH_LIB)/VBoxXML.lib \
144 $(PATH_LIB)/VBoxCOM$(VBOX_SUFF_LIB)
145endif
146VBoxSVC_SOURCES = \
147 Logging.cpp \
148 Matching.cpp \
149 USBDeviceFilterImpl.cpp \
150 USBProxyService.cpp \
151 VirtualBoxBase.cpp \
152 VirtualBoxXMLUtil.cpp \
153 VirtualBoxErrorInfoImpl.cpp \
154 VirtualBoxImpl.cpp \
155 MachineImpl.cpp \
156 SnapshotImpl.cpp \
157 HardDiskImpl.cpp \
158 HardDiskAttachmentImpl.cpp \
159 ProgressImpl.cpp \
160 DVDDriveImpl.cpp \
161 DVDImageImpl.cpp \
162 FloppyDriveImpl.cpp \
163 FloppyImageImpl.cpp \
164 HostImpl.cpp \
165 HostDVDDriveImpl.cpp \
166 HostFloppyDriveImpl.cpp \
167 HostUSBDeviceImpl.cpp \
168 GuestOSTypeImpl.cpp \
169 NetworkAdapterImpl.cpp \
170 USBControllerImpl.cpp \
171 AudioAdapterImpl.cpp \
172 SharedFolderImpl.cpp \
173 SystemPropertiesImpl.cpp \
174 BIOSSettingsImpl.cpp
175
176ifdef VBOX_WITH_VRDP
177VBoxSVC_SOURCES += VRDPServerImpl.cpp
178endif
179
180VBoxSVC_SOURCES.win = \
181 HostNetworkInterfaceImpl.cpp \
182 win32/svcmain.cpp \
183 win32/svchlp.cpp \
184 win32/VBoxSVC.rc
185
186ifdef VBOX_WITH_XPCOM
187VBoxSVC_SOURCES += \
188 linux/server.cpp
189endif
190
191ifdef VBOX_WITH_USB
192VBoxSVC_SOURCES.linux += linux/USBProxyServiceLinux.cpp
193VBoxSVC_SOURCES.win += win32/USBProxyServiceWin32.cpp
194endif
195
196ifeq ($(BUILD_TYPE),debug)
197VBoxSVC_LDFLAGS.linux += -rdynamic # for backtrace_symbols()
198endif
199
200#
201# VBoxC
202#
203VBoxC_TEMPLATE = VBOXMAIN
204VBoxC_DEFS = IN_RING3 IN_CFGLDR_R3
205VBoxC_DEFS += VBOX_COM_INPROC
206ifdef VBOX_WITH_VRDP
207VBoxC_DEFS += VBOX_VRDP IN_VRDP_R3
208endif
209ifdef VBOX_WITH_HGCM
210VBoxC_DEFS += VBOX_HGCM
211endif
212ifdef VBOX_MAIN_RELEASE_LOG
213VBoxC_DEFS += VBOX_MAIN_RELEASE_LOG LOG_ENABLED
214endif
215ifdef VBOX_WITH_USB
216VBoxC_DEFS += VBOX_WITH_USB
217endif
218ifdef VBOX_WITH_ALSA
219VBoxC_DEFS += VBOX_WITH_ALSA
220endif
221VBoxC_DEFS.win.x86 += _WIN32_WINNT=0x0400
222VBoxC_DEFS.win.amd64 += _WIN32_WINNT=0x0510
223VBoxC_INCS = \
224 include \
225 $(PATH_VBoxC) \
226 $(PATH_VBoxCOM) \
227 $(VBOX_PATH_SDK)/include
228ifneq ($(BUILD_TARGET),win)
229VBoxC_INCS += \
230 $(VBOX_XPCOM_INCS)
231endif
232VBoxC_LDFLAGS.darwin = -install_name @executable_path/VBoxC.dylib
233ifdef VBOX_USE_VCC80
234VBoxC_LDFLAGS.win = /MANIFEST
235endif
236ifdef VBOX_WITH_XPCOM
237VBoxC_LIBS = \
238 $(TARGET_VBoxXPCOM) \
239 $(PATH_BIN)/VBoxXPCOM$(VBOX_SUFF_DLL) \
240 $(PATH_LIB)/VBoxXPCOMGlue$(VBOX_SUFF_LIB)
241else
242VBoxC_LIBS = \
243 $(PATH_LIB)/VBoxCOM$(VBOX_SUFF_LIB)
244endif
245VBoxC_LIBS += \
246 $(LIB_VMM) \
247 $(LIB_REM)
248VBoxC_SOURCES = \
249 Logging.cpp \
250 VBoxDll.cpp \
251 USBDeviceImpl.cpp \
252 RemoteUSBDeviceImpl.cpp \
253 VirtualBoxBase.cpp \
254 VirtualBoxErrorInfoImpl.cpp \
255 ProgressImpl.cpp \
256 SharedFolderImpl.cpp \
257 SessionImpl.cpp \
258 ConsoleImpl.cpp \
259 ConsoleVRDPServer.cpp \
260 GuestImpl.cpp \
261 KeyboardImpl.cpp \
262 MouseImpl.cpp \
263 DisplayImpl.cpp \
264 FramebufferImpl.cpp \
265 MachineDebuggerImpl.cpp \
266 VBoxDriversRegister.cpp \
267 AudioSnifferInterface.cpp \
268 VMMDevInterface.cpp
269VBoxC_SOURCES.win = \
270 win32/dllmain.cpp \
271 win32/VBoxC.def \
272 win32/VBoxC.rc
273ifdef VBOX_WITH_XPCOM
274VBoxC_SOURCES += \
275 linux/module.cpp
276endif
277
278ifdef VBOX_WITH_HGCM
279VBoxC_SOURCES += \
280 hgcm/HGCMObjects.cpp \
281 hgcm/HGCMThread.cpp \
282 hgcm/HGCM.cpp
283endif
284
285ifdef VBOX_WITH_USB
286VBoxC_SOURCES += \
287 RemoteUSBBackend.cpp
288endif
289
290
291#
292# VBoxXML
293#
294VBoxXML_TEMPLATE = VBOXMAIN
295VBoxXML_SDKS = VBOX_XALAN VBOX_XERCES
296## @todo Why do we need this? Why isn't it in the template?!?
297VBoxXML_CXXFLAGS.win = -EHsc
298VBoxXML_DEFS = \
299 CFGLDR_HAVE_COM IN_RING3 IN_CFGLDR_R3
300VBoxXML_INCS = \
301 include \
302 $(PATH_TARGET)
303VBoxXML_SOURCES = \
304 xml/cfgldr.cpp \
305 xml/cfgldrhlp.cpp
306ifdef VBOX_WITH_XPCOM
307VBoxXML_LIBS = \
308 $(TARGET_VBoxXPCOM) \
309 $(PATH_BIN)/VBoxXPCOM$(VBOX_SUFF_DLL)
310endif
311VBoxXML_LDFLAGS.darwin = -install_name @executable_path/VBoxXML.dylib -Wl,-x # no debug info please.
312
313## @todo (dmik): temporarily embed SettingsConverter.xsl into VBoxXML,
314# later it should go to VBoxSVC as well
315xml/cfgldr.cpp_DEPS = $(PATH_TARGET)/SettingsConverter_xsl.h
316OTHER_CLEAN += $(PATH_TARGET)/SettingsConverter_xsl.h
317$(PATH_TARGET)/SettingsConverter_xsl.h: xml/SettingsConverter.xsl $(VBOX_BIN2C) | $(call DIRDEP,$(PATH_TARGET))
318 $(call MSG_L1,bin2c $< => $@)
319 $(QUIET)$(VBOX_BIN2C) SettingsConverter_xsl $< $@
320
321
322#
323# tstCFGLdr - broken.
324#
325tstCFGLdr_TEMPLATE = VBOXR3
326tstCFGLdr_SDKS = VBOX_XALAN VBOX_XERCES
327tstCFGLdr_DEFS = IN_CFGLDR_R3 STANDALONE_TEST
328## @todo these makes uncessary noice. fix the template usage!
329tstCFGLdr_CXXFLAGS.win = -EHsc
330tstCFGLdr_SOURCES = \
331 xml/cfgldr.cpp \
332 xml/cfgldrhlp.cpp
333tstCFGLdr_INCS = \
334 include \
335 $(PATH_TARGET)
336ifdef VBOX_WITH_XPCOM
337tstCFGLdr_LIBS = \
338 $(PATH_LIB)/VBoxXPCOM$(VBOX_SUFF_LIB)
339endif
340tstCFGLdr_LIBS += \
341 $(LIB_RUNTIME)
342
343
344#
345# VBoxCOM - COM Abstraction Layer library
346#
347VBoxCOM_COMMON_SOURCES = \
348 glue/com.cpp \
349 glue/string.cpp \
350 glue/EventQueue.cpp \
351 glue/ErrorInfo.cpp
352
353VBoxCOM_TEMPLATE = VBOXMAIN
354VBoxCOM_DEFS.x86 = _WIN32_WINNT=0x0500
355VBoxCOM_DEFS.amd64 = _WIN32_WINNT=0x0510
356VBoxCOM_SOURCES = \
357 $(VBoxCOM_COMMON_SOURCES) \
358 $(PATH_VBoxCOM)/VirtualBox_i.c
359VBoxCOM_INCS = \
360 $(VBOX_PATH_SDK)/include
361
362
363#
364# VBoxXPCOM
365#
366VBoxXPCOM_TEMPLATE = VBOXMAIN
367VBoxXPCOM_SOURCES = \
368 $(VBoxCOM_COMMON_SOURCES) \
369 linux/helpers.cpp
370VBoxXPCOM_INCS = \
371 $(VBOX_PATH_SDK)/include \
372 include \
373 $(VBOX_XPCOM_INCS)
374
375
376#
377# Generate _DEPS on all sources which depends on generated headers.
378#
379ifeq ($(BUILD_TARGET),win)
380PREREQS = $(PATH_VBoxCOM)/VirtualBox_i.c
381else
382PREREQS = $(IDLTYPELIB) $(IDLHEADER)
383endif
384
385# brute force way to ensure the prereqs are generated before anything is compiled.
386define def_src_deps
387$(src)_DEPS = $(PREREQS)
388endef
389$(foreach src,\
390 $(VBoxC_SOURCES) $(VBoxC_SOURCES.$(BUILD_TARGET)) \
391 $(VBoxSVC_SOURCES) $(VBoxSVC_SOURCES.$(BUILD_TARGET)) \
392 $(VBoxCOM_COMMON_SOURCES) $(VBoxCOM_SOURCES) $(VBoxXPCOM_SOURCES) \
393 ,$(eval $(value def_src_deps)))
394
395
396#
397# Embed XML Schema files to VBoxSVC
398#
399VBOX_XML_ENTITIES = $(PATH_TARGET)/VirtualBoxXMLUtil_entities.h
400VBOX_XML_ENTITIES_COMMON = $(PATH_TARGET)/VirtualBoxXMLUtil_common_entities.h
401
402VBOX_XML_SCHEMA_COMMON = xml/VirtualBox-settings-common.xsd
403VBOX_XML_SCHEMA.darwin = xml/VirtualBox-settings-macosx.xsd
404VBOX_XML_SCHEMA.linux = xml/VirtualBox-settings-linux.xsd
405VBOX_XML_SCHEMA.win = xml/VirtualBox-settings-windows.xsd
406
407VirtualBoxXMLUtil.cpp_DEPS = $(VBOX_XML_ENTITIES) $(VBOX_XML_ENTITIES_COMMON)
408
409$(VBOX_XML_ENTITIES_COMMON): $(VBOX_XML_SCHEMA_COMMON) $(VBOX_BIN2C)
410 $(call MSG_L1,bin2c $< => $@)
411 $(QUIET)$(VBOX_BIN2C) VirtualBox_settings_common_xsd $< $@
412
413$(VBOX_XML_ENTITIES): $(VBOX_XML_SCHEMA.$(BUILD_TARGET)) $(VBOX_BIN2C)
414 $(call MSG_L1,bin2c $< => $@)
415 $(QUIET)$(VBOX_BIN2C) VirtualBox_settings_xsd $< $@
416
417OTHER_CLEAN += $(VBOX_XML_ENTITIES) $(VBOX_XML_ENTITIES_COMMON)
418
419
420#
421# Generate SchemaDefs.h from XML Schema
422#
423VBOX_XML_SCHEMADEFS_H = $(PATH_TARGET)/SchemaDefs.h
424VBOX_XML_SCHEMADEFS_XSL = xml/SchemaDefs.xsl
425
426VBoxC_DEPS += $(VBOX_XML_SCHEMADEFS_H)
427VBoxC_INCS += $(PATH_TARGET)
428VBoxSVC_DEPS += $(VBOX_XML_SCHEMADEFS_H)
429VBoxSVC_INCS += $(PATH_TARGET)
430
431$(VBOX_XML_SCHEMADEFS_H): $(VBOX_XML_SCHEMADEFS_XSL) $(VBOX_XML_SCHEMA.$(BUILD_TARGET)) $(VBOX_XML_SCHEMA_COMMON)
432 $(call MSG_L1,xsltproc $@)
433 $(QUIET)$(VBOX_XSLTPROC) -o $@ $(filter-out $(VBOX_XML_SCHEMA_COMMON),$^)
434
435OTHER_CLEAN += $(VBOX_XML_SCHEMADEFS_H)
436.NOTPARALLEL: $(VBOX_XML_SCHEMADEFS_H)
437
438
439
440#
441# Creates the symlinks necessary for making XPCOM work.
442#
443xpcom-components_INST = $(INST_BIN)components/
444xpcom-components_SYMLINKS = \
445 VBoxC$(SUFF_DLL)=>../VBoxC$(SUFF_DLL) \
446 VBoxXPCOMIPCC$(SUFF_DLL)=>../VBoxXPCOMIPCC$(SUFF_DLL) \
447 VirtualBox_XPCOM.xpt=>../VirtualBox_XPCOM.xpt \
448 VBoxXPCOMBase.xpt=>../VBoxXPCOMBase.xpt
449
450
451# generate
452include $(PATH_KBUILD)/footer.kmk
453
454
455#
456# Additions rules.
457#
458
459XIDLFILE = idl/VirtualBox.xidl
460
461ifneq ($(BUILD_TARGET),win)
462
463linux/helpers.cpp: $(IDLTYPELIB)
464
465$(IDLFILE): idl/xpidl.xsl $(XIDLFILE)
466 $(call MSG_L1,xsltproc $<,=> $@)
467 $(QUIET)$(MKDIR) -p $(@D)
468 $(QUIET)$(VBOX_XSLTPROC) -o $@ $^
469
470$(IDLTYPELIB): $(IDLFILE)
471 $(call MSG_L1,xpidl $<,=> $@)
472 $(QUIET)$(VBOX_XPIDL) -m typelib -I $(VBOX_PATH_XPCOM_IDL) -e $@ $<
473
474$(IDLHEADER): $(IDLFILE)
475 $(call MSG_L1,xpidl $<,=> $@)
476 $(QUIET)$(VBOX_XPIDL) -m header -I $(VBOX_PATH_XPCOM_IDL) -e $@ $<
477
478$(PATH_BIN)/components/.keep:
479 $(MKDIR) -p $(@D)
480 $(QUIET)echo "keep" > $@
481
482else
483
484MAIN_IDL ?= $(EXEC_X86_WIN32) $(firstword $(wildcard \
485 $(PATH_SDK_WINPSDK_BIN)/Midl.Exe\
486 $(PATH_SDK_WINPSDK)/Bin/Midl.Exe\
487 $(PATH_DEVTOOLS)/win.x86/bin/midl.exe\
488 ) Sorry_Cannot_Find_The_Midl_Compiler_In_The_PSDK)
489IDL_DEFS = /nologo
490ifdef VBOX_WITH_VRDP
491 IDL_DEFS += /D VBOX_VRDP
492endif
493
494$(IDLFILE): idl/midl.xsl $(XIDLFILE)
495 $(call MSG_L1,xsltproc $<,=> $@)
496 $(QUIET)$(MKDIR) -p $(VBOX_PATH_SDK)/idl
497 $(QUIET)$(VBOX_XSLTPROC) -o $@ $^
498
499## @todo r=bird: last changes to this rule showed incorrect dependencies here as it broke testcase (see testboxwin2).
500# This is kind of obvious when looking at the rule, because it's (a) not specifing all it output
501# and (b) generating more stuff *after* the maintarget has been completed.
502#
503# What needs to be done is to not depend on _i.c in the object subdir, but on all the final outputs.
504$(PATH_VBoxCOM)/VirtualBox_i.c: $(IDLFILE) | $(call DIRDEP,$(PATH_VBoxCOM))
505 $(MAIN_IDL) $(IDL_DEFS) \
506 /out $(subst /,\\,$(PATH_VBoxCOM)) \
507 /cpp_cmd $(subst /,\\,$(TOOL_$(VBOX_VCC_TOOL)_CC)) \
508 /I $(subst /,\\,$(PATH_SDK_WINPSDK_INC)) \
509 /I idl \
510 $(subst /,\\,$<)
511 $(MKDIR) -p $(VBOX_PATH_SDK)/include
512 $(CP) $(PATH_VBoxCOM)/VirtualBox.h $(VBOX_PATH_SDK)/include
513 $(MKDIR) -p $(VBOX_PATH_SDK)/lib
514 $(CP) $(PATH_VBoxCOM)/VirtualBox.tlb $(VBOX_PATH_SDK)/lib
515 $(CP) $(PATH_VBoxCOM)/VirtualBox_i.c $(VBOX_PATH_SDK)/lib
516
517endif
518
519# bird: anyone still using this? If not it's a gonner.
520## Hack to work around wine's trouble with midl.exe and rc.exe (seems to be msvcrt.dll related)
521#gen: $(PREREQS)
522
523
524#
525# Translation stuff
526#
527VBoxSVC_HEADERS = \
528 include/collection.h \
529 include/MachineImpl.h \
530 include/HostDVDDriveImpl.h \
531 include/HostFloppyDriveImpl.h
532
533VBoxC_HEADERS = \
534 include/ConsoleImpl.h
535
536VBoxSVC_TRANSLATIONS = \
537 nls/VBoxSVC_de.ts
538
539VBoxC_TRANSLATIONS = \
540 nls/VBoxC_de.ts
541
542updatenls:
543 $(VBOX_LUPDATE) $(VBoxSVC_SOURCES) $(VBoxSVC_HEADERS) -ts $(VBoxSVC_TRANSLATIONS)
544 $(VBOX_LUPDATE) $(VBoxC_SOURCES) $(VBoxC_HEADERS) -ts $(VBoxC_TRANSLATIONS)
545
546ifdef VBOX_WITH_XPCOM
547
548testidl: $(IDLFILE) $(IDLTYPELIB)
549testidlhdr: $(IDLHEADER)
550
551else
552
553testidl: $(IDLFILE) $(PATH_VBoxCOM)/VirtualBox_i.c
554
555endif
556
557$(PATH_BIN)/comregister.cmd: win32/comregister.cmd
558 $(CP) $< $@
559
560
561# Hot fix when dependencies goes bad again...
562#.NOTPARALLEL: $(TARGET_VBoxC) $(TARGET_VBoxSVC) $(TARGET_VBoxXPCOM) $(TARGET_VBoxCOM) $(IDLHEADER) $(IDLFILE) $(PATH_VBoxCOM)/VirtualBox_i.c
563
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