VirtualBox

source: vbox/trunk/src/VBox/HostDrivers/Support/Makefile.kmk@ 24886

Last change on this file since 24886 was 24675, checked in by vboxsync, 15 years ago

HostDrivers/**/Makefile.kmk: Quiet linking on darwin.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 13.8 KB
Line 
1# $Id: Makefile.kmk 24675 2009-11-15 15:45:49Z vboxsync $
2## @file
3# Sub-Makefile for the support library and the drivers/modules/kexts it uses.
4#
5
6#
7# Copyright (C) 2006-2007 Sun Microsystems, Inc.
8#
9# This file is part of VirtualBox Open Source Edition (OSE), as
10# available from http://www.virtualbox.org. This file is free software;
11# you can redistribute it and/or modify it under the terms of the GNU
12# General Public License (GPL) as published by the Free Software
13# Foundation, in version 2 as it comes in the "COPYING" file of the
14# VirtualBox OSE distribution. VirtualBox OSE is distributed in the
15# hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
16#
17# The contents of this file may alternatively be used under the terms
18# of the Common Development and Distribution License Version 1.0
19# (CDDL) only, as it comes in the "COPYING.CDDL" file of the
20# VirtualBox OSE distribution, in which case the provisions of the
21# CDDL are applicable instead of those of the GPL.
22#
23# You may elect to license modified versions of this file under the
24# terms and conditions of either the GPL or the CDDL or both.
25#
26# Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa
27# Clara, CA 95054 USA or visit http://www.sun.com if you need
28# additional information or have any questions.
29#
30
31SUB_DEPTH = ../../../..
32include $(KBUILD_PATH)/subheader.kmk
33
34#
35# Targets
36#
37LIBRARIES += SUPR3 SUPR3HardenedStatic
38ifndef VBOX_ONLY_DOCS
39 ifeq ($(filter-out pe lx,$(VBOX_LDR_FMT)),)
40 LIBRARIES += SUPR0
41 endif
42 ifdef VBOX_WITH_SUPSVC
43 PROGRAMS += VBoxSupSvc
44 endif
45 ifdef VBOX_WITH_VBOXDRV
46 LIBRARIES += SUPR0IdcClient
47 SYSMODS.freebsd += vboxdrv
48 SYSMODS.linux += vboxdrv
49 SYSMODS.win += VBoxDrv
50 SYSMODS.os2 += VBoxDrv
51 SYSMODS.solaris += vboxdrv
52 endif
53 INSTALLS.linux += vboxdrv-mod vboxdrv-sh
54 INSTALLS.freebsd += vboxdrv-mod vboxdrv-sh
55
56 #
57 # Include sub-makefile(s).
58 #
59 include $(PATH_SUB_CURRENT)/testcase/Makefile.kmk
60
61 #
62 # Populate FILES_VBOXDRV_NOBIN and FILES_VBOXDRV_BIN
63 #
64 ifeq ($(KBUILD_TARGET),linux)
65 include $(PATH_SUB_CURRENT)/linux/files_vboxdrv
66 endif
67 ifeq ($(KBUILD_TARGET),freebsd)
68 include $(PATH_SUB_CURRENT)/freebsd/files_vboxdrv
69 endif
70endif # !VBOX_ONLY_DOCS
71
72
73#
74# The Ring-3 Support Library (this is linked into the IPRT dll, VBoxRT).
75#
76ifneq ($(filter l4%,$(KBUILD_TARGET) $(BUILD_TARGET_SUB)),)
77 # L4 has trouble with -pedantic. It also make trouble when inlining is not enabled.
78 SUPR3_TEMPLATE = VBOXR3NP
79else
80 SUPR3_TEMPLATE = VBOXR3
81endif
82SUPR3_DEFS = \
83 IN_SUP_R3 IN_RT_R3 \
84 $(if $(VBOX_WITH_SUPSVC),VBOX_WITH_SUPSVC) \
85 $(if $(VBOX_WITH_MAIN),VBOX_WITH_MAIN,)
86SUPR3_INCS := $(PATH_SUB_CURRENT)
87SUPR3_INCS.l4 = $(L4_INCDIR)
88SUPR3_SOURCES = \
89 SUPLib.cpp \
90 SUPLibSem.cpp \
91 SUPR3HardenedIPRT.cpp \
92 SUPR3HardenedVerify.cpp \
93 $(KBUILD_TARGET)/SUPLib-$(KBUILD_TARGET).cpp
94
95
96#
97# The static part of the hardened support library (ring-3).
98#
99SUPR3HardenedStatic_TEMPLATE = VBOXR3HARDENEDLIB
100SUPR3HardenedStatic_DEFS = IN_SUP_HARDENED_R3
101SUPR3HardenedStatic_DEFS += \
102 $(if $(VBOX_WITH_SUPSVC),VBOX_WITH_SUPSVC,) \
103 $(if $(VBOX_WITH_MAIN),VBOX_WITH_MAIN,)
104SUPR3HardenedStatic_INCS = .
105SUPR3HardenedStatic_SOURCES = \
106 SUPR3HardenedMain.cpp \
107 SUPR3HardenedVerify.cpp \
108 $(KBUILD_TARGET)/SUPLib-$(KBUILD_TARGET).cpp
109
110ifndef VBOX_ONLY_DOCS
111
112#
113# VBoxSupSvc - The system wide service/daemon.
114#
115VBoxSupSvc_TEMPLATE = VBOXR3EXE
116VBoxSupSvc_SOURCES = \
117 SUPSvc.cpp \
118 SUPSvcGlobal.cpp \
119 $(KBUILD_TARGET)/SUPSvc-$(KBUILD_TARGET).cpp
120if1of ($(KBUILD_TARGET), win)
121 VBoxSupSvc_SOURCES += \
122 SUPSvcGrant.cpp
123endif
124ifn1of ($(KBUILD_TARGET), win)
125 VBoxSupSvc_SOURCES += \
126 SUPSvcMain-posix.cpp
127endif
128VBoxSupSvc_LIBS = \
129 $(LIB_RUNTIME)
130
131
132#
133# SUPR0 - The Ring-0 Import / Thunk library.
134#
135SUPR0_TEMPLATE = VBOXR0
136ifeq ($(VBOX_LDR_FMT),pe)
137 SUPR0_SOURCES += SUPR0.def
138endif
139ifeq ($(VBOX_LDR_FMT),lx)
140SUPR0_SOURCES += $$(PATH_SUPR0)/SUPR0.def
141$$(PATH_SUPR0)/SUPR0.def: $(PATH_SUB_CURRENT)/SUPR0.def | $$(dir $$@)
142 $(SED) -e 's/^[ \t][ \t]*\([gA-Z]\)/ _\1/' -e 's/[ \t]DATA[ \t]*/ /' $< > [email protected]
143 $(MV) -f [email protected] $@
144endif
145
146
147#
148# SUPR0IdcClient - The Ring-0 IDC client driver library.
149#
150SUPR0IdcClient_TEMPLATE = VBOXR0DRV
151SUPR0IdcClient_DEFS = IN_RT_R0 IN_SUP_R0 IN_SUP_STATIC
152SUPR0IdcClient_SDKS.win = W2K3DDK WINPSDKINCS
153SUPR0IdcClient_SOURCES.$(KBUILD_TARGET) = \
154 $(KBUILD_TARGET)/SUPR0IdcClient-$(KBUILD_TARGET).c
155SUPR0IdcClient_SOURCES = \
156 SUPR0IdcClient.c \
157 SUPR0IdcClientComponent.c \
158 SUPR0IdcClientStubs.c
159
160
161#
162# VBoxDrv.sys - The Windows driver.
163#
164## @todo consoliate all the targets into a single mess.
165ifeq ($(KBUILD_TARGET),win)
166VBoxDrv_TEMPLATE = VBOXR0DRV
167ifdef VBOX_SIGNING_MODE
168 VBoxDrv_NOINST = true
169endif
170VBoxDrv_DEFS = IN_RT_R0 IN_SUP_R0 SUPDRV_WITH_RELEASE_LOGGER
171VBoxDrv_DEFS.amd64 = RT_WITH_W64_UNWIND_HACK
172ifdef VBOX_WITH_VMMR0_DISABLE_PREEMPTION
173VBoxDrv_DEFS += VBOX_WITH_VMMR0_DISABLE_PREEMPTION
174endif
175VBoxDrv_SDKS = W2K3DDK WINPSDKINCS
176VBoxDrv_INCS := $(PATH_SUB_CURRENT)
177VBoxDrv_SOURCES = \
178 win/SUPDrv-win.cpp \
179 win/SUPDrvA-win.asm \
180 SUPDrv.c \
181 SUPDrvAgnostic.c \
182 win/VBoxDrv.rc
183VBoxDrv_LDFLAGS.x86 = -Entry:DriverEntry@8
184VBoxDrv_LDFLAGS.amd64 = -Entry:DriverEntry
185VBoxDrv_LIBS = \
186 $(PATH_SDK_W2K3DDK_LIB)/ntoskrnl.lib \
187 $(PATH_SDK_W2K3DDK_LIB)/hal.lib \
188 $(PATH_LIB)/RuntimeR0Drv$(VBOX_SUFF_LIB)
189
190
191INSTALLS += VBoxDrv-inf
192VBoxDrv-inf_INST = $(INST_BIN)
193VBoxDrv-inf_MODE = a+r,u+w
194VBoxDrv-inf_SOURCES = \
195 $(PATH_TARGET)/VBoxDrvCat.dir/VBoxDrv.inf
196VBoxDrv-inf_CLEAN = $(VBoxDrv-inf_SOURCES)
197VBoxDrv-inf_BLDDIRS = $(PATH_TARGET)/VBoxDrvCat.dir
198
199$(PATH_TARGET)/VBoxDrvCat.dir/VBoxDrv.inf: $(PATH_SUB_CURRENT)/win/VBoxDrv.inf $(MAKEFILE_CURRENT) | $$(call DIRDEP,$$(@D))
200 $(call MSG_GENERATE,VBoxDrv-inf,$@,$<)
201 $(call VBOX_EDIT_INF_FN,$<,$@)
202
203 ifdef VBOX_SIGNING_MODE
204VBoxDrv-inf_SOURCES += \
205 $(PATH_TARGET)/VBoxDrvCat.dir/VBoxDrv.sys \
206 $(PATH_TARGET)/VBoxDrvCat.dir/VBoxDrv.cat
207
208$(PATH_TARGET)/VBoxDrvCat.dir/VBoxDrv.sys: $$(TARGET_VBoxDrv) | $$(call DIRDEP,$$(@D))
209 $(INSTALL) -m 644 $< $(@D)
210
211$(PATH_TARGET)/VBoxDrvCat.dir/VBoxDrv.cat: \
212 $(PATH_TARGET)/VBoxDrvCat.dir/VBoxDrv.inf \
213 $(PATH_TARGET)/VBoxDrvCat.dir/VBoxDrv.sys
214 $(call MSG_TOOL,Inf2Cat,VBoxDrv-inf,$@,$<)
215 $(call VBOX_MAKE_CAT_FN, $(@D),$@)
216 endif # signing
217endif # win
218
219
220#
221# vboxdrv.ko - The Linux Kernel Module (syntax check only).
222#
223ifeq ($(KBUILD_TARGET),linux)
224vboxdrv_TEMPLATE = VBOXR0DRV
225vboxdrv_NOINST = true
226vboxdrv_DEFS = KBUILD_MODNAME=KBUILD_STR\(vboxdrv\) KBUILD_BASENAME=KBUILD_STR\(vboxdrv\) MODULE IN_RT_R0 IN_SUP_R0 CONFIG_VBOXDRV_AS_MISC
227ifdef VBOX_LINUX_VERSION_2_4
228vboxdrv_DEFS += EXPORT_SYMTAB
229endif
230vboxdrv_INCS := \
231 $(PATH_SUB_CURRENT) \
232 $(PATH_ROOT)/src/VBox/Runtime/r0drv/linux
233vboxdrv_LIBS = $(PATH_LIB)/RuntimeR0Drv$(VBOX_SUFF_LIB)
234vboxdrv_LIBS.debug = $(vboxdrv_LIBS) $(VBOX_GCC_LIBGCC)
235vboxdrv_SOURCES = \
236 $(KBUILD_TARGET)/SUPDrv-$(KBUILD_TARGET).c \
237 SUPDrv.c \
238 SUPDrvAgnostic.c
239ifndef VBOX_LINUX_VERSION_2_4
240vboxdrv_SOURCES += \
241 $(KBUILD_TARGET)/SUPDrv-$(KBUILD_TARGET).mod.c
242endif
243
244
245#
246# Targets for installing the linux sources.
247#
248vboxdrv-mod_INST = bin/src/vboxdrv/
249vboxdrv-mod_MODE = a+r,u+w
250vboxdrv-mod_SOURCES = $(subst ",,$(FILES_VBOXDRV_NOBIN)) #"
251vboxdrv-mod_SOURCES += \
252 $(if $(VBOX_OSE),,\
253 $(PATH_vboxdrv-mod)/dkms.conf) \
254 $(PATH_vboxdrv-mod)/Makefile
255vboxdrv-mod_CLEAN = \
256 $(PATH_vboxdrv-mod)/dkms.conf \
257 $(PATH_vboxdrv-mod)/Makefile
258
259vboxdrv-sh_INST = bin/src/vboxdrv
260vboxdrv-sh_MODE = a+rx,u+w
261vboxdrv-sh_SOURCES = $(subst ",,$(FILES_VBOXDRV_BIN)) #"
262vboxdrv-sh_SOURCES += \
263 $(PATH_vboxdrv-sh)/build_in_tmp \
264 $(if $(VBOX_OSE),,\
265 $(PATH_ROOT)/src/VBox/HostDrivers/linux/do_Module.symvers)
266vboxdrv-sh_CLEAN = \
267 $(PATH_TARGET)/vboxdrv-sh-1.dep \
268 $(PATH_vboxdrv-sh)/build_in_tmp
269
270
271# Scripts needed for building the kernel modules
272
273$$(PATH_vboxdrv-sh)/build_in_tmp: \
274 $(PATH_ROOT)/src/VBox/HostDrivers/linux/build_in_tmp \
275 $(VBOX_VERSION_STAMP) \
276 | $$(dir $$@)
277 $(call MSG_TOOL,Creating,,$@)
278 $(QUIET)$(SED) -e "s;_VERSION_;${VBOX_VERSION_STRING};g; s;_MODULE_;vboxdrv;g" --output $@ $<
279 $(QUIET)chmod 0755 $@
280
281$$(PATH_vboxdrv-mod)/dkms.conf: \
282 $(PATH_SUB_CURRENT)/linux/dkms.conf \
283 $(VBOX_VERSION_STAMP) \
284 | $$(dir $$@)
285 $(call MSG_TOOL,Creating,,$@)
286 $(QUIET)$(SED) -e "s;_VERSION_;${VBOX_VERSION_STRING};g" --output $@ $<
287
288includedep $(PATH_TARGET)/vboxdrv-sh-1.dep
289$$(PATH_vboxdrv-mod)/Makefile: \
290 $(PATH_SUB_CURRENT)/linux/Makefile \
291 $$(if $$(eq $$(Support/linux/Makefile_VBOX_HARDENED),$$(VBOX_WITH_HARDENING)),,FORCE) \
292 | $$(dir $$@)
293 $(call MSG_TOOL,Creating,,$@)
294 ifndef VBOX_WITH_HARDENING
295 $(QUIET)$(SED) -e "s;-DVBOX_WITH_HARDENING;;g" --output $@ $<
296 else
297 $(QUIET)$(CP) -f $< $@
298 endif
299 %$(QUIET2)$(RM) -f -- $(PATH_TARGET)/vboxdrv-sh-1.dep
300 %$(QUIET2)$(APPEND) '$(PATH_TARGET)/vboxdrv-sh-1.dep' 'Support/linux/Makefile_VBOX_HARDENED=$(VBOX_WITH_HARDENING)'
301
302endif # real linux
303
304
305
306
307#
308# VBoxDrv.kext - The Darwin Kernel Extension.
309#
310ifeq ($(KBUILD_TARGET),darwin)
311# The Tiger variant.
312SYSMODS.x86 += VBoxDrvTiger
313VBoxDrvTiger_TEMPLATE = VBOXR0DRV
314VBoxDrvTiger_INST = $(INST_VBOXDRV_TIGER)Contents/MacOS/
315VBoxDrvTiger_DEFS := IN_RT_R0 IN_SUP_R0 SUPDRV_WITH_RELEASE_LOGGER VBOX_SVN_REV=$(VBOX_SVN_REV)
316VBoxDrvTiger_DEFS.debug += DEBUG_DARWIN_GIP
317VBoxDrvTiger_INCS = .
318VBoxDrvTiger_LIBS = $(PATH_LIB)/RuntimeR0Drv$(VBOX_SUFF_LIB)
319#VBoxDrvTiger_LDFLAGS = -v -Wl,-whyload -Wl,-v -Wl,-whatsloaded
320VBoxDrvTiger_SOURCES = \
321 SUPDrv.c \
322 SUPDrvAgnostic.c \
323 $(KBUILD_TARGET)/SUPDrv-$(KBUILD_TARGET).cpp
324
325INSTALLS += VBoxDrvTiger.kext
326VBoxDrvTiger.kext_INST = $(INST_VBOXDRV_TIGER)Contents/
327VBoxDrvTiger.kext_SOURCES = $(PATH_VBoxDrvTiger.kext)/Info.plist
328VBoxDrvTiger.kext_CLEAN = $(PATH_VBoxDrvTiger.kext)/Info.plist
329
330$$(PATH_VBoxDrvTiger.kext)/Info.plist: $(PATH_SUB_CURRENT)/darwin/Info-Tiger.plist $(VBOX_VERSION_MK) | $$(dir $$@)
331 $(call MSG_GENERATE,VBoxDrvTiger,$@,$<)
332 $(QUIET)$(RM) -f $@
333 $(QUIET)$(SED) \
334 -e 's/@VBOX_VERSION_STRING@/$(VBOX_VERSION_STRING)/g' \
335 -e 's/@VBOX_VERSION_MAJOR@/$(VBOX_VERSION_MAJOR)/g' \
336 -e 's/@VBOX_VERSION_MINOR@/$(VBOX_VERSION_MINOR)/g' \
337 -e 's/@VBOX_VERSION_BUILD@/$(VBOX_VERSION_BUILD)/g' \
338 --output $@ \
339 $<
340
341# The Leopard variant.
342SYSMODS += VBoxDrv
343VBoxDrv_EXTENDS = VBoxDrvTiger
344VBoxDrv_EXTENDS_BY = appending
345VBoxDrv_TEMPLATE = VBOXR0DRV$(if-expr "$(KBUILD_TARGET_ARCH)" == "x86",OSX105,)
346VBoxDrv_INST = $(INST_VBOXDRV)Contents/MacOS/
347VBoxDrv_DEFS = VBOX_WITH_HOST_VMX
348
349INSTALLS += VBoxDrv.kext
350VBoxDrv.kext_INST = $(INST_VBOXDRV)Contents/
351VBoxDrv.kext_SOURCES = $(PATH_VBoxDrv.kext)/Info.plist
352VBoxDrv.kext_CLEAN = $(PATH_VBoxDrv.kext)/Info.plist
353
354$$(PATH_VBoxDrv.kext)/Info.plist: \
355 $(PATH_SUB_CURRENT)/darwin/Info.plist \
356 $(VBOX_VERSION_MK) | $$(dir $$@)
357 $(call MSG_GENERATE,VBoxDrv,$@,$<)
358 $(QUIET)$(RM) -f $@
359 $(QUIET)$(SED) \
360 -e 's/@VBOX_VERSION_STRING@/$(VBOX_VERSION_STRING)/g' \
361 -e 's/@VBOX_VERSION_MAJOR@/$(VBOX_VERSION_MAJOR)/g' \
362 -e 's/@VBOX_VERSION_MINOR@/$(VBOX_VERSION_MINOR)/g' \
363 -e 's/@VBOX_VERSION_BUILD@/$(VBOX_VERSION_BUILD)/g' \
364 --output $@ \
365 $<
366
367# Common manual loader script.
368INSTALLS += Scripts
369Scripts_INST = $(INST_DIST)
370Scripts_SOURCES = \
371 darwin/load.sh
372
373endif # darwin
374ifeq ($(KBUILD_TARGET),os2)
375
376#
377# VBoxDrv.sys - The OS/2 driver.
378#
379VBoxDrv_TEMPLATE = VBOXR0DRV
380VBoxDrv_DEFS = IN_RT_R0 IN_SUP_R0
381VBoxDrv_INCS := $(PATH_SUB_CURRENT)
382#VBoxDrv_LDFLAGS = -s -t -v
383VBoxDrv_SOURCES = \
384 os2/SUPDrvA-os2.asm \
385 os2/SUPDrv-os2.def
386VBoxDrv_LIBS = \
387 $(TARGET_VBoxDrvLib) \
388 $(PATH_LIB)/RuntimeR0Drv$(VBOX_SUFF_LIB) \
389 $(VBOX_GCC_LIBGCC) \
390 end
391
392# temp hack to ensure that SUPDrvA-os2.asm is first in the link.
393LIBRARIES += VBoxDrvLib
394VBoxDrvLib_TEMPLATE = VBOXR0DRV
395VBoxDrvLib_NOINST = 1
396VBoxDrvLib_DEFS = IN_RT_R0 IN_SUP_R0
397VBoxDrvLib_INCS := \
398 . \
399 $(PATH_ROOT)/src/VBox/Runtime/include
400VBoxDrvLib_SOURCES = \
401 os2/SUPDrv-os2.cpp \
402 SUPDrv.c \
403 SUPDrvAgnostic.c
404
405endif # os2
406ifeq ($(KBUILD_TARGET),freebsd)
407
408#
409# vboxdrv.ko - The FreeBSD Kernel Module.
410#
411vboxdrv_TEMPLATE = VBOXR0DRV
412vboxdrv_DEFS = IN_RT_R0 IN_SUP_R0 SUPDRV_WITH_RELEASE_LOGGER VBOX_SVN_REV=$(VBOX_SVN_REV)
413vboxdrv_INCS := $(PATH_SUB_CURRENT)
414vboxdrv_LIBS = $(PATH_LIB)/RuntimeR0Drv$(VBOX_SUFF_LIB)
415vboxdrv_SOURCES := \
416 $(KBUILD_TARGET)/SUPDrv-$(KBUILD_TARGET).c \
417 $(PATH_SUB_CURRENT)/$(KBUILD_TARGET)/SUPDrv-$(KBUILD_TARGET).def \
418 SUPDrv.c \
419 SUPDrvAgnostic.c
420## @todo the SUPDrv-freebsd.def is most probably gonna break it and require build system hacking...
421
422#
423# Targets for installing the freebsd sources.
424#
425vboxdrv-mod_INST = bin/src/vboxdrv/
426vboxdrv-mod_MODE = a+r,u+w
427vboxdrv-mod_SOURCES = $(subst ",,$(FILES_VBOXDRV_NOBIN)) #"
428vboxdrv-mod_SOURCES += \
429 $(PATH_vboxdrv-mod)/Makefile
430vboxdrv-mod_CLEAN = \
431 $(PATH_vboxdrv-mod)/Makefile
432
433$$(PATH_vboxdrv-mod)/Makefile: \
434 $(PATH_SUB_CURRENT)/freebsd/Makefile \
435 $$(if $$(eq $$(Support/freebsd/Makefile_VBOX_HARDENED),$$(VBOX_WITH_HARDENING)),,FORCE) \
436 | $$(dir $$@)
437 $(call MSG_TOOL,Creating,,$@)
438 ifndef VBOX_WITH_HARDENING
439 $(QUIET)$(SED) -e "s;-DVBOX_WITH_HARDENING;;g" --output $@ $<
440 else
441 $(QUIET)$(CP) -f $< $@
442 endif
443
444endif # freebsd
445ifeq ($(KBUILD_TARGET),solaris)
446
447#
448# vboxdrv.o - The Solaris Kernel Module.
449#
450vboxdrv_TEMPLATE = VBOXR0DRV
451vboxdrv_DEFS = IN_RT_R0 IN_SUP_R0 SUPDRV_WITH_RELEASE_LOGGER
452ifdef VBOX_WITH_NETFLT
453 vboxdrv_DEFS += VBOX_WITH_NETFLT
454endif
455vboxdrv_DEFS += VBOX_SVN_REV=$(VBOX_SVN_REV)
456vboxdrv_DEPS += $(VBOX_SVN_REV_KMK)
457vboxdrv_INCS := $(PATH_SUB_CURRENT)
458vboxdrv_LIBS = $(PATH_LIB)/RuntimeR0Drv$(VBOX_SUFF_LIB)
459vboxdrv_SOURCES = \
460 $(KBUILD_TARGET)/SUPDrv-$(KBUILD_TARGET).c \
461 SUPDrv.c \
462 SUPDrvAgnostic.c
463
464endif # solaris
465
466#
467# SUPDrv.c needs the VBOX_SVN_REV.
468#
469SUPDrv.c_DEFS += VBOX_SVN_REV=$(VBOX_SVN_REV)
470
471
472endif # !VBOX_ONLY_DOCS
473include $(KBUILD_PATH)/subfooter.kmk
474
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