VirtualBox

source: vbox/trunk/src/VBox/Additions/common/VBoxGuest/Makefile.kmk@ 6504

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

Fixed OS/2 build.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.1 KB
Line 
1# $Id: Makefile.kmk 6361 2008-01-15 22:39:01Z vboxsync $
2## @file
3# Makefile for the Cross Platform Guest Additions Driver.
4#
5
6#
7# Copyright (C) 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# VBoxGuest.sys - The OS/2 driver.
24#
25ifeq ($(BUILD_PLATFORM),os2)
26ifdef VBOX_WITH_OS2_ADDITIONS
27 SYSMODS.os2 += VBoxGuest
28endif
29VBoxGuest_TEMPLATE = VBOXOS2GUESTR0
30VBoxGuest_DEFS = VBGL_VBOXGUEST VBOX_HGCM
31VBoxGuest_INCS := $(PATH_SUB_CURRENT)
32#VBoxGuest_LDFLAGS = -s -t -v
33VBoxGuest_SOURCES = \
34 VBoxGuestA-os2.asm \
35 VBoxGuest-os2.def
36VBoxGuest_LIBS = \
37 $(TARGET_VBoxGuestLib) \
38 $(VBOX_LIB_VBGL_OS2_R0BASE) \
39 $(VBOX_LIB_IPRT_OS2_GUEST_R0) \
40 $(VBOX_GCC_LIBGCC) \
41 end
42
43## When debugging init with kDrvTest:
44#VBoxGuest_NAME = VBoxGst
45
46# temp hack to ensure that VBoxGuestA-os2.asm is first in the link.
47ifdef VBOX_WITH_OS2_ADDITIONS
48 LIBRARIES += VBoxGuestLib
49endif
50VBoxGuestLib_TEMPLATE = VBOXOS2GUESTR0LIB
51VBoxGuestLib_NOINST = 1
52VBoxGuestLib_DEFS = VBGL_VBOXGUEST VBOX_HGCM
53VBoxGuestLib_INCS := \
54 $(PATH_SUB_CURRENT) \
55 $(PATH_TARGET) \
56 $(PATH_ROOT)/src/VBox/Runtime/include
57VBoxGuestLib_SOURCES = \
58 VBoxGuest-os2.cpp \
59 VBoxGuest.cpp
60endif
61
62#
63# vboxadd.o - The Solaris Guest Driver.
64#
65ifeq ($(BUILD_PLATFORM),solaris)
66SYSMODS.solaris += vboxadd
67vboxadd_TEMPLATE = VBOXGUESTR0
68vboxadd_DEFS = VBGL_VBOXGUEST VBOX_HGCM
69vboxadd_INCS := $(PATH_SUB_CURRENT) \
70 $(PATH_ROOT)/src/VBox/Runtime/r0drv/solaris
71vboxadd_SOURCES = \
72 VBoxGuest-solaris.c \
73 VBoxGuest.cpp
74vboxadd_LIBS = \
75 $(VBOX_LIB_VBGL_R0BASE) \
76 $(VBOX_LIB_IPRT_GUEST_R0)
77endif
78
79include $(PATH_KBUILD)/subfooter.kmk
80
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