1 /************************************************************
2 * HMMER - Biological sequence analysis with profile HMMs
3 * Copyright (C) 1992-1999 Washington University School of Medicine
6 * This source code is distributed under the terms of the
7 * GNU General Public License. See the files COPYING and LICENSE
9 ************************************************************/
12 * SRE, Sun Jun 20 17:19:04 1999 [Graeme's kitchen]
14 * Core functions for SQUID library.
15 * RCS $Id: squidcore.c,v 1.1.1.1 2005/03/22 08:34:32 cmzmasek Exp $
22 * Date: SRE, Sun Jun 20 17:19:41 1999 [Graeme's kitchen]
24 * Purpose: Print a package version and copyright banner.
25 * Used by all the main()'s.
27 * Expects to be able to pick up defined macros:
29 * ------ --------------
32 * RELEASEDATE "April 1 1999"
33 * COPYRIGHT "Copyright (C) 1992-1999 Washington University School of Medicine"
34 * LICENSE "HMMER is freely distributed under the GNU General Public License (GPL)."
36 * This gives us a general mechanism to update release information
37 * without changing multiple points in the code; we can also override
38 * SQUID release data with another package's release data (e.g.
39 * HMMER) just by redefining macros.
41 * Args: fp - where to print it
42 * banner - one-line program description, e.g.:
43 * "foobar - make bars from foo with elan"
47 Banner(FILE *fp, char *banner)
49 fprintf(fp, "%s\n%s %s (%s)\n%s\n%s\n", banner, PACKAGE, RELEASE, RELEASEDATE, COPYRIGHT, LICENSE);
50 fprintf(fp, "- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -\n");