1 | # $Id: Makefile.kmk 5164 2007-10-05 12:21:03Z vboxsync $
|
---|
2 | ## @file
|
---|
3 | # Makefile for the VBox Linux Additions X.org mouse driver.
|
---|
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 as published by the Free Software Foundation,
|
---|
13 | # in version 2 as it comes in the "COPYING" file of the VirtualBox OSE
|
---|
14 | # distribution. VirtualBox OSE is distributed in the hope that it will
|
---|
15 | # be useful, but WITHOUT ANY WARRANTY of any kind.
|
---|
16 |
|
---|
17 | DEPTH = ../../../../..
|
---|
18 | include $(PATH_KBUILD)/header.kmk
|
---|
19 |
|
---|
20 | SYSMODS = vboxmouse_drv
|
---|
21 | DLLS = vboxmouse_drv_70 vboxmouse_drv_71 vboxmouse_drv_14
|
---|
22 |
|
---|
23 | # for BUILD_TARGET=l4
|
---|
24 | SUFF_DLL = .so
|
---|
25 |
|
---|
26 | vboxmouse_drv_TEMPLATE = VBOXLNX32GUESTR3EXE
|
---|
27 | vboxmouse_drv_DEFS = \
|
---|
28 | linux __i386__ _POSIX_C_SOURCE=199309L _POSIX_SOURCE _XOPEN_SOURCE \
|
---|
29 | _BSD_SOURCE _SVID_SOURCE _GNU_SOURCE SHAPE XINPUT XKB LBX XAPPGROUP \
|
---|
30 | XCSECURITY TOGCUP XF86BIGFONT DPMSExtension PIXPRIV PANORAMIX RENDER \
|
---|
31 | GCCUSESGAS AVOID_GLYPHBLT PIXPRIV SINGLEDEPTH XFreeXDGA XvExtension \
|
---|
32 | XFree86LOADER XFree86Server XF86VIDMODE XvMCExtension SMART_SCHEDULE \
|
---|
33 | BUILDDEBUG X_BYTE_ORDER=X_LITTLE_ENDIAN DNDEBUG FUNCPROTO=15 NARROWPROTO \
|
---|
34 | IN_MODULE XFree86Module PNP_MOUSE \
|
---|
35 | IN_RING3 VBOX
|
---|
36 | vboxmouse_drv_CFLAGS = -fno-merge-constants
|
---|
37 | vboxmouse_drv_SYSSUFF = .o
|
---|
38 | vboxmouse_drv_LDFLAGS.release = -S
|
---|
39 | vboxmouse_drv_INCS := \
|
---|
40 | ../x11include/4.2/exports/include/X11 \
|
---|
41 | ../x11include/4.2/include \
|
---|
42 | ../x11include/4.2/include/extensions \
|
---|
43 | ../x11include/4.2/programs/Xserver/include \
|
---|
44 | ../x11include/4.2/programs/Xserver/hw/xfree86 \
|
---|
45 | ../x11include/4.2/programs/Xserver/hw/xfree86/common \
|
---|
46 | ../x11include/4.2/programs/Xserver/hw/xfree86/os-support \
|
---|
47 | ../x11include/4.2/programs/Xserver/hw/xfree86/os-support/bus \
|
---|
48 | ../x11include/4.2/programs/Xserver/mi \
|
---|
49 | $(PATH_SUB_CURRENT)
|
---|
50 | vboxmouse_drv_SOURCES = \
|
---|
51 | mouse.c \
|
---|
52 | pnp.c \
|
---|
53 | VBoxUtils.c
|
---|
54 |
|
---|
55 |
|
---|
56 | vboxmouse_drv_70_TEMPLATE = VBOXLNX32GUESTR3DLLNOCPP
|
---|
57 | vboxmouse_drv_70_DEFS = \
|
---|
58 | XFree86Server IN_MODULE XFree86Module XFree86LOADER XINPUT \
|
---|
59 | IN_RING3 VBOX XORG_7X PIC
|
---|
60 | vboxmouse_drv_70_LDFLAGS = -s
|
---|
61 | vboxmouse_drv_70_INCS := \
|
---|
62 | ../x11include/7.0 \
|
---|
63 | ../x11include/7.0/X11 \
|
---|
64 | ../x11include/7.0/xorg \
|
---|
65 | $(PATH_SUB_CURRENT)
|
---|
66 | vboxmouse_drv_70_SOURCES = \
|
---|
67 | xorg70/mouse.c \
|
---|
68 | xorg70/pnp.c \
|
---|
69 | VBoxUtils.c
|
---|
70 |
|
---|
71 |
|
---|
72 | vboxmouse_drv_71_TEMPLATE = VBOXLNX32GUESTR3DLLNOCPP
|
---|
73 | vboxmouse_drv_71_DEFS = $(vboxmouse_drv_70_DEFS)
|
---|
74 | vboxmouse_drv_71_LDFLAGS = -s
|
---|
75 | vboxmouse_drv_71_INCS = \
|
---|
76 | ../x11include/7.1 \
|
---|
77 | ../x11include/7.1/X11 \
|
---|
78 | ../x11include/7.1/xorg \
|
---|
79 | $(PATH_SUB_CURRENT)
|
---|
80 | vboxmouse_drv_71_SOURCES = \
|
---|
81 | xorg71/mouse.c \
|
---|
82 | xorg71/pnp.c \
|
---|
83 | VBoxUtils.c
|
---|
84 |
|
---|
85 |
|
---|
86 | vboxmouse_drv_14_TEMPLATE = VBOXLNX32GUESTR3DLLNOCPP
|
---|
87 | vboxmouse_drv_14_DEFS = $(vboxmouse_drv_70_DEFS)
|
---|
88 | vboxmouse_drv_14_LDFLAGS = -s
|
---|
89 | vboxmouse_drv_14_INCS = \
|
---|
90 | ../x11include/1.4 \
|
---|
91 | ../x11include/1.4/X11 \
|
---|
92 | ../x11include/1.4/xorg \
|
---|
93 | $(PATH_SUB_CURRENT)
|
---|
94 | vboxmouse_drv_14_SOURCES = \
|
---|
95 | xorg14/mouse.c \
|
---|
96 | xorg14/pnp.c \
|
---|
97 | VBoxUtils.c
|
---|
98 |
|
---|
99 |
|
---|
100 | include $(PATH_KBUILD)/footer.kmk
|
---|
101 |
|
---|