Changeset 6639 in vbox for trunk/src/VBox/Additions/x11
- Timestamp:
- Jan 31, 2008 7:25:14 AM (17 years ago)
- Location:
- trunk/src/VBox/Additions/x11/xgraphics
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/x11/xgraphics/Makefile.kmk
r6623 r6639 20 20 21 21 if1of ($(BUILD_TARGET),linux l4) 22 ## @todo figure out vboxvideo_drv on solaris (seems to be a kernel module) 22 23 SYSMODS = vboxvideo_drv 23 DLLS = vboxvideo_drv_70 vboxvideo_drv_71 vboxvideo_drv_13 vboxvideo_drv_1424 25 24 # for BUILD_TARGET=l4 26 25 SUFF_DLL = .so 27 26 endif 27 DLLS = vboxvideo_drv_70 vboxvideo_drv_71 vboxvideo_drv_13 vboxvideo_drv_14 28 29 # 30 # vboxvideo_drv 31 # 32 if1of ($(BUILD_TARGET),linux l4) 28 33 vboxvideo_drv_TEMPLATE = VBOXLNX32GUESTR3EXE 29 34 vboxvideo_drv_SYSSUFF = .o … … 104 109 vboxvideo_drv_LIBS = \ 105 110 $(VBOX_LIB_VBGL_R3_XFREE86) 106 107 vboxvideo_drv_70_TEMPLATE = VBOXLNX32GUESTR3DLLNOCPP 111 endif # target linux, l4 112 113 114 # 115 # vboxvideo_drv_70 116 # 117 if1of ($(BUILD_TARGET),linux l4) 118 vboxvideo_drv_70_TEMPLATE = VBOXLNX32GUESTR3DLLNOCPP 119 vboxvideo_drv_70_CFLAGS.linux := \ 120 -Wno-conversion -Wno-unused-parameter \ 121 $(VBOX_GCC_Wno-variadic-macros) -std=c99 122 vboxvideo_drv_70_LDFLAGS = -s 123 else 124 vboxvideo_drv_70_TEMPLATE = VBOXGUESTR3DLL 125 vboxvideo_drv_70_CFLAGS = -std=c99 126 endif 127 ## @todo PIC should be defined in the template on linux 108 128 vboxvideo_drv_70_DEFS := \ 109 129 XFree86Server IN_MODULE XFree86Module XFree86LOADER \ 110 130 IN_RING3 VBOX XORG_7X PIC RENDER=1 111 vboxvideo_drv_70_CFLAGS.linux := \ 112 -Wno-conversion -Wno-unused-parameter \ 113 $(VBOX_GCC_Wno-variadic-macros) -std=c99 114 vboxvideo_drv_70_LDFLAGS = -s 131 vboxvideo_drv_70_DEFS.solaris = _XPG6 115 132 vboxvideo_drv_70_INCS = \ 116 133 $(VBOX_PATH_X11_XORG_7_0) \ … … 125 142 $(VBOX_LIB_VBGL_R3_SHARED) 126 143 127 vboxvideo_drv_71_TEMPLATE = VBOXLNX32GUESTR3DLLNOCPP 144 145 # 146 # vboxvideo_drv_71 147 # 148 if1of ($(BUILD_TARGET),linux l4) 149 vboxvideo_drv_71_TEMPLATE = VBOXLNX32GUESTR3DLLNOCPP 150 vboxvideo_drv_71_CFLAGS.linux := $(vboxvideo_drv_70_CFLAGS.linux) 151 vboxvideo_drv_71_LDFLAGS = -s 152 else 153 vboxvideo_drv_71_TEMPLATE = VBOXGUESTR3DLL 154 vboxvideo_drv_71_CFLAGS = $(vboxvideo_drv_70_CFLAGS) 155 endif 128 156 vboxvideo_drv_71_DEFS := $(vboxvideo_drv_70_DEFS) 129 vboxvideo_drv_71_CFLAGS.linux := $(vboxvideo_drv_70_CFLAGS.linux) 130 vboxvideo_drv_71_LDFLAGS = -s 157 vboxvideo_drv_71_DEFS.solaris = $(vboxvideo_drv_70_DEFS.solaris) 131 158 vboxvideo_drv_71_INCS = \ 132 159 $(VBOX_PATH_X11_XORG_7_1) \ … … 141 168 $(VBOX_LIB_VBGL_R3_SHARED) 142 169 143 vboxvideo_drv_13_TEMPLATE = VBOXLNX32GUESTR3DLLNOCPP 170 171 # 172 # vboxvideo_drv_13 173 # 174 if1of ($(BUILD_TARGET),linux l4) 175 vboxvideo_drv_13_TEMPLATE = VBOXLNX32GUESTR3DLLNOCPP 176 vboxvideo_drv_13_CFLAGS.linux := $(vboxvideo_drv_70_CFLAGS.linux) 177 vboxvideo_drv_13_LDFLAGS = -s 178 else 179 vboxvideo_drv_13_TEMPLATE = VBOXGUESTR3DLL 180 vboxvideo_drv_13_CFLAGS = $(vboxvideo_drv_70_CFLAGS) 181 endif 144 182 vboxvideo_drv_13_DEFS := $(vboxvideo_drv_70_DEFS) 145 vboxvideo_drv_13_CFLAGS.linux := $(vboxvideo_drv_70_CFLAGS.linux) 146 vboxvideo_drv_13_LDFLAGS = -s 183 vboxvideo_drv_13_DEFS.solaris = $(vboxvideo_drv_70_DEFS.solaris) 147 184 vboxvideo_drv_13_INCS = \ 148 185 $(VBOX_PATH_X11_XORG_1_3) \ … … 157 194 $(VBOX_LIB_VBGL_R3_SHARED) 158 195 159 vboxvideo_drv_14_TEMPLATE = VBOXLNX32GUESTR3DLLNOCPP 196 197 # 198 # vboxvideo_drv_14 199 # 200 if1of ($(BUILD_TARGET),linux l4) 201 vboxvideo_drv_14_TEMPLATE = VBOXLNX32GUESTR3DLLNOCPP 202 vboxvideo_drv_14_CFLAGS.linux := $(vboxvideo_drv_70_CFLAGS.linux) 203 vboxvideo_drv_14_LDFLAGS = -s 204 else 205 vboxvideo_drv_14_TEMPLATE = VBOXGUESTR3DLL 206 vboxvideo_drv_14_CFLAGS = $(vboxvideo_drv_70_CFLAGS) 207 endif 160 208 vboxvideo_drv_14_DEFS := $(vboxvideo_drv_70_DEFS) 161 vboxvideo_drv_14_CFLAGS.linux := $(vboxvideo_drv_70_CFLAGS.linux) 162 vboxvideo_drv_14_LDFLAGS = -s 209 vboxvideo_drv_14_DEFS.solaris = $(vboxvideo_drv_70_DEFS.solaris) 163 210 vboxvideo_drv_14_INCS = \ 164 211 $(VBOX_PATH_X11_XORG_1_4) \ … … 174 221 $(VBOX_LIB_IPRT_GUEST_R3_MINI) \ 175 222 $(VBOX_LIB_VBGL_R3_SHARED) 176 endif 177 178 ifeq ($(BUILD_TARGET),solaris) 179 DLLS = vboxvideo_drv 180 181 vboxvideo_drv_TEMPLATE = VBOXGUESTR3DLL 182 vboxvideo_drv_DEFS := \ 183 XFree86Server XFree86Module XFree86LOADER IN_MODULE XORG_7X RENDER=1 184 vboxvideo_drv_INCS = \ 185 $(VBOX_PATH_X11_XORG_7_1) \ 186 $(VBOX_PATH_X11_XORG_7_1)/X11 \ 187 $(VBOX_PATH_X11_XORG_7_1)/xorg 188 vboxvideo_drv_SOURCES = \ 189 vboxvideo_70.c \ 190 vboxutils-new.c 191 vboxvideo_drv_LIBS = \ 192 $(VBOX_LIB_VBGL_R3_SHARED) \ 193 $(VBOX_LIB_IPRT_GUEST_R3_MINI) \ 194 $(VBOX_LIB_VBGL_R3_SHARED) 195 endif 223 196 224 197 225 include $(PATH_KBUILD)/footer.kmk -
trunk/src/VBox/Additions/x11/xgraphics/vboxvideo_13.c
r6589 r6639 173 173 if (!pScrn->driverPrivate) { 174 174 pScrn->driverPrivate = xcalloc(sizeof(VBOXRec), 1); 175 #ifndef RT_OS_SOLARIS 175 176 ((VBOXPtr)pScrn->driverPrivate)->vbox_fd = -1; 177 #endif 176 178 } 177 179
Note:
See TracChangeset
for help on using the changeset viewer.