Changeset 6665 in vbox for trunk/src/VBox/Additions/x11
- Timestamp:
- Jan 31, 2008 3:53:31 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/x11/xmouse/Makefile.kmk
r6640 r6665 1 1 # $Id$ 2 2 ## @file 3 # Makefile for the VBox Linux Additions X.org mouse driver.3 # Makefile for the VBox Additions XFree86 and X.org mouse drivers. 4 4 # 5 5 … … 19 19 include $(PATH_KBUILD)/header.kmk 20 20 21 if1of ($(BUILD_TARGET),linux l4) 22 ## @todo figure out vboxmouse_drv on solaris (seems to be a kernel module) 23 SYSMODS = vboxmouse_drv 24 # for BUILD_TARGET=l4 21 ifeq ($(BUILD_TARGET),l4) 22 # l4 cross build hack. Do we *really* need this now with the additions build box? 25 23 SUFF_DLL = .so 26 24 endif 27 DLLS = vboxmouse_drv_70 vboxmouse_drv_71 vboxmouse_drv_14 25 28 26 29 27 # … … 31 29 # 32 30 if1of ($(BUILD_TARGET),linux l4) 31 SYSMODS += vboxmouse_drv 33 32 vboxmouse_drv_TEMPLATE = VBOXLNX32GUESTR3EXE 34 33 vboxmouse_drv_DEFS = linux … … 55 54 $(VBOX_PATH_X11_XFREE_4_2)/programs/Xserver/mi \ 56 55 $(PATH_SUB_CURRENT) 57 vboxmouse_drv_SOURCES 56 vboxmouse_drv_SOURCES = \ 58 57 mouse.c \ 59 58 pnp.c \ … … 67 66 # vboxmouse_drv_70 68 67 # 68 DLLS += vboxmouse_drv_70 69 69 if1of ($(BUILD_TARGET),linux l4) 70 70 vboxmouse_drv_70_TEMPLATE = VBOXLNX32GUESTR3DLLNOCPP 71 ## @todo Remove PIC from DEFS. 71 72 else 72 73 vboxmouse_drv_70_TEMPLATE = VBOXGUESTR3DLL 73 74 endif 74 ## @todo PIC should be defined in the template on linux 75 if1of ($(BUILD_TARGET),linux l4) 76 vboxmouse_drv_70_CFLAGS = -std=c99 77 vboxmouse_drv_70_LDFLAGS = -s 78 endif 75 79 vboxmouse_drv_70_DEFS = \ 76 80 XFree86Server IN_MODULE XFree86Module XFree86LOADER XINPUT \ 77 81 XORG_7X PIC 78 if1of ($(BUILD_TARGET),linux l4)79 vboxmouse_drv_70_CFLAGS = -std=c9980 vboxmouse_drv_70_LDFLAGS = -s81 endif82 82 vboxmouse_drv_70_INCS := \ 83 83 $(VBOX_PATH_X11_XORG_7_0) \ … … 85 85 $(VBOX_PATH_X11_XORG_7_0)/xorg \ 86 86 $(PATH_SUB_CURRENT) 87 vboxmouse_drv_70_SOURCES 87 vboxmouse_drv_70_SOURCES = \ 88 88 xorg70/mouse.c \ 89 89 xorg70/pnp.c \ … … 98 98 # vboxmouse_drv_71 99 99 # 100 DLLS += vboxmouse_drv_71 100 101 if1of ($(BUILD_TARGET),linux l4) 101 102 vboxmouse_drv_71_TEMPLATE = VBOXLNX32GUESTR3DLLNOCPP 102 vboxmouse_drv_71_CFLAGS = -std=c99103 vboxmouse_drv_71_LDFLAGS = -s104 103 else 105 104 vboxmouse_drv_71_TEMPLATE = VBOXGUESTR3DLL 105 endif 106 if1of ($(BUILD_TARGET),linux l4) 107 vboxmouse_drv_71_CFLAGS = -std=c99 108 vboxmouse_drv_71_LDFLAGS = -s 106 109 endif 107 110 vboxmouse_drv_71_DEFS = $(vboxmouse_drv_70_DEFS) … … 111 114 $(VBOX_PATH_X11_XORG_7_1)/xorg \ 112 115 $(PATH_SUB_CURRENT) 113 vboxmouse_drv_71_SOURCES 116 vboxmouse_drv_71_SOURCES = \ 114 117 xorg71/mouse.c \ 115 118 xorg71/pnp.c \ … … 124 127 # vboxmouse_drv_14 125 128 # 129 DLLS += vboxmouse_drv_14 126 130 if1of ($(BUILD_TARGET),linux l4) 127 131 vboxmouse_drv_14_TEMPLATE = VBOXLNX32GUESTR3DLLNOCPP 128 vboxmouse_drv_14_CFLAGS = -std=c99129 vboxmouse_drv_14_LDFLAGS = -s130 132 else 131 133 vboxmouse_drv_14_TEMPLATE = VBOXGUESTR3DLL 134 endif 135 if1of ($(BUILD_TARGET),linux l4) 136 vboxmouse_drv_14_CFLAGS = -std=c99 137 vboxmouse_drv_14_LDFLAGS = -s 132 138 endif 133 139 vboxmouse_drv_14_DEFS = $(vboxmouse_drv_70_DEFS) … … 137 143 $(VBOX_PATH_X11_XORG_1_4)/xorg \ 138 144 $(PATH_SUB_CURRENT) 139 vboxmouse_drv_14_SOURCES 145 vboxmouse_drv_14_SOURCES = \ 140 146 xorg14/mouse.c \ 141 147 xorg14/pnp.c \ … … 146 152 $(VBOX_LIB_VBGL_R3_SHARED) 147 153 154 148 155 include $(PATH_KBUILD)/footer.kmk 149 156
Note:
See TracChangeset
for help on using the changeset viewer.