Changeset 14711 in vbox for trunk/src/VBox/Main
- Timestamp:
- Nov 27, 2008 3:16:52 PM (16 years ago)
- Location:
- trunk/src/VBox/Main
- Files:
-
- 2 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/Makefile.kmk
r14687 r14711 197 197 $(if $(VBOX_WITHOUT_LINUX_COMPILER_H),VBOX_WITHOUT_LINUX_COMPILER_H,) \ 198 198 $(if $(VBOX_WITH_RESOURCE_USAGE_API),VBOX_WITH_RESOURCE_USAGE_API,) \ 199 $(if $(VBOX_WITH_PDM_ASYNC_COMPLETION),VBOX_WITH_PDM_ASYNC_COMPLETION,) 199 $(if $(VBOX_WITH_PDM_ASYNC_COMPLETION),VBOX_WITH_PDM_ASYNC_COMPLETION,) \ 200 $(if $(VBOX_USB_WITH_SYSFS),VBOX_USB_WITH_SYSFS,) 200 201 201 202 ifdef VBOX_WITH_USB … … 210 211 VBoxSVC_DEFS.win.x86 += _WIN32_WINNT=0x0500 211 212 VBoxSVC_DEFS.win.amd64 += _WIN32_WINNT=0x0510 212 VBoxSVC_DEFS.linux += VBOX_USE_LIBHAL213 VBoxSVC_DEFS.solaris += VBOX_USE_LIBHAL213 # VBoxSVC_DEFS.linux += VBOX_USE_LIBHAL 214 # VBoxSVC_DEFS.solaris += VBOX_USE_LIBHAL 214 215 ifdef VBOX_SOLARIS_NSL_RESOLVED 215 216 VBoxSVC_DEFS.solaris += VBOX_SOLARIS_NSL_RESOLVED … … 343 344 endif 344 345 346 # libhal stuff for USB 347 VBoxSVC_CFLAGS += $(if $(VBOX_WITH_LIBHAL),$(VBOX_LIBHAL_CFLAGS),) 348 VBoxSVC_CXXFLAGS += $(if $(VBOX_WITH_LIBHAL),$(VBOX_LIBHAL_CXXFLAGS),) 349 VBoxSVC_LDFLAGS += $(if $(VBOX_WITH_LIBHAL),$(VBOX_LIBHAL_LDFLAGS),) 350 345 351 win/VBoxSVC.rc_INCS = $(PATH_VBoxSVC) 346 352 win/VBoxSVC.rc_DEPS = $(PATH_VBoxSVC)/VBoxSVC.rgs $(PATH_VBoxSVC)/VBoxSVC-icon.rc -
trunk/src/VBox/Main/testcase/Makefile.kmk
r12513 r14711 28 28 ifndef VBOX_ONLY_SDK 29 29 if defined(VBOX_WITH_TESTCASES) || "$(USERNAME)" == "dmik" 30 PROGRAMS += tstAPI 31 ifdef VBOX_WITH_XPCOM 32 PROGRAMS += tstVBoxAPILinux 33 else 34 PROGRAMS += tstVBoxAPIWin 35 endif 36 ifdef VBOX_WITH_RESOURCE_USAGE_API 37 PROGRAMS += tstCollector 38 endif 30 PROGRAMS += \ 31 tstAPI \ 32 $(if $(VBOX_WITH_XPCOM),tstVBoxAPILinux,tstVBoxAPIWin) \ 33 $(if $(VBOX_WITH_RESOURCE_USAGE_API),tstCollector,) 34 PROGRAMS.linux += \ 35 $(if $(VBOX_OSE),,$(if $(VBOX_USB_WITH_SYSFS),tstUSBLinux,)) 39 36 endif # !VBOX_WITH_TESTCASES 40 37 endif # !VBOX_ONLY_SDK … … 121 118 122 119 120 121 # 122 # tstUSBLinux 123 # 124 tstUSBLinux_TEMPLATE = VBOXR3TSTEXE 125 tstUSBLinux_SOURCES = \ 126 tstUSBLinux.cpp \ 127 ../linux/USBProxyServiceLinux.cpp 128 tstUSBLinux_INCS = . ../include 129 tstUSBLinux_DEFS = \ 130 VBOX_TEST_USB_LINUX \ 131 $(if $(VBOX_WITHOUT_LINUX_COMPILER_H),VBOX_WITHOUT_LINUX_COMPILER_H,) \ 132 $(if $(VBOX_USB_WITH_SYSFS),VBOX_USB_WITH_SYSFS,) 133 tstUSBLinux_LIBS += $(PATH_OUT)/lib/USBLib.a 134 VBOX_LIBHAL_LDFLAGS ?= $(shell pkg-config hal --libs) 135 tstUSBLinux_CFLAGS += $(if $(VBOX_WITH_LIBHAL),$(VBOX_LIBHAL_CFLAGS),) 136 tstUSBLinux_CXXFLAGS += $(if $(VBOX_WITH_LIBHAL),$(VBOX_LIBHAL_CXXFLAGS),) 137 tstUSBLinux_LDFLAGS += $(if $(VBOX_WITH_LIBHAL),$(VBOX_LIBHAL_LDFLAGS),) 138 139 123 140 # generate rules. 124 141 include $(KBUILD_PATH)/subfooter.kmk
Note:
See TracChangeset
for help on using the changeset viewer.