Add GNU LGPL headers to all .c .C and .h files
[oweals/cde.git] / cde / lib / tt / lib / util / copyright.h
1 /*
2  * CDE - Common Desktop Environment
3  *
4  * Copyright (c) 1993-2012, The Open Group. All rights reserved.
5  *
6  * These libraries and programs are free software; you can
7  * redistribute them and/or modify them under the terms of the GNU
8  * Lesser General Public License as published by the Free Software
9  * Foundation; either version 2 of the License, or (at your option)
10  * any later version.
11  *
12  * These libraries and programs are distributed in the hope that
13  * they will be useful, but WITHOUT ANY WARRANTY; without even the
14  * implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
15  * PURPOSE. See the GNU Lesser General Public License for more
16  * details.
17  *
18  * You should have received a copy of the GNU Lesser General Public
19  * License along with these librararies and programs; if not, write
20  * to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
21  * Floor, Boston, MA 02110-1301 USA
22  */
23 /*%%  (c) Copyright 1993, 1994 Hewlett-Packard Company                   */
24 /*%%  (c) Copyright 1993, 1994 International Business Machines Corp.     */
25 /*%%  (c) Copyright 1993, 1994 Sun Microsystems, Inc.                    */
26 /*%%  (c) Copyright 1993, 1994 Novell, Inc.                              */
27 /*%%  $XConsortium: copyright.h /main/3 1995/10/23 10:35:20 rswiston $                                                   */
28 /*
29  *
30  * copyright.h
31  *
32  * Copyright (c) 1990 by Sun Microsystems, Inc.
33  */
34
35 #define _TT_COPYRIGHT \
36 "Copyright (c) 1990, Sun Microsystems, Inc.  All Rights Reserved. Sun considers its source code as an unpublished, proprietary trade secret, and it is available only under strict license provisions.  This copyright notice is placed here only to protect Sun in the event the source is deemed a published work. "
37
38 #define _TT_COPYRIGHT2 \
39 "Dissassembly, decompilation, or other means of reducing the object code to human readable form is prohibited by the license agreement under which this code is provided to the user or company in possession of this copy. "
40
41 #define _TT_COPYRIGHT3 \
42 "RESTRICTED RIGHTS LEGEND: Use, duplication, or disclosure by the Government is subject to restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in Technical Data and Computer Software clause at DFARS 52.227-7013 and in similar clauses in the FAR and NASA FAR Supplement."
43
44 #define TT_INSERT_COPYRIGHT \
45 const char _tt_copyright[] = _TT_COPYRIGHT;     \
46 const char _tt_copyright2[] = _TT_COPYRIGHT2;   \
47 const char _tt_copyright3[] = _TT_COPYRIGHT3;   
48
49 #if defined(SABER)
50 #define _TT_PRINT_VERSIONS(progname)
51 #else
52 #define _TT_PRINT_VERSIONS(progname) \
53 printf("%s version: %s\nToolTalk library version: %s\n", \
54        progname, TT_VERSION_STRING, _tt_lib_version);
55 #endif
56
57 #if !defined(DONT_EXTERN_TT_LIB_VERSION)
58 extern const char *_tt_lib_version;
59 #endif