Line 1... |
Line 1... |
#! /usr/bin/perl -w
|
#! /usr/bin/perl -w
|
|
|
|
use Time::Piece;
|
|
|
sub get_license_header {
|
sub get_license_header {
|
my $file_name=shift;
|
my $file_name=shift;
|
|
my $t = Time::Piece->new();
|
|
my $year=$t->year;
|
my $head="
|
my $head="
|
/**********************************************************************
|
/**********************************************************************
|
** File: $file_name
|
** File: $file_name
|
**
|
**
|
** Copyright (C) 2014-2016 Alireza Monemi
|
** Copyright (C) 2014-$year Alireza Monemi
|
**
|
**
|
** This file is part of ProNoC $ProNOC::VERSION
|
** This file is part of ProNoC $ProNOC::VERSION
|
**
|
**
|
** ProNoC ( stands for Prototype Network-on-chip) is free software:
|
** ProNoC ( stands for Prototype Network-on-chip) is free software:
|
** you can redistribute it and/or modify it under the terms of the GNU
|
** you can redistribute it and/or modify it under the terms of the GNU
|
** Lesser General Public License as published by the Free Software Foundation,
|
** Lesser General Public License as published by the Free Software Foundation,
|
** either version 3 of the License, or (at your option) any later version.
|
** either version 2 of the License, or (at your option) any later version.
|
**
|
**
|
** ProNoC is distributed in the hope that it will be useful, but WITHOUT
|
** ProNoC is distributed in the hope that it will be useful, but WITHOUT
|
** ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
|
** ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
|
** or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General
|
** or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General
|
** Public License for more details.
|
** Public License for more details.
|
**
|
**
|
** You should have received a copy of the GNU Lesser General Public
|
** You should have received a copy of the GNU Lesser General Public
|
** License along with AEMB. If not, see <http:**www.gnu.org/licenses/>.
|
** License along with ProNoC. If not, see <http:**www.gnu.org/licenses/>.
|
******************************************************************************/
|
******************************************************************************/
|
";
|
";
|
|
|
|
|
return $head;
|
return $head;
|