- Timestamp:
- Mar 23, 2009 6:04:28 PM (16 years ago)
- Location:
- trunk/src/VBox/Additions/common
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/common/Makefile.kmk
r17723 r18160 33 33 endif 34 34 ifdef VBOX_WITH_CROGL 35 include $(PATH_SUB_CURRENT)/crOpenGL/Makefile.kmk35 include $(PATH_SUB_CURRENT)/crOpenGL/Makefile.kmk 36 36 endif 37 37 -
trunk/src/VBox/Additions/common/crOpenGL/Makefile.kmk
r18146 r18160 37 37 38 38 ifndef VBOX_OSE ## @todo Solaris too? 39 DLLS .linux+= \39 DLLS += \ 40 40 VBoxOGL \ 41 41 VBoxOGLarrayspu \ … … 45 45 endif 46 46 47 if eq ($(KBUILD_TARGET),linux)47 if1of ($(KBUILD_TARGET),linux solaris) 48 48 #VBoxOGL_DRI = 1 49 VBoxOGL_FAKEDRI = 1 49 ifneq ($(KBUILD_TARGET),solaris) # temporary 50 VBoxOGL_FAKEDRI = 1 51 endif 50 52 VBOX_PATH_MESA_SOURCE = $(VBOX_PATH_X11_ROOT)/mesa-7.2 51 53 endif … … 56 58 VBoxOGL_TEMPLATE = VBOXCROGLR3GUESTDLL 57 59 VBoxOGL_INCS = . 58 VBoxOGL_INCS.linux = \ 60 if1of ($(KBUILD_TARGET),linux solaris) 61 VBoxOGL_INCS += \ 59 62 $(VBOX_PATH_X11_ROOT)/libXdamage-1.1 \ 60 63 $(VBOX_PATH_X11_ROOT)/libXcomposite-0.4.0 \ … … 72 75 $(VBOX_PATH_MESA_SOURCE)/src/mesa/drivers/dri/common \ 73 76 $(PATH_ROOT)/src/VBox/Additions/x11/x11include/libdrm-2.4.5 74 VBoxOGL_DEFS.linux += VBOX_NO_NATIVEGL 77 VBoxOGL_DEFS += VBOX_NO_NATIVEGL 78 endif 75 79 ifdef VBoxOGL_DRI 76 80 VBoxOGL_DEFS += VBOXOGL_DRI IN_DRI_DRIVER … … 90 94 $(VBOX_PATH_CROGL_GENFILES)/cr_gl.h 91 95 endif 92 VBoxOGL_SOURCES 96 VBoxOGL_SOURCES += \ 93 97 load.c \ 94 98 stub.c \ … … 97 101 $(VBOX_PATH_CROGL_GENFILES)/NULLfuncs.c \ 98 102 $(VBOX_PATH_CROGL_GENFILES)/tsfuncs.c 99 VBoxOGL_SOURCES.linux = \ 103 104 if1of ($(KBUILD_TARGET),linux solaris) 105 VBoxOGL_SOURCES += \ 100 106 glx.c \ 101 107 xfont.c 102 ifdef VBoxOGL_DRI103 VBoxOGL_SOURCES.linux+= \108 ifdef VBoxOGL_DRI 109 VBoxOGL_SOURCES += \ 104 110 $(VBOX_PATH_CROGL_GENFILES)/DD_gl.c \ 105 111 $(VBOX_PATH_CROGL_GENFILES)/linux_exports_dri.asm \ 106 112 dri_drv.c 107 else ifdef VBoxOGL_FAKEDRI108 VBoxOGL_SOURCES.linux+= \113 else ifdef VBoxOGL_FAKEDRI 114 VBoxOGL_SOURCES += \ 109 115 $(VBOX_PATH_CROGL_GENFILES)/linux_glxapi_exports.asm \ 110 116 $(VBOX_PATH_CROGL_GENFILES)/linux_exports_dri.asm \ 111 117 fakedri_drv.c 112 else 118 else 119 VBoxOGL_SOURCES.solaris += \ 120 $(VBOX_PATH_CROGL_GENFILES)/sunos_exports.c 113 121 VBoxOGL_SOURCES.linux += \ 114 122 $(VBOX_PATH_CROGL_GENFILES)/linux_exports.asm 115 endif 123 endif 124 endif 125 116 126 VBoxOGL_SOURCES.win = \ 117 127 wgl.c \ … … 124 134 $(VBOX_PATH_CROGL_GENFILES)/NULLfuncs.c \ 125 135 $(VBOX_PATH_CROGL_GENFILES)/tsfuncs.c 126 VBoxOGL_CLEAN.linux = \ 136 if1of ($(KBUILD_TARGET),linux solaris) 137 VBoxOGL_CLEAN += \ 127 138 $(VBOX_PATH_CROGL_GENFILES)/linux_exports.asm 139 endif 128 140 VBoxOGL_CLEAN.win = \ 129 141 $(VBOX_PATH_CROGL_GENFILES)/windows_exports.asm \ 130 142 $(VBOX_PATH_CROGL_GENFILES)/cropengl.def 131 ifdef VBoxOGL_DRI 132 VBoxOGL_CLEAN.linux += \ 143 if1of ($(KBUILD_TARGET),linux solaris) 144 ifdef VBoxOGL_DRI 145 VBoxOGL_CLEAN += \ 133 146 $(VBOX_PATH_CROGL_GENFILES)/cr_gl.h \ 134 147 $(VBOX_PATH_CROGL_GENFILES)/DD_gl.h \ 135 148 $(VBOX_PATH_CROGL_GENFILES)/DD_gl.c 136 else ifdef VBoxOGL_FAKEDRI137 VBoxOGL_CLEAN.linux+= \149 else ifdef VBoxOGL_FAKEDRI 150 VBoxOGL_CLEAN += \ 138 151 $(VBOX_PATH_CROGL_GENFILES)/cr_gl.h \ 139 152 $(VBOX_PATH_CROGL_GENFILES)/linux_glxapi_exports.asm 153 endif 140 154 endif 141 155 VBoxOGL_LIBS = \ … … 173 187 | $$(dir $$@) 174 188 $(call VBOX_CROGL_PYTHON_ENV,$(VBOX_PATH_CROGL_PYTHON_INCLUDE),$@) $(VBOX_BLD_PYTHON) $< $(VBOX_PATH_CROGL_GLAPI) 175 else if eq ($(KBUILD_TARGET),linux)189 else if1of ($(KBUILD_TARGET),linux solaris) 176 190 $(VBOX_PATH_CROGL_GENFILES)/getprocaddress.c: $(PATH_SUB_CURRENT)/getprocaddress.py $(VBOX_CROGL_API_FILES) | $$(dir $$@) 177 191 $(call VBOX_CROGL_PYTHON_ENV,$(VBOX_PATH_CROGL_PYTHON_INCLUDE),$@) $(VBOX_BLD_PYTHON) $< $(VBOX_PATH_CROGL_GLAPI) 178 192 if !defined(VBoxOGL_DRI) && !defined(VBoxOGL_FAKEDRI) 193 ifeq ($(KBUILD_TARGET),solaris) 194 $(VBOX_PATH_CROGL_GENFILES)/sunos_exports.c: \ 195 $(PATH_SUB_CURRENT)/SunOS_exports.py \ 196 $(VBOX_CROGL_API_FILES) $(PATH_SUB_CURRENT)/entrypoints.py \ 197 | $$(dir $$@) 198 $(call VBOX_CROGL_PYTHON_ENV,$(VBOX_PATH_CROGL_PYTHON_INCLUDE),$@) $(VBOX_BLD_PYTHON) $< $(VBOX_PATH_CROGL_GLAPI) 199 else 179 200 $(VBOX_PATH_CROGL_GENFILES)/linux_exports.asm: \ 180 201 $(PATH_SUB_CURRENT)/Linux_i386_exports.py \ … … 182 203 | $$(dir $$@) 183 204 $(call VBOX_CROGL_PYTHON_ENV,$(VBOX_PATH_CROGL_PYTHON_INCLUDE),$@) $(VBOX_BLD_PYTHON) $< $(VBOX_PATH_CROGL_GLAPI) 205 endif 184 206 else ifdef VBoxOGL_DRI 185 207 $(VBOX_PATH_CROGL_GENFILES)/cr_gl.h: $(PATH_SUB_CURRENT)/cr_gl.py $(VBOX_CROGL_API_FILES) | $$(dir $$@) -
trunk/src/VBox/Additions/common/crOpenGL/SunOS_exports.py
r15532 r18160 6 6 import entrypoints 7 7 8 hacks = [ "TexImage3D"]8 hacks = [] 9 9 10 10 entrypoints.GenerateEntrypoints(hacks)
Note:
See TracChangeset
for help on using the changeset viewer.