Changeset 36848 in vbox for trunk/src/VBox/Additions/WINNT
- Timestamp:
- Apr 26, 2011 10:09:04 AM (14 years ago)
- svn:sync-xref-src-repo-rev:
- 71411
- Location:
- trunk/src/VBox/Additions/WINNT/Graphics
- Files:
-
- 2 deleted
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/WINNT/Graphics/Makefile.kmk
r35381 r36848 20 20 21 21 # Include sub-makefiles. 22 include $(PATH_SUB_CURRENT)/Miniport/Makefile.kmk 23 include $(PATH_SUB_CURRENT)/Display/Makefile.kmk 22 include $(PATH_SUB_CURRENT)/Video/Makefile.kmk 24 23 ifdef VBOX_WITH_CROGL 25 24 include $(PATH_SUB_CURRENT)/Wine/Makefile.kmk 26 25 endif 27 26 28 #29 # Install the inf & cat.30 # This has to be done here since it depends on both the31 # miniport driver and the display dll.32 #33 INSTALLS += VBoxVideo-inf34 VBoxVideo-inf_INST = $(INST_ADDITIONS)35 VBoxVideo-inf_MODE = a+r,u+w36 VBoxVideo-inf_SOURCES = \37 $(PATH_TARGET)/VBoxVideoCat.dir/VBoxVideo.inf38 ifdef VBOX_SIGN_ADDITIONS39 VBoxVideo-inf_SOURCES += \40 $(PATH_TARGET)/VBoxVideoCat.dir/VBoxVideo.sys \41 $(PATH_TARGET)/VBoxVideoCat.dir/VBoxDisp.dll \42 $(PATH_TARGET)/VBoxVideoCat.dir/VBoxVideo.cat43 endif # signing44 VBoxVideo-inf_CLEAN = $(VBoxVideo-inf_SOURCES)45 VBoxVideo-inf_BLDDIRS = \46 $(PATH_TARGET)/VBoxVideoCat.dir47 48 $(PATH_TARGET)/VBoxVideoCat.dir/VBoxVideo.inf: $(PATH_SUB_CURRENT)/Miniport/VBoxVideo.inf $(MAKEFILE_CURRENT) | $$(dir $$@)49 $(call MSG_GENERATE,VBoxVideo-inf,$@,$<)50 $(call VBOX_EDIT_INF_FN,$<,$@)51 52 $(PATH_TARGET)/VBoxVideoCat.dir/VBoxVideo.sys: $$(TARGET_VBoxVideo) | $$(dir $$@)53 $(INSTALL) -m 644 $< $(@D)54 55 $(PATH_TARGET)/VBoxVideoCat.dir/VBoxDisp.dll: $$(TARGET_VBoxDisp) | $$(dir $$@)56 $(INSTALL) -m 644 $< $(@D)57 58 $(PATH_TARGET)/VBoxVideoCat.dir/VBoxVideo.cat: \59 $(PATH_TARGET)/VBoxVideoCat.dir/VBoxVideo.inf \60 $(PATH_TARGET)/VBoxVideoCat.dir/VBoxVideo.sys \61 $(PATH_TARGET)/VBoxVideoCat.dir/VBoxDisp.dll62 $(call MSG_TOOL,Inf2Cat,VBoxVideo-inf,$@,$<)63 $(call VBOX_MAKE_CAT_FN, $(@D),$@)64 65 ifdef VBOX_WITH_WDDM66 VBOXWDDM_WITH_DISPD3D = 167 ifdef VBOX_WITH_CROGL68 VBOXWDDM_WITH_GL = 169 endif70 71 #72 # Install the inf & cat.73 # This has to be done here since it depends on both the74 # miniport driver and the display dll.75 #76 INSTALLS += VBoxVideoWddm-inf77 VBoxVideoWddm-inf_INST = $(INST_ADDITIONS)78 VBoxVideoWddm-inf_MODE = a+r,u+w79 VBoxVideoWddm-inf_SOURCES = \80 $(PATH_TARGET)/VBoxVideoWddmCat.dir/VBoxVideoWddm.inf81 ifdef VBOX_SIGN_ADDITIONS82 VBoxVideoWddm-inf_SOURCES += \83 $(PATH_TARGET)/VBoxVideoWddmCat.dir/VBoxVideoWddm.sys \84 $(PATH_TARGET)/VBoxVideoWddmCat.dir/VBoxVideoWddm.cat85 86 ifdef VBOXWDDM_WITH_DISPD3D87 VBoxVideoWddm-inf_SOURCES += \88 $(PATH_TARGET)/VBoxVideoWddmCat.dir/VBoxDispD3D.dll89 VBoxVideoWddm-inf_SOURCES.amd64 += \90 $(PATH_TARGET)/VBoxVideoWddmCat.dir/VBoxDispD3D-x86.dll91 endif92 93 ifdef VBOXWDDM_WITH_GL94 VBoxVideoWddm-inf_SOURCES += \95 $(PATH_TARGET)/VBoxVideoWddmCat.dir/VBoxOGL.dll \96 $(PATH_TARGET)/VBoxVideoWddmCat.dir/VBoxD3D9wddm.dll \97 $(PATH_TARGET)/VBoxVideoWddmCat.dir/wined3dwddm.dll \98 $(PATH_TARGET)/VBoxVideoWddmCat.dir/VBoxOGLarrayspu.dll \99 $(PATH_TARGET)/VBoxVideoWddmCat.dir/VBoxOGLcrutil.dll \100 $(PATH_TARGET)/VBoxVideoWddmCat.dir/VBoxOGLerrorspu.dll \101 $(PATH_TARGET)/VBoxVideoWddmCat.dir/VBoxOGLfeedbackspu.dll \102 $(PATH_TARGET)/VBoxVideoWddmCat.dir/VBoxOGLpackspu.dll \103 $(PATH_TARGET)/VBoxVideoWddmCat.dir/VBoxOGLpassthroughspu.dll104 VBoxVideoWddm-inf_SOURCES.amd64 += \105 $(PATH_TARGET)/VBoxVideoWddmCat.dir/VBoxOGL-x86.dll \106 $(PATH_TARGET)/VBoxVideoWddmCat.dir/VBoxD3D9wddm-x86.dll \107 $(PATH_TARGET)/VBoxVideoWddmCat.dir/wined3dwddm-x86.dll \108 $(PATH_TARGET)/VBoxVideoWddmCat.dir/VBoxOGLarrayspu-x86.dll \109 $(PATH_TARGET)/VBoxVideoWddmCat.dir/VBoxOGLcrutil-x86.dll \110 $(PATH_TARGET)/VBoxVideoWddmCat.dir/VBoxOGLerrorspu-x86.dll \111 $(PATH_TARGET)/VBoxVideoWddmCat.dir/VBoxOGLfeedbackspu-x86.dll \112 $(PATH_TARGET)/VBoxVideoWddmCat.dir/VBoxOGLpackspu-x86.dll \113 $(PATH_TARGET)/VBoxVideoWddmCat.dir/VBoxOGLpassthroughspu-x86.dll114 endif115 116 endif # signing117 VBoxVideoWddm-inf_CLEAN = $(VBoxVideoWddm-inf_SOURCES)118 VBoxVideoWddm-inf_BLDDIRS = \119 $(PATH_TARGET)/VBoxVideoWddmCat.dir120 121 VBOXWDDM_EDIT_INF_DISPD3D_FN_ARG = $(if $(VBOXWDDM_WITH_DISPD3D),-e 's/^;dispd3d *//', -e '/^;dispd3d /d')122 VBOXWDDM_EDIT_INF_GL_FN_ARG = $(if $(VBOXWDDM_WITH_GL),-e 's/^;gl *//', -e '/^;gl /d')123 124 $(PATH_TARGET)/VBoxVideoWddmCat.dir/VBoxVideoWddm.inf: $(PATH_SUB_CURRENT)/Miniport/wddm/VBoxVideoWddm.inf $(MAKEFILE_CURRENT) | $$(dir $$@)125 $(call MSG_GENERATE,VBoxVideoWddm-inf,$@,$<)126 $(call VBOX_EDIT_INF_FN,$<,$@ $(VBOXWDDM_EDIT_INF_DISPD3D_FN_ARG) $(VBOXWDDM_EDIT_INF_GL_FN_ARG))127 128 $(PATH_TARGET)/VBoxVideoWddmCat.dir/VBoxVideoWddm.sys: $$(TARGET_VBoxVideoWddm) | $$(dir $$@)129 $(INSTALL) -m 644 $< $(@D)130 131 ifdef VBOXWDDM_WITH_DISPD3D132 $(PATH_TARGET)/VBoxVideoWddmCat.dir/VBoxDispD3D.dll: $$(TARGET_VBoxDispD3D) | $$(dir $$@)133 $(INSTALL) -m 644 $< $(@D)134 135 ifeq ($(KBUILD_TARGET_ARCH),amd64)136 $(PATH_TARGET)/VBoxVideoWddmCat.dir/VBoxDispD3D-x86.dll: $$(TARGET_VBoxDispD3D-x86) | $$(dir $$@)137 $(INSTALL) -m 644 $< $(@D)138 endif139 endif140 141 ifdef VBOXWDDM_WITH_GL142 $(PATH_TARGET)/VBoxVideoWddmCat.dir/VBoxOGL.dll: $$(TARGET_VBoxOGL) | $$(dir $$@)143 $(INSTALL) -m 644 $< $(@D)144 145 $(PATH_TARGET)/VBoxVideoWddmCat.dir/VBoxD3D9wddm.dll: $$(TARGET_VBoxD3D9wddm) | $$(dir $$@)146 $(INSTALL) -m 644 $< $(@D)147 148 $(PATH_TARGET)/VBoxVideoWddmCat.dir/wined3dwddm.dll: $$(TARGET_wined3dwddm) | $$(dir $$@)149 $(INSTALL) -m 644 $< $(@D)150 151 $(PATH_TARGET)/VBoxVideoWddmCat.dir/VBoxOGLarrayspu.dll: $$(TARGET_VBoxOGLarrayspu) | $$(dir $$@)152 $(INSTALL) -m 644 $< $(@D)153 154 $(PATH_TARGET)/VBoxVideoWddmCat.dir/VBoxOGLcrutil.dll: $$(TARGET_VBoxOGLcrutil) | $$(dir $$@)155 $(INSTALL) -m 644 $< $(@D)156 157 $(PATH_TARGET)/VBoxVideoWddmCat.dir/VBoxOGLerrorspu.dll: $$(TARGET_VBoxOGLerrorspu) | $$(dir $$@)158 $(INSTALL) -m 644 $< $(@D)159 160 $(PATH_TARGET)/VBoxVideoWddmCat.dir/VBoxOGLfeedbackspu.dll: $$(TARGET_VBoxOGLfeedbackspu) | $$(dir $$@)161 $(INSTALL) -m 644 $< $(@D)162 163 $(PATH_TARGET)/VBoxVideoWddmCat.dir/VBoxOGLpackspu.dll: $$(TARGET_VBoxOGLpackspu) | $$(dir $$@)164 $(INSTALL) -m 644 $< $(@D)165 166 $(PATH_TARGET)/VBoxVideoWddmCat.dir/VBoxOGLpassthroughspu.dll: $$(TARGET_VBoxOGLpassthroughspu) | $$(dir $$@)167 $(INSTALL) -m 644 $< $(@D)168 169 ifeq ($(KBUILD_TARGET_ARCH), amd64)170 $(PATH_TARGET)/VBoxVideoWddmCat.dir/VBoxOGL-x86.dll: $$(TARGET_VBoxOGL-x86) | $$(dir $$@)171 $(INSTALL) -m 644 $< $(@D)172 173 $(PATH_TARGET)/VBoxVideoWddmCat.dir/VBoxD3D9wddm-x86.dll: $$(TARGET_VBoxD3D9wddm-x86) | $$(dir $$@)174 $(INSTALL) -m 644 $< $(@D)175 176 $(PATH_TARGET)/VBoxVideoWddmCat.dir/wined3dwddm-x86.dll: $$(TARGET_wined3dwddm-x86) | $$(dir $$@)177 $(INSTALL) -m 644 $< $(@D)178 179 $(PATH_TARGET)/VBoxVideoWddmCat.dir/VBoxOGLarrayspu-x86.dll: $$(TARGET_VBoxOGLarrayspu-x86) | $$(dir $$@)180 $(INSTALL) -m 644 $< $(@D)181 182 $(PATH_TARGET)/VBoxVideoWddmCat.dir/VBoxOGLcrutil-x86.dll: $$(TARGET_VBoxOGLcrutil-x86) | $$(dir $$@)183 $(INSTALL) -m 644 $< $(@D)184 185 $(PATH_TARGET)/VBoxVideoWddmCat.dir/VBoxOGLerrorspu-x86.dll: $$(TARGET_VBoxOGLerrorspu-x86) | $$(dir $$@)186 $(INSTALL) -m 644 $< $(@D)187 188 $(PATH_TARGET)/VBoxVideoWddmCat.dir/VBoxOGLfeedbackspu-x86.dll: $$(TARGET_VBoxOGLfeedbackspu-x86) | $$(dir $$@)189 $(INSTALL) -m 644 $< $(@D)190 191 $(PATH_TARGET)/VBoxVideoWddmCat.dir/VBoxOGLpackspu-x86.dll: $$(TARGET_VBoxOGLpackspu-x86) | $$(dir $$@)192 $(INSTALL) -m 644 $< $(@D)193 194 $(PATH_TARGET)/VBoxVideoWddmCat.dir/VBoxOGLpassthroughspu-x86.dll: $$(TARGET_VBoxOGLpassthroughspu-x86) | $$(dir $$@)195 $(INSTALL) -m 644 $< $(@D)196 endif197 endif198 199 $(PATH_TARGET)/VBoxVideoWddmCat.dir/VBoxVideoWddm.cat: \200 $(PATH_TARGET)/VBoxVideoWddmCat.dir/VBoxVideoWddm.inf \201 $(PATH_TARGET)/VBoxVideoWddmCat.dir/VBoxVideoWddm.sys \202 $(if $(VBOXWDDM_WITH_DISPD3D), $(PATH_TARGET)/VBoxVideoWddmCat.dir/VBoxDispD3D.dll, ) \203 $(if $(VBOXWDDM_WITH_DISPD3D), $(if-expr "$(KBUILD_TARGET_ARCH)" == "amd64", $(PATH_TARGET)/VBoxVideoWddmCat.dir/VBoxDispD3D-x86.dll, ), ) \204 $(if $(VBOXWDDM_WITH_GL), $(PATH_TARGET)/VBoxVideoWddmCat.dir/VBoxOGL.dll \205 $(PATH_TARGET)/VBoxVideoWddmCat.dir/VBoxD3D9wddm.dll \206 $(PATH_TARGET)/VBoxVideoWddmCat.dir/wined3dwddm.dll \207 $(PATH_TARGET)/VBoxVideoWddmCat.dir/VBoxOGLarrayspu.dll \208 $(PATH_TARGET)/VBoxVideoWddmCat.dir/VBoxOGLcrutil.dll \209 $(PATH_TARGET)/VBoxVideoWddmCat.dir/VBoxOGLerrorspu.dll \210 $(PATH_TARGET)/VBoxVideoWddmCat.dir/VBoxOGLfeedbackspu.dll \211 $(PATH_TARGET)/VBoxVideoWddmCat.dir/VBoxOGLpackspu.dll \212 $(PATH_TARGET)/VBoxVideoWddmCat.dir/VBoxOGLpassthroughspu.dll, ) \213 $(if $(VBOXWDDM_WITH_GL), $(if-expr "$(KBUILD_TARGET_ARCH)" == "amd64", \214 $(PATH_TARGET)/VBoxVideoWddmCat.dir/VBoxOGL-x86.dll \215 $(PATH_TARGET)/VBoxVideoWddmCat.dir/VBoxD3D9wddm-x86.dll \216 $(PATH_TARGET)/VBoxVideoWddmCat.dir/wined3dwddm-x86.dll \217 $(PATH_TARGET)/VBoxVideoWddmCat.dir/VBoxOGLarrayspu-x86.dll \218 $(PATH_TARGET)/VBoxVideoWddmCat.dir/VBoxOGLcrutil-x86.dll \219 $(PATH_TARGET)/VBoxVideoWddmCat.dir/VBoxOGLerrorspu-x86.dll \220 $(PATH_TARGET)/VBoxVideoWddmCat.dir/VBoxOGLfeedbackspu-x86.dll \221 $(PATH_TARGET)/VBoxVideoWddmCat.dir/VBoxOGLpackspu-x86.dll \222 $(PATH_TARGET)/VBoxVideoWddmCat.dir/VBoxOGLpassthroughspu-x86.dll, ), )223 $(call MSG_TOOL,Inf2Cat,VBoxVideoWddm-inf,$@,$<)224 $(call VBOX_MAKE_CAT_FN, $(@D),$@)225 endif226 227 27 include $(KBUILD_PATH)/subfooter.kmk 228 28
Note:
See TracChangeset
for help on using the changeset viewer.