VirtualBox

Changeset 26063 in vbox for trunk/src/VBox/Additions/WINNT


Ignore:
Timestamp:
Jan 27, 2010 10:45:39 AM (15 years ago)
Author:
vboxsync
Message:

Miniport/Makefile.kmk: cleanup

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/WINNT/Graphics/Miniport/Makefile.kmk

    r26050 r26063  
    3636endif
    3737VBoxVideo_DEFS        = LOG_TO_BACKDOOR VBOX_WITH_8BPP_MODES
     38ifdef VBOX_WITH_HGSMI
     39 VBoxVideo_DEFS      += VBOX_WITH_HGSMI
     40endif
     41ifdef VBOX_WITH_VIDEOHWACCEL
     42 VBoxVideo_DEFS      += VBOX_WITH_VIDEOHWACCEL
     43endif
    3844#VBoxVideo_DEFS        += LOG_ENABLED
    3945VBoxVideo_INCS        = ../../include
     
    4551        VBoxVideo.def \
    4652        VBoxVideo.rc
     53ifdef VBOX_WITH_HGSMI
     54 VBoxVideo_SOURCES   += \
     55        VBoxVideoHGSMI.cpp
     56endif
    4757VBoxVideo_LIBS.x86    = \
    4858        $(PATH_SDK_W2K3DDK_LIB)/exsup.lib
     
    5363        $(VBOX_LIB_VBGL_R0) \
    5464        $(VBOX_LIB_IPRT_GUEST_R0_NT4)
    55 
    5665ifdef VBOX_WITH_HGSMI
    57 VBoxVideo_SOURCES     += \
    58         VBoxVideoHGSMI.cpp
    59 VBoxVideo_LIBS         += \
     66 VBoxVideo_LIBS      += \
    6067        $(VBOX_PATH_ADDITIONS_LIB)/HGSMIGuestR0Lib$(VBOX_SUFF_LIB)
    61 VBoxVideo_DEFS += VBOX_WITH_HGSMI
    6268endif
    6369
    64 ifdef VBOX_WITH_VIDEOHWACCEL
    65 VBoxVideo_DEFS += VBOX_WITH_VIDEOHWACCEL
    66 endif
     70
    6771
    6872ifdef VBOXWDDM
    69 SYSMODS += VBoxVideoWddm
    70 VBoxVideoWddm_TEMPLATE    = VBOXGUESTR0
    71 ifdef VBOX_SIGN_ADDITIONS # (See the parent makefile.)
    72  VBoxVideoWddm_NOINST     = true
    73 endif
    74 VBoxVideoWddm_SDKS=WINDDKWLH
    75 VBoxVideoWddm_DEFS          += LOG_TO_BACKDOOR VBOX_WITH_8BPP_MODES
    76 #VBoxVideoWddm_DEFS         += LOG_ENABLED
    77 VBoxVideoWddm_INCS          += ../../include
    78 VBoxVideoWddm_LDFLAGS.x86   += /Entry:DriverEntry@8
    79 VBoxVideoWddm_LDFLAGS.amd64 += /Entry:DriverEntry
    80 VBoxVideoWddm_SOURCES     = \
    81         VBoxVideoHGSMI.cpp \
    82         VBoxVideo.cpp \
    83         wddm/VBoxVideoWddm.cpp \
     73 #
     74 # VBoxVideoWddm
     75 #
     76 SYSMODS += VBoxVideoWddm
     77 VBoxVideoWddm_TEMPLATE    = VBOXGUESTR0
     78 ifdef VBOX_SIGN_ADDITIONS # (See the parent makefile.)
     79  $(error FIXME)
     80  VBoxVideoWddm_NOINST     = true
     81 endif
     82 VBoxVideoWddm_SDKS=WINDDKWLH
     83 VBoxVideoWddm_DEFS       += LOG_TO_BACKDOOR VBOX_WITH_8BPP_MODES
     84 VBoxVideoWddm_DEFS       += VBOX_WITH_HGSMI VBOXWDDM
     85 ifdef VBOX_WITH_VIDEOHWACCEL
     86  VBoxVideoWddm_DEFS      += VBOX_WITH_VIDEOHWACCEL
     87 endif
     88 #VBoxVideoWddm_DEFS       += LOG_ENABLED
     89 VBoxVideoWddm_INCS       += ../../include
     90 VBoxVideoWddm_LDFLAGS.x86 += /Entry:DriverEntry@8
     91 VBoxVideoWddm_LDFLAGS.amd64 += /Entry:DriverEntry
     92 VBoxVideoWddm_SOURCES     = \
     93        VBoxVideoHGSMI.cpp \
     94        VBoxVideo.cpp \
     95        wddm/VBoxVideoWddm.cpp \
    8496        wddm/VBoxVideoVidPn.cpp \
    85         wddm/VBoxVideoWddm.def \
    86         wddm/VBoxVideoWddm.rc
    87 #VBoxVideoWddm_LIBS.x86    += \
    88 #       $(PATH_SDK_WINDDKWLH_LIB)/exsup.lib
    89 VBoxVideoWddm_LIBS.x86    += \
    90         $(PATH_SDK_WINDDKWLH_LIB)/bufferoverflowu.lib
    91 VBoxVideoWddm_LIBS        = \
    92         $(PATH_SDK_WINDDKWLH_LIB)/ntoskrnl.lib \
    93         $(PATH_SDK_WINDDKWLH_LIB)/hal.lib \
    94         $(PATH_SDK_WINDDKWLH_LIB)/displib.lib \
    95         $(VBOX_LIB_VBGL_R0) \
    96         $(VBOX_LIB_IPRT_GUEST_R0_NT4) \
    97         $(VBOX_PATH_ADDITIONS_LIB)/HGSMIGuestR0Lib$(VBOX_SUFF_LIB)
    98        
    99 VBoxVideoWddm_DEFS += VBOX_WITH_HGSMI VBOXWDDM
    100 
    101 ifdef VBOX_WITH_VIDEOHWACCEL
    102 VBoxVideoWddm_DEFS += VBOX_WITH_VIDEOHWACCEL
    103 endif
    104 
    105 endif
     97        wddm/VBoxVideoWddm.def \
     98        wddm/VBoxVideoWddm.rc
     99 #VBoxVideoWddm_LIBS.x86   += \
     100 #      $(PATH_SDK_WINDDKWLH_LIB)/exsup.lib
     101 VBoxVideoWddm_LIBS.x86   += \
     102        $(PATH_SDK_WINDDKWLH_LIB)/bufferoverflowu.lib
     103 VBoxVideoWddm_LIBS        = \
     104        $(PATH_SDK_WINDDKWLH_LIB)/ntoskrnl.lib \
     105        $(PATH_SDK_WINDDKWLH_LIB)/hal.lib \
     106        $(PATH_SDK_WINDDKWLH_LIB)/displib.lib \
     107        $(VBOX_LIB_VBGL_R0) \
     108        $(VBOX_LIB_IPRT_GUEST_R0_NT4) \
     109        $(VBOX_PATH_ADDITIONS_LIB)/HGSMIGuestR0Lib$(VBOX_SUFF_LIB)
     110endif # VBOXWDDM
    106111
    107112include $(KBUILD_PATH)/subfooter.kmk
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