VirtualBox

Changeset 6668 in vbox for trunk/src/VBox/Additions/x11


Ignore:
Timestamp:
Jan 31, 2008 4:34:11 PM (17 years ago)
Author:
vboxsync
Message:

Use the VBOXGUESTR3XF86MOD and VBOXGUESTR3XORGMOD templates.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/x11/xmouse/Makefile.kmk

    r6666 r6668  
    3131if1of ($(BUILD_TARGET),linux l4)
    3232 SYSMODS += vboxmouse_drv
    33  vboxmouse_drv_TEMPLATE = VBOXLNX32GUESTR3EXE
    34  vboxmouse_drv_DEFS  = linux
     33 vboxmouse_drv_TEMPLATE = VBOXGUESTR3XF86MOD
     34 vboxmouse_drv_DEFS.linux = linux
    3535 vboxmouse_drv_DEFS += \
    3636        __i386__ _POSIX_C_SOURCE=199309L _POSIX_SOURCE _XOPEN_SOURCE \
     
    4141        BUILDDEBUG X_BYTE_ORDER=X_LITTLE_ENDIAN DNDEBUG FUNCPROTO=15 NARROWPROTO \
    4242        IN_MODULE XFree86Module PNP_MOUSE
    43  vboxmouse_drv_CFLAGS  = -fno-merge-constants -std=c99
    44  vboxmouse_drv_SYSSUFF = .o
    45  vboxmouse_drv_LDFLAGS.release = -S
    4643 vboxmouse_drv_INCS := \
    4744        $(VBOX_PATH_X11_XFREE_4_2)/exports/include/X11 \
     
    5956        pnp.c \
    6057        VBoxUtils.c
    61  vboxmouse_drv_LIBS = \
    62         $(VBOX_LIB_VBGL_R3_XFREE86)
    6358endif
    6459
     
    6863#
    6964DLLS += vboxmouse_drv_70
    70 if1of ($(BUILD_TARGET),linux l4)
    71  vboxmouse_drv_70_TEMPLATE = VBOXLNX32GUESTR3DLLNOCPP
    72  ## @todo Remove PIC from DEFS.
    73 else
    74  vboxmouse_drv_70_TEMPLATE = VBOXGUESTR3DLL
    75 endif
    76 if1of ($(BUILD_TARGET),linux l4)
    77  vboxmouse_drv_70_CFLAGS = -std=c99
    78  vboxmouse_drv_70_LDFLAGS = -s
    79 endif
     65vboxmouse_drv_70_TEMPLATE = VBOXGUESTR3XORGMOD
    8066vboxmouse_drv_70_DEFS = \
    81         XFree86Server IN_MODULE XFree86Module XFree86LOADER XINPUT \
    82         XORG_7X PIC
     67        XFree86Server IN_MODULE XFree86Module XFree86LOADER XINPUT XORG_7X
    8368vboxmouse_drv_70_INCS := \
    8469        $(VBOX_PATH_X11_XORG_7_0) \
     
    9075        xorg70/pnp.c \
    9176        VBoxUtils.c
    92 vboxmouse_drv_70_LIBS = \
    93         $(VBOX_LIB_VBGL_R3_SHARED) \
    94         $(VBOX_LIB_IPRT_GUEST_R3_MINI) \
    95         $(VBOX_LIB_VBGL_R3_SHARED)
    9677
    9778
     
    10081#
    10182DLLS += vboxmouse_drv_71
    102 if1of ($(BUILD_TARGET),linux l4)
    103  vboxmouse_drv_71_TEMPLATE = VBOXLNX32GUESTR3DLLNOCPP
    104 else
    105  vboxmouse_drv_71_TEMPLATE = VBOXGUESTR3DLL
    106 endif
    107 if1of ($(BUILD_TARGET),linux l4)
    108  vboxmouse_drv_71_CFLAGS = -std=c99
    109  vboxmouse_drv_71_LDFLAGS = -s
    110 endif
    111 vboxmouse_drv_71_DEFS = $(vboxmouse_drv_70_DEFS)
     83vboxmouse_drv_71_TEMPLATE = VBOXGUESTR3XORGMOD
     84vboxmouse_drv_71_DEFS := $(vboxmouse_drv_70_DEFS)
    11285vboxmouse_drv_71_INCS = \
    11386        $(VBOX_PATH_X11_XORG_7_1) \
     
    11992        xorg71/pnp.c \
    12093        VBoxUtils.c
    121 vboxmouse_drv_71_LIBS = \
    122         $(VBOX_LIB_VBGL_R3_SHARED) \
    123         $(VBOX_LIB_IPRT_GUEST_R3_MINI) \
    124         $(VBOX_LIB_VBGL_R3_SHARED)
    12594
    12695
     
    12998#
    13099DLLS += vboxmouse_drv_14
    131 if1of ($(BUILD_TARGET),linux l4)
    132  vboxmouse_drv_14_TEMPLATE = VBOXLNX32GUESTR3DLLNOCPP
    133 else
    134  vboxmouse_drv_14_TEMPLATE = VBOXGUESTR3DLL
    135 endif
    136 if1of ($(BUILD_TARGET),linux l4)
    137  vboxmouse_drv_14_CFLAGS = -std=c99
    138  vboxmouse_drv_14_LDFLAGS = -s
    139 endif
    140 vboxmouse_drv_14_DEFS = $(vboxmouse_drv_70_DEFS)
     100vboxmouse_drv_14_TEMPLATE = VBOXGUESTR3XORGMOD
     101vboxmouse_drv_14_DEFS := $(vboxmouse_drv_70_DEFS)
    141102vboxmouse_drv_14_INCS = \
    142103        $(VBOX_PATH_X11_XORG_1_4) \
     
    148109        xorg14/pnp.c \
    149110        VBoxUtils.c
    150 vboxmouse_drv_14_LIBS = \
    151         $(VBOX_LIB_VBGL_R3_SHARED) \
    152         $(VBOX_LIB_IPRT_GUEST_R3_MINI) \
    153         $(VBOX_LIB_VBGL_R3_SHARED)
    154111
    155112
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette