VirtualBox

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

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

BUILD_TARGET* -> KBUILD_TARGET*.

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