Changeset 98416 in vbox for trunk/src/VBox/Additions/x11/vboxmouse
- Timestamp:
- Feb 1, 2023 4:25:17 PM (23 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/x11/vboxmouse/Makefile.kmk
r98214 r98416 48 48 vboxmouse_drv_DEFS.amd64 += _XSERVER64 49 49 vboxmouse_drv_DEFS += \ 50 51 _BSD_SOURCE _SVID_SOURCE _GNU_SOURCE SHAPE XINPUT XKB LBX XAPPGROUP \52 XCSECURITY TOGCUP XF86BIGFONT DPMSExtension PIXPRIV PANORAMIX RENDER \53 GCCUSESGAS AVOID_GLYPHBLT PIXPRIV SINGLEDEPTH XFreeXDGA XvExtension \54 XFree86LOADER XFree86Server XF86VIDMODE XvMCExtension SMART_SCHEDULE \55 BUILDDEBUG X_BYTE_ORDER=X_LITTLE_ENDIAN DNDEBUG FUNCPROTO=15 NARROWPROTO \56 IN_MODULE XFree86Module PNP_MOUSE IN_XF86_MODULE50 _POSIX_C_SOURCE=199309L _POSIX_SOURCE _XOPEN_SOURCE _DEFAULT_SOURCE \ 51 _BSD_SOURCE _SVID_SOURCE _GNU_SOURCE SHAPE XINPUT XKB LBX XAPPGROUP \ 52 XCSECURITY TOGCUP XF86BIGFONT DPMSExtension PIXPRIV PANORAMIX RENDER \ 53 GCCUSESGAS AVOID_GLYPHBLT PIXPRIV SINGLEDEPTH XFreeXDGA XvExtension \ 54 XFree86LOADER XFree86Server XF86VIDMODE XvMCExtension SMART_SCHEDULE \ 55 BUILDDEBUG X_BYTE_ORDER=X_LITTLE_ENDIAN DNDEBUG FUNCPROTO=15 NARROWPROTO \ 56 IN_MODULE XFree86Module PNP_MOUSE IN_XF86_MODULE 57 57 vboxmouse_drv_INCS := \ 58 $(VBOX_PATH_X11_ROOT)/XFree86-4.3 \59 $(VBOX_PATH_X11_ROOT)/XFree86-4.3/X11 \60 $(VBOX_PATH_X11_ROOT)/XFree86-4.3/X11/extensions \61 $(VBOX_PATH_X11_ROOT)/XFree86-4.3/Xserver \62 $(PATH_SUB_CURRENT)58 $(VBOX_PATH_X11_ROOT)/XFree86-4.3 \ 59 $(VBOX_PATH_X11_ROOT)/XFree86-4.3/X11 \ 60 $(VBOX_PATH_X11_ROOT)/XFree86-4.3/X11/extensions \ 61 $(VBOX_PATH_X11_ROOT)/XFree86-4.3/Xserver \ 62 $(PATH_SUB_CURRENT) 63 63 vboxmouse_drv_SOURCES = \ 64 vboxmouse.c64 vboxmouse.c 65 65 # Any global symbols in the driver object files will be added to XFree86's 66 66 # symbol table, which can cause problems if we e.g. define a symbol in two 67 67 # modules. 68 68 vboxmouse_drv_POST_CMDS = \ 69 objcopy --keep-global-symbol vboxmouseModuleData $(out) $(out)-objcopy$$(NLTAB) \70 $(MV) -f $(out)-objcopy $(out)69 objcopy --keep-global-symbol vboxmouseModuleData $(out) $(out)-objcopy$$(NLTAB) \ 70 $(MV) -f $(out)-objcopy $(out) 71 71 endif 72 72 … … 157 157 158 158 159 ifneq ($(KBUILD_TARGET), 160 161 #162 # vboxmouse_drv_17163 #164 DLLS += vboxmouse_drv_17165 vboxmouse_drv_17_TEMPLATE = VBoxGuestR3XOrgMod166 vboxmouse_drv_17_DEFS := $(vboxmouse_drv_70_DEFS) NO_ANSIC167 vboxmouse_drv_17_INCS := \168 $(vboxmouse_xorg_INCS) \169 $(VBOX_PATH_X11_ROOT)/xorg-server-1.7.7 \170 $(PATH_SUB_CURRENT)171 vboxmouse_drv_17_SOURCES = \172 vboxmouse.c173 174 175 #176 # vboxmouse_drv_18177 #178 DLLS += vboxmouse_drv_18179 vboxmouse_drv_18_TEMPLATE = VBoxGuestR3XOrgMod180 vboxmouse_drv_18_DEFS := $(vboxmouse_drv_70_DEFS) NO_ANSIC181 vboxmouse_drv_18_INCS := \182 $(vboxmouse_xorg_INCS) \183 $(VBOX_PATH_X11_ROOT)/xorg-server-1.8.0 \184 $(PATH_SUB_CURRENT)185 vboxmouse_drv_18_SOURCES = \186 vboxmouse.c187 188 189 #190 # vboxmouse_drv_19191 #192 DLLS += vboxmouse_drv_19193 vboxmouse_drv_19_TEMPLATE = VBoxGuestR3XOrgMod194 vboxmouse_drv_19_DEFS := $(vboxmouse_drv_70_DEFS) NO_ANSIC195 vboxmouse_drv_19_INCS := \196 $(vboxmouse_xorg_INCS) \197 $(VBOX_PATH_X11_ROOT)/xorg-server-1.9.0 \198 $(PATH_SUB_CURRENT)199 vboxmouse_drv_19_SOURCES = \200 vboxmouse.c201 202 203 #204 # vboxmouse_drv_110205 #206 DLLS += vboxmouse_drv_110207 vboxmouse_drv_110_TEMPLATE = VBoxGuestR3XOrgMod208 vboxmouse_drv_110_DEFS := $(vboxmouse_drv_70_DEFS) NO_ANSIC209 vboxmouse_drv_110_INCS := \210 $(vboxmouse_xorg_INCS) \211 $(VBOX_PATH_X11_ROOT)/xorg-server-1.10.0 \212 $(PATH_SUB_CURRENT)213 vboxmouse_drv_110_SOURCES = \214 vboxmouse.c215 216 DLLS += vboxmouse_drv_111217 vboxmouse_drv_111_TEMPLATE = VBoxGuestR3XOrgMod218 vboxmouse_drv_111_DEFS := $(vboxmouse_drv_70_DEFS) NO_ANSIC219 vboxmouse_drv_111_INCS := \220 $(vboxmouse_xorg_INCS) \221 $(VBOX_PATH_X11_ROOT)/xorg-server-1.11.0 \222 $(PATH_SUB_CURRENT)223 vboxmouse_drv_111_SOURCES = \224 vboxmouse.c225 226 DLLS += vboxmouse_drv_112227 vboxmouse_drv_112_TEMPLATE = VBoxGuestR3XOrgMod228 vboxmouse_drv_112_DEFS := $(vboxmouse_drv_70_DEFS) NO_ANSIC229 vboxmouse_drv_112_INCS := \230 231 $(VBOX_PATH_X11_ROOT)/xorg-server-1.12.0 \232 $(PATH_SUB_CURRENT)233 vboxmouse_drv_112_SOURCES = \234 vboxmouse.c159 ifneq ($(KBUILD_TARGET),linux) 160 161 # 162 # vboxmouse_drv_17 163 # 164 DLLS += vboxmouse_drv_17 165 vboxmouse_drv_17_TEMPLATE = VBoxGuestR3XOrgMod 166 vboxmouse_drv_17_DEFS := $(vboxmouse_drv_70_DEFS) NO_ANSIC 167 vboxmouse_drv_17_INCS := \ 168 $(vboxmouse_xorg_INCS) \ 169 $(VBOX_PATH_X11_ROOT)/xorg-server-1.7.7 \ 170 $(PATH_SUB_CURRENT) 171 vboxmouse_drv_17_SOURCES = \ 172 vboxmouse.c 173 174 175 # 176 # vboxmouse_drv_18 177 # 178 DLLS += vboxmouse_drv_18 179 vboxmouse_drv_18_TEMPLATE = VBoxGuestR3XOrgMod 180 vboxmouse_drv_18_DEFS := $(vboxmouse_drv_70_DEFS) NO_ANSIC 181 vboxmouse_drv_18_INCS := \ 182 $(vboxmouse_xorg_INCS) \ 183 $(VBOX_PATH_X11_ROOT)/xorg-server-1.8.0 \ 184 $(PATH_SUB_CURRENT) 185 vboxmouse_drv_18_SOURCES = \ 186 vboxmouse.c 187 188 189 # 190 # vboxmouse_drv_19 191 # 192 DLLS += vboxmouse_drv_19 193 vboxmouse_drv_19_TEMPLATE = VBoxGuestR3XOrgMod 194 vboxmouse_drv_19_DEFS := $(vboxmouse_drv_70_DEFS) NO_ANSIC 195 vboxmouse_drv_19_INCS := \ 196 $(vboxmouse_xorg_INCS) \ 197 $(VBOX_PATH_X11_ROOT)/xorg-server-1.9.0 \ 198 $(PATH_SUB_CURRENT) 199 vboxmouse_drv_19_SOURCES = \ 200 vboxmouse.c 201 202 203 # 204 # vboxmouse_drv_110 205 # 206 DLLS += vboxmouse_drv_110 207 vboxmouse_drv_110_TEMPLATE = VBoxGuestR3XOrgMod 208 vboxmouse_drv_110_DEFS := $(vboxmouse_drv_70_DEFS) NO_ANSIC 209 vboxmouse_drv_110_INCS := \ 210 $(vboxmouse_xorg_INCS) \ 211 $(VBOX_PATH_X11_ROOT)/xorg-server-1.10.0 \ 212 $(PATH_SUB_CURRENT) 213 vboxmouse_drv_110_SOURCES = \ 214 vboxmouse.c 215 216 DLLS += vboxmouse_drv_111 217 vboxmouse_drv_111_TEMPLATE = VBoxGuestR3XOrgMod 218 vboxmouse_drv_111_DEFS := $(vboxmouse_drv_70_DEFS) NO_ANSIC 219 vboxmouse_drv_111_INCS := \ 220 $(vboxmouse_xorg_INCS) \ 221 $(VBOX_PATH_X11_ROOT)/xorg-server-1.11.0 \ 222 $(PATH_SUB_CURRENT) 223 vboxmouse_drv_111_SOURCES = \ 224 vboxmouse.c 225 226 DLLS += vboxmouse_drv_112 227 vboxmouse_drv_112_TEMPLATE = VBoxGuestR3XOrgMod 228 vboxmouse_drv_112_DEFS := $(vboxmouse_drv_70_DEFS) NO_ANSIC 229 vboxmouse_drv_112_INCS := \ 230 $(vboxmouse_xorg_INCS) \ 231 $(VBOX_PATH_X11_ROOT)/xorg-server-1.12.0 \ 232 $(PATH_SUB_CURRENT) 233 vboxmouse_drv_112_SOURCES = \ 234 vboxmouse.c 235 235 236 236 endif # neq ($(KBUILD_TARGET),linux) … … 249 249 250 250 ifdef VBOX_WITH_TESTCASES 251 # ifndef VBOX_ONLY_ADDITIONS251 # ifndef VBOX_ONLY_ADDITIONS 252 252 ifndef VBOX_USE_SYSTEM_XORG_HEADERS 253 253 ifeq ($(KBUILD_TARGET),linux) … … 259 259 TESTING += $(vboxmouse_drv_0_OUTDIR)/tstvboxmouse68.run 260 260 OTHERS += $(vboxmouse_drv_0_OUTDIR)/tstvboxmouse68.run 261 $$(vboxmouse_drv_0_OUTDIR)/tstvboxmouse68.run: $$(vboxmouse_drv_1_STAGE_TARGET)261 $$(vboxmouse_drv_0_OUTDIR)/tstvboxmouse68.run: $$(vboxmouse_drv_1_STAGE_TARGET) 262 262 $(QUIET)$(call MSG_L1,Checking for unresolved symbols in $<) 263 263 $(QUIET)/bin/sh $(PATH_ROOT)/src/bldprogs/checkUndefined.sh $(KBUILD_HOST) \ … … 266 266 endif 267 267 268 ##269 # Using the extra expansion to replace $(ver) before eval, thus everything270 # else needs escaped dollars.268 ## 269 # Using the extra expansion to replace $(ver) before eval, thus everything 270 # else needs escaped dollars. 271 271 define def_vboxmouse_test 272 272 TESTING += $$(vboxmouse_drv$(ver)_0_OUTDIR)/tstvboxmouse$(ver).run … … 277 277 $$(vboxmouse_drv$(ver)_1_STAGE_TARGET) $$(VBOXMOUSE_SRC_PATH)/../undefined_xfree86 $(VBOXMOUSE_SRC_PATH)/../undefined_xfree86_modules $$(VBOXMOUSE_SRC_PATH)/../undefined_xorg 278 278 $$(QUIET)$$(APPEND) -t "$$@" "done" 279 endef279 endef 280 280 281 281 $(foreach ver, _70 _71 _13 _14 _15 _16, $(eval $(def_vboxmouse_test))) 282 282 283 ifneq ($(KBUILD_TARGET), 283 ifneq ($(KBUILD_TARGET),linux) 284 284 $(foreach ver, _17 _18 _19 _110 _111 _112 _113, $(eval $(def_vboxmouse_test))) 285 285 … … 290 290 endif # eq ($(KBUILD_TARGET),linux) 291 291 endif # ! VBOX_USE_SYSTEM_XORG_HEADERS 292 # endif # ! VBOX_ONLY_ADDITIONS292 # endif # ! VBOX_ONLY_ADDITIONS 293 293 endif # VBOX_WITH_TESTCASES 294 294
Note:
See TracChangeset
for help on using the changeset viewer.