#! /usr/bin/perl

# Set the environment variables AUTHOR (e.g., Bill Wohler) and ORGANIZATION
# (e.g., Newt Software) before running this script.

($year) = (localtime)[5]+1900;
my $organization = $ENV{ORGANIZATION};
my $author = $ENV{AUTHOR};

unless (defined($organization)) {
    die("The ORGANIZATION environment variable must be set.\n");
}
unless (defined($author)) {
    die("The AUTHOR environment variable must be set.\n");
}

print <<EOF;
# \$Id\$
# 
# Copyright (c) $year $organization. All rights reserved.
# 
# 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, you can find it at
# http://www.gnu.org/copyleft/gpl.html or write to the Free Software
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
#
# Author: $author

TOP = ../../..

include \$(TOP)/tools/Makefile.vars

OBJECTS =

CLEAN +=

include \$(TOP)/tools/Makefile.rules
EOF

