VirtualBox

source: vbox/trunk/src/VBox/Installer/Makefile.kmk@ 99425

Last change on this file since 99425 was 98429, checked in by vboxsync, 23 months ago

Installer/*.kmk: Automatic scm cleanups. bugref:10348

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 2.4 KB
Line 
1# $Id: Makefile.kmk 98429 2023-02-02 12:03:46Z vboxsync $
2## @file
3# Install misc stuff and create dist packages.
4#
5
6#
7# Copyright (C) 2006-2023 Oracle and/or its affiliates.
8#
9# This file is part of VirtualBox base platform packages, as
10# available from https://www.virtualbox.org.
11#
12# This program is free software; you can redistribute it and/or
13# modify it under the terms of the GNU General Public License
14# as published by the Free Software Foundation, in version 3 of the
15# License.
16#
17# This program is distributed in the hope that it will be useful, but
18# WITHOUT ANY WARRANTY; without even the implied warranty of
19# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
20# General Public License for more details.
21#
22# You should have received a copy of the GNU General Public License
23# along with this program; if not, see <https://www.gnu.org/licenses>.
24#
25# SPDX-License-Identifier: GPL-3.0-only
26#
27
28SUB_DEPTH = ../../..
29include $(KBUILD_PATH)/subheader.kmk
30
31#
32# Make sure our Config.kmk is included.
33#
34ifndef VBOX_INSTALLER_CONFIG_KMK_INCLUDED
35 include $(PATH_SUB_CURRENT)/Config.kmk
36endif
37
38#
39# Include Sub-Makefiles.
40#
41ifndef VBOX_ONLY_SDK
42 if "$(KBUILD_TARGET)" == "darwin" && "$(KBUILD_HOST)" == "darwin"
43 include $(PATH_SUB_CURRENT)/darwin/Makefile.kmk
44 endif
45 if "$(KBUILD_TARGET)" == "linux" && "$(KBUILD_HOST)" == "linux"
46 include $(PATH_SUB_CURRENT)/linux/Makefile.kmk
47 endif
48 if "$(KBUILD_TARGET)" == "solaris" && "$(KBUILD_HOST)" == "solaris"
49 include $(PATH_SUB_CURRENT)/solaris/Makefile.kmk
50 endif
51 if "$(KBUILD_TARGET)" == "win" && "$(KBUILD_HOST)" == "win"
52 include $(PATH_SUB_CURRENT)/win/Makefile.kmk
53 endif
54 if "$(KBUILD_TARGET)" == "freebsd" && "$(KBUILD_HOST)" == "freebsd"
55 include $(PATH_SUB_CURRENT)/freebsd/Makefile.kmk
56 endif
57endif
58
59include $(PATH_SUB_CURRENT)/common/Makefile.kmk
60
61if defined(VBOX_ONLY_SDK) ## @todo || defined(VBOX_WITH_SDK)
62 #
63 # Package the VirtualBox SDK.
64 #
65 VBOX_SDK_ZIP = $(PATH_STAGE_BIN)/VirtualBoxSDK-$(VBOX_VERSION_STRING)-r$(VBOX_SVN_REV).zip
66 PACKING += $(VBOX_SDK_ZIP)
67 OTHER_CLEANS += $(VBOX_SDK_ZIP) \
68 $(wildcard $(PATH_STAGE_BIN)/VirtualBoxSDK-*-r*.zip)
69
70 # @todo: wrong, it must depend on everything included in SDK
71 $(VBOX_SDK_ZIP): \
72 $(PATH_STAGE_BIN)/sdk \
73 $(VBOX_VERSION_STAMP)
74 $(call MSG_L1,Making SDK delivery $@)
75 $(QUIET)$(REDIRECT) $(if $(QUIET),-wo /dev/null,) -C $(PATH_STAGE_BIN) -- $(VBOX_ZIP) -r9 $@ sdk
76endif
77
78
79include $(FILE_KBUILD_SUB_FOOTER)
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