VirtualBox

Changeset 98414 in vbox for trunk/src/VBox/HostDrivers


Ignore:
Timestamp:
Feb 1, 2023 4:23:38 PM (2 years ago)
Author:
vboxsync
Message:

HostDrivers/*.kmk: Automatic scm cleanups. bugref:10348

Location:
trunk/src/VBox/HostDrivers
Files:
7 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/HostDrivers/Makefile.kmk

    r98103 r98414  
    4141include $(PATH_SUB_CURRENT)/Support/Makefile.kmk
    4242
    43 if  !defined(VBOX_ONLY_DOCS) \
    44  && !defined(VBOX_ONLY_EXTPACKS) \
    45  && !defined(VBOX_ONLY_VALIDATIONKIT) \
    46  && "$(intersects $(KBUILD_TARGET_ARCH),$(VBOX_SUPPORTED_HOST_ARCHS))" != ""
    47  if1of ($(KBUILD_TARGET),win)
     43if   !defined(VBOX_ONLY_DOCS) \
     44  && !defined(VBOX_ONLY_EXTPACKS) \
     45  && !defined(VBOX_ONLY_VALIDATIONKIT) \
     46  && "$(intersects $(KBUILD_TARGET_ARCH),$(VBOX_SUPPORTED_HOST_ARCHS))" != ""
     47 if1of ($(KBUILD_TARGET), win)
    4848  include $(PATH_SUB_CURRENT)/win/Makefile.kmk
    4949 endif
  • trunk/src/VBox/HostDrivers/Support/Makefile.kmk

    r98256 r98414  
    5151LIBRARIES += SUPR3 SUPR3Static
    5252if   defined(VBOX_WITH_HARDENING) \
    53  && !defined(VBOX_ONLY_VALIDATIONKIT)
     53  && !defined(VBOX_ONLY_VALIDATIONKIT)
    5454 LIBRARIES += SUPR3HardenedStatic
    5555endif
     
    6868 LIBRARIES += SUPRC
    6969endif
    70 if  !defined(VBOX_ONLY_DOCS) \
    71  && !defined(VBOX_ONLY_EXTPACKS) \
    72  && !defined(VBOX_ONLY_VALIDATIONKIT) \
    73  && "$(intersects $(KBUILD_TARGET_ARCH),$(VBOX_SUPPORTED_HOST_ARCHS))" != ""
     70if   !defined(VBOX_ONLY_DOCS) \
     71  && !defined(VBOX_ONLY_EXTPACKS) \
     72  && !defined(VBOX_ONLY_VALIDATIONKIT) \
     73  && "$(intersects $(KBUILD_TARGET_ARCH),$(VBOX_SUPPORTED_HOST_ARCHS))" != ""
    7474 ifdef VBOX_WITH_SUPSVC
    7575  PROGRAMS += VBoxSupSvc
     
    103103VBOX_SUP_WIN_CERTS_FILE = $(SUPR3_0_OUTDIR)/TrustAnchorsAndCerts.cpp
    104104VBOX_SUP_WIN_CERTS := \
    105        SpcRootMicrosoft0=SpcRoot-MicrosoftAuthenticodeTmRootAuthority-01.taf \
    106        SpcRootMicrosoft1=SpcRoot-MicrosoftRootAuthority-00c1008b3c3c8811d13ef663ecdf40.taf \
    107        SpcRootMicrosoft2=SpcRoot-MicrosoftRootCertificateAuthority-79ad16a14aa0a5ad4c7358f407132e65.taf \
    108        SpcRootMicrosoft3=SpcRoot-MicrosoftRootCertificateAuthority2010-28cc3a25bfba44ac449a9b586b4339aa.taf \
    109        SpcRootMicrosoft4=SpcRoot-MicrosoftRootCertificateAuthority2011-3f8bc8b5fc9fb29643b569d66c42e144.taf \
    110        SpcRootMicrosoft5=SpcRoot-MicrosoftDigitalMediaAuthority2005-6eff330eb6e7569740680870104baaba.taf \
    111        SpcRootMicrosoft6=SpcRoot-MicrosoftDevelopmentRootCertificateAuthority2014-078f0a9d03df119e434e4fec1bf0235a.taf \
    112        SpcRootMicrosoft7=SpcRoot-MicrosoftTestingRootCertificateAuthority2010-8a334aa8052dd244a647306a76b8178fa215f344.taf \
    113        NtRootMicrosoft8=NtRoot-MicrosoftCodeVerificationRoot-729404101f3e0ca347837fca175a8438.taf \
    114        TimeRootMicrosoft0=Timestamp-CopyrightC1997MicrosoftCorp-01.taf \
    115        TimeRootOracle0=Timestamp-VBoxLegacyWinCA.taf \
    116        TimeRootOracle1=Timestamp-VBoxLegacyWinSha1CA.taf \
    117        TrustedCertVBox0=Trusted-OracleCorporationVirtualBox-05308b76ac2e15b29720fb4395f65f38.taf \
    118        AppleRoot0=AppleRoot-2bd06947947609fef46b8d2e40a6f7474d7f085e.taf \
    119        AppleRoot1=AppleRoot-G2-c499136c1803c27bc0a3a00d7f72807a1c77268d.taf
     105        SpcRootMicrosoft0=SpcRoot-MicrosoftAuthenticodeTmRootAuthority-01.taf \
     106        SpcRootMicrosoft1=SpcRoot-MicrosoftRootAuthority-00c1008b3c3c8811d13ef663ecdf40.taf \
     107        SpcRootMicrosoft2=SpcRoot-MicrosoftRootCertificateAuthority-79ad16a14aa0a5ad4c7358f407132e65.taf \
     108        SpcRootMicrosoft3=SpcRoot-MicrosoftRootCertificateAuthority2010-28cc3a25bfba44ac449a9b586b4339aa.taf \
     109        SpcRootMicrosoft4=SpcRoot-MicrosoftRootCertificateAuthority2011-3f8bc8b5fc9fb29643b569d66c42e144.taf \
     110        SpcRootMicrosoft5=SpcRoot-MicrosoftDigitalMediaAuthority2005-6eff330eb6e7569740680870104baaba.taf \
     111        SpcRootMicrosoft6=SpcRoot-MicrosoftDevelopmentRootCertificateAuthority2014-078f0a9d03df119e434e4fec1bf0235a.taf \
     112        SpcRootMicrosoft7=SpcRoot-MicrosoftTestingRootCertificateAuthority2010-8a334aa8052dd244a647306a76b8178fa215f344.taf \
     113        NtRootMicrosoft8=NtRoot-MicrosoftCodeVerificationRoot-729404101f3e0ca347837fca175a8438.taf \
     114        TimeRootMicrosoft0=Timestamp-CopyrightC1997MicrosoftCorp-01.taf \
     115        TimeRootOracle0=Timestamp-VBoxLegacyWinCA.taf \
     116        TimeRootOracle1=Timestamp-VBoxLegacyWinSha1CA.taf \
     117        TrustedCertVBox0=Trusted-OracleCorporationVirtualBox-05308b76ac2e15b29720fb4395f65f38.taf \
     118        AppleRoot0=AppleRoot-2bd06947947609fef46b8d2e40a6f7474d7f085e.taf \
     119        AppleRoot1=AppleRoot-G2-c499136c1803c27bc0a3a00d7f72807a1c77268d.taf
    120120# Hack Alert! Because the DigiCert cross signing certificate we use expired 2020-04-15, we add it as a trusted NT kernel
    121121#             signing root instead, so we can bypass the expiry check in IPRT.  NtRootMicrosoft8 is the one found in the
     
    129129if "$(KBUILD_TARGET)" == "win" && defined(VBOX_WITH_HARDENING)
    130130 VBOX_SUP_GEN_CERT_MACRO = 'SUPTAENTRY const g_aSUP$(1)TAs[] =' '{' \
    131        $(if-expr "$(3)" == "",,'    SUPTAENTRY_GEN(g_abSUPBuildCert),') \
    132         $(foreach certnm,$(filter $(2),$(VBOX_SUP_WIN_CERT_NAMES)), '    SUPTAENTRY_GEN(g_abSUP$(certnm)),') \
    133         '};' 'unsigned const g_cSUP$(1)TAs = RT_ELEMENTS(g_aSUP$(1)TAs);' '' ''
     131        $(if-expr "$(3)" == "",,'    SUPTAENTRY_GEN(g_abSUPBuildCert),') \
     132        $(foreach certnm,$(filter $(2),$(VBOX_SUP_WIN_CERT_NAMES)), '    SUPTAENTRY_GEN(g_abSUP$(certnm)),') \
     133        '};' 'unsigned const g_cSUP$(1)TAs = RT_ELEMENTS(g_aSUP$(1)TAs);' '' ''
    134134else
    135135 VBOX_SUP_GEN_CERT_MACRO = 'SUPTAENTRY const g_aSUP$(1)TAs[] =' '{' \
    136         $(foreach certnm,$(filter $(2),$(VBOX_SUP_WIN_CERT_NAMES)), '    SUPTAENTRY_GEN(g_abSUP$(certnm)),') \
    137         '};' 'unsigned const g_cSUP$(1)TAs = RT_ELEMENTS(g_aSUP$(1)TAs);' '' ''
    138 endif
    139 
    140 if  ("$(KBUILD_TARGET)" == "win"    && defined(VBOX_SIGNING_MODE)) \
    141  || ("$(KBUILD_TARGET)" == "darwin" && defined(VBOX_WITH_DARWIN_R0_DARWIN_IMAGE_VERIFICATION) && defined(VBOX_SIGNING_MODE))
     136        $(foreach certnm,$(filter $(2),$(VBOX_SUP_WIN_CERT_NAMES)), '    SUPTAENTRY_GEN(g_abSUP$(certnm)),') \
     137        '};' 'unsigned const g_cSUP$(1)TAs = RT_ELEMENTS(g_aSUP$(1)TAs);' '' ''
     138endif
     139
     140if   ("$(KBUILD_TARGET)" == "win"    && defined(VBOX_SIGNING_MODE)) \
     141  || ("$(KBUILD_TARGET)" == "darwin" && defined(VBOX_WITH_DARWIN_R0_DARWIN_IMAGE_VERIFICATION) && defined(VBOX_SIGNING_MODE))
    142142 BLDPROGS += bldSUPSignedDummy
    143143 bldSUPSignedDummy_TEMPLATE         = VBoxBldProg
     
    203203        SUPR3HardenedVerify.cpp \
    204204        $(KBUILD_TARGET)/SUPLib-$(KBUILD_TARGET).cpp \
    205         $(VBOX_SUP_WIN_CERTS_FILE)
     205        $(VBOX_SUP_WIN_CERTS_FILE)
    206206SUPR3_SOURCES.amd64 = \
    207207        SUPLibTracerA.asm
     
    268268        IN_RT_STATIC \
    269269        IN_DIS \
    270         IN_DIS_STATIC \
     270        IN_DIS_STATIC \
    271271        DIS_CORE_ONLY \
    272         IPRT_NO_CRT \
     272        IPRT_NO_CRT \
    273273        RT_WITH_NOCRT_ALIASES \
    274274        LOG_DISABLED \
    275275        IPRT_NO_ERROR_DATA \
    276        IPRT_WITHOUT_DIGEST_MD4
     276        IPRT_WITHOUT_DIGEST_MD4
    277277 SUPR3HardenedStatic_DEFS.win += LDR_ONLY_PE __STRALIGN_H_
    278278
     
    280280
    281281 SUPR3HardenedStatic_SOURCES += \
    282         $(VBOX_PATH_RUNTIME_SRC)/common/ldr/ldr.cpp \
    283         $(VBOX_PATH_RUNTIME_SRC)/common/ldr/ldrEx.cpp \
    284         $(VBOX_PATH_RUNTIME_SRC)/common/ldr/ldrPE.cpp \
    285         $(VBOX_PATH_RUNTIME_SRC)/common/alloc/heapsimple.cpp \
    286         $(VBOX_PATH_RUNTIME_SRC)/common/asn1/asn1-basics.cpp \
    287         $(VBOX_PATH_RUNTIME_SRC)/common/asn1/asn1-cursor.cpp \
    288         $(VBOX_PATH_RUNTIME_SRC)/common/asn1/asn1-default-allocator.cpp \
    289         $(VBOX_PATH_RUNTIME_SRC)/common/asn1/asn1-safer-allocator.cpp \
    290         $(VBOX_PATH_RUNTIME_SRC)/common/asn1/asn1-dump.cpp \
    291         $(VBOX_PATH_RUNTIME_SRC)/common/asn1/asn1-encode.cpp \
    292         $(VBOX_PATH_RUNTIME_SRC)/common/asn1/asn1-ut-bitstring.cpp \
    293         $(VBOX_PATH_RUNTIME_SRC)/common/asn1/asn1-ut-bitstring-decode.cpp \
    294         $(VBOX_PATH_RUNTIME_SRC)/common/asn1/asn1-ut-boolean.cpp \
    295         $(VBOX_PATH_RUNTIME_SRC)/common/asn1/asn1-ut-boolean-decode.cpp \
    296         $(VBOX_PATH_RUNTIME_SRC)/common/asn1/asn1-ut-core.cpp \
    297         $(VBOX_PATH_RUNTIME_SRC)/common/asn1/asn1-ut-core-decode.cpp \
    298         $(VBOX_PATH_RUNTIME_SRC)/common/asn1/asn1-ut-dyntype.cpp \
    299         $(VBOX_PATH_RUNTIME_SRC)/common/asn1/asn1-ut-dyntype-decode.cpp \
    300         $(VBOX_PATH_RUNTIME_SRC)/common/asn1/asn1-ut-integer.cpp \
    301         $(VBOX_PATH_RUNTIME_SRC)/common/asn1/asn1-ut-integer-decode.cpp \
    302         $(VBOX_PATH_RUNTIME_SRC)/common/asn1/asn1-ut-null.cpp \
    303         $(VBOX_PATH_RUNTIME_SRC)/common/asn1/asn1-ut-null-decode.cpp \
    304         $(VBOX_PATH_RUNTIME_SRC)/common/asn1/asn1-ut-objid.cpp \
    305         $(VBOX_PATH_RUNTIME_SRC)/common/asn1/asn1-ut-objid-decode.cpp \
    306         $(VBOX_PATH_RUNTIME_SRC)/common/asn1/asn1-ut-octetstring.cpp \
    307         $(VBOX_PATH_RUNTIME_SRC)/common/asn1/asn1-ut-octetstring-decode.cpp \
    308         $(VBOX_PATH_RUNTIME_SRC)/common/asn1/asn1-ut-string.cpp \
    309         $(VBOX_PATH_RUNTIME_SRC)/common/asn1/asn1-ut-string-decode.cpp \
    310         $(VBOX_PATH_RUNTIME_SRC)/common/asn1/asn1-ut-time.cpp \
    311         $(VBOX_PATH_RUNTIME_SRC)/common/asn1/asn1-ut-time-decode.cpp \
    312         $(VBOX_PATH_RUNTIME_SRC)/common/crypto/digest-core.cpp \
    313         $(VBOX_PATH_RUNTIME_SRC)/common/crypto/digest-builtin.cpp \
    314         $(VBOX_PATH_RUNTIME_SRC)/common/crypto/key.cpp \
    315         $(VBOX_PATH_RUNTIME_SRC)/common/crypto/pkcs7-asn1-decoder.cpp \
    316         $(VBOX_PATH_RUNTIME_SRC)/common/crypto/pkcs7-core.cpp \
    317         $(VBOX_PATH_RUNTIME_SRC)/common/crypto/pkcs7-init.cpp \
    318         $(VBOX_PATH_RUNTIME_SRC)/common/crypto/pkcs7-sanity.cpp \
    319         $(VBOX_PATH_RUNTIME_SRC)/common/crypto/pkcs7-verify.cpp \
    320         $(VBOX_PATH_RUNTIME_SRC)/common/crypto/pkix-signature-builtin.cpp \
    321         $(VBOX_PATH_RUNTIME_SRC)/common/crypto/pkix-signature-core.cpp \
    322         $(VBOX_PATH_RUNTIME_SRC)/common/crypto/pkix-signature-rsa.cpp \
    323         $(VBOX_PATH_RUNTIME_SRC)/common/crypto/pkix-verify.cpp \
    324         $(VBOX_PATH_RUNTIME_SRC)/common/crypto/pkix-util.cpp \
    325         $(VBOX_PATH_RUNTIME_SRC)/common/crypto/rsa-asn1-decoder.cpp \
    326         $(VBOX_PATH_RUNTIME_SRC)/common/crypto/rsa-core.cpp \
    327         $(VBOX_PATH_RUNTIME_SRC)/common/crypto/rsa-init.cpp \
    328         $(VBOX_PATH_RUNTIME_SRC)/common/crypto/rsa-sanity.cpp \
    329         $(VBOX_PATH_RUNTIME_SRC)/common/crypto/spc-asn1-decoder.cpp \
    330         $(VBOX_PATH_RUNTIME_SRC)/common/crypto/spc-core.cpp \
    331         $(VBOX_PATH_RUNTIME_SRC)/common/crypto/spc-init.cpp \
    332         $(VBOX_PATH_RUNTIME_SRC)/common/crypto/spc-sanity.cpp \
    333         $(VBOX_PATH_RUNTIME_SRC)/common/crypto/x509-asn1-decoder.cpp \
    334         $(VBOX_PATH_RUNTIME_SRC)/common/crypto/x509-certpaths.cpp \
    335         $(VBOX_PATH_RUNTIME_SRC)/common/crypto/x509-core.cpp \
    336         $(VBOX_PATH_RUNTIME_SRC)/common/crypto/x509-init.cpp \
    337         $(VBOX_PATH_RUNTIME_SRC)/common/crypto/x509-sanity.cpp \
    338         $(VBOX_PATH_RUNTIME_SRC)/common/crypto/x509-verify.cpp \
    339         $(VBOX_PATH_RUNTIME_SRC)/common/crypto/store.cpp \
    340         $(VBOX_PATH_RUNTIME_SRC)/common/crypto/store-inmem.cpp \
    341         $(VBOX_PATH_RUNTIME_SRC)/common/crypto/taf-asn1-decoder.cpp \
    342         $(VBOX_PATH_RUNTIME_SRC)/common/crypto/taf-core.cpp \
    343         $(VBOX_PATH_RUNTIME_SRC)/common/crypto/taf-init.cpp \
    344         $(VBOX_PATH_RUNTIME_SRC)/common/crypto/taf-sanity.cpp \
    345         $(VBOX_PATH_RUNTIME_SRC)/common/crypto/tsp-asn1-decoder.cpp \
    346         $(VBOX_PATH_RUNTIME_SRC)/common/crypto/tsp-core.cpp \
    347         $(VBOX_PATH_RUNTIME_SRC)/common/crypto/tsp-init.cpp \
    348         $(VBOX_PATH_RUNTIME_SRC)/common/crypto/tsp-sanity.cpp \
    349         $(VBOX_PATH_RUNTIME_SRC)/common/checksum/alt-md2.cpp \
    350         $(VBOX_PATH_RUNTIME_SRC)/common/checksum/alt-md5.cpp \
    351         $(VBOX_PATH_RUNTIME_SRC)/common/checksum/alt-sha1.cpp \
    352         $(VBOX_PATH_RUNTIME_SRC)/common/checksum/alt-sha256.cpp \
    353         $(VBOX_PATH_RUNTIME_SRC)/common/checksum/alt-sha512.cpp \
    354         $(VBOX_PATH_RUNTIME_SRC)/common/checksum/alt-sha3.cpp \
    355         $(VBOX_PATH_RUNTIME_SRC)/common/checksum/md2str.cpp \
    356         $(VBOX_PATH_RUNTIME_SRC)/common/checksum/md5str.cpp \
    357         $(VBOX_PATH_RUNTIME_SRC)/common/checksum/sha1str.cpp \
    358         $(VBOX_PATH_RUNTIME_SRC)/common/checksum/sha256str.cpp \
    359         $(VBOX_PATH_RUNTIME_SRC)/common/checksum/sha512str.cpp \
    360         $(VBOX_PATH_RUNTIME_SRC)/common/err/errinfo.cpp \
    361         $(VBOX_PATH_RUNTIME_SRC)/common/path/RTPathChangeToUnixSlashes.cpp \
    362         $(VBOX_PATH_RUNTIME_SRC)/common/path/RTPathExt.cpp \
    363         $(VBOX_PATH_RUNTIME_SRC)/common/string/RTUtf16PrintHexBytes.cpp \
    364         $(VBOX_PATH_RUNTIME_SRC)/common/string/RTUtf16ICmpAscii.cpp \
    365         $(VBOX_PATH_RUNTIME_SRC)/common/string/RTUtf16NICmpAscii.cpp \
    366         $(VBOX_PATH_RUNTIME_SRC)/common/string/RTUtf16CatAscii.cpp \
    367         $(VBOX_PATH_RUNTIME_SRC)/common/string/RTUtf16CopyAscii.cpp \
    368         $(VBOX_PATH_RUNTIME_SRC)/common/string/RTUtf16End.cpp \
    369         $(VBOX_PATH_RUNTIME_SRC)/common/string/strstrip.cpp \
    370        \
    371         $(VBOX_PATH_RUNTIME_SRC)/common/err/errmsg.cpp \
    372         $(VBOX_PATH_RUNTIME_SRC)/common/math/bignum.cpp \
    373         $(VBOX_PATH_RUNTIME_SRC)/common/math/bignum-amd64-x86.asm \
    374         $(VBOX_PATH_RUNTIME_SRC)/common/misc/RTAssertMsg1Weak.cpp \
    375         $(VBOX_PATH_RUNTIME_SRC)/common/misc/RTAssertMsg2.cpp \
    376         $(VBOX_PATH_RUNTIME_SRC)/common/misc/RTAssertMsg2Weak.cpp \
    377         $(VBOX_PATH_RUNTIME_SRC)/common/misc/RTAssertMsg2WeakV.cpp \
    378         $(VBOX_PATH_RUNTIME_SRC)/common/misc/zero.asm \
    379         $(VBOX_PATH_RUNTIME_SRC)/common/path/RTPathAbsEx.cpp \
    380         $(VBOX_PATH_RUNTIME_SRC)/common/path/RTPathFilename.cpp \
    381         $(VBOX_PATH_RUNTIME_SRC)/common/path/RTPathParse.cpp \
    382         $(VBOX_PATH_RUNTIME_SRC)/common/path/RTPathParsedReassemble.cpp \
    383         $(VBOX_PATH_RUNTIME_SRC)/common/string/memchr.asm \
    384         $(VBOX_PATH_RUNTIME_SRC)/common/string/memcmp.asm \
    385         $(VBOX_PATH_RUNTIME_SRC)/common/string/memcpy.asm \
    386         $(VBOX_PATH_RUNTIME_SRC)/common/string/memmove.asm \
    387         $(VBOX_PATH_RUNTIME_SRC)/common/string/mempcpy.asm \
    388         $(VBOX_PATH_RUNTIME_SRC)/common/string/memset.asm \
    389         $(VBOX_PATH_RUNTIME_SRC)/common/string/strversion.cpp \
    390         $(VBOX_PATH_RUNTIME_SRC)/common/string/RTStrPrintHexBytes.cpp \
    391         $(VBOX_PATH_RUNTIME_SRC)/common/string/RTStrCat.cpp \
    392         $(VBOX_PATH_RUNTIME_SRC)/common/string/RTStrCmp.cpp \
    393         $(VBOX_PATH_RUNTIME_SRC)/common/string/RTStrCopy.cpp \
    394         $(VBOX_PATH_RUNTIME_SRC)/common/string/RTStrEnd.asm \
    395         $(VBOX_PATH_RUNTIME_SRC)/common/string/RTStrICmpAscii.cpp \
    396         $(VBOX_PATH_RUNTIME_SRC)/common/string/RTStrNCmp.cpp \
    397         $(VBOX_PATH_RUNTIME_SRC)/common/string/RTStrNLen.cpp \
    398         $(VBOX_PATH_RUNTIME_SRC)/common/string/RTUtf16Copy.cpp \
    399         $(VBOX_PATH_RUNTIME_SRC)/common/string/RTUtf16NLenEx.cpp \
    400         $(VBOX_PATH_RUNTIME_SRC)/common/string/strchr.asm \
    401         $(VBOX_PATH_RUNTIME_SRC)/common/string/strcmp.asm \
    402         $(VBOX_PATH_RUNTIME_SRC)/common/string/strcpy.asm \
    403         $(VBOX_PATH_RUNTIME_SRC)/common/string/strformat.cpp \
    404         $(VBOX_PATH_RUNTIME_SRC)/common/string/RTStrFormat.cpp \
    405         $(VBOX_PATH_RUNTIME_SRC)/common/string/strformatrt.cpp \
    406         $(VBOX_PATH_RUNTIME_SRC)/common/string/strformattype.cpp \
    407         $(VBOX_PATH_RUNTIME_SRC)/common/string/strformatnum.cpp \
    408         $(VBOX_PATH_RUNTIME_SRC)/common/string/stringalloc.cpp \
    409         $(VBOX_PATH_RUNTIME_SRC)/common/string/strlen.asm \
    410         $(VBOX_PATH_RUNTIME_SRC)/common/string/strncmp.asm \
    411         $(VBOX_PATH_RUNTIME_SRC)/common/string/strncpy.asm \
    412         $(VBOX_PATH_RUNTIME_SRC)/common/string/strprintf.cpp \
    413         $(VBOX_PATH_RUNTIME_SRC)/common/string/strprintf-ellipsis.cpp \
    414         $(VBOX_PATH_RUNTIME_SRC)/common/string/strprintf2.cpp \
    415         $(VBOX_PATH_RUNTIME_SRC)/common/string/strprintf2-ellipsis.cpp \
    416         $(VBOX_PATH_RUNTIME_SRC)/common/string/strtonum.cpp \
    417         $(VBOX_PATH_RUNTIME_SRC)/common/string/utf-16.cpp \
    418         $(VBOX_PATH_RUNTIME_SRC)/common/string/utf-8.cpp \
    419         $(VBOX_PATH_RUNTIME_SRC)/common/string/utf-8-case.cpp \
    420         $(VBOX_PATH_RUNTIME_SRC)/common/string/unidata-upper.cpp \
    421         $(VBOX_PATH_RUNTIME_SRC)/common/string/unidata-lower.cpp \
    422         $(VBOX_PATH_RUNTIME_SRC)/common/time/time.cpp \
    423         $(VBOX_PATH_RUNTIME_SRC)/generic/RTAssertShouldPanic-generic.cpp \
    424         $(VBOX_PATH_RUNTIME_SRC)/generic/RTPathGetCurrentDrive-generic.cpp \
    425         $(VBOX_PATH_RUNTIME_SRC)/generic/RTPathGetCurrentOnDrive-generic.cpp \
    426         $(VBOX_PATH_RUNTIME_SRC)/generic/rtStrFormatKernelAddress-generic.cpp \
    427         $(VBOX_PATH_RUNTIME_SRC)/generic/memsafer-generic.cpp \
    428         $(VBOX_PATH_RUNTIME_SRC)/generic/uuid-generic.cpp \
    429        \
    430         ../../Disassembler/DisasmCore.cpp \
    431         ../../Disassembler/DisasmTables.cpp \
    432         ../../Disassembler/DisasmTablesX64.cpp \
    433         ../../Disassembler/DisasmMisc.cpp
     282        $(VBOX_PATH_RUNTIME_SRC)/common/ldr/ldr.cpp \
     283        $(VBOX_PATH_RUNTIME_SRC)/common/ldr/ldrEx.cpp \
     284        $(VBOX_PATH_RUNTIME_SRC)/common/ldr/ldrPE.cpp \
     285        $(VBOX_PATH_RUNTIME_SRC)/common/alloc/heapsimple.cpp \
     286        $(VBOX_PATH_RUNTIME_SRC)/common/asn1/asn1-basics.cpp \
     287        $(VBOX_PATH_RUNTIME_SRC)/common/asn1/asn1-cursor.cpp \
     288        $(VBOX_PATH_RUNTIME_SRC)/common/asn1/asn1-default-allocator.cpp \
     289        $(VBOX_PATH_RUNTIME_SRC)/common/asn1/asn1-safer-allocator.cpp \
     290        $(VBOX_PATH_RUNTIME_SRC)/common/asn1/asn1-dump.cpp \
     291        $(VBOX_PATH_RUNTIME_SRC)/common/asn1/asn1-encode.cpp \
     292        $(VBOX_PATH_RUNTIME_SRC)/common/asn1/asn1-ut-bitstring.cpp \
     293        $(VBOX_PATH_RUNTIME_SRC)/common/asn1/asn1-ut-bitstring-decode.cpp \
     294        $(VBOX_PATH_RUNTIME_SRC)/common/asn1/asn1-ut-boolean.cpp \
     295        $(VBOX_PATH_RUNTIME_SRC)/common/asn1/asn1-ut-boolean-decode.cpp \
     296        $(VBOX_PATH_RUNTIME_SRC)/common/asn1/asn1-ut-core.cpp \
     297        $(VBOX_PATH_RUNTIME_SRC)/common/asn1/asn1-ut-core-decode.cpp \
     298        $(VBOX_PATH_RUNTIME_SRC)/common/asn1/asn1-ut-dyntype.cpp \
     299        $(VBOX_PATH_RUNTIME_SRC)/common/asn1/asn1-ut-dyntype-decode.cpp \
     300        $(VBOX_PATH_RUNTIME_SRC)/common/asn1/asn1-ut-integer.cpp \
     301        $(VBOX_PATH_RUNTIME_SRC)/common/asn1/asn1-ut-integer-decode.cpp \
     302        $(VBOX_PATH_RUNTIME_SRC)/common/asn1/asn1-ut-null.cpp \
     303        $(VBOX_PATH_RUNTIME_SRC)/common/asn1/asn1-ut-null-decode.cpp \
     304        $(VBOX_PATH_RUNTIME_SRC)/common/asn1/asn1-ut-objid.cpp \
     305        $(VBOX_PATH_RUNTIME_SRC)/common/asn1/asn1-ut-objid-decode.cpp \
     306        $(VBOX_PATH_RUNTIME_SRC)/common/asn1/asn1-ut-octetstring.cpp \
     307        $(VBOX_PATH_RUNTIME_SRC)/common/asn1/asn1-ut-octetstring-decode.cpp \
     308        $(VBOX_PATH_RUNTIME_SRC)/common/asn1/asn1-ut-string.cpp \
     309        $(VBOX_PATH_RUNTIME_SRC)/common/asn1/asn1-ut-string-decode.cpp \
     310        $(VBOX_PATH_RUNTIME_SRC)/common/asn1/asn1-ut-time.cpp \
     311        $(VBOX_PATH_RUNTIME_SRC)/common/asn1/asn1-ut-time-decode.cpp \
     312        $(VBOX_PATH_RUNTIME_SRC)/common/crypto/digest-core.cpp \
     313        $(VBOX_PATH_RUNTIME_SRC)/common/crypto/digest-builtin.cpp \
     314        $(VBOX_PATH_RUNTIME_SRC)/common/crypto/key.cpp \
     315        $(VBOX_PATH_RUNTIME_SRC)/common/crypto/pkcs7-asn1-decoder.cpp \
     316        $(VBOX_PATH_RUNTIME_SRC)/common/crypto/pkcs7-core.cpp \
     317        $(VBOX_PATH_RUNTIME_SRC)/common/crypto/pkcs7-init.cpp \
     318        $(VBOX_PATH_RUNTIME_SRC)/common/crypto/pkcs7-sanity.cpp \
     319        $(VBOX_PATH_RUNTIME_SRC)/common/crypto/pkcs7-verify.cpp \
     320        $(VBOX_PATH_RUNTIME_SRC)/common/crypto/pkix-signature-builtin.cpp \
     321        $(VBOX_PATH_RUNTIME_SRC)/common/crypto/pkix-signature-core.cpp \
     322        $(VBOX_PATH_RUNTIME_SRC)/common/crypto/pkix-signature-rsa.cpp \
     323        $(VBOX_PATH_RUNTIME_SRC)/common/crypto/pkix-verify.cpp \
     324        $(VBOX_PATH_RUNTIME_SRC)/common/crypto/pkix-util.cpp \
     325        $(VBOX_PATH_RUNTIME_SRC)/common/crypto/rsa-asn1-decoder.cpp \
     326        $(VBOX_PATH_RUNTIME_SRC)/common/crypto/rsa-core.cpp \
     327        $(VBOX_PATH_RUNTIME_SRC)/common/crypto/rsa-init.cpp \
     328        $(VBOX_PATH_RUNTIME_SRC)/common/crypto/rsa-sanity.cpp \
     329        $(VBOX_PATH_RUNTIME_SRC)/common/crypto/spc-asn1-decoder.cpp \
     330        $(VBOX_PATH_RUNTIME_SRC)/common/crypto/spc-core.cpp \
     331        $(VBOX_PATH_RUNTIME_SRC)/common/crypto/spc-init.cpp \
     332        $(VBOX_PATH_RUNTIME_SRC)/common/crypto/spc-sanity.cpp \
     333        $(VBOX_PATH_RUNTIME_SRC)/common/crypto/x509-asn1-decoder.cpp \
     334        $(VBOX_PATH_RUNTIME_SRC)/common/crypto/x509-certpaths.cpp \
     335        $(VBOX_PATH_RUNTIME_SRC)/common/crypto/x509-core.cpp \
     336        $(VBOX_PATH_RUNTIME_SRC)/common/crypto/x509-init.cpp \
     337        $(VBOX_PATH_RUNTIME_SRC)/common/crypto/x509-sanity.cpp \
     338        $(VBOX_PATH_RUNTIME_SRC)/common/crypto/x509-verify.cpp \
     339        $(VBOX_PATH_RUNTIME_SRC)/common/crypto/store.cpp \
     340        $(VBOX_PATH_RUNTIME_SRC)/common/crypto/store-inmem.cpp \
     341        $(VBOX_PATH_RUNTIME_SRC)/common/crypto/taf-asn1-decoder.cpp \
     342        $(VBOX_PATH_RUNTIME_SRC)/common/crypto/taf-core.cpp \
     343        $(VBOX_PATH_RUNTIME_SRC)/common/crypto/taf-init.cpp \
     344        $(VBOX_PATH_RUNTIME_SRC)/common/crypto/taf-sanity.cpp \
     345        $(VBOX_PATH_RUNTIME_SRC)/common/crypto/tsp-asn1-decoder.cpp \
     346        $(VBOX_PATH_RUNTIME_SRC)/common/crypto/tsp-core.cpp \
     347        $(VBOX_PATH_RUNTIME_SRC)/common/crypto/tsp-init.cpp \
     348        $(VBOX_PATH_RUNTIME_SRC)/common/crypto/tsp-sanity.cpp \
     349        $(VBOX_PATH_RUNTIME_SRC)/common/checksum/alt-md2.cpp \
     350        $(VBOX_PATH_RUNTIME_SRC)/common/checksum/alt-md5.cpp \
     351        $(VBOX_PATH_RUNTIME_SRC)/common/checksum/alt-sha1.cpp \
     352        $(VBOX_PATH_RUNTIME_SRC)/common/checksum/alt-sha256.cpp \
     353        $(VBOX_PATH_RUNTIME_SRC)/common/checksum/alt-sha512.cpp \
     354        $(VBOX_PATH_RUNTIME_SRC)/common/checksum/alt-sha3.cpp \
     355        $(VBOX_PATH_RUNTIME_SRC)/common/checksum/md2str.cpp \
     356        $(VBOX_PATH_RUNTIME_SRC)/common/checksum/md5str.cpp \
     357        $(VBOX_PATH_RUNTIME_SRC)/common/checksum/sha1str.cpp \
     358        $(VBOX_PATH_RUNTIME_SRC)/common/checksum/sha256str.cpp \
     359        $(VBOX_PATH_RUNTIME_SRC)/common/checksum/sha512str.cpp \
     360        $(VBOX_PATH_RUNTIME_SRC)/common/err/errinfo.cpp \
     361        $(VBOX_PATH_RUNTIME_SRC)/common/path/RTPathChangeToUnixSlashes.cpp \
     362        $(VBOX_PATH_RUNTIME_SRC)/common/path/RTPathExt.cpp \
     363        $(VBOX_PATH_RUNTIME_SRC)/common/string/RTUtf16PrintHexBytes.cpp \
     364        $(VBOX_PATH_RUNTIME_SRC)/common/string/RTUtf16ICmpAscii.cpp \
     365        $(VBOX_PATH_RUNTIME_SRC)/common/string/RTUtf16NICmpAscii.cpp \
     366        $(VBOX_PATH_RUNTIME_SRC)/common/string/RTUtf16CatAscii.cpp \
     367        $(VBOX_PATH_RUNTIME_SRC)/common/string/RTUtf16CopyAscii.cpp \
     368        $(VBOX_PATH_RUNTIME_SRC)/common/string/RTUtf16End.cpp \
     369        $(VBOX_PATH_RUNTIME_SRC)/common/string/strstrip.cpp \
     370        \
     371        $(VBOX_PATH_RUNTIME_SRC)/common/err/errmsg.cpp \
     372        $(VBOX_PATH_RUNTIME_SRC)/common/math/bignum.cpp \
     373        $(VBOX_PATH_RUNTIME_SRC)/common/math/bignum-amd64-x86.asm \
     374        $(VBOX_PATH_RUNTIME_SRC)/common/misc/RTAssertMsg1Weak.cpp \
     375        $(VBOX_PATH_RUNTIME_SRC)/common/misc/RTAssertMsg2.cpp \
     376        $(VBOX_PATH_RUNTIME_SRC)/common/misc/RTAssertMsg2Weak.cpp \
     377        $(VBOX_PATH_RUNTIME_SRC)/common/misc/RTAssertMsg2WeakV.cpp \
     378        $(VBOX_PATH_RUNTIME_SRC)/common/misc/zero.asm \
     379        $(VBOX_PATH_RUNTIME_SRC)/common/path/RTPathAbsEx.cpp \
     380        $(VBOX_PATH_RUNTIME_SRC)/common/path/RTPathFilename.cpp \
     381        $(VBOX_PATH_RUNTIME_SRC)/common/path/RTPathParse.cpp \
     382        $(VBOX_PATH_RUNTIME_SRC)/common/path/RTPathParsedReassemble.cpp \
     383        $(VBOX_PATH_RUNTIME_SRC)/common/string/memchr.asm \
     384        $(VBOX_PATH_RUNTIME_SRC)/common/string/memcmp.asm \
     385        $(VBOX_PATH_RUNTIME_SRC)/common/string/memcpy.asm \
     386        $(VBOX_PATH_RUNTIME_SRC)/common/string/memmove.asm \
     387        $(VBOX_PATH_RUNTIME_SRC)/common/string/mempcpy.asm \
     388        $(VBOX_PATH_RUNTIME_SRC)/common/string/memset.asm \
     389        $(VBOX_PATH_RUNTIME_SRC)/common/string/strversion.cpp \
     390        $(VBOX_PATH_RUNTIME_SRC)/common/string/RTStrPrintHexBytes.cpp \
     391        $(VBOX_PATH_RUNTIME_SRC)/common/string/RTStrCat.cpp \
     392        $(VBOX_PATH_RUNTIME_SRC)/common/string/RTStrCmp.cpp \
     393        $(VBOX_PATH_RUNTIME_SRC)/common/string/RTStrCopy.cpp \
     394        $(VBOX_PATH_RUNTIME_SRC)/common/string/RTStrEnd.asm \
     395        $(VBOX_PATH_RUNTIME_SRC)/common/string/RTStrICmpAscii.cpp \
     396        $(VBOX_PATH_RUNTIME_SRC)/common/string/RTStrNCmp.cpp \
     397        $(VBOX_PATH_RUNTIME_SRC)/common/string/RTStrNLen.cpp \
     398        $(VBOX_PATH_RUNTIME_SRC)/common/string/RTUtf16Copy.cpp \
     399        $(VBOX_PATH_RUNTIME_SRC)/common/string/RTUtf16NLenEx.cpp \
     400        $(VBOX_PATH_RUNTIME_SRC)/common/string/strchr.asm \
     401        $(VBOX_PATH_RUNTIME_SRC)/common/string/strcmp.asm \
     402        $(VBOX_PATH_RUNTIME_SRC)/common/string/strcpy.asm \
     403        $(VBOX_PATH_RUNTIME_SRC)/common/string/strformat.cpp \
     404        $(VBOX_PATH_RUNTIME_SRC)/common/string/RTStrFormat.cpp \
     405        $(VBOX_PATH_RUNTIME_SRC)/common/string/strformatrt.cpp \
     406        $(VBOX_PATH_RUNTIME_SRC)/common/string/strformattype.cpp \
     407        $(VBOX_PATH_RUNTIME_SRC)/common/string/strformatnum.cpp \
     408        $(VBOX_PATH_RUNTIME_SRC)/common/string/stringalloc.cpp \
     409        $(VBOX_PATH_RUNTIME_SRC)/common/string/strlen.asm \
     410        $(VBOX_PATH_RUNTIME_SRC)/common/string/strncmp.asm \
     411        $(VBOX_PATH_RUNTIME_SRC)/common/string/strncpy.asm \
     412        $(VBOX_PATH_RUNTIME_SRC)/common/string/strprintf.cpp \
     413        $(VBOX_PATH_RUNTIME_SRC)/common/string/strprintf-ellipsis.cpp \
     414        $(VBOX_PATH_RUNTIME_SRC)/common/string/strprintf2.cpp \
     415        $(VBOX_PATH_RUNTIME_SRC)/common/string/strprintf2-ellipsis.cpp \
     416        $(VBOX_PATH_RUNTIME_SRC)/common/string/strtonum.cpp \
     417        $(VBOX_PATH_RUNTIME_SRC)/common/string/utf-16.cpp \
     418        $(VBOX_PATH_RUNTIME_SRC)/common/string/utf-8.cpp \
     419        $(VBOX_PATH_RUNTIME_SRC)/common/string/utf-8-case.cpp \
     420        $(VBOX_PATH_RUNTIME_SRC)/common/string/unidata-upper.cpp \
     421        $(VBOX_PATH_RUNTIME_SRC)/common/string/unidata-lower.cpp \
     422        $(VBOX_PATH_RUNTIME_SRC)/common/time/time.cpp \
     423        $(VBOX_PATH_RUNTIME_SRC)/generic/RTAssertShouldPanic-generic.cpp \
     424        $(VBOX_PATH_RUNTIME_SRC)/generic/RTPathGetCurrentDrive-generic.cpp \
     425        $(VBOX_PATH_RUNTIME_SRC)/generic/RTPathGetCurrentOnDrive-generic.cpp \
     426        $(VBOX_PATH_RUNTIME_SRC)/generic/rtStrFormatKernelAddress-generic.cpp \
     427        $(VBOX_PATH_RUNTIME_SRC)/generic/memsafer-generic.cpp \
     428        $(VBOX_PATH_RUNTIME_SRC)/generic/uuid-generic.cpp \
     429        \
     430        ../../Disassembler/DisasmCore.cpp \
     431        ../../Disassembler/DisasmTables.cpp \
     432        ../../Disassembler/DisasmTablesX64.cpp \
     433        ../../Disassembler/DisasmMisc.cpp
    434434
    435435 SUPR3HardenedStatic_SOURCES.amd64 += \
     
    446446        $(VBOX_PATH_RUNTIME_SRC)/r3/nt/pathint-nt.cpp \
    447447        $(VBOX_PATH_RUNTIME_SRC)/win/RTErrConvertFromWin32.cpp \
    448         $(VBOX_PATH_RUNTIME_SRC)/win/errmsgwin.cpp
     448        $(VBOX_PATH_RUNTIME_SRC)/win/errmsgwin.cpp
    449449
    450450 # Add necessary compiler specific files from the compiler lib dir.
     
    476476        $(SUPR3HardenedStatic_0_OUTDIR)/alloca16.obj
    477477
    478 $$(SUPR3HardenedStatic_0_OUTDIR)/loadcfg.obj \
    479 $$(SUPR3HardenedStatic_0_OUTDIR)/gs_cookie.obj \
    480 $$(SUPR3HardenedStatic_0_OUTDIR)/guard_support.obj \
    481 $$(SUPR3HardenedStatic_0_OUTDIR)/guard_dispatch.obj \
    482 $$(SUPR3HardenedStatic_0_OUTDIR)/guard_xfg_dispatch.obj \
    483 $$(SUPR3HardenedStatic_0_OUTDIR)/amdsecgs.obj \
    484 $$(SUPR3HardenedStatic_0_OUTDIR)/gs_report.obj \
    485 $$(SUPR3HardenedStatic_0_OUTDIR)/gshandler.obj \
    486 $$(SUPR3HardenedStatic_0_OUTDIR)/secchk.obj \
    487 $$(SUPR3HardenedStatic_0_OUTDIR)/alloca16.obj \
    488         : \
    489                 $(PATH_TOOL_$(VBOX_VCC_TOOL)_LIB)/libcmt.lib | $$(dir $$@)
     478   $$(SUPR3HardenedStatic_0_OUTDIR)/loadcfg.obj \
     479   $$(SUPR3HardenedStatic_0_OUTDIR)/gs_cookie.obj \
     480   $$(SUPR3HardenedStatic_0_OUTDIR)/guard_support.obj \
     481   $$(SUPR3HardenedStatic_0_OUTDIR)/guard_dispatch.obj \
     482   $$(SUPR3HardenedStatic_0_OUTDIR)/guard_xfg_dispatch.obj \
     483   $$(SUPR3HardenedStatic_0_OUTDIR)/amdsecgs.obj \
     484   $$(SUPR3HardenedStatic_0_OUTDIR)/gs_report.obj \
     485   $$(SUPR3HardenedStatic_0_OUTDIR)/gshandler.obj \
     486   $$(SUPR3HardenedStatic_0_OUTDIR)/secchk.obj \
     487   $$(SUPR3HardenedStatic_0_OUTDIR)/alloca16.obj: \
     488                $(PATH_TOOL_$(VBOX_VCC_TOOL)_LIB)/libcmt.lib | $$(dir $$@)
    490489        set -x; $(TOOL_$(VBOX_VCC_TOOL)_AR) "/EXTRACT:$$($(TOOL_$(VBOX_VCC_TOOL)_AR) /LIST "$<" | $(SED_EXT) -e '/$(notdir $@)/!d' )" "/OUT:$@" "$<"
    491490  endif
     
    502501 SUPR3HardenedStatic_SOURCES += \
    503502        darwin/SUPR3HardenedMain-darwin.cpp \
    504        \
     503        \
    505504        $(VBOX_PATH_RUNTIME_SRC)/common/misc/RTAssertMsg1Weak.cpp \
    506505        $(VBOX_PATH_RUNTIME_SRC)/common/misc/RTAssertMsg2.cpp \
     
    514513 SUPR3HardenedStatic_DEFS += \
    515514        IN_DIS \
    516         IN_DIS_STATIC \
     515        IN_DIS_STATIC \
    517516        DIS_CORE_ONLY \
    518517        LOG_DISABLED
     
    527526 SUPR3HardenedStatic_SOURCES += \
    528527        posix/SUPR3HardenedMain-posix.cpp \
    529         posix/SUPR3HardenedMainA-posix.asm \
    530        \
     528        posix/SUPR3HardenedMainA-posix.asm \
     529        \
    531530        $(VBOX_PATH_RUNTIME_SRC)/common/misc/RTAssertMsg1Weak.cpp \
    532531        $(VBOX_PATH_RUNTIME_SRC)/common/misc/RTAssertMsg2.cpp \
     
    534533        $(VBOX_PATH_RUNTIME_SRC)/common/misc/RTAssertMsg2WeakV.cpp \
    535534        $(VBOX_PATH_RUNTIME_SRC)/generic/RTAssertShouldPanic-generic.cpp \
    536        \
     535        \
    537536        ../../Disassembler/DisasmCore.cpp \
    538537        ../../Disassembler/DisasmTables.cpp \
     
    556555        $(KBUILD_TARGET)/VBoxSupLib-$(KBUILD_TARGET).cpp
    557556VBoxSupLib_SOURCES.win.amd64 = \
    558        $(VBOX_PATH_RUNTIME_SRC)/common/compiler/vcc/stack-probe-vcc.asm
     557        $(VBOX_PATH_RUNTIME_SRC)/common/compiler/vcc/stack-probe-vcc.asm
    559558VBoxSupLib_SOURCES.win.x86 = \
    560        $(VBOX_PATH_RUNTIME_SRC)/common/compiler/vcc/stack-probe-vcc.asm
     559        $(VBOX_PATH_RUNTIME_SRC)/common/compiler/vcc/stack-probe-vcc.asm
    561560VBoxSupLib_SOURCES.win = \
    562561        win/VBoxSupLib.rc
     
    583582if1of ($(KBUILD_TARGET), win)
    584583 VBoxSupSvc_SOURCES += \
    585         SUPSvcGrant.cpp
     584        SUPSvcGrant.cpp
    586585endif
    587586ifn1of ($(KBUILD_TARGET), win)
     
    600599 SUPR0_SOURCES       = $(SUPR0_0_OUTDIR)/SUPR0.def
    601600 SUPR0_CLEAN         = $(SUPR0_0_OUTDIR)/SUPR0.def
    602 $$(SUPR0_0_OUTDIR)/SUPR0.def: \
    603                 $(PATH_SUB_CURRENT)/SUPDrv.cpp \
    604                 $(PATH_SUB_CURRENT)/SUPR0-def-$(VBOX_LDR_FMT).sed \
    605                 | $$(dir $$@)
     601 $$(SUPR0_0_OUTDIR)/SUPR0.def: \
     602                $(PATH_SUB_CURRENT)/SUPDrv.cpp \
     603                $(PATH_SUB_CURRENT)/SUPR0-def-$(VBOX_LDR_FMT).sed \
     604                | $$(dir $$@)
    606605        $(SED) \
    607606                -f $(dir $<)/SUPR0-def-$(VBOX_LDR_FMT).sed \
     
    640639
    641640
    642 if  !defined(VBOX_ONLY_DOCS) \
    643  && !defined(VBOX_ONLY_EXTPACKS) \
    644  && !defined(VBOX_ONLY_VALIDATIONKIT)
    645 
    646 ifeq ($(KBUILD_TARGET),os2)
    647 
    648 #
    649 # VBoxDrv.sys - The OS/2 driver.
    650 #
    651 VBoxDrv_TEMPLATE      = VBoxR0Drv
    652 VBoxDrv_DEFS          = IN_RT_R0 IN_SUP_R0
    653 VBoxDrv_INCS         := $(PATH_SUB_CURRENT)
    654 #VBoxDrv_LDFLAGS       = -s -t -v
    655 VBoxDrv_SOURCES       = \
    656         os2/SUPDrvA-os2.asm \
    657         os2/SUPDrv-os2.def
    658 VBoxDrv_LIBS          = \
    659         $(VBoxDrvLib_1_TARGET) \
    660         $(PATH_STAGE_LIB)/RuntimeR0Drv$(VBOX_SUFF_LIB) \
    661         $(VBOX_GCC_LIBGCC) \
    662         end
    663 
    664 # temp hack to ensure that SUPDrvA-os2.asm is first in the link.
    665 LIBRARIES += VBoxDrvLib
    666 VBoxDrvLib_TEMPLATE  = VBoxR0Drv
    667 VBoxDrvLib_INSTTYPE  = none
    668 VBoxDrvLib_DEFS       = IN_RT_R0 IN_SUP_R0
    669 VBoxDrvLib_INCS      := \
    670         . \
    671         $(PATH_ROOT)/src/VBox/Runtime/include
    672 VBoxDrvLib_SOURCES    = \
    673         os2/SUPDrv-os2.cpp \
    674         SUPDrv.cpp \
    675         SUPDrvGip.cpp \
    676         SUPDrvSem.cpp \
    677         SUPLibAll.cpp
    678 
    679 endif # os2
    680 
    681 
    682 #
    683 # New VBoxDrv target. TODO: Convert all the above to use this!
    684 #
    685 if1of ($(KBUILD_TARGET), darwin freebsd solaris win)
    686  ifdef VBOX_WITH_VBOXDRV
    687   SYSMODS += VBoxDrv
    688  endif
    689  VBoxDrv_TEMPLATE         = VBoxR0Drv
    690  VBoxDrv_NAME.freebsd     = vboxdrv
    691  VBoxDrv_NAME.solaris     = vboxdrv
    692  VBoxDrv_NAME.win         = VBoxSup
    693  ifdef VBOX_SIGNING_MODE
    694   VBoxDrv_INSTTYPE.win    = none
    695   VBoxDrv_DEBUG_INSTTYPE.win = both
    696  endif
    697  VBoxDrv_INST.darwin      = $(INST_VBOXDRV)Contents/MacOS/
    698  VBoxDrv_DEBUG_INST.darwin= $(patsubst %/,%,$(INST_VBOXDRV))
    699  VBoxDrv_SDKS.win         = ReorderCompilerIncs $(VBOX_WINDDK) $(VBOX_WINPSDK_INCS)
    700 
    701  VBoxDrv_DEFS            := IN_RT_R0 IN_SUP_R0 SUPDRV_WITH_RELEASE_LOGGER VBOX_SVN_REV=$(VBOX_SVN_REV)
    702  ifdef VBOX_WITH_DTRACE_R0DRV
    703   VBoxDrv_DEFS           += VBOX_WITH_DTRACE VBOX_WITH_DTRACE_R0DRV
    704  endif
    705  ifdef VBOX_WITHOUT_DEBUGGER_CHECKS
    706   VBoxDrv_DEFS           += VBOX_WITHOUT_DEBUGGER_CHECKS
    707  endif
    708  ifdef VBOX_PERMIT_VISUAL_STUDIO_PROFILING
    709   VBoxDrv_DEFS           += VBOX_PERMIT_VISUAL_STUDIO_PROFILING
    710  endif
    711  VBoxDrv_DEFS            += VBOX_PERMIT_MORE VBOX_PERMIT_EVEN_MORE
    712  #VBoxDrv_DEFS.debug      += DEBUG_DARWIN_GIP
    713  VBoxDrv_DEFS.darwin     := VBOX_WITH_HOST_VMX
    714  ifdef VBOX_WITH_RAW_MODE
    715   VBoxDrv_DEFS.darwin    += VBOX_WITH_RAW_MODE
    716  endif
    717  if defined(VBOX_WITH_DARWIN_R0_DARWIN_IMAGE_VERIFICATION) && defined(VBOX_SIGNING_MODE)
    718   VBoxDrv_DEFS.darwin    += VBOX_WITH_DARWIN_R0_DARWIN_IMAGE_VERIFICATION
    719   ifeq ($(VBOX_SIGNING_MODE),test)
    720    VBoxDrv_DEFS.darwin   += VBOX_WITH_DARWIN_R0_TEST_SIGN
    721   endif
    722  endif
    723  ifdef VBOX_WITH_NETFLT
    724   VBoxDrv_DEFS.solaris   += VBOX_WITH_NETFLT
    725  endif
    726  ifdef VBOX_WITH_NATIVE_SOLARIS_LOADING
    727   VBoxDrv_DEFS.solaris   += VBOX_WITH_NATIVE_SOLARIS_LOADING
    728  endif
    729  ifdef VBOX_WITHOUT_NATIVE_R0_LOADER
    730   VBoxDrv_DEFS.win       += VBOX_WITHOUT_NATIVE_R0_LOADER
    731  endif
    732  ifdef VBOX_WITH_VISTA_NO_SP
    733   VBoxDrv_DEFS.win       += VBOX_WITH_VISTA_NO_SP
    734  endif
    735  ifdef VBOX_WITH_HARDENING
    736   VBoxDrv_ASDEFS         += VBOX_WITH_HARDENING
    737  endif
    738  ifdef VBOX_WITH_RAM_IN_KERNEL
    739   VBoxDrv_DEFS           += VBOX_WITHOUT_EFLAGS_AC_SET_IN_VBOXDRV IPRT_WITHOUT_EFLAGS_AC_PRESERVING
    740  else if ($(VBOX_VERSION_BUILD) % 2) == 1
    741   VBoxDrv_DEFS           += VBOX_WITH_EFLAGS_AC_SET_IN_VBOXDRV IPRT_WITH_EFLAGS_AC_PRESERVING
    742  endif
    743 
    744  VBoxDrv_INCS             = . $(VBoxDrv_0_OUTDIR)
    745  VBoxDrv_INCS.darwin      = ./darwin
    746 
    747  VBoxDrv_LIBS             = $(PATH_STAGE_LIB)/RuntimeR0Drv$(VBOX_SUFF_LIB)
    748  VBoxDrv_LIBS.win         = \
    749         $(PATH_STAGE_LIB)/RuntimeR0Drv$(VBOX_SUFF_LIB) \
    750         $(PATH_SDK_$(VBOX_WINDDK)_LIB)/ntoskrnl.lib \
    751         $(PATH_SDK_$(VBOX_WINDDK)_LIB)/hal.lib
    752  ifn1of ($(VBOX_WINDDK), WINDDK80 WINDDK71)
    753   VBoxDrv_LIBS.win.x86    = \
    754         $(PATH_SDK_$(VBOX_WINDDK)_LIB)/BufferOverflowK.lib
    755  endif
    756 
    757  #VBoxDrv_LDFLAGS.darwin   = -Wl,-sectcreate,__TEXT,__info_plist,$(VBoxDrv.kext_0_OUTDIR)/Info.plist
    758  #VBoxDrv_LDFLAGS.darwin   = -v -Wl,-whyload -Wl,-v -Wl,-whatsloaded
    759  VBoxDrv_LDFLAGS.solaris += -N misc/ctf
    760  ifdef VBOX_WITH_NATIVE_DTRACE
    761   VBoxDrv_LDFLAGS.solaris += -N drv/dtrace
    762  endif
    763  VBoxDrv_LDFLAGS.win.x86 = -Entry:DriverEntry@8
    764  VBoxDrv_LDFLAGS.win.amd64= -Entry:DriverEntry
    765 
    766  VBoxDrv_SOURCES.darwin   = \
    767         darwin/SUPDrv-darwin.cpp
    768  ifdef VBOX_WITH_DARWIN_R0_DARWIN_IMAGE_VERIFICATION
    769   VBoxDrv_SOURCES.darwin += \
    770         $(VBOX_SUP_WIN_CERTS_FILE)
    771  endif
    772  VBoxDrv_SOURCES.solaris = \
    773         solaris/SUPDrv-solaris.c
    774  VBoxDrv_SOURCES.win      = \
    775         win/SUPDrv-win.cpp \
    776         win/SUPDrvA-win.asm \
    777         win/VBoxDrv.rc
    778  ifdef VBOX_WITH_HARDENING
    779   VBoxDrv_SOURCES.win    += \
    780         win/SUPHardenedVerifyImage-win.cpp \
    781         win/SUPHardenedVerifyProcess-win.cpp \
    782         $(VBOX_SUP_WIN_CERTS_FILE)
    783  endif
    784  VBoxDrv_SOURCES          = \
    785         SUPDrv.d \
    786         SUPDrv.cpp \
    787         SUPDrvGip.cpp \
    788         SUPDrvSem.cpp \
     641if   !defined(VBOX_ONLY_DOCS) \
     642  && !defined(VBOX_ONLY_EXTPACKS) \
     643  && !defined(VBOX_ONLY_VALIDATIONKIT)
     644
     645 ifeq ($(KBUILD_TARGET),os2)
     646
     647  #
     648  # VBoxDrv.sys - The OS/2 driver.
     649  #
     650  VBoxDrv_TEMPLATE    = VBoxR0Drv
     651  VBoxDrv_DEFS        = IN_RT_R0 IN_SUP_R0
     652  VBoxDrv_INCS       := $(PATH_SUB_CURRENT)
     653  #VBoxDrv_LDFLAGS       = -s -t -v
     654  VBoxDrv_SOURCES     = \
     655        os2/SUPDrvA-os2.asm \
     656        os2/SUPDrv-os2.def
     657  VBoxDrv_LIBS        = \
     658        $(VBoxDrvLib_1_TARGET) \
     659        $(PATH_STAGE_LIB)/RuntimeR0Drv$(VBOX_SUFF_LIB) \
     660        $(VBOX_GCC_LIBGCC) \
     661        end
     662
     663  # temp hack to ensure that SUPDrvA-os2.asm is first in the link.
     664  LIBRARIES += VBoxDrvLib
     665  VBoxDrvLib_TEMPLATE = VBoxR0Drv
     666  VBoxDrvLib_INSTTYPE = none
     667  VBoxDrvLib_DEFS     = IN_RT_R0 IN_SUP_R0
     668  VBoxDrvLib_INCS    := \
     669        . \
     670        $(PATH_ROOT)/src/VBox/Runtime/include
     671  VBoxDrvLib_SOURCES  = \
     672        os2/SUPDrv-os2.cpp \
     673        SUPDrv.cpp \
     674        SUPDrvGip.cpp \
     675        SUPDrvSem.cpp \
     676        SUPLibAll.cpp
     677
     678 endif # os2
     679
     680
     681 #
     682 # New VBoxDrv target. TODO: Convert all the above to use this!
     683 #
     684 if1of ($(KBUILD_TARGET), darwin freebsd solaris win)
     685  ifdef VBOX_WITH_VBOXDRV
     686   SYSMODS += VBoxDrv
     687  endif
     688  VBoxDrv_TEMPLATE        = VBoxR0Drv
     689  VBoxDrv_NAME.freebsd    = vboxdrv
     690  VBoxDrv_NAME.solaris    = vboxdrv
     691  VBoxDrv_NAME.win        = VBoxSup
     692  ifdef VBOX_SIGNING_MODE
     693   VBoxDrv_INSTTYPE.win   = none
     694   VBoxDrv_DEBUG_INSTTYPE.win = both
     695  endif
     696  VBoxDrv_INST.darwin     = $(INST_VBOXDRV)Contents/MacOS/
     697  VBoxDrv_DEBUG_INST.darwin = $(patsubst %/,%,$(INST_VBOXDRV))
     698  VBoxDrv_SDKS.win        = ReorderCompilerIncs $(VBOX_WINDDK) $(VBOX_WINPSDK_INCS)
     699
     700  VBoxDrv_DEFS           := IN_RT_R0 IN_SUP_R0 SUPDRV_WITH_RELEASE_LOGGER VBOX_SVN_REV=$(VBOX_SVN_REV)
     701  ifdef VBOX_WITH_DTRACE_R0DRV
     702   VBoxDrv_DEFS          += VBOX_WITH_DTRACE VBOX_WITH_DTRACE_R0DRV
     703  endif
     704  ifdef VBOX_WITHOUT_DEBUGGER_CHECKS
     705   VBoxDrv_DEFS          += VBOX_WITHOUT_DEBUGGER_CHECKS
     706  endif
     707  ifdef VBOX_PERMIT_VISUAL_STUDIO_PROFILING
     708   VBoxDrv_DEFS          += VBOX_PERMIT_VISUAL_STUDIO_PROFILING
     709  endif
     710  VBoxDrv_DEFS           += VBOX_PERMIT_MORE VBOX_PERMIT_EVEN_MORE
     711  #VBoxDrv_DEFS.debug      += DEBUG_DARWIN_GIP
     712  VBoxDrv_DEFS.darwin    := VBOX_WITH_HOST_VMX
     713  ifdef VBOX_WITH_RAW_MODE
     714   VBoxDrv_DEFS.darwin   += VBOX_WITH_RAW_MODE
     715  endif
     716  if defined(VBOX_WITH_DARWIN_R0_DARWIN_IMAGE_VERIFICATION) && defined(VBOX_SIGNING_MODE)
     717   VBoxDrv_DEFS.darwin   += VBOX_WITH_DARWIN_R0_DARWIN_IMAGE_VERIFICATION
     718   ifeq ($(VBOX_SIGNING_MODE),test)
     719    VBoxDrv_DEFS.darwin  += VBOX_WITH_DARWIN_R0_TEST_SIGN
     720   endif
     721  endif
     722  ifdef VBOX_WITH_NETFLT
     723   VBoxDrv_DEFS.solaris  += VBOX_WITH_NETFLT
     724  endif
     725  ifdef VBOX_WITH_NATIVE_SOLARIS_LOADING
     726   VBoxDrv_DEFS.solaris  += VBOX_WITH_NATIVE_SOLARIS_LOADING
     727  endif
     728  ifdef VBOX_WITHOUT_NATIVE_R0_LOADER
     729   VBoxDrv_DEFS.win      += VBOX_WITHOUT_NATIVE_R0_LOADER
     730  endif
     731  ifdef VBOX_WITH_VISTA_NO_SP
     732   VBoxDrv_DEFS.win      += VBOX_WITH_VISTA_NO_SP
     733  endif
     734  ifdef VBOX_WITH_HARDENING
     735   VBoxDrv_ASDEFS        += VBOX_WITH_HARDENING
     736  endif
     737  ifdef VBOX_WITH_RAM_IN_KERNEL
     738   VBoxDrv_DEFS          += VBOX_WITHOUT_EFLAGS_AC_SET_IN_VBOXDRV IPRT_WITHOUT_EFLAGS_AC_PRESERVING
     739  else if ($(VBOX_VERSION_BUILD) % 2) == 1
     740   VBoxDrv_DEFS          += VBOX_WITH_EFLAGS_AC_SET_IN_VBOXDRV IPRT_WITH_EFLAGS_AC_PRESERVING
     741  endif
     742
     743  VBoxDrv_INCS            = . $(VBoxDrv_0_OUTDIR)
     744  VBoxDrv_INCS.darwin     = ./darwin
     745
     746  VBoxDrv_LIBS            = $(PATH_STAGE_LIB)/RuntimeR0Drv$(VBOX_SUFF_LIB)
     747  VBoxDrv_LIBS.win        = \
     748        $(PATH_STAGE_LIB)/RuntimeR0Drv$(VBOX_SUFF_LIB) \
     749        $(PATH_SDK_$(VBOX_WINDDK)_LIB)/ntoskrnl.lib \
     750        $(PATH_SDK_$(VBOX_WINDDK)_LIB)/hal.lib
     751  ifn1of ($(VBOX_WINDDK), WINDDK80 WINDDK71)
     752   VBoxDrv_LIBS.win.x86   = \
     753        $(PATH_SDK_$(VBOX_WINDDK)_LIB)/BufferOverflowK.lib
     754  endif
     755
     756  #VBoxDrv_LDFLAGS.darwin   = -Wl,-sectcreate,__TEXT,__info_plist,$(VBoxDrv.kext_0_OUTDIR)/Info.plist
     757  #VBoxDrv_LDFLAGS.darwin   = -v -Wl,-whyload -Wl,-v -Wl,-whatsloaded
     758  VBoxDrv_LDFLAGS.solaris += -N misc/ctf
     759  ifdef VBOX_WITH_NATIVE_DTRACE
     760   VBoxDrv_LDFLAGS.solaris += -N drv/dtrace
     761  endif
     762  VBoxDrv_LDFLAGS.win.x86 = -Entry:DriverEntry@8
     763  VBoxDrv_LDFLAGS.win.amd64 = -Entry:DriverEntry
     764
     765  VBoxDrv_SOURCES.darwin  = \
     766        darwin/SUPDrv-darwin.cpp
     767  ifdef VBOX_WITH_DARWIN_R0_DARWIN_IMAGE_VERIFICATION
     768   VBoxDrv_SOURCES.darwin += \
     769        $(VBOX_SUP_WIN_CERTS_FILE)
     770  endif
     771  VBoxDrv_SOURCES.solaris = \
     772        solaris/SUPDrv-solaris.c
     773  VBoxDrv_SOURCES.win     = \
     774        win/SUPDrv-win.cpp \
     775        win/SUPDrvA-win.asm \
     776        win/VBoxDrv.rc
     777  ifdef VBOX_WITH_HARDENING
     778   VBoxDrv_SOURCES.win   += \
     779        win/SUPHardenedVerifyImage-win.cpp \
     780        win/SUPHardenedVerifyProcess-win.cpp \
     781        $(VBOX_SUP_WIN_CERTS_FILE)
     782  endif
     783  VBoxDrv_SOURCES         = \
     784        SUPDrv.d \
     785        SUPDrv.cpp \
     786        SUPDrvGip.cpp \
     787        SUPDrvSem.cpp \
    789788        SUPDrvTracer.cpp \
    790         SUPLibAll.cpp
    791  ifdef VBOX_WITH_NATIVE_DTRACE
    792   VBoxDrv_SOURCES        += \
    793         SUPDrv-dtrace.cpp
    794   SUPDrv-dtrace.cpp_DEFS.darwin += VBOX_PATH_MACOSX_DTRACE_H=\"$(VBOX_PATH_MACOSX_SDK)/usr/include/sys/dtrace.h\"
    795  endif
    796  ifn1of ($(KBUILD_TARGET), linux freebsd)
    797   VBoxDrv_SOURCES        += \
    798         SUPDrvTracerA.asm
    799  endif
    800 
    801  linux/SUPDrv-linux.c_DEPS = $(VBOX_SVN_REV_HEADER)
    802 
    803 endif
    804 
    805 
    806 
    807 if defined(VBOX_WITH_VBOXDRV) && "$(KBUILD_TARGET)" == "darwin"
    808  # Files necessary to make a darwin kernel extension bundle.
    809  INSTALLS.darwin += VBoxDrv.kext
    810  VBoxDrv.kext_INST     = $(INST_VBOXDRV)Contents/
    811  VBoxDrv.kext_SOURCES = $(VBoxDrv.kext_0_OUTDIR)/Contents/Info.plist
    812  VBoxDrv.kext_CLEAN    = $(VBoxDrv.kext_0_OUTDIR)/Contents/Info.plist
    813  VBoxDrv.kext_BLDDIRS = $(VBoxDrv.kext_0_OUTDIR)/Contents/
    814 
    815  $$(VBoxDrv.kext_0_OUTDIR)/Contents/Info.plist: \
    816                 $(PATH_SUB_CURRENT)/darwin/Info.plist \
    817                 $(VBOX_VERSION_MK) | $$(dir $$@)
     789        SUPLibAll.cpp
     790  ifdef VBOX_WITH_NATIVE_DTRACE
     791   VBoxDrv_SOURCES       += \
     792        SUPDrv-dtrace.cpp
     793   SUPDrv-dtrace.cpp_DEFS.darwin += VBOX_PATH_MACOSX_DTRACE_H=\"$(VBOX_PATH_MACOSX_SDK)/usr/include/sys/dtrace.h\"
     794  endif
     795  ifn1of ($(KBUILD_TARGET), linux freebsd)
     796   VBoxDrv_SOURCES       += \
     797        SUPDrvTracerA.asm
     798  endif
     799
     800  linux/SUPDrv-linux.c_DEPS = $(VBOX_SVN_REV_HEADER)
     801
     802 endif
     803
     804
     805
     806 if defined(VBOX_WITH_VBOXDRV) && "$(KBUILD_TARGET)" == "darwin"
     807  # Files necessary to make a darwin kernel extension bundle.
     808  INSTALLS.darwin += VBoxDrv.kext
     809  VBoxDrv.kext_INST    = $(INST_VBOXDRV)Contents/
     810  VBoxDrv.kext_SOURCES = $(VBoxDrv.kext_0_OUTDIR)/Contents/Info.plist
     811  VBoxDrv.kext_CLEAN   = $(VBoxDrv.kext_0_OUTDIR)/Contents/Info.plist
     812  VBoxDrv.kext_BLDDIRS = $(VBoxDrv.kext_0_OUTDIR)/Contents/
     813
     814  $$(VBoxDrv.kext_0_OUTDIR)/Contents/Info.plist: \
     815                $(PATH_SUB_CURRENT)/darwin/Info.plist \
     816                $(VBOX_VERSION_MK) | $$(dir $$@)
    818817        $(call MSG_GENERATE,VBoxDrv,$@,$<)
    819818        $(QUIET)$(RM) -f $@
     
    829828                $<
    830829
    831  $(evalcall2 VBOX_TEST_SIGN_KEXT,VBoxDrv)
    832 endif
    833 
    834 
    835 if1of ($(KBUILD_TARGET), darwin solaris)
    836  ifdef VBOX_WITH_VBOXDRV
    837   # Common manual loader script.
    838   INSTALLS += SUPDrvScripts
    839   SUPDrvScripts_INST = $(INST_DIST)
    840   SUPDrvScripts_EXEC_SOURCES = \
    841         $(KBUILD_TARGET)/load.sh
    842  endif
    843 endif
    844 
    845 
    846 if1of ($(KBUILD_TARGET), linux freebsd)
    847  if1of ($(KBUILD_TARGET_ARCH), $(VBOX_SUPPORTED_HOST_ARCHS))
    848 #
    849 # Targets for installing the linux sources.
    850 #
    851 vboxdrv-src_INST    = bin/src/vboxdrv/
    852 vboxdrv-src_SOURCES = \
    853         $(subst $(DQUOTE),,$(FILES_VBOXDRV_NOBIN)) \
    854         $(vboxdrv-src_0_OUTDIR)/Makefile
    855 vboxdrv-src_EXEC_SOURCES = \
    856         $(subst $(DQUOTE),,$(FILES_VBOXDRV_BIN))
    857 vboxdrv-src_CLEAN  = \
    858         $(vboxdrv-src_0_OUTDIR)/Makefile \
    859         $(PATH_TARGET)/vboxdrv-src-1.dep \
    860 
    861 # Scripts needed for building the kernel modules
    862 includedep $(PATH_TARGET)/vboxdrv-src-1.dep
    863 $$(vboxdrv-src_0_OUTDIR)/Makefile: \
    864                 $(PATH_SUB_CURRENT)/$(KBUILD_TARGET)/Makefile \
    865                 $$(if $$(eq $$(Support/$(KBUILD_TARGET)/Makefile_VBOX_HARDENED),$$(VBOX_WITH_HARDENING)),,FORCE) \
    866                 $$(if $$(eq $$(Support/$(KBUILD_TARGET)/Makefile_VBOX_RAM_IN_KERNEL),$$(VBOX_WITH_RAM_IN_KERNEL)),,FORCE) \
    867                 | $$(dir $$@)
     830  $(evalcall2 VBOX_TEST_SIGN_KEXT,VBoxDrv)
     831 endif
     832
     833
     834 if1of ($(KBUILD_TARGET), darwin solaris)
     835  ifdef VBOX_WITH_VBOXDRV
     836   # Common manual loader script.
     837   INSTALLS += SUPDrvScripts
     838   SUPDrvScripts_INST = $(INST_DIST)
     839   SUPDrvScripts_EXEC_SOURCES = \
     840        $(KBUILD_TARGET)/load.sh
     841  endif
     842 endif
     843
     844
     845 if1of ($(KBUILD_TARGET), linux freebsd)
     846  if1of ($(KBUILD_TARGET_ARCH), $(VBOX_SUPPORTED_HOST_ARCHS))
     847   #
     848   # Targets for installing the linux sources.
     849   #
     850   vboxdrv-src_INST = bin/src/vboxdrv/
     851   vboxdrv-src_SOURCES = \
     852        $(subst $(DQUOTE),,$(FILES_VBOXDRV_NOBIN)) \
     853        $(vboxdrv-src_0_OUTDIR)/Makefile
     854   vboxdrv-src_EXEC_SOURCES = \
     855        $(subst $(DQUOTE),,$(FILES_VBOXDRV_BIN))
     856   vboxdrv-src_CLEAN = \
     857        $(vboxdrv-src_0_OUTDIR)/Makefile \
     858        $(PATH_TARGET)/vboxdrv-src-1.dep
     859
     860   # Scripts needed for building the kernel modules
     861   includedep $(PATH_TARGET)/vboxdrv-src-1.dep
     862   $$(vboxdrv-src_0_OUTDIR)/Makefile: \
     863                $(PATH_SUB_CURRENT)/$(KBUILD_TARGET)/Makefile \
     864                $$(if $$(eq $$(Support/$(KBUILD_TARGET)/Makefile_VBOX_HARDENED),$$(VBOX_WITH_HARDENING)),,FORCE) \
     865                $$(if $$(eq $$(Support/$(KBUILD_TARGET)/Makefile_VBOX_RAM_IN_KERNEL),$$(VBOX_WITH_RAM_IN_KERNEL)),,FORCE) \
     866                | $$(dir $$@)
    868867        $(call MSG_TOOL,Creating,,$@)
    869868        $(QUIET)$(SED) -e "" \
     
    874873                'Support/$(KBUILD_TARGET)/Makefile_VBOX_RAM_IN_KERNEL=$(VBOX_WITH_RAM_IN_KERNEL)'
    875874
    876 #
    877 # Build test for the linux host kernel modules.
    878 #
    879 $(evalcall2 VBOX_LINUX_KMOD_TEST_BUILD_RULE_FN,vboxdrv-src,,save_symvers)
    880 
    881   ifdef VBOX_WITH_KMOD_WRAPPED_R0_MODS
    882 #
    883 # Common wrapper module files.
    884 #
    885 INSTALLS.linux += vboxwrappermod-common-src
    886 vboxwrappermod-common-src_INST = bin/src/common/
    887 vboxwrappermod-common-src_SOURCES = \
    888         linux/SUPWrapperMod-linux.c=>SUPWrapperMod-linux.c \
    889         linux/Makefile-wrapper.gmk=>Makefile-wrapper.gmk \
    890         $(PATH_ROOT)/src/VBox/Installer/linux/Makefile-header.gmk=>Makefile-header.gmk \
    891         $(PATH_ROOT)/src/VBox/Installer/linux/Makefile-footer.gmk=>Makefile-footer.gmk
    892   endif
    893 
    894  endif # supported host arch
    895 endif # linux freebsd
    896 
    897 
    898 ifeq ($(KBUILD_TARGET), win)
    899  INSTALLS.win += VBoxSup-inf
    900  VBoxSup-inf_TEMPLATE = VBoxR0DrvInfCat
    901  VBoxSup-inf_SOURCES = \
    902         $(PATH_TARGET)/VBoxSupCat.dir/VBoxSup.inf
    903  VBoxSup-inf_CLEAN = $(VBoxSup-inf_SOURCES)
    904  VBoxSup-inf_BLDDIRS = $(PATH_TARGET)/VBoxSupCat.dir
    905 
    906  $(PATH_TARGET)/VBoxSupCat.dir/VBoxSup.inf: $(PATH_SUB_CURRENT)/win/VBoxSup.inf $(MAKEFILE_CURRENT) | $$(dir $$@)
     875   #
     876   # Build test for the linux host kernel modules.
     877   #
     878   $(evalcall2 VBOX_LINUX_KMOD_TEST_BUILD_RULE_FN,vboxdrv-src,,save_symvers)
     879
     880   ifdef VBOX_WITH_KMOD_WRAPPED_R0_MODS
     881    #
     882    # Common wrapper module files.
     883    #
     884    INSTALLS.linux += vboxwrappermod-common-src
     885    vboxwrappermod-common-src_INST = bin/src/common/
     886    vboxwrappermod-common-src_SOURCES = \
     887        linux/SUPWrapperMod-linux.c=>SUPWrapperMod-linux.c \
     888        linux/Makefile-wrapper.gmk=>Makefile-wrapper.gmk \
     889        $(PATH_ROOT)/src/VBox/Installer/linux/Makefile-header.gmk=>Makefile-header.gmk \
     890        $(PATH_ROOT)/src/VBox/Installer/linux/Makefile-footer.gmk=>Makefile-footer.gmk
     891   endif
     892
     893  endif # supported host arch
     894 endif # linux freebsd
     895
     896
     897 ifeq ($(KBUILD_TARGET),win)
     898  INSTALLS.win += VBoxSup-inf
     899  VBoxSup-inf_TEMPLATE = VBoxR0DrvInfCat
     900  VBoxSup-inf_SOURCES = \
     901        $(PATH_TARGET)/VBoxSupCat.dir/VBoxSup.inf
     902  VBoxSup-inf_CLEAN = $(VBoxSup-inf_SOURCES)
     903  VBoxSup-inf_BLDDIRS = $(PATH_TARGET)/VBoxSupCat.dir
     904
     905  $(PATH_TARGET)/VBoxSupCat.dir/VBoxSup.inf: $(PATH_SUB_CURRENT)/win/VBoxSup.inf $(MAKEFILE_CURRENT) | $$(dir $$@)
    907906        $(call MSG_GENERATE,VBoxSup-inf,$@,$<)
    908907        $(call VBOX_EDIT_INF_FN,$<,$@)
    909908
    910  ifdef VBOX_SIGNING_MODE
    911   VBoxSup-inf_SOURCES += \
    912         $(PATH_TARGET)/VBoxSupCat.dir/VBoxSup.sys \
    913         $(PATH_TARGET)/VBoxSupCat.dir/VBoxSup.cat \
    914         $(PATH_TARGET)/VBoxSupCat.dir/VBoxSup.cat=>VBoxSup-PreW10.cat
    915 
    916   $(PATH_TARGET)/VBoxSupCat.dir/VBoxSup.sys: $$(VBoxDrv_1_TARGET) | $$(dir $$@)
     909  ifdef VBOX_SIGNING_MODE
     910   VBoxSup-inf_SOURCES += \
     911        $(PATH_TARGET)/VBoxSupCat.dir/VBoxSup.sys \
     912        $(PATH_TARGET)/VBoxSupCat.dir/VBoxSup.cat \
     913        $(PATH_TARGET)/VBoxSupCat.dir/VBoxSup.cat=>VBoxSup-PreW10.cat
     914
     915   $(PATH_TARGET)/VBoxSupCat.dir/VBoxSup.sys: $$(VBoxDrv_1_TARGET) | $$(dir $$@)
    917916        $(INSTALL) -m 644 -- "$<" "$(@D)"
    918917
    919   $(PATH_TARGET)/VBoxSupCat.dir/VBoxSup.cat: \
    920                 $(PATH_TARGET)/VBoxSupCat.dir/VBoxSup.inf \
    921                 $(PATH_TARGET)/VBoxSupCat.dir/VBoxSup.sys
     918   $(PATH_TARGET)/VBoxSupCat.dir/VBoxSup.cat: \
     919                $(PATH_TARGET)/VBoxSupCat.dir/VBoxSup.inf \
     920                $(PATH_TARGET)/VBoxSupCat.dir/VBoxSup.sys
    922921        $(call MSG_TOOL,Inf2Cat,VBoxSup-inf,$@,$<)
    923922        $(call VBOX_MAKE_CAT_FN, $(@D),$@)
    924  endif # signing
    925 endif # win
    926 
    927 #
    928 # Linux only.
    929 #
    930 PROGRAMS.linux += LnxPerfHack
    931 LnxPerfHack_TEMPLATE = VBoxR3Tool
    932 LnxPerfHack_SOURCES = linux/LnxPerfHack.cpp
     923  endif # signing
     924 endif # win
     925
     926 #
     927 # Linux only.
     928 #
     929 PROGRAMS.linux += LnxPerfHack
     930 LnxPerfHack_TEMPLATE = VBoxR3Tool
     931 LnxPerfHack_SOURCES = linux/LnxPerfHack.cpp
    933932
    934933
  • trunk/src/VBox/HostDrivers/Support/testcase/Makefile.kmk

    r98256 r98414  
    4949ifdef VBOX_WITH_TESTCASES
    5050 if defined(VBOX_WITH_HARDENING)
    51 PROGRAMS += \
    52         tstSupVerify
     51  PROGRAMS += \
     52        tstSupVerify
    5353 endif
    5454 if !defined(VBOX_WITH_HARDENING) || "$(KBUILD_TARGET)" != "win"
    55 PROGRAMS += \
    56         tstPage \
    57         tstContiguous \
    58         tstInit \
    59         tstInt \
    60         tstLow \
    61         tstPin \
    62         tstGetPagingMode \
    63         tstSupLoadModule \
    64         tstSupSem \
    65         tstSupSem-Zombie \
    66         tstSupTscDelta
     55  PROGRAMS += \
     56        tstPage \
     57        tstContiguous \
     58        tstInit \
     59        tstInt \
     60        tstLow \
     61        tstPin \
     62        tstGetPagingMode \
     63        tstSupLoadModule \
     64        tstSupSem \
     65        tstSupSem-Zombie \
     66        tstSupTscDelta
    6767 endif
    68 PROGRAMS.win += \
    69         tstNtQueryStuff
     68 PROGRAMS.win += \
     69        tstNtQueryStuff
    7070endif # VBOX_WITH_TESTCASES
    7171
     
    8787tstInt_LIBS           = $(LIB_RUNTIME)
    8888
    89 tstContiguous_TEMPLATE= VBoxR3TstExe
     89tstContiguous_TEMPLATE = VBoxR3TstExe
    9090tstContiguous_SOURCES = tstContiguous.cpp
    9191
     
    128128
    129129if defined(VBOX_WITH_HARDENING) && "$(KBUILD_TARGET)" == "win"
    130   tstGIP-2_TEMPLATE := VBoxR3HardenedTstDll
     130 tstGIP-2_TEMPLATE := VBoxR3HardenedTstDll
    131131else
    132   tstGIP-2_TEMPLATE := VBoxR3TstExe
     132 tstGIP-2_TEMPLATE := VBoxR3TstExe
    133133endif
    134134tstGIP-2_SOURCES = tstGIP-2.cpp
  • trunk/src/VBox/HostDrivers/VBoxNetAdp/Makefile.kmk

    r98125 r98414  
    4747  VBoxNetAdp_TEMPLATE         = VBoxR0Drv
    4848  VBoxNetAdp_INST             = $(INST_VBOXNETADP)$(if $(eq $(KBUILD_TARGET),darwin),Contents/MacOS/)
    49   VBoxNetAdp_DEBUG_INST.darwin= $(patsubst %/,%,$(INST_VBOXNETADP))
     49  VBoxNetAdp_DEBUG_INST.darwin = $(patsubst %/,%,$(INST_VBOXNETADP))
    5050  VBoxNetAdp_NAME.solaris     = vboxnet
    5151  VBoxNetAdp_NAME.freebsd     = vboxnetadp
     
    8282 VBoxNetAdp.kext_BLDDIRS  = $(VBoxNetAdp.kext_0_OUTDIR)/Contents/
    8383
    84 $$(VBoxNetAdp.kext_0_OUTDIR)/Contents/Info.plist: $(PATH_SUB_CURRENT)/darwin/Info.plist $(VBOX_VERSION_MK) | $$(dir $$@)
     84 $$(VBoxNetAdp.kext_0_OUTDIR)/Contents/Info.plist: $(PATH_SUB_CURRENT)/darwin/Info.plist $(VBOX_VERSION_MK) | $$(dir $$@)
    8585        $(call MSG_GENERATE,VBoxNetAdp,$@,$<)
    8686        $(QUIET)$(RM) -f $@
     
    140140 VBoxNetAdp6-inf_BLDDIRS = $(PATH_TARGET)/VBoxNetAdp6Cat.dir
    141141
    142 $(PATH_TARGET)/VBoxNetAdp6Cat.dir/VBoxNetAdp6.inf: $(PATH_SUB_CURRENT)/win/VBoxNetAdp6.inf $(MAKEFILE_CURRENT) | $$(dir $$@)
     142 $(PATH_TARGET)/VBoxNetAdp6Cat.dir/VBoxNetAdp6.inf: $(PATH_SUB_CURRENT)/win/VBoxNetAdp6.inf $(MAKEFILE_CURRENT) | $$(dir $$@)
    143143        $(call MSG_GENERATE,VBoxNetAdp6-inf,$@,$<)
    144144        $(call VBOX_EDIT_INF_FN,$<,$@)
    145145
    146146 ifdef VBOX_SIGNING_MODE
    147 VBoxNetAdp6-inf_SOURCES += \
    148         $(PATH_TARGET)/VBoxNetAdp6Cat.dir/VBoxNetAdp6.sys \
    149         $(PATH_TARGET)/VBoxNetAdp6Cat.dir/VBoxNetAdp6.cat \
    150         $(PATH_TARGET)/VBoxNetAdp6Cat.dir/VBoxNetAdp6.cat=>VBoxNetAdp6-PreW10.cat
    151 
    152 $(PATH_TARGET)/VBoxNetAdp6Cat.dir/VBoxNetAdp6.sys: $$(VBoxNetAdp6_1_TARGET) | $$(dir $$@)
     147  VBoxNetAdp6-inf_SOURCES += \
     148        $(PATH_TARGET)/VBoxNetAdp6Cat.dir/VBoxNetAdp6.sys \
     149        $(PATH_TARGET)/VBoxNetAdp6Cat.dir/VBoxNetAdp6.cat \
     150        $(PATH_TARGET)/VBoxNetAdp6Cat.dir/VBoxNetAdp6.cat=>VBoxNetAdp6-PreW10.cat
     151
     152  $(PATH_TARGET)/VBoxNetAdp6Cat.dir/VBoxNetAdp6.sys: $$(VBoxNetAdp6_1_TARGET) | $$(dir $$@)
    153153        $(INSTALL) -m 644 $< $(@D)
    154154
    155 $(PATH_TARGET)/VBoxNetAdp6Cat.dir/VBoxNetAdp6.cat: \
    156                 $(PATH_TARGET)/VBoxNetAdp6Cat.dir/VBoxNetAdp6.sys \
    157                 $(PATH_TARGET)/VBoxNetAdp6Cat.dir/VBoxNetAdp6.inf
     155  $(PATH_TARGET)/VBoxNetAdp6Cat.dir/VBoxNetAdp6.cat: \
     156                $(PATH_TARGET)/VBoxNetAdp6Cat.dir/VBoxNetAdp6.sys \
     157                $(PATH_TARGET)/VBoxNetAdp6Cat.dir/VBoxNetAdp6.inf
    158158        $(call MSG_TOOL,Inf2Cat,VBoxNetFlt-inf,$@,$<)
    159159        $(call VBOX_MAKE_CAT_FN, $(@D),$@)
     
    172172 VBoxNetAdp-src_INST    = bin/src/vboxnetadp/
    173173 VBoxNetAdp-src_SOURCES = \
    174         $(subst $(DQUOTE),,$(VBOX_VBOXNETADP_SOURCES)) \
    175         $(VBoxNetAdp-src_0_OUTDIR)/Makefile
     174        $(subst $(DQUOTE),,$(VBOX_VBOXNETADP_SOURCES)) \
     175        $(VBoxNetAdp-src_0_OUTDIR)/Makefile
    176176 VBoxNetAdp-src_CLEAN = \
    177         $(VBoxNetAdp-src_0_OUTDIR)/Makefile \
    178         $(PATH_TARGET)/VBoxNetAdp-src-1.dep \
     177        $(VBoxNetAdp-src_0_OUTDIR)/Makefile \
     178        $(PATH_TARGET)/VBoxNetAdp-src-1.dep
    179179
    180180 # Scripts needed for building the kernel modules
    181181 includedep $(PATH_TARGET)/VBoxNetAdp-src-1.dep
    182 $$(VBoxNetAdp-src_0_OUTDIR)/Makefile: \
    183                 $(PATH_SUB_CURRENT)/linux/Makefile \
    184                 $$(if $$(eq $$(VBoxNetAdp/linux/Makefile_VBOX_HARDENED),$$(VBOX_WITH_HARDENING)),,FORCE) \
    185                 | $$(dir $$@)
     182 $$(VBoxNetAdp-src_0_OUTDIR)/Makefile: \
     183                $(PATH_SUB_CURRENT)/linux/Makefile \
     184                $$(if $$(eq $$(VBoxNetAdp/linux/Makefile_VBOX_HARDENED),$$(VBOX_WITH_HARDENING)),,FORCE) \
     185                | $$(dir $$@)
    186186        $(QUIET)$(RM) -f -- $@
    187187 ifndef VBOX_WITH_HARDENING
     
    207207 VBoxNetAdp-src_INST = bin/src/vboxnetadp/
    208208 VBoxNetAdp-src_SOURCES = \
    209         $(subst $(DQUOTE),,$(VBOX_VBOXNETADP_SOURCES)) \
    210         $(VBoxNetAdp-src_0_OUTDIR)/Makefile
     209        $(subst $(DQUOTE),,$(VBOX_VBOXNETADP_SOURCES)) \
     210        $(VBoxNetAdp-src_0_OUTDIR)/Makefile
    211211 VBoxNetAdp-src_CLEAN = \
    212         $(VBoxNetAdp-src_0_OUTDIR)/Makefile     \
    213 
    214 $$(VBoxNetAdp-src_0_OUTDIR)/Makefile: \
    215                 $(PATH_SUB_CURRENT)/freebsd/Makefile \
    216                 $$(if $$(eq $$(VBoxNetAdp/freebsd/Makefile_VBOX_HARDENED),$$(VBOX_WITH_HARDENING)),,FORCE) \
    217                 | $$(dir $$@)
     212        $(VBoxNetAdp-src_0_OUTDIR)/Makefile
     213
     214 $$(VBoxNetAdp-src_0_OUTDIR)/Makefile: \
     215                $(PATH_SUB_CURRENT)/freebsd/Makefile \
     216                $$(if $$(eq $$(VBoxNetAdp/freebsd/Makefile_VBOX_HARDENED),$$(VBOX_WITH_HARDENING)),,FORCE) \
     217                | $$(dir $$@)
    218218        $(QUIET)$(RM) -f -- $@
    219219 ifndef VBOX_WITH_HARDENING
  • trunk/src/VBox/HostDrivers/VBoxNetFlt/Makefile.kmk

    r98257 r98414  
    9090
    9191
    92 # Darwin extras.
    93 if "$(KBUILD_TARGET)" == "darwin" && defined(VBOX_WITH_VBOXDRV)
    94  INSTALLS += VBoxNetFlt.kext
    95  VBoxNetFlt.kext_INST     = $(INST_VBOXNETFLT)Contents/
    96  VBoxNetFlt.kext_SOURCES = $(VBoxNetFlt.kext_0_OUTDIR)/Contents/Info.plist
    97  VBoxNetFlt.kext_CLEAN    = $(VBoxNetFlt.kext_0_OUTDIR)/Contents/Info.plist
    98  VBoxNetFlt.kext_BLDDIRS = $(VBoxNetFlt.kext_0_OUTDIR)/Contents/
    99 
    100 $$(VBoxNetFlt.kext_0_OUTDIR)/Contents/Info.plist: $(PATH_SUB_CURRENT)/darwin/Info.plist $(VBOX_VERSION_MK) | $$(dir $$@)
     92 # Darwin extras.
     93 if "$(KBUILD_TARGET)" == "darwin" && defined(VBOX_WITH_VBOXDRV)
     94  INSTALLS += VBoxNetFlt.kext
     95  VBoxNetFlt.kext_INST    = $(INST_VBOXNETFLT)Contents/
     96  VBoxNetFlt.kext_SOURCES = $(VBoxNetFlt.kext_0_OUTDIR)/Contents/Info.plist
     97  VBoxNetFlt.kext_CLEAN   = $(VBoxNetFlt.kext_0_OUTDIR)/Contents/Info.plist
     98  VBoxNetFlt.kext_BLDDIRS = $(VBoxNetFlt.kext_0_OUTDIR)/Contents/
     99
     100  $$(VBoxNetFlt.kext_0_OUTDIR)/Contents/Info.plist: $(PATH_SUB_CURRENT)/darwin/Info.plist $(VBOX_VERSION_MK) | $$(dir $$@)
    101101        $(call MSG_GENERATE,VBoxNetFlt,$@,$<)
    102102        $(QUIET)$(RM) -f $@
     
    112112                $<
    113113
    114  $(evalcall2 VBOX_TEST_SIGN_KEXT,VBoxNetFlt)
    115 
    116  INSTALLS.darwin += Scripts-darwin
    117  Scripts-darwin_INST = $(INST_DIST)
    118  Scripts-darwin_EXEC_SOURCES = \
    119         darwin/loadnetflt.sh
    120 endif # darwin && host-drivers
    121 
    122 
    123 ifeq ($(KBUILD_TARGET),win)
    124  #
    125  # Windows extras.
    126  #
    127  INSTALLS.win += VBoxNetFlt-inf
    128  VBoxNetFlt-inf_TEMPLATE = VBoxR0DrvInfCat
    129  VBoxNetFlt-inf_SOURCES = \
    130         $(PATH_TARGET)/VBoxNetFltCat.dir/VBoxNetFlt.inf \
    131         $(PATH_TARGET)/VBoxNetFltCat.dir/VBoxNetFltM.inf
    132  VBoxNetFlt-inf_CLEAN = $(VBoxNetFlt-inf_SOURCES)
    133  VBoxNetFlt-inf_BLDDIRS = $(PATH_TARGET)/VBoxNetFltCat.dir
    134 
    135 $(PATH_TARGET)/VBoxNetFltCat.dir/VBoxNetFlt.inf: $(PATH_SUB_CURRENT)/win/drv/VBoxNetFlt.inf $(MAKEFILE_CURRENT) | $$(dir $$@)
     114  $(evalcall2 VBOX_TEST_SIGN_KEXT,VBoxNetFlt)
     115
     116  INSTALLS.darwin += Scripts-darwin
     117  Scripts-darwin_INST = $(INST_DIST)
     118  Scripts-darwin_EXEC_SOURCES = \
     119        darwin/loadnetflt.sh
     120 endif # darwin && host-drivers
     121
     122
     123 ifeq ($(KBUILD_TARGET),win)
     124  #
     125  # Windows extras.
     126  #
     127  INSTALLS.win += VBoxNetFlt-inf
     128  VBoxNetFlt-inf_TEMPLATE = VBoxR0DrvInfCat
     129  VBoxNetFlt-inf_SOURCES = \
     130        $(PATH_TARGET)/VBoxNetFltCat.dir/VBoxNetFlt.inf \
     131        $(PATH_TARGET)/VBoxNetFltCat.dir/VBoxNetFltM.inf
     132  VBoxNetFlt-inf_CLEAN = $(VBoxNetFlt-inf_SOURCES)
     133  VBoxNetFlt-inf_BLDDIRS = $(PATH_TARGET)/VBoxNetFltCat.dir
     134
     135  $(PATH_TARGET)/VBoxNetFltCat.dir/VBoxNetFlt.inf: $(PATH_SUB_CURRENT)/win/drv/VBoxNetFlt.inf $(MAKEFILE_CURRENT) | $$(dir $$@)
    136136        $(call MSG_GENERATE,VBoxNetFlt-inf,$@,$<)
    137137        $(call VBOX_EDIT_INF_FN,$<,$@)
    138138
    139 $(PATH_TARGET)/VBoxNetFltCat.dir/VBoxNetFltM.inf: $(PATH_SUB_CURRENT)/win/drv/VBoxNetFltM.inf $(MAKEFILE_CURRENT) | $$(dir $$@)
     139  $(PATH_TARGET)/VBoxNetFltCat.dir/VBoxNetFltM.inf: $(PATH_SUB_CURRENT)/win/drv/VBoxNetFltM.inf $(MAKEFILE_CURRENT) | $$(dir $$@)
    140140        $(call MSG_GENERATE,VBoxNetFlt-inf,$@,$<)
    141141        $(call VBOX_EDIT_INF_FN,$<,$@)
    142142
    143  ifdef VBOX_SIGNING_MODE
    144 VBoxNetFlt-inf_SOURCES += \
    145         $(PATH_TARGET)/VBoxNetFltCat.dir/VBoxNetFlt.sys \
    146         $(PATH_TARGET)/VBoxNetFltCat.dir/VBoxNetFltNobj.dll \
    147         $(PATH_TARGET)/VBoxNetFltCat.dir/VBoxNetFlt.cat
    148 
    149 $(PATH_TARGET)/VBoxNetFltCat.dir/VBoxNetFlt.sys: $$(VBoxNetFlt_1_TARGET) | $$(dir $$@)
     143  ifdef VBOX_SIGNING_MODE
     144   VBoxNetFlt-inf_SOURCES += \
     145        $(PATH_TARGET)/VBoxNetFltCat.dir/VBoxNetFlt.sys \
     146        $(PATH_TARGET)/VBoxNetFltCat.dir/VBoxNetFltNobj.dll \
     147        $(PATH_TARGET)/VBoxNetFltCat.dir/VBoxNetFlt.cat
     148
     149   $(PATH_TARGET)/VBoxNetFltCat.dir/VBoxNetFlt.sys: $$(VBoxNetFlt_1_TARGET) | $$(dir $$@)
    150150        $(INSTALL) -m 644 $< $(@D)
    151151
    152 $(PATH_TARGET)/VBoxNetFltCat.dir/VBoxNetFltNobj.dll: $$(VBoxNetFltNobj_1_TARGET) | $$(dir $$@)
     152   $(PATH_TARGET)/VBoxNetFltCat.dir/VBoxNetFltNobj.dll: $$(VBoxNetFltNobj_1_TARGET) | $$(dir $$@)
    153153        $(INSTALL) -m 644 $< $(@D)
    154154
    155 $(PATH_TARGET)/VBoxNetFltCat.dir/VBoxNetFlt.cat: \
    156                 $(PATH_TARGET)/VBoxNetFltCat.dir/VBoxNetFlt.sys \
    157                 $(PATH_TARGET)/VBoxNetFltCat.dir/VBoxNetFltNobj.dll \
    158                 $(PATH_TARGET)/VBoxNetFltCat.dir/VBoxNetFlt.inf \
    159                 $(PATH_TARGET)/VBoxNetFltCat.dir/VBoxNetFltM.inf
     155   $(PATH_TARGET)/VBoxNetFltCat.dir/VBoxNetFlt.cat: \
     156                $(PATH_TARGET)/VBoxNetFltCat.dir/VBoxNetFlt.sys \
     157                $(PATH_TARGET)/VBoxNetFltCat.dir/VBoxNetFltNobj.dll \
     158                $(PATH_TARGET)/VBoxNetFltCat.dir/VBoxNetFlt.inf \
     159                $(PATH_TARGET)/VBoxNetFltCat.dir/VBoxNetFltM.inf
    160160        $(call MSG_TOOL,Inf2Cat,VBoxNetFlt-inf,$@,$<)
    161161        $(call VBOX_MAKE_CAT_FN, $(@D),$@)
    162162
    163  endif # signing
    164 
    165 
    166  #
    167  # VBoxNetLwf.sys - The light-weight filter driver for NDIS6.
    168  #
    169  SYSMODS += VBoxNetLwf
    170  VBoxNetLwf_TEMPLATE = VBoxR0Drv
    171  VBoxNetLwf_INST = $(INST_VBOXNETFLT)
    172  if defined(VBOX_SIGNING_MODE)
    173   VBoxNetLwf_INSTTYPE = none
    174   VBoxNetLwf_DEBUG_INSTTYPE = both
    175  endif
    176  VBoxNetLwf_DEFS = IN_RT_R0 IN_SUP_STATIC
    177  VBoxNetLwf_INCS = .
    178  VBoxNetLwf_SOURCES = VBoxNetFlt.c VBoxNetFlt.rc
    179  VBoxNetLwf_SDKS.win = ReorderCompilerIncs $(VBOX_WINDDK_WLH) $(VBOX_WINPSDK_INCS)
    180  VBoxNetLwf_SOURCES.win = \
    181         win/drv/VBoxNetLwf-win.cpp
    182  # with WINDDKWLH the WIN9X_COMPAT_SPINLOCK is needed to avoid inline declaration of KeInitializeSpinLock
    183  # otherwise the linker would complain about dumplicate _KeInitializeSpinLock@4 definition
    184  # in ntoskrnl.lib and our object files
    185  VBoxNetLwf_DEFS.win += WIN9X_COMPAT_SPINLOCK=1 NDISLWF=1 DBG=1
    186 # VBoxNetLwf_DEFS.win += VBOXNETFLT_STATIC_CONFIG
    187 # VBoxNetLwf_DEFS.win += VBOXNETFLT_NO_PACKET_QUEUE
    188 # VBoxNetLwf_DEFS.win += NDIS_MINIPORT_DRIVER NDIS_WDM=1 BINARY_COMPATIBLE=0
    189  VBoxNetLwf_DEFS.win += NDIS60=1
    190 # ifdef VBOX_LOOPBACK_USEFLAGS
    191 #  VBoxNetLwf_DEFS.win += VBOX_LOOPBACK_USEFLAGS
    192 # endif
    193 # VBoxNetLwf_SOURCES = VBoxNetLwf.c
    194  VBoxNetLwf_LDFLAGS.win.x86 = -Entry:DriverEntry@8
    195  VBoxNetLwf_LDFLAGS.win.amd64 = -Entry:DriverEntry
    196  VBoxNetLwf_LIBS.win = \
    197         $(PATH_SDK_$(VBOX_WINDDK_WLH)_LIB)/ntoskrnl.lib \
    198         $(PATH_SDK_$(VBOX_WINDDK_WLH)_LIB)/hal.lib \
    199         $(PATH_SDK_$(VBOX_WINDDK_WLH)_LIB)/ndis.lib \
    200         $(PATH_SDK_$(VBOX_WINDDK_WLH)_LIB)/netio.lib \
    201         $(PATH_STAGE_LIB)/RuntimeR0Drv$(VBOX_SUFF_LIB)
    202  VBoxNetLwf_LIBS = \
    203         $(PATH_STAGE_LIB)/SUPR0IdcClient$(VBOX_SUFF_LIB)
    204  #
    205  # VBoxNetLwf installation.
    206  #
    207  INSTALLS.win += VBoxNetLwf-inf
    208  VBoxNetLwf-inf_TEMPLATE = VBoxR0DrvInfCat
    209  VBoxNetLwf-inf_SOURCES = \
    210         $(PATH_TARGET)/VBoxNetLwfCat.dir/VBoxNetLwf.inf
    211  VBoxNetLwf-inf_CLEAN = $(VBoxNetLwf-inf_SOURCES)
    212  VBoxNetLwf-inf_BLDDIRS = $(PATH_TARGET)/VBoxNetLwfCat.dir
    213 
    214 $(PATH_TARGET)/VBoxNetLwfCat.dir/VBoxNetLwf.inf: $(PATH_SUB_CURRENT)/win/drv/VBoxNetLwf.inf $(MAKEFILE_CURRENT) | $$(dir $$@)
     163  endif # signing
     164
     165
     166  #
     167  # VBoxNetLwf.sys - The light-weight filter driver for NDIS6.
     168  #
     169  SYSMODS += VBoxNetLwf
     170  VBoxNetLwf_TEMPLATE = VBoxR0Drv
     171  VBoxNetLwf_INST = $(INST_VBOXNETFLT)
     172  if defined(VBOX_SIGNING_MODE)
     173   VBoxNetLwf_INSTTYPE = none
     174   VBoxNetLwf_DEBUG_INSTTYPE = both
     175  endif
     176  VBoxNetLwf_DEFS = IN_RT_R0 IN_SUP_STATIC
     177  VBoxNetLwf_INCS = .
     178  VBoxNetLwf_SOURCES = VBoxNetFlt.c VBoxNetFlt.rc
     179  VBoxNetLwf_SDKS.win = ReorderCompilerIncs $(VBOX_WINDDK_WLH) $(VBOX_WINPSDK_INCS)
     180  VBoxNetLwf_SOURCES.win = \
     181        win/drv/VBoxNetLwf-win.cpp
     182  # with WINDDKWLH the WIN9X_COMPAT_SPINLOCK is needed to avoid inline declaration of KeInitializeSpinLock
     183  # otherwise the linker would complain about dumplicate _KeInitializeSpinLock@4 definition
     184  # in ntoskrnl.lib and our object files
     185  VBoxNetLwf_DEFS.win += WIN9X_COMPAT_SPINLOCK=1 NDISLWF=1 DBG=1
     186  # VBoxNetLwf_DEFS.win += VBOXNETFLT_STATIC_CONFIG
     187  # VBoxNetLwf_DEFS.win += VBOXNETFLT_NO_PACKET_QUEUE
     188  # VBoxNetLwf_DEFS.win += NDIS_MINIPORT_DRIVER NDIS_WDM=1 BINARY_COMPATIBLE=0
     189  VBoxNetLwf_DEFS.win += NDIS60=1
     190  # ifdef VBOX_LOOPBACK_USEFLAGS
     191  #  VBoxNetLwf_DEFS.win += VBOX_LOOPBACK_USEFLAGS
     192  # endif
     193  # VBoxNetLwf_SOURCES = VBoxNetLwf.c
     194  VBoxNetLwf_LDFLAGS.win.x86 = -Entry:DriverEntry@8
     195  VBoxNetLwf_LDFLAGS.win.amd64 = -Entry:DriverEntry
     196  VBoxNetLwf_LIBS.win = \
     197        $(PATH_SDK_$(VBOX_WINDDK_WLH)_LIB)/ntoskrnl.lib \
     198        $(PATH_SDK_$(VBOX_WINDDK_WLH)_LIB)/hal.lib \
     199        $(PATH_SDK_$(VBOX_WINDDK_WLH)_LIB)/ndis.lib \
     200        $(PATH_SDK_$(VBOX_WINDDK_WLH)_LIB)/netio.lib \
     201        $(PATH_STAGE_LIB)/RuntimeR0Drv$(VBOX_SUFF_LIB)
     202  VBoxNetLwf_LIBS = \
     203        $(PATH_STAGE_LIB)/SUPR0IdcClient$(VBOX_SUFF_LIB)
     204  #
     205  # VBoxNetLwf installation.
     206  #
     207  INSTALLS.win += VBoxNetLwf-inf
     208  VBoxNetLwf-inf_TEMPLATE = VBoxR0DrvInfCat
     209  VBoxNetLwf-inf_SOURCES = \
     210        $(PATH_TARGET)/VBoxNetLwfCat.dir/VBoxNetLwf.inf
     211  VBoxNetLwf-inf_CLEAN = $(VBoxNetLwf-inf_SOURCES)
     212  VBoxNetLwf-inf_BLDDIRS = $(PATH_TARGET)/VBoxNetLwfCat.dir
     213
     214  $(PATH_TARGET)/VBoxNetLwfCat.dir/VBoxNetLwf.inf: $(PATH_SUB_CURRENT)/win/drv/VBoxNetLwf.inf $(MAKEFILE_CURRENT) | $$(dir $$@)
    215215        $(call MSG_GENERATE,VBoxNetLwf-inf,$@,$<)
    216216        $(call VBOX_EDIT_INF_FN,$<,$@)
    217217
    218  ifdef VBOX_SIGNING_MODE
    219 VBoxNetLwf-inf_SOURCES += \
    220         $(PATH_TARGET)/VBoxNetLwfCat.dir/VBoxNetLwf.sys \
    221         $(PATH_TARGET)/VBoxNetLwfCat.dir/VBoxNetLwf.cat \
    222         $(PATH_TARGET)/VBoxNetLwfCat.dir/VBoxNetLwf.cat=>VBoxNetLwf-PreW10.cat
    223 
    224 #       $(PATH_TARGET)/VBoxNetLwfCat.dir/VBoxNetLwfNobj.dll \
    225 
    226 $(PATH_TARGET)/VBoxNetLwfCat.dir/VBoxNetLwf.sys: $$(VBoxNetLwf_1_TARGET) | $$(dir $$@)
     218  ifdef VBOX_SIGNING_MODE
     219   VBoxNetLwf-inf_SOURCES += \
     220        $(PATH_TARGET)/VBoxNetLwfCat.dir/VBoxNetLwf.sys \
     221        $(PATH_TARGET)/VBoxNetLwfCat.dir/VBoxNetLwf.cat \
     222        $(PATH_TARGET)/VBoxNetLwfCat.dir/VBoxNetLwf.cat=>VBoxNetLwf-PreW10.cat
     223
     224   #    $(PATH_TARGET)/VBoxNetLwfCat.dir/VBoxNetLwfNobj.dll \
     225
     226   $(PATH_TARGET)/VBoxNetLwfCat.dir/VBoxNetLwf.sys: $$(VBoxNetLwf_1_TARGET) | $$(dir $$@)
    227227        $(INSTALL) -m 644 $< $(@D)
    228228
    229 #$(PATH_TARGET)/VBoxNetLwfCat.dir/VBoxNetLwfNobj.dll: $$(VBoxNetLwfNobj_1_TARGET) | $$(dir $$@)
    230 #       $(INSTALL) -m 644 $< $(@D)
    231 
    232 $(PATH_TARGET)/VBoxNetLwfCat.dir/VBoxNetLwf.cat: \
    233                 $(PATH_TARGET)/VBoxNetLwfCat.dir/VBoxNetLwf.sys \
    234                 $(PATH_TARGET)/VBoxNetLwfCat.dir/VBoxNetLwf.inf
     229   #$(PATH_TARGET)/VBoxNetLwfCat.dir/VBoxNetLwfNobj.dll: $$(VBoxNetLwfNobj_1_TARGET) | $$(dir $$@)
     230   #    $(INSTALL) -m 644 $< $(@D)
     231
     232   $(PATH_TARGET)/VBoxNetLwfCat.dir/VBoxNetLwf.cat: \
     233                $(PATH_TARGET)/VBoxNetLwfCat.dir/VBoxNetLwf.sys \
     234                $(PATH_TARGET)/VBoxNetLwfCat.dir/VBoxNetLwf.inf
    235235        $(call MSG_TOOL,Inf2Cat,VBoxNetLwf-inf,$@,$<)
    236236        $(call VBOX_MAKE_CAT_FN, $(@D),$@)
    237237
    238  endif # signing
    239 
    240 
    241 
    242  #
    243  # WinNetConfig - static library with host network interface config API (for the installer)
    244  #
    245  LIBRARIES.win += WinNetConfigSharedStatic
    246  WinNetConfigSharedStatic_TEMPLATE = VBoxR3StaticDllNoAsan
    247  WinNetConfigSharedStatic_SDKS     = ReorderCompilerIncs $(VBOX_WINPSDK) $(VBOX_WINDDK)
    248  WinNetConfigSharedStatic_DEFS     = _UNICODE UNICODE
    249  WinNetConfigSharedStatic_SOURCES = \
    250         win/cfg/VBoxNetCfg.cpp \
    251        ../../Main/glue/string.cpp
    252 
    253  # Version for DLLs:
    254  LIBRARIES.win += WinNetConfigDll
    255  WinNetConfigDll_TEMPLATE = VBoxR3Dll
    256  WinNetConfigDll_EXTENDS = WinNetConfigSharedStatic
    257 
    258  # Version for EXEs:
    259  LIBRARIES.win += WinNetConfigExe
    260  WinNetConfigExe_TEMPLATE = VBoxR3Exe
    261  WinNetConfigExe_EXTENDS = WinNetConfigSharedStatic
    262 
    263 
    264  #
    265  # Template for NetFltInstall and friends.
    266  #
    267  TEMPLATE_VBoxNetFltR3 = Template for NetFltInstall, NetFltUninstall, NetAdpInstall, NetAdpUninstall, ++
    268  TEMPLATE_VBoxNetFltR3_EXTENDS = VBoxR3Exe
    269  TEMPLATE_VBoxNetFltR3_SDKS     = $(TEMPLATE_VBoxR3Exe_SDKS) ReorderCompilerIncs $(VBOX_WINPSDK) $(VBOX_WINDDK) VBoxNtDll VBoxWinNewDevLib
    270  TEMPLATE_VBoxNetFltR3_LIBS     = $(TEMPLATE_VBoxR3Exe_LIBS) \
    271         $(WinNetConfigExe_1_TARGET) \
    272         $(PATH_STAGE_LIB)/VBoxDrvCfgExe$(VBOX_SUFF_LIB) \
    273        $(LIB_RUNTIME) \
     238  endif # signing
     239
     240
     241
     242  #
     243  # WinNetConfig - static library with host network interface config API (for the installer)
     244  #
     245  LIBRARIES.win += WinNetConfigSharedStatic
     246  WinNetConfigSharedStatic_TEMPLATE = VBoxR3StaticDllNoAsan
     247  WinNetConfigSharedStatic_SDKS    = ReorderCompilerIncs $(VBOX_WINPSDK) $(VBOX_WINDDK)
     248  WinNetConfigSharedStatic_DEFS    = _UNICODE UNICODE
     249  WinNetConfigSharedStatic_SOURCES = \
     250        win/cfg/VBoxNetCfg.cpp \
     251        ../../Main/glue/string.cpp
     252
     253  # Version for DLLs:
     254  LIBRARIES.win += WinNetConfigDll
     255  WinNetConfigDll_TEMPLATE = VBoxR3Dll
     256  WinNetConfigDll_EXTENDS = WinNetConfigSharedStatic
     257
     258  # Version for EXEs:
     259  LIBRARIES.win += WinNetConfigExe
     260  WinNetConfigExe_TEMPLATE = VBoxR3Exe
     261  WinNetConfigExe_EXTENDS = WinNetConfigSharedStatic
     262
     263
     264  #
     265  # Template for NetFltInstall and friends.
     266  #
     267  TEMPLATE_VBoxNetFltR3 = Template for NetFltInstall, NetFltUninstall, NetAdpInstall, NetAdpUninstall, ++
     268  TEMPLATE_VBoxNetFltR3_EXTENDS = VBoxR3Exe
     269  TEMPLATE_VBoxNetFltR3_SDKS    = $(TEMPLATE_VBoxR3Exe_SDKS) ReorderCompilerIncs $(VBOX_WINPSDK) $(VBOX_WINDDK) VBoxNtDll VBoxWinNewDevLib
     270  TEMPLATE_VBoxNetFltR3_LIBS    = $(TEMPLATE_VBoxR3Exe_LIBS) \
     271        $(WinNetConfigExe_1_TARGET) \
     272        $(PATH_STAGE_LIB)/VBoxDrvCfgExe$(VBOX_SUFF_LIB) \
     273        $(LIB_RUNTIME) \
    274274        $(PATH_TOOL_$(VBOX_VCC_TOOL)_LIB)/comsupp.lib \
    275         $(PATH_SDK_$(VBOX_WINPSDK)_LIB)/WbemUuid.Lib
    276 
    277  #
    278  # NetFltInstall
    279  #
    280  PROGRAMS.win += NetFltInstall
    281  NetFltInstall_TEMPLATE = VBoxNetFltR3
    282  NetFltInstall_SOURCES = win/tools/VBoxNetFltInstall.cpp
    283 
    284  #
    285  # NetFltUninstall
    286  #
    287  PROGRAMS.win += NetFltUninstall
    288  NetFltUninstall_TEMPLATE = VBoxNetFltR3
    289  NetFltUninstall_SOURCES = win/tools/VBoxNetFltUninstall.cpp
    290 
    291  #
    292  # NetAdpInstall
    293  #
    294  PROGRAMS.win += NetAdpInstall
    295  NetAdpInstall_TEMPLATE = VBoxNetFltR3
    296  NetAdpInstall_SOURCES = win/tools/VBoxNetAdpInstall.cpp
    297 
    298  #
    299  # NetAdpUninstall
    300  #
    301  PROGRAMS.win += NetAdpUninstall
    302  NetAdpUninstall_TEMPLATE = VBoxNetFltR3
    303  NetAdpUninstall_SOURCES = win/tools/VBoxNetAdpUninstall.cpp
    304 
    305  #
    306  # NetAdp6Install
    307  #
    308  PROGRAMS.win += NetAdp6Install
    309  NetAdp6Install_TEMPLATE = VBoxNetFltR3
    310  NetAdp6Install_SOURCES = win/tools/VBoxNetAdpInstall.cpp
    311  NetAdp6Install_DEFS     = NDIS60=1
    312 
    313  #
    314  # NetAdp6Uninstall
    315  #
    316  PROGRAMS.win += NetAdp6Uninstall
    317  NetAdp6Uninstall_TEMPLATE = VBoxNetFltR3
    318  NetAdp6Uninstall_SOURCES = win/tools/VBoxNetAdpUninstall.cpp
    319  NetAdp6Uninstall_DEFS     = NDIS60=1
    320 
    321  #
    322  # NetLwfInstall
    323  #
    324  PROGRAMS.win += NetLwfInstall
    325  NetLwfInstall_TEMPLATE = VBoxNetFltR3
    326  NetLwfInstall_SOURCES = win/tools/VBoxNetLwfInstall.cpp
    327 
    328  #
    329  # NetLwfUninstall
    330  #
    331  PROGRAMS.win += NetLwfUninstall
    332  NetLwfUninstall_TEMPLATE = VBoxNetFltR3
    333  NetLwfUninstall_SOURCES = win/tools/VBoxNetLwfUninstall.cpp
    334 
    335  #
    336  # VBoxNetFltNobj
    337  #
    338  DLLS.win += VBoxNetFltNobj
    339  VBoxNetFltNobj_TEMPLATE   = VBoxR3StaticDll
    340  if defined(VBOX_SIGNING_MODE)
    341   VBoxNetFltNobj_INSTTYPE = none
    342   VBoxNetFltNobj_DEBUG_INSTTYPE = both
    343  endif
    344  VBoxNetFltNobj_SDKS       = ReorderCompilerIncs $(VBOX_WINPSDK) $(VBOX_WINDDK)
    345  VBoxNetFltNobj_DEFS       = WIN32 _ATL_STATIC_REGISTRY
    346  VBoxNetFltNobj_INCS       = \
    347         $(VBoxNetFltNobj_0_OUTDIR)
    348  VBoxNetFltNobj_SOURCES    = \
    349         win/nobj/VBoxNetFltNobj.cpp \
    350         win/nobj/VBoxNetFltNobj.def \
    351         win/nobj/VBoxNetFltNobj.rc
    352  #VBoxNetFltNobj_INTERMEDIATES =
    353  VBoxNetFltNobj_DEPS       = \
    354         $(VBoxNetFltNobj_0_OUTDIR)/VBoxNetFltNobjT_i.c \
    355         $(VBoxNetFltNobj_0_OUTDIR)/VBoxNetFltNobjT_p.c \
    356         $(VBoxNetFltNobj_0_OUTDIR)/VBoxNetFltNobjT.h \
    357         $(VBoxNetFltNobj_0_OUTDIR)/dlldata.c \
    358         $(VBoxNetFltNobj_0_OUTDIR)/VBoxNetFltNobjT.tlb
    359  VBoxNetFltNobj_CLEAN      = $(VBoxNetFltNobj_DEPS)
    360 
    361 $$(VBoxNetFltNobj_0_OUTDIR)/VBoxNetFltNobjT_i.c \
    362 + $$(VBoxNetFltNobj_0_OUTDIR)/VBoxNetFltNobjT_p.c \
    363 + $$(VBoxNetFltNobj_0_OUTDIR)/VBoxNetFltNobjT.h \
    364 + $$(VBoxNetFltNobj_0_OUTDIR)/dlldata.c \
    365 + $$(VBoxNetFltNobj_0_OUTDIR)/VBoxNetFltNobjT.tlb: \
    366                 $(PATH_SUB_CURRENT)/win/nobj/VBoxNetFltNobjT.idl \
    367                 | $$(dir $$@)
     275        $(PATH_SDK_$(VBOX_WINPSDK)_LIB)/WbemUuid.Lib
     276
     277  #
     278  # NetFltInstall
     279  #
     280  PROGRAMS.win += NetFltInstall
     281  NetFltInstall_TEMPLATE = VBoxNetFltR3
     282  NetFltInstall_SOURCES = win/tools/VBoxNetFltInstall.cpp
     283
     284  #
     285  # NetFltUninstall
     286  #
     287  PROGRAMS.win += NetFltUninstall
     288  NetFltUninstall_TEMPLATE = VBoxNetFltR3
     289  NetFltUninstall_SOURCES = win/tools/VBoxNetFltUninstall.cpp
     290
     291  #
     292  # NetAdpInstall
     293  #
     294  PROGRAMS.win += NetAdpInstall
     295  NetAdpInstall_TEMPLATE = VBoxNetFltR3
     296  NetAdpInstall_SOURCES = win/tools/VBoxNetAdpInstall.cpp
     297
     298  #
     299  # NetAdpUninstall
     300  #
     301  PROGRAMS.win += NetAdpUninstall
     302  NetAdpUninstall_TEMPLATE = VBoxNetFltR3
     303  NetAdpUninstall_SOURCES = win/tools/VBoxNetAdpUninstall.cpp
     304
     305  #
     306  # NetAdp6Install
     307  #
     308  PROGRAMS.win += NetAdp6Install
     309  NetAdp6Install_TEMPLATE = VBoxNetFltR3
     310  NetAdp6Install_SOURCES = win/tools/VBoxNetAdpInstall.cpp
     311  NetAdp6Install_DEFS    = NDIS60=1
     312
     313  #
     314  # NetAdp6Uninstall
     315  #
     316  PROGRAMS.win += NetAdp6Uninstall
     317  NetAdp6Uninstall_TEMPLATE = VBoxNetFltR3
     318  NetAdp6Uninstall_SOURCES = win/tools/VBoxNetAdpUninstall.cpp
     319  NetAdp6Uninstall_DEFS    = NDIS60=1
     320
     321  #
     322  # NetLwfInstall
     323  #
     324  PROGRAMS.win += NetLwfInstall
     325  NetLwfInstall_TEMPLATE = VBoxNetFltR3
     326  NetLwfInstall_SOURCES = win/tools/VBoxNetLwfInstall.cpp
     327
     328  #
     329  # NetLwfUninstall
     330  #
     331  PROGRAMS.win += NetLwfUninstall
     332  NetLwfUninstall_TEMPLATE = VBoxNetFltR3
     333  NetLwfUninstall_SOURCES = win/tools/VBoxNetLwfUninstall.cpp
     334
     335  #
     336  # VBoxNetFltNobj
     337  #
     338  DLLS.win += VBoxNetFltNobj
     339  VBoxNetFltNobj_TEMPLATE  = VBoxR3StaticDll
     340  if defined(VBOX_SIGNING_MODE)
     341   VBoxNetFltNobj_INSTTYPE = none
     342   VBoxNetFltNobj_DEBUG_INSTTYPE = both
     343  endif
     344  VBoxNetFltNobj_SDKS      = ReorderCompilerIncs $(VBOX_WINPSDK) $(VBOX_WINDDK)
     345  VBoxNetFltNobj_DEFS      = WIN32 _ATL_STATIC_REGISTRY
     346  VBoxNetFltNobj_INCS      = \
     347        $(VBoxNetFltNobj_0_OUTDIR)
     348  VBoxNetFltNobj_SOURCES   = \
     349        win/nobj/VBoxNetFltNobj.cpp \
     350        win/nobj/VBoxNetFltNobj.def \
     351        win/nobj/VBoxNetFltNobj.rc
     352  #VBoxNetFltNobj_INTERMEDIATES =
     353  VBoxNetFltNobj_DEPS      = \
     354        $(VBoxNetFltNobj_0_OUTDIR)/VBoxNetFltNobjT_i.c \
     355        $(VBoxNetFltNobj_0_OUTDIR)/VBoxNetFltNobjT_p.c \
     356        $(VBoxNetFltNobj_0_OUTDIR)/VBoxNetFltNobjT.h \
     357        $(VBoxNetFltNobj_0_OUTDIR)/dlldata.c \
     358        $(VBoxNetFltNobj_0_OUTDIR)/VBoxNetFltNobjT.tlb
     359  VBoxNetFltNobj_CLEAN     = $(VBoxNetFltNobj_DEPS)
     360
     361  $$(VBoxNetFltNobj_0_OUTDIR)/VBoxNetFltNobjT_i.c \
     362  + $$(VBoxNetFltNobj_0_OUTDIR)/VBoxNetFltNobjT_p.c \
     363  + $$(VBoxNetFltNobj_0_OUTDIR)/VBoxNetFltNobjT.h \
     364  + $$(VBoxNetFltNobj_0_OUTDIR)/dlldata.c \
     365  + $$(VBoxNetFltNobj_0_OUTDIR)/VBoxNetFltNobjT.tlb: \
     366                $(PATH_SUB_CURRENT)/win/nobj/VBoxNetFltNobjT.idl \
     367                | $$(dir $$@)
    368368        $(VBOX_MIDL_REDIRECT) $(VBOX_WIN_MIDL) /nologo \
    369369                /out $(call VBOX_FN_MAKE_WIN_PATH,$(VBoxNetFltNobj_0_OUTDIR)) \
     
    376376
    377377
    378  #
    379  # VBoxNetAdp.sys - The VirtualBox Adapter miniport driver.
    380  #
    381  SYSMODS.win += VBoxNetAdp
    382  VBoxNetAdp_TEMPLATE = VBoxR0Drv
    383  #VBoxNetAdp_INST = $(INST_VBOXNETADP)
    384  if defined(VBOX_SIGNING_MODE)
    385   VBoxNetAdp_INSTTYPE.win = none
    386   VBoxNetAdp_DEBUG_INSTTYPE.win = both
    387  endif
    388  VBoxNetAdp_DEFS = IN_RT_R0 IN_SUP_STATIC
    389  VBoxNetAdp_INCS := $(PATH_SUB_CURRENT)
    390  VBoxNetAdp_SDKS = ReorderCompilerIncs $(VBOX_WINDDK_WLH) $(VBOX_WINPSDK_INCS)
    391  VBoxNetAdp_SOURCES = \
    392         VBoxNetFlt.c \
    393         win/drv/VBoxNetFltM-win.cpp \
    394         win/drv/VBoxNetFltRt-win.cpp \
    395         win/drv/VBoxNetFlt-win.rc
    396  VBoxNetAdp_DEFS += VBOXNETFLT_STATIC_CONFIG VBOXNETADP
    397  VBoxNetAdp_DEFS.win += VBOXNETFLT_NO_PACKET_QUEUE
    398  VBoxNetAdp_DEFS += NDIS_MINIPORT_DRIVER NDIS_WDM=1 BINARY_COMPATIBLE=0
    399  VBoxNetAdp_DEFS += NDIS50_MINIPORT=1 NDIS50=1
    400  VBoxNetAdp_LDFLAGS.win.x86 = -Entry:DriverEntry@8
    401  VBoxNetAdp_LDFLAGS.win.amd64 = -Entry:DriverEntry
    402  VBoxNetAdp_LIBS.win = \
    403         $(PATH_SDK_$(VBOX_WINDDK)_LIB)/ntoskrnl.lib \
    404         $(PATH_SDK_$(VBOX_WINDDK)_LIB)/hal.lib \
    405         $(PATH_SDK_$(VBOX_WINDDK)_LIB)/ndis.lib \
    406         $(PATH_STAGE_LIB)/RuntimeR0Drv$(VBOX_SUFF_LIB)
    407  VBoxNetAdp_LIBS = \
    408         $(PATH_STAGE_LIB)/SUPR0IdcClient$(VBOX_SUFF_LIB)
    409 
    410 
    411  INSTALLS.win += VBoxNetAdp-inf
    412  VBoxNetAdp-inf_TEMPLATE = VBoxR0DrvInfCat
    413  VBoxNetAdp-inf_SOURCES = \
    414         $(PATH_TARGET)/VBoxNetAdpCat.dir/VBoxNetAdp.inf
    415  VBoxNetAdp-inf_CLEAN = $(VBoxNetAdp-inf_SOURCES)
    416  VBoxNetAdp-inf_BLDDIRS = $(PATH_TARGET)/VBoxNetAdpCat.dir
    417 
    418 $(PATH_TARGET)/VBoxNetAdpCat.dir/VBoxNetAdp.inf: $(PATH_SUB_CURRENT)/win/drv/VBoxNetAdp.inf $(MAKEFILE_CURRENT) | $$(dir $$@)
     378  #
     379  # VBoxNetAdp.sys - The VirtualBox Adapter miniport driver.
     380  #
     381  SYSMODS.win += VBoxNetAdp
     382  VBoxNetAdp_TEMPLATE = VBoxR0Drv
     383  #VBoxNetAdp_INST = $(INST_VBOXNETADP)
     384  if defined(VBOX_SIGNING_MODE)
     385   VBoxNetAdp_INSTTYPE.win = none
     386   VBoxNetAdp_DEBUG_INSTTYPE.win = both
     387  endif
     388  VBoxNetAdp_DEFS = IN_RT_R0 IN_SUP_STATIC
     389  VBoxNetAdp_INCS := $(PATH_SUB_CURRENT)
     390  VBoxNetAdp_SDKS = ReorderCompilerIncs $(VBOX_WINDDK_WLH) $(VBOX_WINPSDK_INCS)
     391  VBoxNetAdp_SOURCES = \
     392        VBoxNetFlt.c \
     393        win/drv/VBoxNetFltM-win.cpp \
     394        win/drv/VBoxNetFltRt-win.cpp \
     395        win/drv/VBoxNetFlt-win.rc
     396  VBoxNetAdp_DEFS += VBOXNETFLT_STATIC_CONFIG VBOXNETADP
     397  VBoxNetAdp_DEFS.win += VBOXNETFLT_NO_PACKET_QUEUE
     398  VBoxNetAdp_DEFS += NDIS_MINIPORT_DRIVER NDIS_WDM=1 BINARY_COMPATIBLE=0
     399  VBoxNetAdp_DEFS += NDIS50_MINIPORT=1 NDIS50=1
     400  VBoxNetAdp_LDFLAGS.win.x86 = -Entry:DriverEntry@8
     401  VBoxNetAdp_LDFLAGS.win.amd64 = -Entry:DriverEntry
     402  VBoxNetAdp_LIBS.win = \
     403        $(PATH_SDK_$(VBOX_WINDDK)_LIB)/ntoskrnl.lib \
     404        $(PATH_SDK_$(VBOX_WINDDK)_LIB)/hal.lib \
     405        $(PATH_SDK_$(VBOX_WINDDK)_LIB)/ndis.lib \
     406        $(PATH_STAGE_LIB)/RuntimeR0Drv$(VBOX_SUFF_LIB)
     407  VBoxNetAdp_LIBS = \
     408        $(PATH_STAGE_LIB)/SUPR0IdcClient$(VBOX_SUFF_LIB)
     409
     410
     411  INSTALLS.win += VBoxNetAdp-inf
     412  VBoxNetAdp-inf_TEMPLATE = VBoxR0DrvInfCat
     413  VBoxNetAdp-inf_SOURCES = \
     414        $(PATH_TARGET)/VBoxNetAdpCat.dir/VBoxNetAdp.inf
     415  VBoxNetAdp-inf_CLEAN = $(VBoxNetAdp-inf_SOURCES)
     416  VBoxNetAdp-inf_BLDDIRS = $(PATH_TARGET)/VBoxNetAdpCat.dir
     417
     418  $(PATH_TARGET)/VBoxNetAdpCat.dir/VBoxNetAdp.inf: $(PATH_SUB_CURRENT)/win/drv/VBoxNetAdp.inf $(MAKEFILE_CURRENT) | $$(dir $$@)
    419419        $(call MSG_GENERATE,VBoxNetAdp-inf,$@,$<)
    420420        $(call VBOX_EDIT_INF_FN,$<,$@)
    421421
    422  ifdef VBOX_SIGNING_MODE
    423 VBoxNetAdp-inf_SOURCES += \
    424         $(PATH_TARGET)/VBoxNetAdpCat.dir/VBoxNetAdp.sys \
    425         $(PATH_TARGET)/VBoxNetAdpCat.dir/VBoxNetAdp.cat
    426 
    427 $(PATH_TARGET)/VBoxNetAdpCat.dir/VBoxNetAdp.sys: $$(VBoxNetAdp_1_TARGET) | $$(dir $$@)
     422  ifdef VBOX_SIGNING_MODE
     423   VBoxNetAdp-inf_SOURCES += \
     424        $(PATH_TARGET)/VBoxNetAdpCat.dir/VBoxNetAdp.sys \
     425        $(PATH_TARGET)/VBoxNetAdpCat.dir/VBoxNetAdp.cat
     426
     427   $(PATH_TARGET)/VBoxNetAdpCat.dir/VBoxNetAdp.sys: $$(VBoxNetAdp_1_TARGET) | $$(dir $$@)
    428428        $(INSTALL) -m 644 $< $(@D)
    429429
    430 $(PATH_TARGET)/VBoxNetAdpCat.dir/VBoxNetAdp.cat: \
    431                 $(PATH_TARGET)/VBoxNetAdpCat.dir/VBoxNetAdp.sys \
    432                 $(PATH_TARGET)/VBoxNetAdpCat.dir/VBoxNetAdp.inf
     430   $(PATH_TARGET)/VBoxNetAdpCat.dir/VBoxNetAdp.cat: \
     431                $(PATH_TARGET)/VBoxNetAdpCat.dir/VBoxNetAdp.sys \
     432                $(PATH_TARGET)/VBoxNetAdpCat.dir/VBoxNetAdp.inf
    433433        $(call MSG_TOOL,Inf2Cat,VBoxNetFlt-inf,$@,$<)
    434434        $(call VBOX_MAKE_CAT_FN, $(@D),$@)
    435435
    436  endif #  ifdef VBOX_SIGNING_MODE
    437 
    438 endif #ifeq ($(KBUILD_TARGET), win)
     436  endif #  ifdef VBOX_SIGNING_MODE
     437
     438 endif #ifeq ($(KBUILD_TARGET), win)
    439439
    440440else if1of ($(KBUILD_TARGET), solaris freebsd) ## @todo merge this with the mixed case stuff.
    441 #
    442 # vboxnetflt(.ko/.o/) - The lower case driver.
    443 # Note! On Solaris the name has to be <= 8 chars long.
    444 # The DEBUG_HASH* stuff is for CONFIG_DYNAMIC_DEBUG-enabled kernels
    445 #
     441 #
     442 # vboxnetflt(.ko/.o/) - The lower case driver.
     443 # Note! On Solaris the name has to be <= 8 chars long.
     444 # The DEBUG_HASH* stuff is for CONFIG_DYNAMIC_DEBUG-enabled kernels
     445 #
    446446 ifdef VBOX_WITH_VBOXDRV
    447447  SYSMODS += vboxnetflt
     
    489489 VBoxNetFlt-src_INST    = bin/src/vboxnetflt/
    490490 VBoxNetFlt-src_SOURCES = \
    491         $(subst $(DQUOTE),,$(VBOX_VBOXNETFLT_SOURCES)) \
    492         $(VBoxNetFlt-src_0_OUTDIR)/Makefile
     491        $(subst $(DQUOTE),,$(VBOX_VBOXNETFLT_SOURCES)) \
     492        $(VBoxNetFlt-src_0_OUTDIR)/Makefile
    493493 VBoxNetFlt-src_CLEAN   = \
    494         $(VBoxNetFlt-src_0_OUTDIR)/Makefile \
    495         $(PATH_TARGET)/VBoxNetFlt-src-1.dep \
     494        $(VBoxNetFlt-src_0_OUTDIR)/Makefile \
     495        $(PATH_TARGET)/VBoxNetFlt-src-1.dep
    496496
    497497 # Scripts needed for building the kernel module.
     
    499499 includedep $(PATH_TARGET)/VBoxNetFlt-src-1.dep
    500500 $$(VBoxNetFlt-src_0_OUTDIR)/Makefile: \
    501                 $(PATH_SUB_CURRENT)/linux/Makefile \
    502                 $$(if $$(eq $$(VBoxNetFlt/linux/Makefile_VBOX_HARDENED),$$(VBOX_WITH_HARDENING)),,FORCE) \
    503                 | $$(dir $$@)
     501                $(PATH_SUB_CURRENT)/linux/Makefile \
     502                $$(if $$(eq $$(VBoxNetFlt/linux/Makefile_VBOX_HARDENED),$$(VBOX_WITH_HARDENING)),,FORCE) \
     503                | $$(dir $$@)
    504504        $(QUIET)$(RM) -f -- $@
    505505 ifndef VBOX_WITH_HARDENING
     
    521521ifeq ($(KBUILD_TARGET),freebsd)
    522522 vboxnetflt_DEPS.freebsd += $(PATH_OUT)/opt_netgraph.h
    523 $(PATH_OUT)/opt_netgraph.h:
     523 $(PATH_OUT)/opt_netgraph.h:
    524524        echo > $(PATH_OUT)/opt_netgraph.h
    525525
     
    532532 VBoxNetFlt-src_INST    = bin/src/vboxnetflt/
    533533 VBoxNetFlt-src_SOURCES = \
    534         $(subst $(DQUOTE),,$(VBOX_VBOXNETFLT_SOURCES)) \
     534        $(subst $(DQUOTE),,$(VBOX_VBOXNETFLT_SOURCES)) \
    535535        $(VBoxNetFlt-src_0_OUTDIR)/Makefile
    536536 VBoxNetFlt-src_CLEAN   = \
    537         $(VBoxNetFlt-src_0_OUTDIR)/Makefile     \
     537        $(VBoxNetFlt-src_0_OUTDIR)/Makefile
    538538
    539539 $$(VBoxNetFlt-src_0_OUTDIR)/Makefile: \
    540                 $(PATH_SUB_CURRENT)/freebsd/Makefile \
    541                 $$(if $$(eq $$(VBoxNetFlt/freebsd/Makefile_VBOX_HARDENED),$$(VBOX_WITH_HARDENING)),,FORCE) \
    542                 | $$(dir $$@)
     540                $(PATH_SUB_CURRENT)/freebsd/Makefile \
     541                $$(if $$(eq $$(VBoxNetFlt/freebsd/Makefile_VBOX_HARDENED),$$(VBOX_WITH_HARDENING)),,FORCE) \
     542                | $$(dir $$@)
    543543        $(QUIET)$(RM) -f -- $@
    544544        $(QUIET)$(CP) -f $< $@
  • trunk/src/VBox/HostDrivers/VBoxPci/Makefile.kmk

    r98125 r98414  
    4949  VBoxPci_DEFS           = IN_RT_R0 VBOX_SVN_REV=$(VBOX_SVN_REV) IN_SUP_STATIC
    5050  VBoxPci_INCS           = \
    51         .
     51        .
    5252  VBoxPci_SOURCES        = \
    53         VBoxPci.c
     53        VBoxPci.c
    5454  VBoxPci_LIBS          += \
    55         $(PATH_STAGE_LIB)/SUPR0IdcClient$(VBOX_SUFF_LIB)
     55        $(PATH_STAGE_LIB)/SUPR0IdcClient$(VBOX_SUFF_LIB)
    5656 endif
    5757
     
    6363 VBoxPci-src_INST       = bin/src/vboxpci/
    6464 VBoxPci-src_SOURCES    = \
    65         $(subst $(DQUOTE),,$(VBOX_VBOXPCI_SOURCES)) \
     65        $(subst $(DQUOTE),,$(VBOX_VBOXPCI_SOURCES)) \
    6666        $(VBoxPci-src_0_OUTDIR)/Makefile
    6767 VBoxPci-src_CLEAN      = \
    6868        $(VBoxPci-src_0_OUTDIR)/Makefile \
    69         $(PATH_TARGET)/VBoxPciSrc-src-1.dep \
     69        $(PATH_TARGET)/VBoxPciSrc-src-1.dep
    7070
    7171 # Generate the scripts needed for building the kernel module.
    7272
    7373 includedep $(PATH_TARGET)/VBoxPci-src-1.dep
    74 $$(VBoxPci-src_0_OUTDIR)/Makefile: \
    75                 $(PATH_SUB_CURRENT)/linux/Makefile \
    76                 $$(if $$(eq $$(VBoxPci/linux/Makefile_VBOX_HARDENED),$$(VBOX_WITH_HARDENING)),,FORCE) \
    77                 | $$(dir $$@)
     74 $$(VBoxPci-src_0_OUTDIR)/Makefile: \
     75                $(PATH_SUB_CURRENT)/linux/Makefile \
     76                $$(if $$(eq $$(VBoxPci/linux/Makefile_VBOX_HARDENED),$$(VBOX_WITH_HARDENING)),,FORCE) \
     77                | $$(dir $$@)
    7878        $(QUIET)$(RM) -f -- $@
    7979 ifndef VBOX_WITH_HARDENING
  • trunk/src/VBox/HostDrivers/VBoxUSB/win/Makefile.kmk

    r98257 r98414  
    101101endif
    102102VBoxUSBMon_SOURCES     = \
    103         mon/VBoxUsbMon.cpp  \
    104         mon/VBoxUsbFlt.cpp  \
     103        mon/VBoxUsbMon.cpp \
     104        mon/VBoxUsbFlt.cpp \
    105105        mon/VBoxUsbHook.cpp \
    106106        cmn/VBoxUsbTool.cpp \
     
    115115        $(usbd_1_TARGET)
    116116if1of ($(KBUILD_TYPE), debug)
    117 VBoxUSBMon_DEFS      += LOG_ENABLED VBOX_USB_WITH_VERBOSE_LOGGING
     117 VBoxUSBMon_DEFS     += LOG_ENABLED VBOX_USB_WITH_VERBOSE_LOGGING
    118118endif
    119119
     
    128128TEMPLATE_VBoxUsbR3_LIBS     = $(TEMPLATE_VBoxR3Exe_LIBS) \
    129129        $(PATH_STAGE_LIB)/VBoxDrvCfgExe$(VBOX_SUFF_LIB) \
    130        $(LIB_RUNTIME)
     130        $(LIB_RUNTIME)
    131131
    132132#
     
    172172
    173173ifdef VBOX_SIGNING_MODE
    174 install-infs_SOURCES += \
    175         $(PATH_TARGET)/VBoxUSBCat.dir/VBoxUSB.cat \
    176         $(PATH_TARGET)/VBoxUSBCat.dir/VBoxUSB.cat=>VBoxUSB-PreW10.cat \
    177         $(PATH_TARGET)/VBoxUSBCat.dir/VBoxUSB.sys \
    178         $(PATH_TARGET)/VBoxUSBMonCat.dir/VBoxUSBMon.cat \
    179         $(PATH_TARGET)/VBoxUSBMonCat.dir/VBoxUSBMon.cat=>VBoxUSBMon-PreW10.cat \
    180         $(PATH_TARGET)/VBoxUSBMonCat.dir/VBoxUSBMon.sys
    181 
    182 $(PATH_TARGET)/VBoxUSBCat.dir/VBoxUSB.sys: $$(VBoxUSB_1_TARGET) | $$(dir $$@)
     174 install-infs_SOURCES += \
     175        $(PATH_TARGET)/VBoxUSBCat.dir/VBoxUSB.cat \
     176        $(PATH_TARGET)/VBoxUSBCat.dir/VBoxUSB.cat=>VBoxUSB-PreW10.cat \
     177        $(PATH_TARGET)/VBoxUSBCat.dir/VBoxUSB.sys \
     178        $(PATH_TARGET)/VBoxUSBMonCat.dir/VBoxUSBMon.cat \
     179        $(PATH_TARGET)/VBoxUSBMonCat.dir/VBoxUSBMon.cat=>VBoxUSBMon-PreW10.cat \
     180        $(PATH_TARGET)/VBoxUSBMonCat.dir/VBoxUSBMon.sys
     181
     182 $(PATH_TARGET)/VBoxUSBCat.dir/VBoxUSB.sys: $$(VBoxUSB_1_TARGET) | $$(dir $$@)
    183183        $(INSTALL) -m 644 $< $(@D)
    184184
    185 $(PATH_TARGET)/VBoxUSBCat.dir/VBoxUSB.cat: \
    186                 $(PATH_TARGET)/VBoxUSBCat.dir/VBoxUSB.inf \
    187                 $(PATH_TARGET)/VBoxUSBCat.dir/VBoxUSB.sys
     185 $(PATH_TARGET)/VBoxUSBCat.dir/VBoxUSB.cat: \
     186                $(PATH_TARGET)/VBoxUSBCat.dir/VBoxUSB.inf \
     187                $(PATH_TARGET)/VBoxUSBCat.dir/VBoxUSB.sys
    188188        $(call MSG_TOOL,Inf2Cat,VBoxUSB-inf,$@,$<)
    189189        $(call VBOX_MAKE_CAT_FN, $(@D),$@)
    190190
    191 $(PATH_TARGET)/VBoxUSBMonCat.dir/VBoxUSBMon.sys: $$(VBoxUSBMon_1_TARGET) | $$(dir $$@)
     191 $(PATH_TARGET)/VBoxUSBMonCat.dir/VBoxUSBMon.sys: $$(VBoxUSBMon_1_TARGET) | $$(dir $$@)
    192192        $(INSTALL) -m 644 $< $(@D)
    193193
    194 $(PATH_TARGET)/VBoxUSBMonCat.dir/VBoxUSBMon.cat: \
    195                 $(PATH_TARGET)/VBoxUSBMonCat.dir/VBoxUSBMon.inf \
    196                 $(PATH_TARGET)/VBoxUSBMonCat.dir/VBoxUSBMon.sys
     194 $(PATH_TARGET)/VBoxUSBMonCat.dir/VBoxUSBMon.cat: \
     195                $(PATH_TARGET)/VBoxUSBMonCat.dir/VBoxUSBMon.inf \
     196                $(PATH_TARGET)/VBoxUSBMonCat.dir/VBoxUSBMon.sys
    197197        $(call MSG_TOOL,Inf2Cat,VBoxUSBMon-inf,$@,$<)
    198198        $(call VBOX_MAKE_CAT_FN, $(@D),$@)
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette