0
0
mirror of https://github.com/netwide-assembler/nasm.git synced 2025-10-10 00:25:06 -04:00

Fix more license headers

This commit is contained in:
H. Peter Anvin
2025-10-01 12:05:34 -07:00
parent 85a8d85174
commit 4acc3dbccc
13 changed files with 32 additions and 17 deletions

View File

@@ -1,10 +1,8 @@
#
# -*- makefile -*-
# SPDX-License-Identifier: BSD-2-Clause
# Copyright 1996-2025 The NASM Authors - All Rights Reserved
# Auto-configuring Makefile for the Netwide Assembler.
#
# The Netwide Assembler is copyright (C) 1996 Simon Tatham and
# Julian Hall. All rights reserved. The software is
# redistributable under the license given in the file "LICENSE"
# distributed in the NASM archive.
@SET_MAKE@

View File

@@ -1,11 +1,11 @@
# -*- makefile -*-
# SPDX-License-Identifier: BSD-2-Clause
# Copyright 1996-2025 The NASM Authors - All Rights Reserved
#
# Makefile for building NASM using Microsoft Visual C++ and NMAKE.
# Tested on Microsoft Visual C++ 2005 Express Edition.
#
# Make sure to put the appropriate directories in your PATH, in
# the case of MSVC++ 2005, they are ...\VC\bin and ...\Common7\IDE.
# Last tested on Visual Studio 2022 Community Edition.
#
# Make sure to have the proper directories in your path.
# This is typically done by opening the Visual Studio Command Prompt.
#

View File

@@ -1,3 +1,7 @@
# -*- makefile -*-
# SPDX-License-Identifier: BSD-2-Clause
# Copyright 1996-20xx The NASM Authors - All Rights Reserved
#
# UNIX Makefile for NASM documentation
#

3
headers/asm Normal file
View File

@@ -0,0 +1,3 @@
;; -*- nasm -*-
;; SPDX-License-Identifier: BSD-2-Clause
;; Copyright 1996-20xx The NASM Authors - All Rights Reserved

View File

@@ -1,2 +1,2 @@
/* SPDX-License-Identifier: BSD-2-Clause */
/* Copyright 1996-2010 The NASM Authors - All Rights Reserved */
/* Copyright 1996-20xx The NASM Authors - All Rights Reserved */

View File

@@ -1,2 +1,2 @@
\# SPDX-License-Identifier: BSD-2-Clause
\# Copyright 1996-2010 The NASM Authors - All Rights Reserved
\# Copyright 1996-20xx The NASM Authors - All Rights Reserved

View File

@@ -1,2 +0,0 @@
;; SPDX-License-Identifier: BSD-2-Clause
;; Copyright 1996-2010 The NASM Authors - All Rights Reserved

3
headers/make Normal file
View File

@@ -0,0 +1,3 @@
# -*- makefile -*-
# SPDX-License-Identifier: BSD-2-Clause
# Copyright 1996-20xx The NASM Authors - All Rights Reserved

View File

@@ -1,2 +1,3 @@
#!/usr/bin/perl -
# SPDX-License-Identifier: BSD-2-Clause
# Copyright 1996-2010 The NASM Authors - All Rights Reserved
# Copyright 1996-20xx The NASM Authors - All Rights Reserved

View File

@@ -1,3 +1,3 @@
#!/bin/sh
#!/bin/sh -
# Copyright 1996-20xx The NASM Authors - All Rights Reserved
# SPDX-License-Identifier: BSD-2-Clause

View File

@@ -1,3 +1,7 @@
# -*- makefile -*-
# SPDX-License-Identifier: BSD-2-Clause
# Copyright 1996-2025 The NASM Authors - All Rights Reserved
#
# Makefile for various extra NASM programs and files
#

View File

@@ -1,4 +1,7 @@
# -*- coding: utf-8 -*-
# SPDX-License-Identifier: BSD-2-Clause
# Copyright 1996-2025 The NASM Authors - All Rights Reserved
%define nasm_version @@NASM_VER@@
Summary: The Netwide Assembler, a portable x86 assembler with Intel-like syntax
Name: nasm

View File

@@ -57,7 +57,8 @@ foreach my $file (@ARGV) {
$nsuf = ' */';
}
my @hdr = ();
if (scalar(@lines) && $lines[0] =~ /^\#\!/) {
# Shebang and emacs mode lines should be left at the top
while (scalar(@lines) && $lines[0] =~ /^(?:\#\!|.*\-\*\-)/) {
push(@hdr, shift(@lines));
}
push(@hdr, $npfx.'SPDX-License-Identifier: BSD-2-Clause'.$nsuf);