1 | # $Id: Makefile.kmk 69111 2017-10-17 14:26:02Z vboxsync $
|
---|
2 | ## @file
|
---|
3 | # Sub-Makefile for VBoxMouse, Haiku Additions.
|
---|
4 | #
|
---|
5 |
|
---|
6 | #
|
---|
7 | # Copyright (C) 2012-2017 Oracle Corporation
|
---|
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 |
|
---|
18 | #
|
---|
19 | # This code is based on:
|
---|
20 | #
|
---|
21 | # VirtualBox Guest Additions for Haiku.
|
---|
22 | # Copyright (c) 2011 Mike Smith <mike@scgtrp.net>
|
---|
23 | # François Revol <revol@free.fr>
|
---|
24 | #
|
---|
25 | # Permission is hereby granted, free of charge, to any person
|
---|
26 | # obtaining a copy of this software and associated documentation
|
---|
27 | # files (the "Software"), to deal in the Software without
|
---|
28 | # restriction, including without limitation the rights to use,
|
---|
29 | # copy, modify, merge, publish, distribute, sublicense, and/or sell
|
---|
30 | # copies of the Software, and to permit persons to whom the
|
---|
31 | # Software is furnished to do so, subject to the following
|
---|
32 | # conditions:
|
---|
33 | #
|
---|
34 | # The above copyright notice and this permission notice shall be
|
---|
35 | # included in all copies or substantial portions of the Software.
|
---|
36 | #
|
---|
37 | # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
---|
38 | # EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
|
---|
39 | # OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
---|
40 | # NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
|
---|
41 | # HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
---|
42 | # WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
---|
43 | # FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
|
---|
44 | # OTHER DEALINGS IN THE SOFTWARE.
|
---|
45 | #
|
---|
46 |
|
---|
47 | SUB_DEPTH = ../../../../..
|
---|
48 | include $(KBUILD_PATH)/subheader.kmk
|
---|
49 |
|
---|
50 | # @todo split the mouse code to communicate with VBoxMouse/VBoxService
|
---|
51 | # to allow building with gcc2.
|
---|
52 | # R1 will need gcc2-built input_server add-ons.
|
---|
53 |
|
---|
54 | PROGRAMS += VBoxMouse
|
---|
55 | VBoxMouse_TEMPLATE = VBOXGUESTR3EXE
|
---|
56 | VBoxMouse_DEFS = VBOX_WITH_HGCM LOG_TO_BACKDOOR
|
---|
57 | VBoxMouse_DEFS += LOG_ENABLED
|
---|
58 | VBoxMouse_INCS = ../include
|
---|
59 | VBoxMouse_SOURCES = \
|
---|
60 | VBoxMouse.cpp
|
---|
61 |
|
---|
62 | VBoxMouse_LIBS = \
|
---|
63 | be \
|
---|
64 | device \
|
---|
65 | $(VBOX_LIB_IPRT_GUEST_R3) \
|
---|
66 | $(VBOX_LIB_VBGL_R3) \
|
---|
67 | /system/servers/input_server
|
---|
68 |
|
---|
69 | PROGRAMS += VBoxMouseFilter
|
---|
70 | VBoxMouseFilter_TEMPLATE = VBOXGUESTR3EXE
|
---|
71 | VBoxMouseFilter_DEFS = VBOX_WITH_HGCM LOG_TO_BACKDOOR
|
---|
72 | VBoxMouseFilter_DEFS += LOG_ENABLED
|
---|
73 | VBoxMouseFilter_INCS = ../include
|
---|
74 | VBoxMouseFilter_SOURCES = \
|
---|
75 | VBoxMouseFilter.cpp
|
---|
76 |
|
---|
77 | VBoxMouseFilter_LIBS = $(VBoxMouse_LIBS)
|
---|
78 |
|
---|
79 | include $(KBUILD_PATH)/subfooter.kmk
|
---|
80 |
|
---|