summaryrefslogtreecommitdiffstats
path: root/include/.scm-settings
blob: 48ca63392c49da446a29e1c1bdc4dfb36064c1df (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
# $Id: .scm-settings $
## @file
# Source code massager settings for the includes.
#

#
# Copyright (C) 2010-2022 Oracle and/or its affiliates.
#
# This file is part of VirtualBox base platform packages, as
# available from https://www.virtualbox.org.
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation, in version 3 of the
# License.
#
# This program is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
# General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, see <https://www.gnu.org/licenses>.
#
# SPDX-License-Identifier: GPL-3.0-only
#


# Default license for headers is dual GPL and CDDL.
--license-ose-dual

# Only the headers should be dual.
/Makefile.kmk:  --license-ose-gpl
/.scm-settings: --license-ose-gpl

# /iprt/nocrt/* C++ style header files
/iprt/nocrt/algorithm:      --treat-as h
/iprt/nocrt/cassert:        --treat-as h
/iprt/nocrt/cstddef:        --treat-as h
/iprt/nocrt/cstdlib:        --treat-as h
/iprt/nocrt/exception:      --treat-as h
/iprt/nocrt/fstream:        --treat-as h
/iprt/nocrt/iomanip:        --treat-as h
/iprt/nocrt/ios:            --treat-as h
/iprt/nocrt/iosfwd:         --treat-as h
/iprt/nocrt/iostream:       --treat-as h
/iprt/nocrt/limits:         --treat-as h
/iprt/nocrt/memory:         --treat-as h
/iprt/nocrt/new:            --treat-as h
/iprt/nocrt/ostream:        --treat-as h
/iprt/nocrt/string:         --treat-as h
/iprt/nocrt/type_traits:    --treat-as h
/iprt/nocrt/vector:         --treat-as h

# These three have no Oracle license or copyright stuff for some reason.
/iprt/formats/elf-amd64.h:  --no-update-license  --no-update-copyright-year
/iprt/formats/elf-common.h: --no-update-license  --no-update-copyright-year
/iprt/formats/elf-i386.h:   --no-update-license  --no-update-copyright-year
/iprt/formats/elf-i386.h:   --no-update-license  --no-update-copyright-year

# external copyright
/iprt/formats/lx.h:         --external-copyright

# This is using LGPL (from WINE) with Oracle disclaimer.
/VBox/VBoxKeyboard.h: --external-copyright --lgpl-disclaimer

# Some of the graphics stuff is using MIT.
/VBox/Graphics/HGSMI.h:                 --license-mit
/VBox/Graphics/HGSMIBase.h:             --license-mit
/VBox/Graphics/HGSMIChannels.h:         --license-mit
/VBox/Graphics/HGSMIChSetup.h:          --license-mit
/VBox/Graphics/HGSMIContext.h:          --license-mit
/VBox/Graphics/HGSMIDefs.h:             --license-mit
/VBox/Graphics/VBoxVideo.h:             --license-mit
/VBox/Graphics/VBoxVideoErr.h:          --license-mit
/VBox/Graphics/VBoxVideoGuest.h:        --license-mit
/VBox/Graphics/VBoxVideoVBE.h:          --license-mit
/VBox/Graphics/VBoxVideoVBEPrivate.h:   --license-mit

# And so are some files used by the shared folder guest code.
/VBox/shflsvc.h:                        --license-mit
/VBox/VBoxGuest.h:                      --license-mit
/VBox/VBoxGuestCoreTypes.h:             --license-mit
/VBox/VBoxGuestLib.h:                   --license-mit
/VBox/VBoxGuestLibSharedFolders.h:      --license-mit
/VBox/VBoxGuestLibSharedFoldersInline.h: --license-mit
/VBox/VMMDev.h:                         --license-mit
/VBox/VMMDevCoreTypes.h:                --license-mit

/VBox/HostServices/glext.h:             --external-copyright --no-convert-tabs --no-strip-trailing-blanks
/VBox/HostServices/glxext.h:            --external-copyright --no-convert-tabs --no-strip-trailing-blanks
/VBox/HostServices/wglext.h:            --external-copyright --no-convert-tabs --no-strip-trailing-blanks

# Some headers actually shouldn't have include guards:
/VBox/dbus-calls.h:                     --no-fix-header-guards
/VBox/xrandr-calls.h:                   --no-fix-header-guards
/VBox/VDEPlugSymDefs.h:                 --no-fix-header-guards
/VBox/vmm/vmmr3vtable-def.h:            --no-fix-header-guards
/iprt/asn1-generator-core.h:            --no-fix-header-guards
/iprt/asn1-generator-pass.h:            --no-fix-header-guards
/iprt/asn1-generator-sanity.h:          --no-fix-header-guards
/iprt/asn1-generator-internal-header.h: --no-fix-header-guards
/iprt/asn1-generator-asn1-decoder.h:    --no-fix-header-guards
/iprt/asn1-generator-init.h:            --no-fix-header-guards
/iprt/runtime-loader.h:                 --no-fix-header-guards
/iprt/bldprog-strtab-template.cpp.h:    --no-fix-header-guards
/iprt/asm*watcom*.h:                    --no-pragma-once

/iprt/*.h: --guard-relative-to-dir iprt --guard-prefix IPRT_INCLUDED_
/VBox/*.h: --guard-relative-to-dir VBox --guard-prefix VBOX_INCLUDED_
/iprt/sanitized/*: --guard-relative-to-dir iprt --guard-prefix IPRT_INCLUDED_ --treat-as h