Changeset 762 in vbox for trunk/src/VBox/Additions
- Timestamp:
- Feb 7, 2007 11:15:42 PM (18 years ago)
- Location:
- trunk/src/VBox/Additions
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/common/VBoxGuestLib/Makefile
r1 r762 32 32 endif 33 33 endif 34 ifdef VBOX_WITH_LINUX_ADDITIONS 34 ifdef VBOX_WITH_LINUX_ADDITIONS_32BIT_R0 35 35 LIBRARIES += \ 36 36 VBoxGuestLibLinux \ -
trunk/src/VBox/Additions/linux/daemon/Makefile
r1 r762 26 26 PROGRAMS = vboxadd-timesync 27 27 28 vboxadd-timesync_TEMPLATE = VBOXLNX32GUESTR3EXE 28 vboxadd-timesync_TEMPLATE = VBOXLNX32GUESTR3EXENOCPP 29 29 vboxadd-timesync_SOURCES = \ 30 vboxadd_timesync.c supc++.c 30 vboxadd_timesync.c \ 31 supc++.c 31 32 vboxadd-timesync_LIBS = \ 32 $(PATH_LIB)/VBoxGuestLibLinux.a \33 33 $(PATH_LIB)/RuntimeLnx32GuestR3.a 34 # $(PATH_LIB)/VBoxGuestLibLinux.a - what was this doing here? it's ring-0 library from what I can tell... 34 35 vboxadd-timesync_DEFS = _GNU_SOURCE 35 36 # use gcc not g++ as linker to not depend on libstdc++37 TOOL_GCC3_LD = $(TOOL_$(VBOX_GCC32_TOOL)_CC)38 39 # prevent generation of cross reference table (broken with some binutils)40 ## @todo r=bird: Why is this only a problem here and not for the 50 other binaries?41 TOOL_GCC3_LD_MAP = -Wl,-Map -Wl,$(1)42 36 43 37 include $(PATH_KBUILD)/footer.kmk -
trunk/src/VBox/Additions/linux/module/Makefile
r719 r762 23 23 24 24 INSTALLS = vboxmod-bin 25 SYSMODS.linux = vboxadd 25 ifdef VBOX_WITH_LINUX_ADDITIONS_32BIT_R0 26 SYSMODS = vboxadd 27 endif 26 28 27 29 vboxmod-bin_INST = bin/additions/src/vboxadd/ -
trunk/src/VBox/Additions/linux/xgraphics/Makefile
r1 r762 22 22 include $(PATH_KBUILD)/header.kmk 23 23 24 LIBRARIES = vboxvideo vboxvideo_so_70 vboxvideo_so_71 25 OTHERS = \ 26 $(PATH_BIN)/additions/vboxvideo_drv.o \ 27 $(PATH_BIN)/additions/vboxvideo_drv_70.so \ 28 $(PATH_BIN)/additions/vboxvideo_drv_71.so 29 OTHER_CLEAN = $(OTHERS) 24 SYSMODS = vboxvideo_drv 25 DLLS = vboxvideo_drv_70 vboxvideo_drv_71 30 26 31 vboxvideo_NOINST = 132 vboxvideo_TEMPLATE = VBOXLNX32GUESTR333 vboxvideo_SOURCES = \34 vboxvideo.c \35 vboxutils.c36 27 37 vboxvideo_so_70_NOINST = 1 38 vboxvideo_so_70_TEMPLATE = VBOXLNX32GUESTR3 39 vboxvideo_so_70_SOURCES = \ 40 $(vboxvideo_SOURCES) 41 42 vboxvideo_so_71_NOINST = 1 43 vboxvideo_so_71_TEMPLATE = VBOXLNX32GUESTR3 44 vboxvideo_so_71_SOURCES = \ 45 $(vboxvideo_SOURCES) 46 28 vboxvideo_drv_TEMPLATE = VBOXLNX32GUESTR3EXE 29 vboxvideo_drv_SYSSUFF = .o 30 vboxvideo_drv_DEFS = \ 31 linux __i386__ _POSIX_C_SOURCE=199309L _POSIX_SOURCE _XOPEN_SOURCE \ 32 _BSD_SOURCE _SVID_SOURCE _GNU_SOURCE SHAPE XINPUT XKB LBX XAPPGROUP \ 33 XCSECURITY TOGCUP XF86BIGFONT DPMSExtension PIXPRIV PANORAMIX RENDER \ 34 GCCUSESGAS AVOID_GLYPHBLT PIXPRIV SINGLEDEPTH XFreeXDGA XvExtension \ 35 XFree86LOADER XFree86Server XF86VIDMODE XvMCExtension SMART_SCHEDULE \ 36 BUILDDEBUG X_BYTE_ORDER=X_LITTLE_ENDIAN DNDEBUG FUNCPROTO=15 NARROWPROTO \ 37 IN_MODULE XFree86Module \ 38 IN_RING3 VBOX 39 vboxvideo_drv_CFLAGS.linux := \ 40 -fno-merge-constants -Wno-conversion -Wno-unused-parameter \ 41 $(VBOX_GCC_Wno-variadic-macros) 42 vboxvideo_drv_LDFLAGS.release = -S 47 43 ARGB_CURSORS=1 48 44 ifdef ARGB_CURSORS 49 vboxvideo_ INCS = \45 vboxvideo_drv_INCS = \ 50 46 ../x11include/4.3/include \ 51 47 ../x11include/4.3/include/extensions \ … … 75 71 ../x11include/4.3/programs/Xserver/Xext 76 72 else 77 vboxvideo_ INCS = \73 vboxvideo_drv_INCS = \ 78 74 ../x11include/4.2/exports/include/X11 \ 79 75 ../x11include/4.2/include \ … … 103 99 ../x11include/4.2/programs/Xserver/Xext 104 100 endif 101 vboxvideo_drv_SOURCES = \ 102 vboxvideo.c \ 103 vboxutils.c 105 104 106 vboxvideo_so_70_INCS = \ 105 106 vboxvideo_drv_70_TEMPLATE = VBOXLNX32GUESTR3DLLNOCPP 107 vboxvideo_drv_70_DEFS := \ 108 XFree86Server IN_MODULE XFree86Module XFree86LOADER \ 109 IN_RING3 VBOX XORG_7X PIC RENDER=1 110 vboxvideo_drv_70_CFLAGS.linux := \ 111 -Wno-conversion -Wno-unused-parameter \ 112 $(VBOX_GCC_Wno-variadic-macros) 113 vboxvideo_drv_70_LDFLAGS = -s 114 vboxvideo_drv_70_INCS = \ 107 115 ../x11include/7.0 \ 108 116 ../x11include/7.0/X11 \ 109 117 ../x11include/7.0/xorg 118 vboxvideo_drv_70_SOURCES = \ 119 $(vboxvideo_drv_SOURCES) 110 120 111 vboxvideo_so_71_INCS = \ 121 122 vboxvideo_drv_71_TEMPLATE = VBOXLNX32GUESTR3DLLNOCPP 123 vboxvideo_drv_71_DEFS := $(vboxvideo_drv_70_DEFS) 124 vboxvideo_drv_71_CFLAGS.linux := $(vboxvideo_drv_70_CFLAGS.linux) 125 vboxvideo_drv_71_LDFLAGS = -s 126 vboxvideo_drv_71_INCS = \ 112 127 ../x11include/7.1 \ 113 128 ../x11include/7.1/X11 \ 114 129 ../x11include/7.1/xorg 130 vboxvideo_drv_71_SOURCES = \ 131 $(vboxvideo_drv_SOURCES) 115 132 116 vboxvideo_DEFS = \117 linux __i386__ _POSIX_C_SOURCE=199309L _POSIX_SOURCE _XOPEN_SOURCE \118 _BSD_SOURCE _SVID_SOURCE _GNU_SOURCE SHAPE XINPUT XKB LBX XAPPGROUP \119 XCSECURITY TOGCUP XF86BIGFONT DPMSExtension PIXPRIV PANORAMIX RENDER \120 GCCUSESGAS AVOID_GLYPHBLT PIXPRIV SINGLEDEPTH XFreeXDGA XvExtension \121 XFree86LOADER XFree86Server XF86VIDMODE XvMCExtension SMART_SCHEDULE \122 BUILDDEBUG X_BYTE_ORDER=X_LITTLE_ENDIAN DNDEBUG FUNCPROTO=15 NARROWPROTO \123 IN_MODULE XFree86Module \124 IN_RING3 VBOX125 126 vboxvideo_CFLAGS.linux := \127 -fno-merge-constants -Wno-conversion -Wno-unused-parameter \128 $(VBOX_GCC_Wno-variadic-macros)129 130 vboxvideo_so_70_DEFS := \131 XFree86Server IN_MODULE XFree86Module XFree86LOADER \132 IN_RING3 VBOX XORG_7X PIC RENDER=1133 vboxvideo_so_71_DEFS := $(vboxvideo_so_70_DEFS)134 135 vboxvideo_so_70_CFLAGS.linux := \136 -fPIC -Wno-conversion -Wno-unused-parameter \137 $(VBOX_GCC_Wno-variadic-macros)138 vboxvideo_so_71_CFLAGS.linux := $(vboxvideo_so_70_CFLAGS.linux)139 133 140 134 include $(PATH_KBUILD)/footer.kmk 141 135 142 $(PATH_BIN)/additions/vboxvideo_drv.o: vboxvideo.c vboxutils.c143 $(call MSG_L1,Linking $@)144 $(QUIET)$(MKDIR) -p $(PATH_BIN)/additions145 $(QUIET)ld -r -o $@ $(PATH_vboxvideo)/vboxvideo.o $(PATH_vboxvideo)/vboxutils.o146 147 $(PATH_BIN)/additions/vboxvideo_drv_70.so: vboxvideo.c vboxutils.c148 $(call MSG_L1,Linking $@)149 $(QUIET)$(MKDIR) -p $(PATH_BIN)/additions150 $(QUIET)$(TOOL_$(VBOX_GCC_TOOL)_CC) -shared -s -o $@ $(PATH_vboxvideo_so_70)/vboxvideo.o $(PATH_vboxvideo_so_70)/vboxutils.o151 152 $(PATH_BIN)/additions/vboxvideo_drv_71.so: vboxvideo.c vboxutils.c153 $(call MSG_L1,Linking $@)154 $(QUIET)$(MKDIR) -p $(PATH_BIN)/additions155 $(QUIET)$(TOOL_$(VBOX_GCC_TOOL)_CC) -shared -s -o $@ $(PATH_vboxvideo_so_71)/vboxvideo.o $(PATH_vboxvideo_so_71)/vboxutils.o156 -
trunk/src/VBox/Additions/linux/xmouse/Makefile
r52 r762 22 22 include $(PATH_KBUILD)/header.kmk 23 23 24 LIBRARIES = vboxmouse vboxmouse_so_70 vboxmouse_so_71 25 OTHERS = \ 26 $(PATH_BIN)/additions/vboxmouse_drv.o \ 27 $(PATH_BIN)/additions/vboxmouse_drv_70.so \ 28 $(PATH_BIN)/additions/vboxmouse_drv_71.so 29 OTHER_CLEAN = $(OTHERS) 24 SYSMODS = vboxmouse_drv 25 DLLS = vboxmouse_drv_70 vboxmouse_drv_71 26 #LIBRARIES = vboxmouse vboxmouse_so_70 vboxmouse_so_71 27 #OTHERS = \ 28 # $(PATH_BIN)/additions/vboxmouse_drv.o \ 29 # $(PATH_BIN)/additions/vboxmouse_drv_70.so \ 30 # $(PATH_BIN)/additions/vboxmouse_drv_71.so 31 #OTHER_CLEAN = $(OTHERS) 30 32 31 vboxmouse_NOINST = 132 vboxmouse_TEMPLATE = VBOXLNX32GUESTR333 vboxmouse_SOURCES = \34 mouse.c \35 pnp.c \36 VBoxUtils.c37 33 38 vboxmouse_so_70_NOINST = 1 39 vboxmouse_so_70_TEMPLATE = VBOXLNX32GUESTR3 40 vboxmouse_so_70_SOURCES = \ 41 xorg70/mouse.c \ 42 xorg70/pnp.c \ 43 VBoxUtils.c 44 45 vboxmouse_so_71_NOINST = 1 46 vboxmouse_so_71_TEMPLATE = VBOXLNX32GUESTR3 47 vboxmouse_so_71_SOURCES = \ 48 xorg71/mouse.c \ 49 xorg71/pnp.c \ 50 VBoxUtils.c 51 52 vboxmouse_INCS = \ 34 vboxmouse_drv_TEMPLATE = VBOXLNX32GUESTR3EXE 35 vboxmouse_drv_DEFS = \ 36 linux __i386__ _POSIX_C_SOURCE=199309L _POSIX_SOURCE _XOPEN_SOURCE \ 37 _BSD_SOURCE _SVID_SOURCE _GNU_SOURCE SHAPE XINPUT XKB LBX XAPPGROUP \ 38 XCSECURITY TOGCUP XF86BIGFONT DPMSExtension PIXPRIV PANORAMIX RENDER \ 39 GCCUSESGAS AVOID_GLYPHBLT PIXPRIV SINGLEDEPTH XFreeXDGA XvExtension \ 40 XFree86LOADER XFree86Server XF86VIDMODE XvMCExtension SMART_SCHEDULE \ 41 BUILDDEBUG X_BYTE_ORDER=X_LITTLE_ENDIAN DNDEBUG FUNCPROTO=15 NARROWPROTO \ 42 IN_MODULE XFree86Module PNP_MOUSE \ 43 IN_RING3 VBOX 44 vboxmouse_drv_CFLAGS = -fno-merge-constants 45 vboxmouse_drv_SYSSUFF = .o 46 vboxmouse_drv_LDFLAGS.release = -S 47 vboxmouse_drv_INCS = \ 53 48 ../x11include/4.2/exports/include/X11 \ 54 49 ../x11include/4.2/include \ … … 61 56 ../x11include/4.2/programs/Xserver/mi \ 62 57 $(PATH_ROOT)/include 58 vboxmouse_drv_SOURCES = \ 59 mouse.c \ 60 pnp.c \ 61 VBoxUtils.c 63 62 64 vboxmouse_so_70_INCS = \ 63 64 vboxmouse_drv_70_TEMPLATE = VBOXLNX32GUESTR3DLLNOCPP 65 vboxmouse_drv_70_DEFS = \ 66 XFree86Server IN_MODULE XFree86Module XFree86LOADER XINPUT \ 67 IN_RING3 VBOX XORG_7X PIC 68 vboxmouse_drv_70_LDFLAGS = -s 69 vboxmouse_drv_70_INCS = \ 65 70 ../x11include/7.0 \ 66 71 ../x11include/7.0/X11 \ 67 72 ../x11include/7.0/xorg 73 vboxmouse_drv_70_SOURCES = \ 74 xorg70/mouse.c \ 75 xorg70/pnp.c \ 76 VBoxUtils.c 68 77 69 vboxmouse_so_71_INCS = \ 78 79 vboxmouse_drv_71_TEMPLATE = VBOXLNX32GUESTR3DLLNOCPP 80 vboxmouse_drv_71_DEFS = $(vboxmouse_drv_70_DEFS) 81 vboxmouse_drv_71_LDFLAGS = -s 82 vboxmouse_drv_71_INCS = \ 70 83 ../x11include/7.1 \ 71 84 ../x11include/7.1/X11 \ 72 85 ../x11include/7.1/xorg 73 74 vboxmouse_DEFS = \ 75 linux __i386__ _POSIX_C_SOURCE=199309L _POSIX_SOURCE _XOPEN_SOURCE \ 76 _BSD_SOURCE _SVID_SOURCE _GNU_SOURCE SHAPE XINPUT XKB LBX XAPPGROUP \ 77 XCSECURITY TOGCUP XF86BIGFONT DPMSExtension PIXPRIV PANORAMIX RENDER \ 78 GCCUSESGAS AVOID_GLYPHBLT PIXPRIV SINGLEDEPTH XFreeXDGA XvExtension \ 79 XFree86LOADER XFree86Server XF86VIDMODE XvMCExtension SMART_SCHEDULE \ 80 BUILDDEBUG X_BYTE_ORDER=X_LITTLE_ENDIAN DNDEBUG FUNCPROTO=15 NARROWPROTO \ 81 IN_MODULE XFree86Module PNP_MOUSE \ 82 IN_RING3 VBOX 83 84 vboxmouse_so_70_DEFS = \ 85 XFree86Server IN_MODULE XFree86Module XFree86LOADER XINPUT \ 86 IN_RING3 VBOX XORG_7X PIC 87 88 vboxmouse_so_71_DEFS := $(vboxmouse_so_70_DEFS) 89 90 vboxmouse_CFLAGS := -fno-merge-constants 91 vboxmouse_so_70_CFLAGS := -fPIC 92 vboxmouse_so_71_CFLAGS := $(vboxmouse_so_70_CFLAGS) 86 vboxmouse_drv_71_SOURCES = \ 87 xorg71/mouse.c \ 88 xorg71/pnp.c \ 89 VBoxUtils.c 93 90 94 91 95 92 include $(PATH_KBUILD)/footer.kmk 96 93 97 $(PATH_BIN)/additions/vboxmouse_drv.o: mouse.c pnp.c VBoxUtils.c 98 $(call MSG_L1,Linking $@) 99 $(QUIET)$(MKDIR) -p $(PATH_BIN)/additions 100 $(QUIET)ld -r -o $@ $(PATH_vboxmouse)/mouse.o $(PATH_vboxmouse)/pnp.o $(PATH_vboxmouse)/VBoxUtils.o 94 #$(PATH_BIN)/additions/vboxmouse_drv.o: mouse.c pnp.c VBoxUtils.c 95 # $(call MSG_L1,Linking $@) 96 # $(QUIET)$(MKDIR) -p $(PATH_BIN)/additions 97 # $(QUIET)ld -r -o $@ $(PATH_vboxmouse)/mouse.o $(PATH_vboxmouse)/pnp.o $(PATH_vboxmouse)/VBoxUtils.o 98 # 99 # This is a DLL... 100 #$(PATH_BIN)/additions/vboxmouse_drv_70.so: xorg70/mouse.c xorg70/pnp.c VBoxUtils.c 101 # $(call MSG_L1,Linking $@) 102 # $(QUIET)$(MKDIR) -p $(PATH_BIN)/additions 103 # $(QUIET)$(TOOL_$(VBOX_GCC_TOOL)_CC) -shared -s -o $@ $(PATH_vboxmouse_drv_70)/xorg70/mouse.o $(PATH_vboxmouse_drv_70)/xorg70/pnp.o $(PATH_vboxmouse_drv_70)/VBoxUtils.o 104 # 105 #$(PATH_BIN)/additions/vboxmouse_drv_71.so: xorg71/mouse.c xorg71/pnp.c VBoxUtils.c 106 # $(call MSG_L1,Linking $@) 107 # $(QUIET)$(MKDIR) -p $(PATH_BIN)/additions 108 # $(QUIET)$(TOOL_$(VBOX_GCC_TOOL)_CC) -shared -s -o $@ $(PATH_vboxmouse_drv_71)/xorg71/mouse.o $(PATH_vboxmouse_drv_71)/xorg71/pnp.o $(PATH_vboxmouse_drv_71)/VBoxUtils.o 101 109 102 # This is a DLL...103 $(PATH_BIN)/additions/vboxmouse_drv_70.so: xorg70/mouse.c xorg70/pnp.c VBoxUtils.c104 $(call MSG_L1,Linking $@)105 $(QUIET)$(MKDIR) -p $(PATH_BIN)/additions106 $(QUIET)$(TOOL_$(VBOX_GCC_TOOL)_CC) -shared -s -o $@ $(PATH_vboxmouse_so_70)/xorg70/mouse.o $(PATH_vboxmouse_so_70)/xorg70/pnp.o $(PATH_vboxmouse_so_70)/VBoxUtils.o107 108 $(PATH_BIN)/additions/vboxmouse_drv_71.so: xorg71/mouse.c xorg71/pnp.c VBoxUtils.c109 $(call MSG_L1,Linking $@)110 $(QUIET)$(MKDIR) -p $(PATH_BIN)/additions111 $(QUIET)$(TOOL_$(VBOX_GCC_TOOL)_CC) -shared -s -o $@ $(PATH_vboxmouse_so_71)/xorg71/mouse.o $(PATH_vboxmouse_so_71)/xorg71/pnp.o $(PATH_vboxmouse_so_71)/VBoxUtils.o112
Note:
See TracChangeset
for help on using the changeset viewer.