VirtualBox

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


Ignore:
Timestamp:
Jan 31, 2008 3:53:31 PM (17 years ago)
Author:
vboxsync
Message:

cosmetics.

File:
1 edited

Legend:

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

    r6640 r6665  
    11# $Id$
    22## @file
    3 # Makefile for the VBox Linux Additions X.org mouse driver.
     3# Makefile for the VBox Additions XFree86 and X.org mouse drivers.
    44#
    55
     
    1919include $(PATH_KBUILD)/header.kmk
    2020
    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
     21ifeq ($(BUILD_TARGET),l4)
     22 # l4 cross build hack. Do we *really* need this now with the additions build box?
    2523 SUFF_DLL = .so
    2624endif
    27 DLLS     = vboxmouse_drv_70 vboxmouse_drv_71 vboxmouse_drv_14
     25
    2826
    2927#
     
    3129#
    3230if1of ($(BUILD_TARGET),linux l4)
     31 SYSMODS += vboxmouse_drv
    3332 vboxmouse_drv_TEMPLATE = VBOXLNX32GUESTR3EXE
    3433 vboxmouse_drv_DEFS  = linux
     
    5554        $(VBOX_PATH_X11_XFREE_4_2)/programs/Xserver/mi \
    5655        $(PATH_SUB_CURRENT)
    57  vboxmouse_drv_SOURCES  = \
     56 vboxmouse_drv_SOURCES = \
    5857        mouse.c \
    5958        pnp.c \
     
    6766# vboxmouse_drv_70
    6867#
     68DLLS += vboxmouse_drv_70
    6969if1of ($(BUILD_TARGET),linux l4)
    7070 vboxmouse_drv_70_TEMPLATE = VBOXLNX32GUESTR3DLLNOCPP
     71 ## @todo Remove PIC from DEFS.
    7172else
    7273 vboxmouse_drv_70_TEMPLATE = VBOXGUESTR3DLL
    7374endif
    74 ## @todo PIC should be defined in the template on linux
     75if1of ($(BUILD_TARGET),linux l4)
     76 vboxmouse_drv_70_CFLAGS = -std=c99
     77 vboxmouse_drv_70_LDFLAGS = -s
     78endif
    7579vboxmouse_drv_70_DEFS = \
    7680        XFree86Server IN_MODULE XFree86Module XFree86LOADER XINPUT \
    7781        XORG_7X PIC
    78 if1of ($(BUILD_TARGET),linux l4)
    79  vboxmouse_drv_70_CFLAGS   = -std=c99
    80  vboxmouse_drv_70_LDFLAGS  = -s
    81 endif
    8282vboxmouse_drv_70_INCS := \
    8383        $(VBOX_PATH_X11_XORG_7_0) \
     
    8585        $(VBOX_PATH_X11_XORG_7_0)/xorg \
    8686        $(PATH_SUB_CURRENT)
    87 vboxmouse_drv_70_SOURCES  = \
     87vboxmouse_drv_70_SOURCES = \
    8888        xorg70/mouse.c \
    8989        xorg70/pnp.c \
     
    9898# vboxmouse_drv_71
    9999#
     100DLLS += vboxmouse_drv_71
    100101if1of ($(BUILD_TARGET),linux l4)
    101102 vboxmouse_drv_71_TEMPLATE = VBOXLNX32GUESTR3DLLNOCPP
    102  vboxmouse_drv_71_CFLAGS   = -std=c99
    103  vboxmouse_drv_71_LDFLAGS  = -s
    104103else
    105104 vboxmouse_drv_71_TEMPLATE = VBOXGUESTR3DLL
     105endif
     106if1of ($(BUILD_TARGET),linux l4)
     107 vboxmouse_drv_71_CFLAGS = -std=c99
     108 vboxmouse_drv_71_LDFLAGS = -s
    106109endif
    107110vboxmouse_drv_71_DEFS = $(vboxmouse_drv_70_DEFS)
     
    111114        $(VBOX_PATH_X11_XORG_7_1)/xorg \
    112115        $(PATH_SUB_CURRENT)
    113 vboxmouse_drv_71_SOURCES  = \
     116vboxmouse_drv_71_SOURCES = \
    114117        xorg71/mouse.c \
    115118        xorg71/pnp.c \
     
    124127# vboxmouse_drv_14
    125128#
     129DLLS += vboxmouse_drv_14
    126130if1of ($(BUILD_TARGET),linux l4)
    127131 vboxmouse_drv_14_TEMPLATE = VBOXLNX32GUESTR3DLLNOCPP
    128  vboxmouse_drv_14_CFLAGS   = -std=c99
    129  vboxmouse_drv_14_LDFLAGS  = -s
    130132else
    131133 vboxmouse_drv_14_TEMPLATE = VBOXGUESTR3DLL
     134endif
     135if1of ($(BUILD_TARGET),linux l4)
     136 vboxmouse_drv_14_CFLAGS = -std=c99
     137 vboxmouse_drv_14_LDFLAGS = -s
    132138endif
    133139vboxmouse_drv_14_DEFS = $(vboxmouse_drv_70_DEFS)
     
    137143        $(VBOX_PATH_X11_XORG_1_4)/xorg \
    138144        $(PATH_SUB_CURRENT)
    139 vboxmouse_drv_14_SOURCES  = \
     145vboxmouse_drv_14_SOURCES = \
    140146        xorg14/mouse.c \
    141147        xorg14/pnp.c \
     
    146152        $(VBOX_LIB_VBGL_R3_SHARED)
    147153
     154
    148155include $(PATH_KBUILD)/footer.kmk
    149156
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