diff options
author | Patrick Lehmann <Patrick.Lehmann@plc2.de> | 2021-01-15 07:31:59 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-15 07:31:59 +0100 |
commit | d890f27e480cdb37428f1b7c4bb37475ed38348d (patch) | |
tree | ef94e9ac91446f661ede0db86cb295e9ec903477 /scripts | |
parent | 4868294436574660552ccef50a5b0849559393de (diff) | |
download | ghdl-d890f27e480cdb37428f1b7c4bb37475ed38348d.tar.gz ghdl-d890f27e480cdb37428f1b7c4bb37475ed38348d.tar.bz2 ghdl-d890f27e480cdb37428f1b7c4bb37475ed38348d.zip |
Reworking pre-compile scripts for Windows (#1594)
* Updated pre-compile scripts for OSVVM.
* Reworked script for Vivado.
* Reworked script for ISE.
* Reworked UVVM compile script. Cannot be tested due to missing feature in GHDL see #1593.
* Reworked scripts for Altera, Intel and Lattice.
* Updated module imports.
* Adjusted warnings.
* Read OSVVM package files from compile-order file 'osvvm.pro'.
* Support OSVVM and OSVVMLibraries as source directory.
* Added support for OSVVM models to precompile script.
* First update to the pre-compile scripts documentation.
* Minimized file headers and redundant documentation. Using PowerShell's feature to document files, functions and modules.
* Updated README in precompile scripts directory.
* license: update headers of pyGHDL, scripts/windows, libraries/vendors
* Fixed ForegroundColor and InvocationName.
Co-authored-by: umarcor <unai.martinezcorral@ehu.eus>
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/windows/InstallerTemplate.ps1 | 45 | ||||
-rw-r--r-- | scripts/windows/appveyor/build.ps1 | 10 | ||||
-rw-r--r-- | scripts/windows/appveyor/info.ps1 | 16 | ||||
-rw-r--r-- | scripts/windows/appveyor/install.ps1 | 16 | ||||
-rw-r--r-- | scripts/windows/appveyor/test.ps1 | 18 | ||||
-rw-r--r-- | scripts/windows/compile-ghdl.ps1 | 59 | ||||
-rw-r--r-- | scripts/windows/compile-libraries.ps1 | 59 | ||||
-rw-r--r-- | scripts/windows/compile.ps1 | 11 | ||||
-rw-r--r-- | scripts/windows/shared.psm1 | 39 | ||||
-rw-r--r-- | scripts/windows/targets.psm1 | 33 |
10 files changed, 151 insertions, 155 deletions
diff --git a/scripts/windows/InstallerTemplate.ps1 b/scripts/windows/InstallerTemplate.ps1 index f04a89ad4..d41b229fc 100644 --- a/scripts/windows/InstallerTemplate.ps1 +++ b/scripts/windows/InstallerTemplate.ps1 @@ -1,35 +1,34 @@ -# EMACS settings: -*- tab-width: 2; indent-tabs-mode: t -*- +# EMACS settings: -*- tab-width: 2; indent-tabs-mode: t -*- # vim: tabstop=2:shiftwidth=2:noexpandtab # kate: tab-width 2; replace-tabs off; indent-width 2; # # ============================================================================== -# Authors: Patrick Lehmann +# Authors: +# Patrick Lehmann # -# PowerShell Script: Self-extracting (ZIP) installer for GHDL for Windows +# PowerShell Script: Self-extracting (ZIP) installer for GHDL for Windows # # Description: # ------------------------------------ -# This is a PowerShell script (executable) which: -# - writes a ZIP file form an internal BLOB variable (base64 encoded) -# - extract the ZIP file's content to a destination directory +# This is a PowerShell script (executable) which: +# - writes a ZIP file form an internal BLOB variable (base64 encoded) +# - extract the ZIP file's content to a destination directory # # ============================================================================== -# Copyright (C) 2015-2017 Patrick Lehmann -# -# GHDL 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; either version 2, or (at your option) any later -# version. -# -# GHDL 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 GHDL; see the file COPYING. If not, write to the Free -# Software Foundation, 59 Temple Place - Suite 330, Boston, MA -# 02111-1307, USA. +# Copyright (C) 2015-2017 Patrick Lehmann +# +# 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, either version 2 of the License, or +# (at your option) any later version. +# +# 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 <gnu.org/licenses>. # ============================================================================== # .SYNOPSIS @@ -96,7 +95,7 @@ function Exit-Script } if ($Help) -{ Get-Help $MYINVOCATION.InvocationName -Detailed +{ Get-Help $MYINVOCATION.MyCommand.Path -Detailed Exit-Script } diff --git a/scripts/windows/appveyor/build.ps1 b/scripts/windows/appveyor/build.ps1 index 359fb4da7..16f4d79ea 100644 --- a/scripts/windows/appveyor/build.ps1 +++ b/scripts/windows/appveyor/build.ps1 @@ -74,23 +74,23 @@ $env:GHDL_PREFIX_DIR = $GHDL_PREFIX_DIR mkdir $GHDL_BUILD_DIR | cd if ($env:BUILD_BACKEND -eq "mcode") -{ Write-Host "Configuring GHDL for $($env:BUILD_MINGW), mcode..." -Foreground Yellow +{ Write-Host "Configuring GHDL for $($env:BUILD_MINGW), mcode..." -ForegroundColor Yellow c:\msys64\usr\bin\bash.exe -c "../../configure --prefix=$GHDL_PREFIX_DIR LDFLAGS=-static" 2>&1 | Restore-NativeCommandStream | %{ "$_" } } elseif ($env:BUILD_BACKEND -eq "llvm") -{ Write-Host "Configuring GHDL for $($env:BUILD_MINGW), LLVM..." -Foreground Yellow +{ Write-Host "Configuring GHDL for $($env:BUILD_MINGW), LLVM..." -ForegroundColor Yellow c:\msys64\usr\bin\bash.exe -c "../../configure --prefix=$GHDL_PREFIX_DIR --with-llvm-config='llvm-config --link-static' LDFLAGS='-static' --enable-libghdl --enable-synth CXX=clang++" 2>&1 | Restore-NativeCommandStream | %{ "$_" } } -Write-Host "Building GHDL and libraries..." -Foreground Yellow +Write-Host "Building GHDL and libraries..." -ForegroundColor Yellow c:\msys64\usr\bin\make.exe 2>&1 | Restore-NativeCommandStream | %{ "$_" } $Err = $LastExitCode if ($Err -eq 0) { - Write-Host "Installing GHDL and libraries..." -Foreground Yellow + Write-Host "Installing GHDL and libraries..." -ForegroundColor Yellow c:\msys64\usr\bin\make.exe install 2>&1 | Restore-NativeCommandStream | %{ "$_" } $Err = $LastExitCode } @@ -99,7 +99,7 @@ if ($Err -eq 0) if ($Err -eq 0) { - Write-Host "Building binary archives..." -Foreground Yellow + Write-Host "Building binary archives..." -ForegroundColor Yellow cd c:\Tools 7z a "$($env:APPVEYOR_BUILD_FOLDER)\$ZipFile" -r "GHDL\$PREFIX_DIRNAME\" diff --git a/scripts/windows/appveyor/info.ps1 b/scripts/windows/appveyor/info.ps1 index 675bbe77e..b908885ea 100644 --- a/scripts/windows/appveyor/info.ps1 +++ b/scripts/windows/appveyor/info.ps1 @@ -47,22 +47,22 @@ function Restore-NativeCommandStream } -Write-Host ("ExecutionPolicy = {0}" -f (Get-ExecutionPolicy)) -Foreground Yellow -Write-Host "List env:..." -Foreground Yellow +Write-Host ("ExecutionPolicy = {0}" -f (Get-ExecutionPolicy)) -ForegroundColor Yellow +Write-Host "List env:..." -ForegroundColor Yellow dir env: | foreach { Write-Host (" {0}={1}" -f $_.Name,$_.Value) } -Write-Host "Print env:PATH..." -Foreground Yellow +Write-Host "Print env:PATH..." -ForegroundColor Yellow $env:PATH.Split(";") | foreach { Write-Host " $_" } -Write-Host "Print GCC setup..." -Foreground Yellow +Write-Host "Print GCC setup..." -ForegroundColor Yellow gcc.exe -v 2>&1 | Restore-NativeCommandStream | %{ "$_" } -Write-Host "Print GCC search directories..." -Foreground Yellow +Write-Host "Print GCC search directories..." -ForegroundColor Yellow gcc.exe -print-search-dirs 2>&1 | Restore-NativeCommandStream | %{ "$_" } if ($env:BUILD_BACKEND -eq "llvm") -{ Write-Host "Print CLang setup..." -Foreground Yellow +{ Write-Host "Print CLang setup..." -ForegroundColor Yellow clang.exe -v 2>&1 | Restore-NativeCommandStream | %{ "$_" } - Write-Host "Print CLang search directories..." -Foreground Yellow + Write-Host "Print CLang search directories..." -ForegroundColor Yellow clang.exe -print-search-dirs 2>&1 | Restore-NativeCommandStream | %{ "$_" } } -Write-Host "Print gnatls setup..." -Foreground Yellow +Write-Host "Print gnatls setup..." -ForegroundColor Yellow gnatls.exe -v 2>&1 | Restore-NativeCommandStream | %{ "$_" } diff --git a/scripts/windows/appveyor/install.ps1 b/scripts/windows/appveyor/install.ps1 index bf780fa19..d377bfe21 100644 --- a/scripts/windows/appveyor/install.ps1 +++ b/scripts/windows/appveyor/install.ps1 @@ -1,13 +1,13 @@ -Write-Host "Installing dependencies ..." -Foreground Yellow -Write-Host "----------------------------------------" -Foreground Yellow -Write-Host "Installing MinGW64 packages ..." -Foreground Yellow +Write-Host "Installing dependencies ..." -ForegroundColor Yellow +Write-Host "----------------------------------------" -ForegroundColor Yellow +Write-Host "Installing MinGW64 packages ..." -ForegroundColor Yellow C:\msys64\usr\bin\pacman -V # list installed packages and versions # C:\msys64\usr\bin\pacman -Q if ($env:BUILD_MINGW -eq "mingw32") -{ Write-Host "Installing MinGW32 packages ..." -Foreground Yellow +{ Write-Host "Installing MinGW32 packages ..." -ForegroundColor Yellow if ($env:BUILD_BACKEND -eq "mcode") { } @@ -16,7 +16,7 @@ if ($env:BUILD_MINGW -eq "mingw32") } } elseif ($env:BUILD_MINGW -eq "mingw64") -{ Write-Host "Installing MinGW64 packages ..." -Foreground Yellow +{ Write-Host "Installing MinGW64 packages ..." -ForegroundColor Yellow if ($env:BUILD_BACKEND -eq "mcode") { } @@ -25,15 +25,15 @@ elseif ($env:BUILD_MINGW -eq "mingw64") } } -Write-Host "Installing NuGet as PackageProvider ..." -Foreground Yellow +Write-Host "Installing NuGet as PackageProvider ..." -ForegroundColor Yellow Install-PackageProvider NuGet -Force Import-PackageProvider NuGet -Force Set-PSRepository -Name PSGallery -InstallationPolicy Trusted -Write-Host "Installing PowerShell modules ..." -Foreground Yellow +Write-Host "Installing PowerShell modules ..." -ForegroundColor Yellow Install-Module Pscx -AllowClobber -#Write-Host "Check all Write-* CmdLets ..." -Foreground Yellow +#Write-Host "Check all Write-* CmdLets ..." -ForegroundColor Yellow #Get-Command -Verb Write | Format-Table exit $LastExitCode diff --git a/scripts/windows/appveyor/test.ps1 b/scripts/windows/appveyor/test.ps1 index 65045f889..59faab113 100644 --- a/scripts/windows/appveyor/test.ps1 +++ b/scripts/windows/appveyor/test.ps1 @@ -46,7 +46,7 @@ function Restore-NativeCommandStream } } -Write-Host "Run testsuites..." -Foreground Yellow +Write-Host "Run testsuites..." -ForegroundColor Yellow cd "$($env:APPVEYOR_BUILD_FOLDER)\testsuite" # Use a MinGW compatible path $env:GHDL="$($env:GHDL_PREFIX_DIR)/bin/ghdl.exe" @@ -56,7 +56,7 @@ $Err = 0 # ============================================================================= $TestFramework = "GNA" -Write-Host "Running GNA tests..." -Foreground Yellow +Write-Host "Running GNA tests..." -ForegroundColor Yellow cd gna $Directories = dir -Directory * @@ -64,7 +64,7 @@ foreach ($Directory in $Directories) { $TestName = "GNA test: {0}" -f $Directory.Name $FileName = $Directory.Name - Write-Host $TestName -Foreground Yellow + Write-Host $TestName -ForegroundColor Yellow cd $Directory Add-AppveyorTest -Name $TestName -Framework $TestFramework -FileName $FileName -Outcome Running $start = Get-Date @@ -72,11 +72,11 @@ foreach ($Directory in $Directories) $end = Get-Date $TotalMilliseconds = ($end - $start).TotalMilliseconds if ($LastExitCode -eq 0) - { Write-Host "PASSED" -Foreground Green + { Write-Host "PASSED" -ForegroundColor Green Update-AppveyorTest -Name $TestName -Framework $TestFramework -FileName $FileName -Outcome Passed -Duration $TotalMilliseconds } else - { Write-Host "FAILED" -Foreground Red + { Write-Host "FAILED" -ForegroundColor Red Update-AppveyorTest -Name $TestName -Framework $TestFramework -FileName $FileName -Outcome Failed -Duration $TotalMilliseconds $Err = 1 } @@ -85,14 +85,14 @@ cd ..\.. # ============================================================================= $TestFramework = "VESTS" -Write-Host "Running VESTS tests..." -Foreground Yellow +Write-Host "Running VESTS tests..." -ForegroundColor Yellow cd vests $TestName = "VESTS test:" # {0}" -f $Directory $FileName = "VESTS" #$Directory -Write-Host $TestName -Foreground Yellow +Write-Host $TestName -ForegroundColor Yellow # Disable vests. It works but takes ~20 min if ($true) { Add-AppveyorTest -Name $TestName -Framework $TestFramework -FileName $FileName -Outcome Skipped @@ -105,11 +105,11 @@ else $end = Get-Date $TotalMilliseconds = ($end - $start).TotalMilliseconds if ($LastExitCode -eq 0) - { Write-Host "PASSED" -Foreground Green + { Write-Host "PASSED" -ForegroundColor Green Update-AppveyorTest -Name $TestName -Framework $TestFramework -FileName $FileName -Outcome Passed -Duration $TotalMilliseconds } else - { Write-Host "FAILED" -Foreground Red + { Write-Host "FAILED" -ForegroundColor Red Update-AppveyorTest -Name $TestName -Framework $TestFramework -FileName $FileName -Outcome Failed -Duration $TotalMilliseconds $Err = 1 } diff --git a/scripts/windows/compile-ghdl.ps1 b/scripts/windows/compile-ghdl.ps1 index 0f126e846..8acc3313c 100644 --- a/scripts/windows/compile-ghdl.ps1 +++ b/scripts/windows/compile-ghdl.ps1 @@ -1,39 +1,38 @@ -# EMACS settings: -*- tab-width: 2; indent-tabs-mode: t -*- +# EMACS settings: -*- tab-width: 2; indent-tabs-mode: t -*- # vim: tabstop=2:shiftwidth=2:noexpandtab # kate: tab-width 2; replace-tabs off; indent-width 2; -# +# # ============================================================================== -# Authors: Patrick Lehmann (ported batch file to PowerShell) -# Brian Davis (contributions to the batch file) -# Tristan Gingold (initial batch file for compilations on Windows) -# -# PowerShell Script: Script to compile GHDL for Windows -# +# Authors: +# Patrick Lehmann (ported batch file to PowerShell) +# Brian Davis (contributions to the batch file) +# Tristan Gingold (initial batch file for compilations on Windows) +# +# PowerShell Script: Script to compile GHDL for Windows +# # Description: # ------------------------------------ -# This is a PowerShell script (executable) which: -# - sets up a compilation environment -# - test all dependencies -# - compiles GHDL with GNAT +# This is a PowerShell script (executable) which: +# - sets up a compilation environment +# - test all dependencies +# - compiles GHDL with GNAT # # ============================================================================== -# Copyright (C) 2002, 2003, 2004, 2005 Tristan Gingold -# Copyright (C) 2015-2017 Patrick Lehmann -# -# GHDL 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; either version 2, or (at your option) any later -# version. -# -# GHDL 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 GHDL; see the file COPYING. If not, write to the Free -# Software Foundation, 59 Temple Place - Suite 330, Boston, MA -# 02111-1307, USA. +# Copyright (C) 2002, 2003, 2004, 2005 Tristan Gingold +# Copyright (C) 2015-2017 Patrick Lehmann +# +# 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, either version 2 of the License, or +# (at your option) any later version. +# +# 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 <gnu.org/licenses>. # ============================================================================== # .SYNOPSIS @@ -112,7 +111,7 @@ if (-not $Hosted) } if ($Help) -{ Get-Help $MYINVOCATION.InvocationName -Detailed +{ Get-Help $MYINVOCATION.MyCommand.Path -Detailed Exit-CompileScript } diff --git a/scripts/windows/compile-libraries.ps1 b/scripts/windows/compile-libraries.ps1 index a37b78618..291d1be39 100644 --- a/scripts/windows/compile-libraries.ps1 +++ b/scripts/windows/compile-libraries.ps1 @@ -1,40 +1,39 @@ -# EMACS settings: -*- tab-width: 2; indent-tabs-mode: t -*- +# EMACS settings: -*- tab-width: 2; indent-tabs-mode: t -*- # vim: tabstop=2:shiftwidth=2:noexpandtab # kate: tab-width 2; replace-tabs off; indent-width 2; # # ============================================================================== -# Authors: Patrick Lehmann (ported batch file to PowerShell) -# Brian Davis (contributions to the batch file) -# Tristan Gingold (initial batch file for compilations on Windows) -# -# PowerShell Script: Script to compile VHDL libraries for GHDL -# +# Authors: +# Patrick Lehmann (ported batch file to PowerShell) +# Brian Davis (contributions to the batch file) +# Tristan Gingold (initial batch file for compilations on Windows) +# +# PowerShell Script: Script to compile VHDL libraries for GHDL +# # Description: # ------------------------------------ -# This is a PowerShell script (executable) which: -# - sets up a compilation environment -# - test all dependencies -# - pre processes VHDL files with GHDLFilter -# - analyses VHDL files with GHDL +# This is a PowerShell script (executable) which: +# - sets up a compilation environment +# - test all dependencies +# - pre processes VHDL files with GHDLFilter +# - analyses VHDL files with GHDL # # ============================================================================== -# Copyright (C) 2002, 2003, 2004, 2005 Tristan Gingold -# Copyright (C) 2015-2017 Patrick Lehmann -# -# GHDL 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; either version 2, or (at your option) any later -# version. -# -# GHDL 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 GHDL; see the file COPYING. If not, write to the Free -# Software Foundation, 59 Temple Place - Suite 330, Boston, MA -# 02111-1307, USA. +# Copyright (C) 2002, 2003, 2004, 2005 Tristan Gingold +# Copyright (C) 2015-2017 Patrick Lehmann +# +# 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, either version 2 of the License, or +# (at your option) any later version. +# +# 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 <gnu.org/licenses>. # ============================================================================== # .SYNOPSIS @@ -97,7 +96,7 @@ Import-Module $PSScriptRoot\shared.psm1 -Verbose:$false -Debug:$false -ArgumentL $Help = $Help -or (-not ($Compile -or $VHDL87 -or $VHDL93 -or $VHDL2008 -or $Clean)) if ($Help) -{ Get-Help $MYINVOCATION.InvocationName -Detailed +{ Get-Help $MYINVOCATION.MyCommand.Path -Detailed Exit-CompileScript } if ($Compile) diff --git a/scripts/windows/compile.ps1 b/scripts/windows/compile.ps1 index da3c67731..1c12b7867 100644 --- a/scripts/windows/compile.ps1 +++ b/scripts/windows/compile.ps1 @@ -3,11 +3,12 @@ # kate: tab-width 2; replace-tabs off; indent-width 2; # # ============================================================================== -# Authors: Patrick Lehmann (ported batch file to PowerShell) -# Brian Davis (contributions to the batch file) -# Tristan Gingold (initial batch file for compilations on Windows) +# Authors: +# Patrick Lehmann (ported batch file to PowerShell) +# Brian Davis (contributions to the batch file) +# Tristan Gingold (initial batch file for compilations on Windows) # -# PowerShell Script: Script to compile GHDL for Windows +# PowerShell Script: Script to compile GHDL for Windows # # Description: # ------------------------------------ @@ -128,7 +129,7 @@ Write-Host "GHDL for Windows - GHDL compile and bundle script" -ForegroundColor Write-Host "================================================================================" -ForegroundColor Magenta if ($Help) -{ Get-Help $MYINVOCATION.InvocationName -Detailed +{ Get-Help $MYINVOCATION.MyCommand.Path -Detailed Exit-CompileScript } diff --git a/scripts/windows/shared.psm1 b/scripts/windows/shared.psm1 index 33136941d..b04e54b26 100644 --- a/scripts/windows/shared.psm1 +++ b/scripts/windows/shared.psm1 @@ -1,33 +1,32 @@ -# EMACS settings: -*- tab-width: 2; indent-tabs-mode: t -*- +# EMACS settings: -*- tab-width: 2; indent-tabs-mode: t -*- # vim: tabstop=2:shiftwidth=2:noexpandtab # kate: tab-width 2; replace-tabs off; indent-width 2; # # ============================================================================== -# Authors: Patrick Lehmann +# Authors: +# Patrick Lehmann # -# PowerShell Module: The module provides common CmdLets for ... +# PowerShell Module: The module provides common CmdLets for ... # # Description: # ------------------------------------ -# This PowerShell module provides CommandLets (CmdLets) to ... +# This PowerShell module provides CommandLets (CmdLets) to ... # # ============================================================================== -# Copyright (C) 2016-2017 Patrick Lehmann -# -# GHDL 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; either version 2, or (at your option) any later -# version. -# -# GHDL 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 GHDL; see the file COPYING. If not, write to the Free -# Software Foundation, 59 Temple Place - Suite 330, Boston, MA -# 02111-1307, USA. +# Copyright (C) 2016-2017 Patrick Lehmann +# +# 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, either version 2 of the License, or +# (at your option) any later version. +# +# 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 <gnu.org/licenses>. # ============================================================================== [CmdletBinding()] diff --git a/scripts/windows/targets.psm1 b/scripts/windows/targets.psm1 index 1264db247..e2ab03a87 100644 --- a/scripts/windows/targets.psm1 +++ b/scripts/windows/targets.psm1 @@ -1,33 +1,32 @@ -# EMACS settings: -*- tab-width: 2; indent-tabs-mode: t -*- +# EMACS settings: -*- tab-width: 2; indent-tabs-mode: t -*- # vim: tabstop=2:shiftwidth=2:noexpandtab # kate: tab-width 2; replace-tabs off; indent-width 2; # # ============================================================================== -# Authors: Patrick Lehmann +# Authors: +# Patrick Lehmann # -# PowerShell Module: The module provides build targets for GHDL. +# PowerShell Module: The module provides build targets for GHDL. # # Description: # ------------------------------------ -# This PowerShell module provides build targets for GHDL. +# This PowerShell module provides build targets for GHDL. # # ============================================================================== -# Copyright (C) 2016-2017 Patrick Lehmann +# Copyright (C) 2016-2017 Patrick Lehmann # -# GHDL 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; either version 2, or (at your option) any later -# version. +# 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, either version 2 of the License, or +# (at your option) any later version. # -# GHDL 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. +# 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 GHDL; see the file COPYING. If not, write to the Free -# Software Foundation, 59 Temple Place - Suite 330, Boston, MA -# 02111-1307, USA. +# You should have received a copy of the GNU General Public License +# along with this program. If not, see <gnu.org/licenses>. # ============================================================================== # TODO: |