1 | # $Id: Maintenance.kmk 82968 2020-02-04 10:35:17Z vboxsync $
|
---|
2 | ## @file
|
---|
3 | # Maintenance makefile.
|
---|
4 | #
|
---|
5 |
|
---|
6 | #
|
---|
7 | # Copyright (C) 2006-2020 Oracle Corporation
|
---|
8 | #
|
---|
9 | # This file is part of VirtualBox Open Source Edition (OSE), as
|
---|
10 | # available from http://www.virtualbox.org. This file is free software;
|
---|
11 | # you can redistribute it and/or modify it under the terms of the GNU
|
---|
12 | # General Public License (GPL) as published by the Free Software
|
---|
13 | # Foundation, in version 2 as it comes in the "COPYING" file of the
|
---|
14 | # VirtualBox OSE distribution. VirtualBox OSE is distributed in the
|
---|
15 | # hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
|
---|
16 | #
|
---|
17 |
|
---|
18 |
|
---|
19 | #
|
---|
20 | # By default, only show the maintence help info.
|
---|
21 | #
|
---|
22 | PASS_MAINTHELP := Maintence Help
|
---|
23 | PASS_MAINTHELP_trgs := show-maintence-help
|
---|
24 | PASS_MAINTHELP_vars :=
|
---|
25 | PASS_MAINTHELP_pass := maintence-help
|
---|
26 |
|
---|
27 | override DEFAULT_PASSES := MAINTHELP
|
---|
28 |
|
---|
29 | show-maintence-help:
|
---|
30 | @$(ECHO) ""
|
---|
31 | @$(ECHO) "up update - Update svn and fetch tools."
|
---|
32 | @$(ECHO) "up2 update2 - Update svn and fetch tools, ignore externals (kBuild)."
|
---|
33 | @$(ECHO) "incs - Update autogenerated assembly include files in include/."
|
---|
34 | @$(ECHO) "snapshot-puel - Create a source tarball of the PUEL (closed) sources."
|
---|
35 | @$(ECHO) "docs docs.core - run doxygen on core code."
|
---|
36 | @$(ECHO) ""
|
---|
37 | @$(ECHO) "Build aliases:"
|
---|
38 | @$(ECHO) " both-types-archs both-archs-types - Do both 32-bit and 64-bit builds in both debug and release variants."
|
---|
39 | @$(ECHO) " both-x86-amd64 both-amd64-x86 - Do both 32-bit and 64-bit builds for the current build type."
|
---|
40 | @$(ECHO) " both-debug-release both-release-debug - Do both release and debug builds for the current target."
|
---|
41 | @$(ECHO) " build-release-x86 - Do a 32-bit release build."
|
---|
42 | @$(ECHO) " build-debug-x86 - Do a 32-bit debug build."
|
---|
43 | @$(ECHO) " build-release-amd64 - Do a 64-bit release build."
|
---|
44 | @$(ECHO) " build-debug-amd64 - Do a 64-bit debug build."
|
---|
45 |
|
---|
46 | #
|
---|
47 | # Include the normal root makefile, but without dragging in sub-makefiles.
|
---|
48 | #
|
---|
49 | VBOX_ONLY_ROOT_MAKEFILE=1
|
---|
50 | include $(dir $(firstword $(MAKEFILE_LIST)))Makefile.kmk
|
---|
51 |
|
---|