VirtualBox

source: vbox/trunk/src/VBox/Additions/linux/xmouse/Makefile.kmk@ 5164

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

Added support for X.org server 1.4 to the guest additions

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 3.0 KB
Line 
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
17DEPTH = ../../../../..
18include $(PATH_KBUILD)/header.kmk
19
20SYSMODS = vboxmouse_drv
21DLLS = vboxmouse_drv_70 vboxmouse_drv_71 vboxmouse_drv_14
22
23# for BUILD_TARGET=l4
24SUFF_DLL = .so
25
26vboxmouse_drv_TEMPLATE = VBOXLNX32GUESTR3EXE
27vboxmouse_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
36vboxmouse_drv_CFLAGS = -fno-merge-constants
37vboxmouse_drv_SYSSUFF = .o
38vboxmouse_drv_LDFLAGS.release = -S
39vboxmouse_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)
50vboxmouse_drv_SOURCES = \
51 mouse.c \
52 pnp.c \
53 VBoxUtils.c
54
55
56vboxmouse_drv_70_TEMPLATE = VBOXLNX32GUESTR3DLLNOCPP
57vboxmouse_drv_70_DEFS = \
58 XFree86Server IN_MODULE XFree86Module XFree86LOADER XINPUT \
59 IN_RING3 VBOX XORG_7X PIC
60vboxmouse_drv_70_LDFLAGS = -s
61vboxmouse_drv_70_INCS := \
62 ../x11include/7.0 \
63 ../x11include/7.0/X11 \
64 ../x11include/7.0/xorg \
65 $(PATH_SUB_CURRENT)
66vboxmouse_drv_70_SOURCES = \
67 xorg70/mouse.c \
68 xorg70/pnp.c \
69 VBoxUtils.c
70
71
72vboxmouse_drv_71_TEMPLATE = VBOXLNX32GUESTR3DLLNOCPP
73vboxmouse_drv_71_DEFS = $(vboxmouse_drv_70_DEFS)
74vboxmouse_drv_71_LDFLAGS = -s
75vboxmouse_drv_71_INCS = \
76 ../x11include/7.1 \
77 ../x11include/7.1/X11 \
78 ../x11include/7.1/xorg \
79 $(PATH_SUB_CURRENT)
80vboxmouse_drv_71_SOURCES = \
81 xorg71/mouse.c \
82 xorg71/pnp.c \
83 VBoxUtils.c
84
85
86vboxmouse_drv_14_TEMPLATE = VBOXLNX32GUESTR3DLLNOCPP
87vboxmouse_drv_14_DEFS = $(vboxmouse_drv_70_DEFS)
88vboxmouse_drv_14_LDFLAGS = -s
89vboxmouse_drv_14_INCS = \
90 ../x11include/1.4 \
91 ../x11include/1.4/X11 \
92 ../x11include/1.4/xorg \
93 $(PATH_SUB_CURRENT)
94vboxmouse_drv_14_SOURCES = \
95 xorg14/mouse.c \
96 xorg14/pnp.c \
97 VBoxUtils.c
98
99
100include $(PATH_KBUILD)/footer.kmk
101
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