Makefile revision 677833bc953b6cb418c701facbdcf4aa18d6c44e
178N/A#
178N/A# Makefile for the common guest addition code library.
178N/A#
178N/A
178N/A#
178N/A# Copyright (C) 2006 InnoTek Systemberatung GmbH
178N/A#
178N/A# This file is part of VirtualBox Open Source Edition (OSE), as
178N/A# available from http://www.virtualbox.org. This file is free software;
178N/A# you can redistribute it and/or modify it under the terms of the GNU
178N/A# General Public License as published by the Free Software Foundation,
178N/A# in version 2 as it comes in the "COPYING" file of the VirtualBox OSE
178N/A# distribution. VirtualBox OSE is distributed in the hope that it will
178N/A# be useful, but WITHOUT ANY WARRANTY of any kind.
178N/A#
178N/A# If you received this file as part of a commercial VirtualBox
178N/A# distribution, then only the terms of your commercial VirtualBox
178N/A# license agreement apply instead of the previous paragraph.
178N/A#
178N/A
178N/ADEPTH = ../../../../..
2693N/Ainclude $(PATH_KBUILD)/header.kmk
178N/A
814N/A# As we build Windows Additions on Linux as well, we need a
2693N/A# separate Linux target for each library so that both platforms
2693N/A# are built.
2693N/Aifdef VBOX_WITH_WIN32_ADDITIONS
2693N/A ifndef VBOX_ADDITIONS_LINUX_ONLY
178N/A LIBRARIES += \
178N/A VBoxGuestLib \
2693N/A VBoxGuestLibBase
178N/A endif
345N/Aendif
618N/Aifdef VBOX_WITH_LINUX_ADDITIONS
178N/A LIBRARIES += \
178N/A VBoxGuestLibLinux \
844N/A VBoxGuestLibBaseLinux
844N/Aendif
618N/A
1258N/ASOURCES_GUESTLIB = \
178N/A GenericRequest.cpp \
2899N/A SysHlp.cpp \
2899N/A PhysHeap.cpp \
178N/A Init.cpp \
178N/A VMMDev.cpp \
178N/A HGCM.cpp \
178N/A HGCMInternal.cpp \
519N/A VBoxCalls.c
519N/ASOURCES_GUESTLIBBASE = \
178N/A $(SOURCES_GUESTLIB)
178N/A
178N/A#
178N/A# VBoxGuestLib
178N/A#
178N/AVBoxGuestLib_TEMPLATE = VBOXW32GUESTR0LIB
178N/AVBoxGuestLib_SDKS.win = W2K3DDKX86 WIN32SDK
178N/AVBoxGuestLib_SOURCES = \
178N/A $(SOURCES_GUESTLIB)
441N/AVBoxGuestLib_INCS = \
178N/A $(PATH_VBoxGuestLib)
178N/AVBoxGuestLib_INCS.win = \
1387N/A ../../WINNT/SharedFolders/include
1387N/AVBoxGuestLib_DEFS = IN_RING0 IN_RT_R0 VBOX_HGCM LOG_TO_BACKDOOR
1387N/A#VBoxGuestLib_DEFS += LOG_ENABLED
1387N/A
178N/A
178N/A#
178N/A# VBoxGuestLibBase
178N/A#
178N/AVBoxGuestLibBase_TEMPLATE = VBOXW32GUESTR0LIB
1387N/AVBoxGuestLibBase_SDKS.win = $(VBoxGuestLib_SDKS.win)
178N/AVBoxGuestLibBase_SOURCES = $(SOURCES_GUESTLIBBASE)
1387N/AVBoxGuestLibBase_INCS = $(VBoxGuestLib_INCS)
178N/AVBoxGuestLibBase_INCS.win = $(VBoxGuestLib_INCS.win)
1387N/AVBoxGuestLibBase_DEFS = $(VBoxGuestLib_DEFS) VBGL_VBOXGUEST
178N/AVBoxGuestLibBase_DEFS.win = $(VBoxGuestLib_DEFS.win)
178N/A#VBoxGuestLibBase_DEFS += LOG_ENABLED
178N/A
441N/A
178N/A#
178N/A# VBoxGuestLibLinux
178N/A#
178N/AVBoxGuestLibLinux_TEMPLATE = VBOXLNX32GUESTR0
178N/AVBoxGuestLibLinux_SOURCES = $(SOURCES_GUESTLIB)
178N/AVBoxGuestLibLinux_INCS = $(VBoxGuestLib_INCS)
178N/AVBoxGuestLibLinux_DEFS = VBOX_HGCM LOG_TO_BACKDOOR
178N/A
1387N/A
1387N/A#
1387N/A# VBoxGuestLibBaseLinux
1387N/A#
1387N/AVBoxGuestLibBaseLinux_TEMPLATE = VBOXLNX32GUESTR0
1387N/AVBoxGuestLibBaseLinux_SOURCES = $(SOURCES_GUESTLIBBASE)
1387N/AVBoxGuestLibBaseLinux_INCS = $(VBoxGuestLib_INCS)
178N/AVBoxGuestLibBaseLinux_DEFS = VBOX_HGCM VBGL_VBOXGUEST LOG_TO_BACKDOOR
178N/A
181N/A
178N/Ainclude $(PATH_KBUILD)/footer.kmk
1387N/A
1387N/A