Makefile.kmk revision 134a3c3717323d17064b23e0f0c936c315916c45
bff1915a855c5b71d76f6391549eadda348e33b0vboxsync# $Id$
bff1915a855c5b71d76f6391549eadda348e33b0vboxsync## @file
6d1a8b922859f63b629351cba4793043627d7c8fvboxsync# Sub-Makefile for the headless frontend.
bff1915a855c5b71d76f6391549eadda348e33b0vboxsync#
bff1915a855c5b71d76f6391549eadda348e33b0vboxsync
bff1915a855c5b71d76f6391549eadda348e33b0vboxsync#
1c94c0a63ba68be1a7b2c640e70d7a06464e4fcavboxsync# Copyright (C) 2006-2007 Sun Microsystems, Inc.
a16eb14ad7a4b5ef91ddc22d3e8e92d930f736fcvboxsync#
bd8e360cd1db83dcb2694ea9122ce3bc5bae678avboxsync# This file is part of VirtualBox Open Source Edition (OSE), as
bd8e360cd1db83dcb2694ea9122ce3bc5bae678avboxsync# available from http://www.virtualbox.org. This file is free software;
bd8e360cd1db83dcb2694ea9122ce3bc5bae678avboxsync# you can redistribute it and/or modify it under the terms of the GNU
bd8e360cd1db83dcb2694ea9122ce3bc5bae678avboxsync# General Public License (GPL) as published by the Free Software
bd8e360cd1db83dcb2694ea9122ce3bc5bae678avboxsync# Foundation, in version 2 as it comes in the "COPYING" file of the
bd8e360cd1db83dcb2694ea9122ce3bc5bae678avboxsync# VirtualBox OSE distribution. VirtualBox OSE is distributed in the
bd8e360cd1db83dcb2694ea9122ce3bc5bae678avboxsync# hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
a16eb14ad7a4b5ef91ddc22d3e8e92d930f736fcvboxsync#
1c94c0a63ba68be1a7b2c640e70d7a06464e4fcavboxsync# Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa
1c94c0a63ba68be1a7b2c640e70d7a06464e4fcavboxsync# Clara, CA 95054 USA or visit http://www.sun.com if you need
1c94c0a63ba68be1a7b2c640e70d7a06464e4fcavboxsync# additional information or have any questions.
1c94c0a63ba68be1a7b2c640e70d7a06464e4fcavboxsync#
bff1915a855c5b71d76f6391549eadda348e33b0vboxsync
995825c1ba4ab8b5d5b52ce33327f4630ad7ca64vboxsyncSUB_DEPTH = ../../../..
27537ffef7291d0bb3a24e459a6b94c65586defevboxsyncinclude $(KBUILD_PATH)/subheader.kmk
bff1915a855c5b71d76f6391549eadda348e33b0vboxsync
6d1a8b922859f63b629351cba4793043627d7c8fvboxsyncinclude $(PATH_SUB_CURRENT)/testcase/Makefile.kmk
6d1a8b922859f63b629351cba4793043627d7c8fvboxsyncifdef VBOX_WITH_FFMPEG
6d1a8b922859f63b629351cba4793043627d7c8fvboxsync include $(PATH_SUB_CURRENT)/VideoCapture/Makefile.kmk
6d1a8b922859f63b629351cba4793043627d7c8fvboxsyncendif
bff1915a855c5b71d76f6391549eadda348e33b0vboxsync
1c2c968fd241148110002d75b2c0fdeddc211e14vboxsync#
1c2c968fd241148110002d75b2c0fdeddc211e14vboxsync# Targets.
1c2c968fd241148110002d75b2c0fdeddc211e14vboxsync#
1c2c968fd241148110002d75b2c0fdeddc211e14vboxsyncifdef VBOX_WITH_HARDENING
1c2c968fd241148110002d75b2c0fdeddc211e14vboxsync PROGRAMS += VBoxHeadlessHardened
1c2c968fd241148110002d75b2c0fdeddc211e14vboxsync DLLS += VBoxHeadless
1c2c968fd241148110002d75b2c0fdeddc211e14vboxsyncelse
1c2c968fd241148110002d75b2c0fdeddc211e14vboxsync PROGRAMS += VBoxHeadless
1c2c968fd241148110002d75b2c0fdeddc211e14vboxsyncendif
1c2c968fd241148110002d75b2c0fdeddc211e14vboxsync
1c2c968fd241148110002d75b2c0fdeddc211e14vboxsync
1c2c968fd241148110002d75b2c0fdeddc211e14vboxsync#
1c2c968fd241148110002d75b2c0fdeddc211e14vboxsync# Hardened VBoxHeadless.
1c2c968fd241148110002d75b2c0fdeddc211e14vboxsync#
1c2c968fd241148110002d75b2c0fdeddc211e14vboxsyncVBoxHeadlessHardened_TEMPLATE = VBOXR3HARDENEDEXE
1c2c968fd241148110002d75b2c0fdeddc211e14vboxsyncVBoxHeadlessHardened_SOURCES = VBoxHeadlessHardened.cpp
1c2c968fd241148110002d75b2c0fdeddc211e14vboxsyncVBoxHeadlessHardened_NAME = VBoxHeadless
1c2c968fd241148110002d75b2c0fdeddc211e14vboxsync
1c2c968fd241148110002d75b2c0fdeddc211e14vboxsync
1c2c968fd241148110002d75b2c0fdeddc211e14vboxsync#
1c2c968fd241148110002d75b2c0fdeddc211e14vboxsync# VBoxHeadless
1c2c968fd241148110002d75b2c0fdeddc211e14vboxsync#
1c2c968fd241148110002d75b2c0fdeddc211e14vboxsyncVBoxHeadless_TEMPLATE := $(if $(VBOX_WITH_HARDENING),VBOXMAINCLIENTDLL,VBOXMAINCLIENTEXE)
bff1915a855c5b71d76f6391549eadda348e33b0vboxsyncVBoxHeadless_DEFS = VBOX_FFMPEG
6d1a8b922859f63b629351cba4793043627d7c8fvboxsyncVBoxHeadless_SOURCES = VBoxHeadless.cpp
bff1915a855c5b71d76f6391549eadda348e33b0vboxsyncifdef VBOX_WITH_VRDP
6d1a8b922859f63b629351cba4793043627d7c8fvboxsync VBoxHeadless_DEFS += VBOX_WITH_VRDP
6d1a8b922859f63b629351cba4793043627d7c8fvboxsync VBoxHeadless_SOURCES += Framebuffer.cpp
bff1915a855c5b71d76f6391549eadda348e33b0vboxsyncendif
ffeca4c7b12d5de2123eb7085310dbdbcf1b8d87vboxsyncifdef VBOX_WITH_GUEST_PROPS
ffeca4c7b12d5de2123eb7085310dbdbcf1b8d87vboxsync VBoxHeadless_DEFS += VBOX_WITH_GUEST_PROPS
ffeca4c7b12d5de2123eb7085310dbdbcf1b8d87vboxsyncendif
1c2c968fd241148110002d75b2c0fdeddc211e14vboxsyncifdef VBOX_WITH_HARDENING
1c2c968fd241148110002d75b2c0fdeddc211e14vboxsync VBoxHeadless_LDFLAGS.darwin += -install_name $(VBOX_DYLD_EXECUTABLE_PATH)/VBoxHeadless.dylib
1c2c968fd241148110002d75b2c0fdeddc211e14vboxsyncendif
d8b337a015c8791d07563ab40e4be049811ccb6avboxsyncifdef VBOX_WITH_VNC
d8b337a015c8791d07563ab40e4be049811ccb6avboxsync VBoxHeadless_DEFS += VBOX_WITH_VNC
d8b337a015c8791d07563ab40e4be049811ccb6avboxsync VBoxHeadless_SOURCES += FramebufferVNC.cpp
134a3c3717323d17064b23e0f0c936c315916c45vboxsync VBoxHeadless_LIBS += vncserver
d8b337a015c8791d07563ab40e4be049811ccb6avboxsyncendif
bff1915a855c5b71d76f6391549eadda348e33b0vboxsync
27537ffef7291d0bb3a24e459a6b94c65586defevboxsyncinclude $(KBUILD_PATH)/subfooter.kmk
bff1915a855c5b71d76f6391549eadda348e33b0vboxsync