Changeset 12244 in vbox for trunk/src/VBox/Main/testcase
- Timestamp:
- Sep 9, 2008 12:35:24 AM (17 years ago)
- svn:sync-xref-src-repo-rev:
- 36242
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/testcase/Makefile.kmk
r12170 r12244 20 20 # 21 21 22 ifdef VBOX_SINGLE_MAKEFILE23 22 SUB_DEPTH = ../../../.. 24 else25 DEPTH ?= ../../../..26 SUB_DEPTH = ..27 endif28 23 include $(KBUILD_PATH)/subheader.kmk 29 24 30 ifdef VBOX_ONLY_SDK 31 VBOX_NEED_MSCOM_SAMPLE = 1 32 VBOX_NEED_XPCOM_SAMPLE = 1 33 else # !VBOX_ONLY_SDK 34 ifeq ($(KBUILD_TARGET),win) 35 VBOX_NEED_MSCOM_SAMPLE = 1 36 else 37 VBOX_NEED_XPCOM_SAMPLE = 1 38 endif 39 ifdef VBOX_WITH_TESTCASES 25 # 26 # Target and globals (small mess) 27 # 28 ifndef VBOX_ONLY_SDK 29 if defined(VBOX_WITH_TESTCASES) || "$(USERNAME)" == "dmik" 40 30 PROGRAMS += tstAPI 41 PROGRAMS.linux += tstVBoxAPILinux 42 # That testcase is actually not linux specific, it's generic XPCOM. 43 PROGRAMS.solaris += tstVBoxAPILinux 44 PROGRAMS.win += tstVBoxAPIWin 31 ifdef VBOX_WITH_XPCOM 32 PROGRAMS += tstVBoxAPILinux 33 else 34 PROGRAMS += tstVBoxAPIWin 35 endif 45 36 ifdef VBOX_WITH_RESOURCE_USAGE_API 46 37 PROGRAMS += tstCollector 47 38 endif 48 else ifeq ($(USERNAME),dmik)49 PROGRAMS += tstAPI50 PROGRAMS.linux += tstVBoxAPILinux51 # That testcase is actually not linux specific, it's generic XPCOM.52 PROGRAMS.solaris += tstVBoxAPILinux53 PROGRAMS.win += tstVBoxAPIWin54 39 endif # !VBOX_WITH_TESTCASES 55 40 endif # !VBOX_ONLY_SDK 56 57 ifdef VBOX_NEED_MSCOM_SAMPLE 41 if defined(VBOX_ONLY_SDK) || !defined(VBOX_WITH_XPCOM) 58 42 INSTALLS += samplesMSCOM 59 43 endif 60 61 ifdef VBOX_NEED_XPCOM_SAMPLE 44 if defined(VBOX_ONLY_SDK) || defined(VBOX_WITH_XPCOM) 62 45 INSTALLS += samplesXPCOM 63 46 endif 64 47 65 # maybe, if will ship glue COM headers with SDK66 #INSTALLS += tstAPI67 48 68 49 # … … 77 58 samplesXPCOM_SOURCES = tstVBoxAPILinux.cpp makefile.tstVBoxAPILinux=>Makefile 78 59 60 79 61 # 80 62 # tstAPI … … 84 66 tstAPI_SOURCES = tstAPI.cpp 85 67 ifeq ($(KBUILD_TARGET),win) ## @todo just add this to the template. 86 tstAPI_DEPS 68 tstAPI_DEPS = $(VBOX_PATH_SDK)/bindings/mscom/include/VirtualBox.h 87 69 else 88 tstAPI_DEPS 70 tstAPI_DEPS = $(VBOX_PATH_SDK)/bindings/xpcom/include/VirtualBox_XPCOM.h 89 71 endif 90 72 ifdef VBOX_WITH_RESOURCE_USAGE_API … … 99 81 # It comes with a custom makefile which should be tested as well! 100 82 # 101 tstVBoxAPILinux_TEMPLATE = VBOXR3 83 tstVBoxAPILinux_TEMPLATE = VBOXR3EXE 102 84 tstVBoxAPILinux_SOURCES = tstVBoxAPILinux.cpp 103 85 tstVBoxAPILinux_CXXFLAGS = -Wno-non-virtual-dtor -fshort-wchar … … 110 92 $(VBOX_PATH_SDK)/bindings/xpcom/include 111 93 tstVBoxAPILinux_LIBPATH = $(LIBPATH_XPCOM) 112 tstVBoxAPILinux_LIBS = $(LIB_XPCOM) 94 tstVBoxAPILinux_LIBS = $(LIB_XPCOM) $(LIB_RUNTIME) 113 95 tstVBoxAPILinux_DEPS = \ 114 96 $(VBOX_PATH_SDK)/bindings/xpcom/include/VirtualBox_XPCOM.h 97 115 98 116 99 # … … 123 106 tstVBoxAPIWin_DEPS = \ 124 107 $(VBOX_PATH_SDK)/bindings/mscom/include/VirtualBox.h 108 125 109 126 110 #
Note:
See TracChangeset
for help on using the changeset viewer.