VirtualBox

source: vbox/trunk/src/VBox/Frontends/VBoxBFE/Makefile@ 113

Last change on this file since 113 was 1, checked in by vboxsync, 55 years ago

import

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 3.1 KB
Line 
1#
2# Makefile for VBoxBFE (a basic frontend which doesn't make use of Main).
3#
4
5#
6# Copyright (C) 2006 InnoTek Systemberatung GmbH
7#
8# This file is part of VirtualBox Open Source Edition (OSE), as
9# available from http://www.virtualbox.org. This file is free software;
10# you can redistribute it and/or modify it under the terms of the GNU
11# General Public License as published by the Free Software Foundation,
12# in version 2 as it comes in the "COPYING" file of the VirtualBox OSE
13# distribution. VirtualBox OSE is distributed in the hope that it will
14# be useful, but WITHOUT ANY WARRANTY of any kind.
15#
16# If you received this file as part of a commercial VirtualBox
17# distribution, then only the terms of your commercial VirtualBox
18# license agreement apply instead of the previous paragraph.
19#
20
21DEPTH = ../../../..
22include $(PATH_KBUILD)/header.kmk
23
24PROGRAMS = VBoxBFE
25
26#
27# VBoxBFE
28#
29VBoxBFE_TEMPLATE = VBOXR3NPEXE
30ifneq ($(BUILD_TARGET),l4)
31VBoxBFE_SDKS = LIBSDL
32VBoxBFE_DEFS = USE_SDL
33endif
34#ifdef VBOX_WITH_SECURELABEL
35#VBoxBFE_DEFS += VBOX_SECURELABEL
36#endif
37ifdef VBOX_WITH_VRDP
38VBoxBFE_DEFS += VBOX_VRDP
39endif
40ifneq ($(BUILD_TARGET).$(VBOX_WITHOUT_COM),win.)
41VBoxBFE_DEFS += VBOXBFE_WITHOUT_COM
42endif
43VBoxBFE_DEFS.l4 = _GNU_SOURCE
44VBoxBFE_DEFS.linux = _GNU_SOURCE VBOXBFE_WITH_X11
45VBoxBFE_DEFS.win.x86 = _WIN32_WINNT=0x0500
46
47VBoxBFE_SOURCES = \
48 VBoxBFE.cpp \
49 VMMDevInterface.cpp \
50 DisplayImpl.cpp \
51 MouseImpl.cpp \
52 KeyboardImpl.cpp \
53 StatusImpl.cpp \
54 MachineDebuggerImpl.cpp
55
56# USB Support
57ifneq ($(filter-out os2 darwin,$(BUILD_TARGET)),)
58VBoxBFE_DEFS += VBOXBFE_WITH_USB
59VBoxBFE_SOURCES += \
60 HostUSBImpl.cpp \
61 HostUSBDeviceImpl.cpp \
62 USBProxyService.cpp
63endif
64
65VBoxBFE_SOURCES.win = \
66 SDLConsole.cpp \
67 SDLFramebuffer.cpp
68VBoxBFE_SOURCES.os2 = \
69 SDLConsole.cpp \
70 SDLFramebuffer.cpp
71VBoxBFE_SOURCES.linux = \
72 SDLConsole.cpp \
73 SDLFramebuffer.cpp \
74 USBProxyServiceLinux.cpp
75VBoxBFE_SOURCES.l4 = \
76 L4Console.cpp \
77 L4Framebuffer.cpp \
78 EmulCpp.cpp \
79 USBProxyServiceLinux.cpp
80VBoxBFE_SOURCES.darwin = \
81 SDLConsole.cpp \
82 SDLFramebuffer.cpp
83
84VBoxBFE_INCS = \
85 $(PATH_VBoxBFE) \
86 $(PATH_BIN)/sdk/include
87VBoxBFE_INCS.linux = \
88 $(PATH_BIN)/sdk/include \
89 $(VBOX_XPCOM_INCS)
90
91VBoxBFE_LIBS = \
92 $(LIB_RUNTIME) \
93 $(LIB_VMM)
94ifndef VBOX_WITHOUT_COM
95VBoxBFE_LIBS.win = \
96 $(PATH_TOOL_$(VBOX_VCC_TOOL)_ATLMFC_LIB)/atls.lib
97endif
98VBoxBFE_LIBS.linux = \
99 $(LIB_RUNTIME) \
100 $(LIB_UUID) \
101 $(LIB_XCURSOR)
102VBoxBFE_LIBS.l4 = \
103 $(L4_LIBDIR)/libl4con-idl.a \
104 $(L4_LIBDIR)/libdm_generic.a \
105 $(L4_LIBDIR)/libdm_mem.a \
106 $(L4_LIBDIR)/libnames.a \
107 $(L4_LIBDIR)/libconstream-server.a \
108 $(L4_LIBDIR)/libl4sys.a
109VBoxBFE_LIBS.darwin = \
110 $(LIB_REM) \
111 $(LIB_SDK_LIBSDL_SDLMAIN)
112VBoxBFE_LDFLAGS.darwin = -framework Foundation -framework AppKit
113
114VBoxBFE_LIBPATH.linux = \
115 $(LIBPATH_XPCOM) \
116 /usr/X11R6/lib
117
118
119VBoxBFE_CXXFLAGS.win = \
120 -EHsc
121VBoxBFE_CXXFLAGS.linux = \
122 -DNDEBUG -DTRIMMED -O -Wall -fno-rtti -fno-exceptions \
123 -Wno-non-virtual-dtor -Wno-long-long -fshort-wchar -pthread -pipe
124VBoxBFE_CXXFLAGS.l4 += -fno-rtti -nostdinc -Wno-non-virtual-dtor \
125 $(addprefix -I,$(VBOX_L4_GCC3_INCS) $(L4_INCDIR))
126VBoxBFE_CFLAGS.linux += -O ## @todo what's this good for?
127
128
129include $(PATH_KBUILD)/footer.kmk
130
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