[53614] | 1 | # $Id: Maintenance.kmk 98445 2023-02-02 13:06:39Z vboxsync $
|
---|
| 2 | ## @file
|
---|
| 3 | # Maintenance makefile.
|
---|
| 4 | #
|
---|
| 5 |
|
---|
| 6 | #
|
---|
[98103] | 7 | # Copyright (C) 2006-2023 Oracle and/or its affiliates.
|
---|
[53614] | 8 | #
|
---|
[96407] | 9 | # This file is part of VirtualBox base platform packages, as
|
---|
| 10 | # available from https://www.virtualbox.org.
|
---|
[53614] | 11 | #
|
---|
[96407] | 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 | #
|
---|
[53614] | 27 |
|
---|
| 28 |
|
---|
| 29 | #
|
---|
| 30 | # By default, only show the maintence help info.
|
---|
| 31 | #
|
---|
| 32 | PASS_MAINTHELP := Maintence Help
|
---|
| 33 | PASS_MAINTHELP_trgs := show-maintence-help
|
---|
| 34 | PASS_MAINTHELP_vars :=
|
---|
| 35 | PASS_MAINTHELP_pass := maintence-help
|
---|
| 36 |
|
---|
| 37 | override DEFAULT_PASSES := MAINTHELP
|
---|
| 38 |
|
---|
| 39 | show-maintence-help:
|
---|
| 40 | @$(ECHO) ""
|
---|
| 41 | @$(ECHO) "up update - Update svn and fetch tools."
|
---|
[74652] | 42 | @$(ECHO) "up2 update2 - Update svn and fetch tools, ignore externals (kBuild)."
|
---|
[53614] | 43 | @$(ECHO) "incs - Update autogenerated assembly include files in include/."
|
---|
| 44 | @$(ECHO) "snapshot-puel - Create a source tarball of the PUEL (closed) sources."
|
---|
| 45 | @$(ECHO) "docs docs.core - run doxygen on core code."
|
---|
| 46 | @$(ECHO) ""
|
---|
| 47 | @$(ECHO) "Build aliases:"
|
---|
| 48 | @$(ECHO) " both-types-archs both-archs-types - Do both 32-bit and 64-bit builds in both debug and release variants."
|
---|
| 49 | @$(ECHO) " both-x86-amd64 both-amd64-x86 - Do both 32-bit and 64-bit builds for the current build type."
|
---|
| 50 | @$(ECHO) " both-debug-release both-release-debug - Do both release and debug builds for the current target."
|
---|
| 51 | @$(ECHO) " build-release-x86 - Do a 32-bit release build."
|
---|
| 52 | @$(ECHO) " build-debug-x86 - Do a 32-bit debug build."
|
---|
| 53 | @$(ECHO) " build-release-amd64 - Do a 64-bit release build."
|
---|
| 54 | @$(ECHO) " build-debug-amd64 - Do a 64-bit debug build."
|
---|
| 55 |
|
---|
| 56 | #
|
---|
| 57 | # Include the normal root makefile, but without dragging in sub-makefiles.
|
---|
| 58 | #
|
---|
[98445] | 59 | VBOX_ONLY_ROOT_MAKEFILE = 1
|
---|
[53614] | 60 | include $(dir $(firstword $(MAKEFILE_LIST)))Makefile.kmk
|
---|
| 61 |
|
---|