1 /************************************************************
2 * SQUID - a library of functions for biological sequence analysis
3 * Copyright (C) 1992-2002 Washington University School of Medicine
5 * This source code is freely distributed under the terms of the
6 * GNU General Public License. See the files COPYRIGHT and LICENSE
8 ************************************************************/
11 * SRE, Sun Jun 20 17:19:04 1999 [Graeme's kitchen]
13 * Core functions for SQUID library.
14 * RCS $Id: squidcore.c 217 2011-03-19 10:27:10Z andreas $ (Original squid RCS Id: squidcore.c,v 1.1 1999/07/15 22:24:41 eddy Exp)
21 * Date: SRE, Sun Jun 20 17:19:41 1999 [Graeme's kitchen]
23 * Purpose: Print a package version and copyright banner.
24 * Used by all the main()'s.
26 * Expects to be able to pick up defined macros:
28 * ------ --------------
31 * RELEASEDATE "April 1 1999"
32 * COPYRIGHT "Copyright (C) 1992-1999 Washington University School of Medicine"
33 * LICENSE "HMMER is freely distributed under the GNU General Public License (GPL)."
35 * This gives us a general mechanism to update release information
36 * without changing multiple points in the code; we can also override
37 * SQUID release data with another package's release data (e.g.
38 * HMMER) just by redefining macros.
40 * Args: fp - where to print it
41 * banner - one-line program description, e.g.:
42 * "foobar - make bars from foo with elan"
46 Banner(FILE *fp, char *banner)
48 fprintf(fp, "%s\n%s %s (%s)\n%s\n%s\n", banner, PACKAGE, RELEASE, RELEASEDATE, COPYRIGHT, LICENSE);
49 fprintf(fp, "- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -\n");