VirtualBox

source: vbox/trunk/src/VBox/Additions/x11/xmouse/Makefile.kmk@ 6712

Last change on this file since 6712 was 6712, checked in by vboxsync, 17 years ago

c99 in the VBOXGUESTR3XORGMOD template.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 3.2 KB
Line 
1# $Id: Makefile.kmk 6712 2008-02-01 09:01:43Z vboxsync $
2## @file
3# Makefile for the VBox Additions XFree86 and X.org mouse drivers.
4#
5
6#
7# Copyright (C) 2006-2007 innotek GmbH
8#
9# This file is part of VirtualBox Open Source Edition (OSE), as
10# available from http://www.virtualbox.org. This file is free software;
11# you can redistribute it and/or modify it under the terms of the GNU
12# General Public License (GPL) as published by the Free Software
13# Foundation, in version 2 as it comes in the "COPYING" file of the
14# VirtualBox OSE distribution. VirtualBox OSE is distributed in the
15# hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
16#
17
18DEPTH = ../../../../..
19include $(PATH_KBUILD)/header.kmk
20
21
22#
23# vboxmouse_drv
24#
25if1of ($(BUILD_TARGET),linux l4)
26 SYSMODS += vboxmouse_drv
27 vboxmouse_drv_TEMPLATE = VBOXGUESTR3XF86MOD
28 vboxmouse_drv_DEFS.linux = linux
29 vboxmouse_drv_DEFS += \
30 __i386__ _POSIX_C_SOURCE=199309L _POSIX_SOURCE _XOPEN_SOURCE \
31 _BSD_SOURCE _SVID_SOURCE _GNU_SOURCE SHAPE XINPUT XKB LBX XAPPGROUP \
32 XCSECURITY TOGCUP XF86BIGFONT DPMSExtension PIXPRIV PANORAMIX RENDER \
33 GCCUSESGAS AVOID_GLYPHBLT PIXPRIV SINGLEDEPTH XFreeXDGA XvExtension \
34 XFree86LOADER XFree86Server XF86VIDMODE XvMCExtension SMART_SCHEDULE \
35 BUILDDEBUG X_BYTE_ORDER=X_LITTLE_ENDIAN DNDEBUG FUNCPROTO=15 NARROWPROTO \
36 IN_MODULE XFree86Module PNP_MOUSE
37 vboxmouse_drv_INCS := \
38 $(VBOX_PATH_X11_XFREE_4_2)/exports/include/X11 \
39 $(VBOX_PATH_X11_XFREE_4_2)/include \
40 $(VBOX_PATH_X11_XFREE_4_2)/include/extensions \
41 $(VBOX_PATH_X11_XFREE_4_2)/programs/Xserver/include \
42 $(VBOX_PATH_X11_XFREE_4_2)/programs/Xserver/hw/xfree86 \
43 $(VBOX_PATH_X11_XFREE_4_2)/programs/Xserver/hw/xfree86/common \
44 $(VBOX_PATH_X11_XFREE_4_2)/programs/Xserver/hw/xfree86/os-support \
45 $(VBOX_PATH_X11_XFREE_4_2)/programs/Xserver/hw/xfree86/os-support/bus \
46 $(VBOX_PATH_X11_XFREE_4_2)/programs/Xserver/mi \
47 $(PATH_SUB_CURRENT)
48 vboxmouse_drv_SOURCES = \
49 mouse.c \
50 pnp.c \
51 VBoxUtils.c
52endif
53
54
55#
56# vboxmouse_drv_70
57#
58DLLS += vboxmouse_drv_70
59vboxmouse_drv_70_TEMPLATE = VBOXGUESTR3XORGMOD
60vboxmouse_drv_70_DEFS = \
61 XFree86Server IN_MODULE XFree86Module XFree86LOADER XINPUT XORG_7X
62ifeq ($(BUILD_TARGET),solaris) # don't use .solaris or anything here.
63 vboxmouse_drv_70_DEFS += _XPG6 __EXTENSIONS__
64endif
65vboxmouse_drv_70_INCS := \
66 $(VBOX_PATH_X11_XORG_7_0) \
67 $(VBOX_PATH_X11_XORG_7_0)/X11 \
68 $(VBOX_PATH_X11_XORG_7_0)/xorg \
69 $(PATH_SUB_CURRENT)
70vboxmouse_drv_70_SOURCES = \
71 xorg70/mouse.c \
72 xorg70/pnp.c \
73 VBoxUtils.c
74
75
76#
77# vboxmouse_drv_71
78#
79DLLS += vboxmouse_drv_71
80vboxmouse_drv_71_TEMPLATE = VBOXGUESTR3XORGMOD
81vboxmouse_drv_71_DEFS := $(vboxmouse_drv_70_DEFS)
82vboxmouse_drv_71_INCS = \
83 $(VBOX_PATH_X11_XORG_7_1) \
84 $(VBOX_PATH_X11_XORG_7_1)/X11 \
85 $(VBOX_PATH_X11_XORG_7_1)/xorg \
86 $(PATH_SUB_CURRENT)
87vboxmouse_drv_71_SOURCES = \
88 xorg71/mouse.c \
89 xorg71/pnp.c \
90 VBoxUtils.c
91
92
93#
94# vboxmouse_drv_14
95#
96DLLS += vboxmouse_drv_14
97vboxmouse_drv_14_TEMPLATE = VBOXGUESTR3XORGMOD
98vboxmouse_drv_14_DEFS := $(vboxmouse_drv_70_DEFS)
99vboxmouse_drv_14_INCS = \
100 $(VBOX_PATH_X11_XORG_1_4) \
101 $(VBOX_PATH_X11_XORG_1_4)/X11 \
102 $(VBOX_PATH_X11_XORG_1_4)/xorg \
103 $(PATH_SUB_CURRENT)
104vboxmouse_drv_14_SOURCES = \
105 xorg14/mouse.c \
106 xorg14/pnp.c \
107 VBoxUtils.c
108
109
110include $(PATH_KBUILD)/footer.kmk
111
Note: See TracBrowser for help on using the repository browser.

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