Changeset 25595 in vbox for trunk/src/VBox/Additions/common/crOpenGL/Makefile.kmk
- Timestamp:
- Dec 30, 2009 4:42:33 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/common/crOpenGL/Makefile.kmk
r25555 r25595 36 36 VBoxOGLfeedbackspu 37 37 38 if1of ($(KBUILD_TARGET), linux solaris )38 if1of ($(KBUILD_TARGET), linux solaris freebsd) 39 39 DLLS += \ 40 40 VBoxOGL \ … … 45 45 endif 46 46 47 if1of ($(KBUILD_TARGET), linux solaris )47 if1of ($(KBUILD_TARGET), linux solaris freebsd) 48 48 #VBoxOGL_DRI = 1 49 ifn eq ($(KBUILD_TARGET),solaris) # No DRI on Solaris yet49 ifn1of ($(KBUILD_TARGET),solaris freebsd) # No DRI on Solaris yet 50 50 VBoxOGL_FAKEDRI = 1 51 51 endif … … 54 54 # generate the GOT based relocation ASM yet. 55 55 ifdef VBoxOGL_FAKEDRI 56 if1of ($(KBUILD_TARGET).$(KBUILD_TARGET_ARCH),solaris.x86 solaris.amd64 linux.x86 )56 if1of ($(KBUILD_TARGET).$(KBUILD_TARGET_ARCH),solaris.x86 solaris.amd64 linux.x86 freebsd.x86 freebsd.amd64) 57 57 VBOX_OGL_GLX_USE_CSTUBS = 1 58 58 endif … … 66 66 VBoxOGL_TEMPLATE = VBOXCROGLR3GUESTDLL 67 67 VBoxOGL_INCS = . 68 if1of ($(KBUILD_TARGET), linux solaris )68 if1of ($(KBUILD_TARGET), linux solaris freebsd) 69 69 VBoxOGL_INCS += \ 70 70 $(VBOX_PATH_X11_ROOT)/libXdamage-1.1 \ … … 110 110 $(VBOX_PATH_CROGL_GENFILES)/tsfuncs.c 111 111 112 if1of ($(KBUILD_TARGET), linux solaris )112 if1of ($(KBUILD_TARGET), linux solaris freebsd) 113 113 VBoxOGL_SOURCES += \ 114 114 glx.c \ … … 126 126 VBoxOGL_SOURCES.solaris += \ 127 127 $(VBOX_PATH_CROGL_GENFILES)/solaris_exports_dri.asm 128 VBoxOGL_SOURCES.freebsd += \ 129 $(VBOX_PATH_CROGL_GENFILES)/freebsd_exports_dri.asm 128 130 else ifdef VBoxOGL_FAKEDRI 129 131 VBoxOGL_SOURCES += \ … … 132 134 VBoxOGL_SOURCES.solaris += \ 133 135 $(VBOX_PATH_CROGL_GENFILES)/solaris_glxapi_exports.asm \ 134 $(VBOX_PATH_CROGL_GENFILES)/solaris_exports_dri.asm 135 VBoxOGL_SOURCES.linux += \136 $(VBOX_PATH_CROGL_GENFILES)/solaris_exports_dri.asm \ 137 VBoxOGL_SOURCES.linux += \ 136 138 $(VBOX_PATH_CROGL_GENFILES)/linux_glxapi_exports.asm \ 137 139 $(VBOX_PATH_CROGL_GENFILES)/linux_exports_dri.asm 140 VBoxOGL_SOURCES.freebsd += \ 141 $(VBOX_PATH_CROGL_GENFILES)/freebsd_glxapi_exports.asm \ 142 $(VBOX_PATH_CROGL_GENFILES)/freebsd_exports_dri.asm \ 143 138 144 else 139 145 VBoxOGL_SOURCES.solaris += \ … … 141 147 VBoxOGL_SOURCES.linux += \ 142 148 $(VBOX_PATH_CROGL_GENFILES)/linux_exports.c 149 VBoxOGL_SOURCES.freebsd += \ 150 $(VBOX_PATH_CROGL_GENFILES)/freebsd_exports.c 143 151 endif 144 152 else … … 147 155 VBoxOGL_SOURCES.solaris += \ 148 156 $(VBOX_PATH_CROGL_GENFILES)/solaris_exports.c 157 VBoxOGL_SOURCES.freebsd += \ 158 $(VBOX_PATH_CROGL_GENFILES)/freebsd_exports.c 149 159 endif 150 160 endif … … 187 197 $(VBOX_LIB_OGL_CRUTIL) \ 188 198 $(PATH_LIB)/additions/VBoxOGLspuload$(VBOX_SUFF_LIB) 189 if1of ($(KBUILD_TARGET), linux solaris )199 if1of ($(KBUILD_TARGET), linux solaris freebsd) 190 200 VBoxOGL_LIBS += \ 191 201 $(PATH_LIB)/libXcomposite.so … … 222 232 $(call MSG_GENERATE,python,$@,$<) 223 233 $(QUIET)$(call VBOX_CROGL_PYTHON_ENV,$(VBOX_PATH_CROGL_PYTHON_INCLUDE),$@) $(VBOX_BLD_PYTHON) $< $(VBOX_PATH_CROGL_GLAPI) 224 else if1of ($(KBUILD_TARGET), linux solaris )234 else if1of ($(KBUILD_TARGET), linux solaris freebsd) 225 235 $(VBOX_PATH_CROGL_GENFILES)/getprocaddress.c: $(PATH_SUB_CURRENT)/getprocaddress.py $(VBOX_CROGL_API_FILES) | $$(dir $$@) 226 236 $(call MSG_GENERATE,python,$@,$<) … … 234 244 $(call MSG_GENERATE,python,$@,$<) 235 245 $(QUIET)$(call VBOX_CROGL_PYTHON_ENV,$(VBOX_PATH_CROGL_PYTHON_INCLUDE),$@) $(VBOX_BLD_PYTHON) $< $(VBOX_PATH_CROGL_GLAPI) 246 else ifeq ($(KBUILD_TARGET),freebsd) 247 $(VBOX_PATH_CROGL_GENFILES)/freebsd_exports.c: \ 248 $(PATH_SUB_CURRENT)/FreeBSD_exports.py \ 249 $(VBOX_CROGL_API_FILES) $(PATH_SUB_CURRENT)/entrypoints.py \ 250 | $$(dir $$@) 251 $(call MSG_GENERATE,python,$@,$<) 252 $(QUIET)$(call VBOX_CROGL_PYTHON_ENV,$(VBOX_PATH_CROGL_PYTHON_INCLUDE),$@) $(VBOX_BLD_PYTHON) $< $(VBOX_PATH_CROGL_GLAPI) 236 253 else 237 254 $(VBOX_PATH_CROGL_GENFILES)/linux_exports.asm: \ … … 255 272 $(VBOX_PATH_CROGL_GENFILES)/solaris_exports_dri.asm: \ 256 273 $(PATH_SUB_CURRENT)/SunOS_i386_exports_dri.py \ 274 $(VBOX_CROGL_API_FILES) $(PATH_SUB_CURRENT)/entrypoints.py \ 275 | $$(dir $$@) 276 $(call MSG_GENERATE,python,$@,$<) 277 $(QUIET)$(call VBOX_CROGL_PYTHON_ENV,$(VBOX_PATH_CROGL_PYTHON_INCLUDE),$@) $(VBOX_BLD_PYTHON) $< $(VBOX_PATH_CROGL_GLAPI) 278 else ifeq ($(KBUILD_TARGET),freebsd) 279 $(VBOX_PATH_CROGL_GENFILES)/freebsd_exports_dri.asm: \ 280 $(PATH_SUB_CURRENT)/FreeBSD_i386_exports_dri.py \ 257 281 $(VBOX_CROGL_API_FILES) $(PATH_SUB_CURRENT)/entrypoints.py \ 258 282 | $$(dir $$@) … … 319 343 VBoxOGLarrayspu_INCS = \ 320 344 array 321 if1of ($(KBUILD_TARGET), linux solaris )345 if1of ($(KBUILD_TARGET), linux solaris freebsd) 322 346 VBoxOGLarrayspu_INCS += \ 323 347 $(VBOX_MESA_INCS) … … 345 369 VBoxOGLpassthroughspu_INCS = \ 346 370 passthrough 347 if1of ($(KBUILD_TARGET), linux solaris )371 if1of ($(KBUILD_TARGET), linux solaris freebsd) 348 372 VBoxOGLpassthroughspu_INCS += \ 349 373 $(VBOX_MESA_INCS) … … 374 398 VBoxOGLpackspu_INCS = \ 375 399 pack 376 if1of ($(KBUILD_TARGET), linux solaris )400 if1of ($(KBUILD_TARGET), linux solaris freebsd) 377 401 VBoxOGLpackspu_INCS += \ 378 402 $(VBOX_MESA_INCS) … … 444 468 VBoxOGLfeedbackspu_INCS = \ 445 469 feedback 446 if1of ($(KBUILD_TARGET), linux solaris )470 if1of ($(KBUILD_TARGET), linux solaris freebsd) 447 471 VBoxOGLfeedbackspu_INCS += \ 448 472 $(VBOX_MESA_INCS)
Note:
See TracChangeset
for help on using the changeset viewer.