1 | # $Id: Makefile.kmk 2981 2007-06-01 16:01:28Z 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 | # If you received this file as part of a commercial VirtualBox
|
---|
18 | # distribution, then only the terms of your commercial VirtualBox
|
---|
19 | # license agreement apply instead of the previous paragraph.
|
---|
20 | #
|
---|
21 |
|
---|
22 | DEPTH = ../../../../..
|
---|
23 | include $(PATH_KBUILD)/header.kmk
|
---|
24 |
|
---|
25 | SYSMODS = vboxmouse_drv
|
---|
26 | DLLS = vboxmouse_drv_70 vboxmouse_drv_71
|
---|
27 |
|
---|
28 | # for BUILD_TARGET=l4
|
---|
29 | SUFF_DLL = .so
|
---|
30 |
|
---|
31 | vboxmouse_drv_TEMPLATE = VBOXLNX32GUESTR3EXE
|
---|
32 | vboxmouse_drv_DEFS = \
|
---|
33 | linux __i386__ _POSIX_C_SOURCE=199309L _POSIX_SOURCE _XOPEN_SOURCE \
|
---|
34 | _BSD_SOURCE _SVID_SOURCE _GNU_SOURCE SHAPE XINPUT XKB LBX XAPPGROUP \
|
---|
35 | XCSECURITY TOGCUP XF86BIGFONT DPMSExtension PIXPRIV PANORAMIX RENDER \
|
---|
36 | GCCUSESGAS AVOID_GLYPHBLT PIXPRIV SINGLEDEPTH XFreeXDGA XvExtension \
|
---|
37 | XFree86LOADER XFree86Server XF86VIDMODE XvMCExtension SMART_SCHEDULE \
|
---|
38 | BUILDDEBUG X_BYTE_ORDER=X_LITTLE_ENDIAN DNDEBUG FUNCPROTO=15 NARROWPROTO \
|
---|
39 | IN_MODULE XFree86Module PNP_MOUSE \
|
---|
40 | IN_RING3 VBOX
|
---|
41 | vboxmouse_drv_CFLAGS = -fno-merge-constants
|
---|
42 | vboxmouse_drv_SYSSUFF = .o
|
---|
43 | vboxmouse_drv_LDFLAGS.release = -S
|
---|
44 | vboxmouse_drv_INCS := \
|
---|
45 | ../x11include/4.2/exports/include/X11 \
|
---|
46 | ../x11include/4.2/include \
|
---|
47 | ../x11include/4.2/include/extensions \
|
---|
48 | ../x11include/4.2/programs/Xserver/include \
|
---|
49 | ../x11include/4.2/programs/Xserver/hw/xfree86 \
|
---|
50 | ../x11include/4.2/programs/Xserver/hw/xfree86/common \
|
---|
51 | ../x11include/4.2/programs/Xserver/hw/xfree86/os-support \
|
---|
52 | ../x11include/4.2/programs/Xserver/hw/xfree86/os-support/bus \
|
---|
53 | ../x11include/4.2/programs/Xserver/mi \
|
---|
54 | $(PATH_SUB_CURRENT)
|
---|
55 | vboxmouse_drv_SOURCES = \
|
---|
56 | mouse.c \
|
---|
57 | pnp.c \
|
---|
58 | VBoxUtils.c
|
---|
59 |
|
---|
60 |
|
---|
61 | vboxmouse_drv_70_TEMPLATE = VBOXLNX32GUESTR3DLLNOCPP
|
---|
62 | vboxmouse_drv_70_DEFS = \
|
---|
63 | XFree86Server IN_MODULE XFree86Module XFree86LOADER XINPUT \
|
---|
64 | IN_RING3 VBOX XORG_7X PIC
|
---|
65 | vboxmouse_drv_70_LDFLAGS = -s
|
---|
66 | vboxmouse_drv_70_INCS := \
|
---|
67 | ../x11include/7.0 \
|
---|
68 | ../x11include/7.0/X11 \
|
---|
69 | ../x11include/7.0/xorg \
|
---|
70 | $(PATH_SUB_CURRENT)
|
---|
71 | vboxmouse_drv_70_SOURCES = \
|
---|
72 | xorg70/mouse.c \
|
---|
73 | xorg70/pnp.c \
|
---|
74 | VBoxUtils.c
|
---|
75 |
|
---|
76 |
|
---|
77 | vboxmouse_drv_71_TEMPLATE = VBOXLNX32GUESTR3DLLNOCPP
|
---|
78 | vboxmouse_drv_71_DEFS = $(vboxmouse_drv_70_DEFS)
|
---|
79 | vboxmouse_drv_71_LDFLAGS = -s
|
---|
80 | vboxmouse_drv_71_INCS = \
|
---|
81 | ../x11include/7.1 \
|
---|
82 | ../x11include/7.1/X11 \
|
---|
83 | ../x11include/7.1/xorg \
|
---|
84 | $(PATH_SUB_CURRENT)
|
---|
85 | vboxmouse_drv_71_SOURCES = \
|
---|
86 | xorg71/mouse.c \
|
---|
87 | xorg71/pnp.c \
|
---|
88 | VBoxUtils.c
|
---|
89 |
|
---|
90 |
|
---|
91 | include $(PATH_KBUILD)/footer.kmk
|
---|
92 |
|
---|