VirtualBox

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

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

Additions/x11: reverted the XFree86/X.org 6.8 additions to their old state (not using IPRT or the guest library)

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 3.2 KB
Line 
1# $Id: Makefile.kmk 7086 2008-02-21 20:06:06Z vboxsync $
2## @file
3# Sub-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 ?= ../../../../..
19SUB_DEPTH = ../..
20include $(PATH_KBUILD)/subheader.kmk
21
22
23#
24# vboxmouse_drv
25#
26if1of ($(BUILD_TARGET),linux l4)
27 SYSMODS += vboxmouse_drv
28 vboxmouse_drv_TEMPLATE = VBOXGUESTR3XF86MOD
29 vboxmouse_drv_DEFS.linux = linux
30 vboxmouse_drv_DEFS += \
31 __i386__ _POSIX_C_SOURCE=199309L _POSIX_SOURCE _XOPEN_SOURCE \
32 _BSD_SOURCE _SVID_SOURCE _GNU_SOURCE SHAPE XINPUT XKB LBX XAPPGROUP \
33 XCSECURITY TOGCUP XF86BIGFONT DPMSExtension PIXPRIV PANORAMIX RENDER \
34 GCCUSESGAS AVOID_GLYPHBLT PIXPRIV SINGLEDEPTH XFreeXDGA XvExtension \
35 XFree86LOADER XFree86Server XF86VIDMODE XvMCExtension SMART_SCHEDULE \
36 BUILDDEBUG X_BYTE_ORDER=X_LITTLE_ENDIAN DNDEBUG FUNCPROTO=15 NARROWPROTO \
37 IN_MODULE XFree86Module PNP_MOUSE
38 vboxmouse_drv_INCS := \
39 $(VBOX_PATH_X11_XFREE_4_2)/exports/include/X11 \
40 $(VBOX_PATH_X11_XFREE_4_2)/include \
41 $(VBOX_PATH_X11_XFREE_4_2)/include/extensions \
42 $(VBOX_PATH_X11_XFREE_4_2)/programs/Xserver/include \
43 $(VBOX_PATH_X11_XFREE_4_2)/programs/Xserver/hw/xfree86 \
44 $(VBOX_PATH_X11_XFREE_4_2)/programs/Xserver/hw/xfree86/common \
45 $(VBOX_PATH_X11_XFREE_4_2)/programs/Xserver/hw/xfree86/os-support \
46 $(VBOX_PATH_X11_XFREE_4_2)/programs/Xserver/hw/xfree86/os-support/bus \
47 $(VBOX_PATH_X11_XFREE_4_2)/programs/Xserver/mi \
48 $(PATH_SUB_CURRENT)
49 vboxmouse_drv_SOURCES = \
50 mouse.c \
51 pnp.c \
52 VBoxUtils_68.c
53endif
54
55
56#
57# vboxmouse_drv_70
58#
59DLLS += vboxmouse_drv_70
60vboxmouse_drv_70_TEMPLATE = VBOXGUESTR3XORGMOD
61vboxmouse_drv_70_DEFS = \
62 XFree86Server IN_MODULE XFree86Module XFree86LOADER XINPUT XORG_7X
63ifeq ($(BUILD_TARGET),solaris) # don't use .solaris or anything here.
64 vboxmouse_drv_70_DEFS += _XPG6 __EXTENSIONS__
65endif
66vboxmouse_drv_70_INCS := \
67 $(VBOX_PATH_X11_XORG_7_0) \
68 $(VBOX_PATH_X11_XORG_7_0)/X11 \
69 $(VBOX_PATH_X11_XORG_7_0)/xorg \
70 $(PATH_SUB_CURRENT)
71vboxmouse_drv_70_SOURCES = \
72 xorg70/mouse.c \
73 xorg70/pnp.c \
74 VBoxUtils.c
75
76
77#
78# vboxmouse_drv_71
79#
80DLLS += vboxmouse_drv_71
81vboxmouse_drv_71_TEMPLATE = VBOXGUESTR3XORGMOD
82vboxmouse_drv_71_DEFS := $(vboxmouse_drv_70_DEFS)
83vboxmouse_drv_71_INCS := \
84 $(VBOX_PATH_X11_XORG_7_1) \
85 $(VBOX_PATH_X11_XORG_7_1)/X11 \
86 $(VBOX_PATH_X11_XORG_7_1)/xorg \
87 $(PATH_SUB_CURRENT)
88vboxmouse_drv_71_SOURCES = \
89 xorg71/mouse.c \
90 xorg71/pnp.c \
91 VBoxUtils.c
92
93
94#
95# vboxmouse_drv_14
96#
97DLLS += vboxmouse_drv_14
98vboxmouse_drv_14_TEMPLATE = VBOXGUESTR3XORGMOD
99vboxmouse_drv_14_DEFS := $(vboxmouse_drv_70_DEFS)
100vboxmouse_drv_14_INCS := \
101 $(VBOX_PATH_X11_XORG_1_4) \
102 $(VBOX_PATH_X11_XORG_1_4)/X11 \
103 $(VBOX_PATH_X11_XORG_1_4)/xorg \
104 $(PATH_SUB_CURRENT)
105vboxmouse_drv_14_SOURCES = \
106 xorg14/mouse.c \
107 xorg14/pnp.c \
108 VBoxUtils.c
109
110
111include $(PATH_KBUILD)/subfooter.kmk
112
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