1 | # $Id: Makefile.kmk 5999 2007-12-07 15:05:06Z vboxsync $
|
---|
2 | ## @file
|
---|
3 | # Makefile for the OS/2 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 |
|
---|
18 | DEPTH = ../../../../..
|
---|
19 | include $(PATH_KBUILD)/header.kmk
|
---|
20 |
|
---|
21 | #
|
---|
22 | # VBoxGuest.sys - The OS/2 driver.
|
---|
23 | #
|
---|
24 | SYSMODS.os2 += VBoxGuest
|
---|
25 | VBoxGuest_TEMPLATE = VBOXOS2GUESTR0
|
---|
26 | VBoxGuest_DEFS = VBGL_VBOXGUEST VBOX_HGCM
|
---|
27 | VBoxGuest_INCS := $(PATH_SUB_CURRENT)
|
---|
28 | #VBoxGuest_LDFLAGS = -s -t -v
|
---|
29 | VBoxGuest_SOURCES = \
|
---|
30 | VBoxGuestA-os2.asm \
|
---|
31 | VBoxGuest-os2.def
|
---|
32 | VBoxGuest_LIBS = \
|
---|
33 | $(TARGET_VBoxGuestLib) \
|
---|
34 | $(VBOX_LIB_VBGL_OS2_R0BASE) \
|
---|
35 | $(VBOX_LIB_IPRT_OS2_GUEST_R0) \
|
---|
36 | $(VBOX_GCC_LIBGCC) \
|
---|
37 | end
|
---|
38 |
|
---|
39 | ## When debugging init with kDrvTest:
|
---|
40 | #VBoxGuest_NAME = VBoxGst
|
---|
41 |
|
---|
42 | # temp hack to ensure that VBoxGuestA-os2.asm is first in the link.
|
---|
43 | LIBRARIES += VBoxGuestLib
|
---|
44 | VBoxGuestLib_TEMPLATE = VBOXOS2GUESTR0LIB
|
---|
45 | VBoxGuestLib_NOINST = 1
|
---|
46 | VBoxGuestLib_DEFS = VBGL_VBOXGUEST VBOX_HGCM
|
---|
47 | VBoxGuestLib_INCS := \
|
---|
48 | $(PATH_SUB_CURRENT) \
|
---|
49 | $(PATH_TARGET) \
|
---|
50 | $(PATH_ROOT)/src/VBox/Runtime/include
|
---|
51 | VBoxGuestLib_SOURCES = \
|
---|
52 | VBoxGuest-os2.cpp \
|
---|
53 | VBoxGuest.cpp
|
---|
54 |
|
---|
55 | include $(PATH_KBUILD)/footer.kmk
|
---|
56 |
|
---|