Makefile.kmk revision 456f370fcde010d585d9174df045978a6c9893c1
2681N/A# $Id$
2681N/A## @file
2681N/A# Sub-Makefile for the Cross Platform Guest Addition Services.
2681N/A#
2681N/A
2681N/A#
2681N/A# Copyright (C) 2007 Sun Microsystems, Inc.
2681N/A#
2681N/A# This file is part of VirtualBox Open Source Edition (OSE), as
2681N/A# available from http://www.virtualbox.org. This file is free software;
2681N/A# you can redistribute it and/or modify it under the terms of the GNU
2681N/A# General Public License (GPL) as published by the Free Software
2681N/A# Foundation, in version 2 as it comes in the "COPYING" file of the
2681N/A# VirtualBox OSE distribution. VirtualBox OSE is distributed in the
2681N/A# hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
2681N/A#
2681N/A# Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa
2681N/A# Clara, CA 95054 USA or visit http://www.sun.com if you need
2681N/A# additional information or have any questions.
2681N/A#
2681N/A
2681N/Aifdef VBOX_KBUILD_HACKING
2681N/ASUB_DEPTH = ../../../../..
2681N/Aelse
2681N/ADEPTH ?= ../../../../..
2681N/ASUB_DEPTH = ../..
2681N/Aendif
2681N/Ainclude $(KBUILD_PATH)/subheader.kmk
2681N/A
2681N/Aifeq ($(KBUILD_HOST),os2)
2681N/A ifdef VBOX_WITH_OS2_ADDITIONS
2681N/A PROGRAMS += VBoxService
2681N/A endif
2681N/Aelse
2681N/A PROGRAMS += VBoxService
2681N/Aendif
2681N/A
2681N/A#
2681N/A# VBoxService.exe
2681N/A#
2681N/AVBoxService_TEMPLATE = VBOXGUESTR3EXE
2681N/AVBoxService_DEFS = VBOXSERVICE_TIMESYNC
2681N/AVBoxService_DEFS.os2 = VBOX_HGCM VBOXSERVICE_CLIPBOARD
2681N/AVBoxService_SOURCES = \
2681N/A VBoxService.cpp \
2681N/A VBoxServiceTimeSync.cpp
2681N/AVBoxService_SOURCES.os2 = \
2681N/A VBoxService-os2.def \
2681N/A VBoxServiceClipboard-os2.cpp
2681N/AVBoxService_LIBS = \
2681N/A $(VBOX_LIB_IPRT_GUEST_R3) \
2681N/A $(VBOX_LIB_VBGL_R3)
2681N/A## @todo r=bird: Move to the template.
2681N/AVBoxService_LIBS.freebsd = \
2681N/A iconv
2681N/AVBoxService_LIBPATH.freebsd = \
2681N/A /usr/local/lib
2681N/Ainclude $(KBUILD_PATH)/subfooter.kmk
2681N/A
2681N/A