OpenADFortTk (including Open64 and OpenAnalysis references)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
config_promp.cxx
Go to the documentation of this file.
1 /*
2 
3  Copyright (C) 2000, 2001 Silicon Graphics, Inc. All Rights Reserved.
4 
5  This program is free software; you can redistribute it and/or modify it
6  under the terms of version 2 of the GNU General Public License as
7  published by the Free Software Foundation.
8 
9  This program is distributed in the hope that it would be useful, but
10  WITHOUT ANY WARRANTY; without even the implied warranty of
11  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
12 
13  Further, this software is distributed without any warranty that it is
14  free of the rightful claim of any third person regarding infringement
15  or the like. Any license provided herein, whether implied or
16  otherwise, applies only to this software file. Patent licenses, if
17  any, provided herein do not apply to combinations of this program with
18  other software, or any other product whatsoever.
19 
20  You should have received a copy of the GNU General Public License along
21  with this program; if not, write the Free Software Foundation, Inc., 59
22  Temple Place - Suite 330, Boston MA 02111-1307, USA.
23 
24  Contact information: Silicon Graphics, Inc., 1600 Amphitheatre Pky,
25  Mountain View, CA 94043, or:
26 
27  http://www.sgi.com
28 
29  For further information regarding this notice, see:
30 
31  http://oss.sgi.com/projects/GenInfo/NoticeExplan
32 
33 */
34 
35 
36 /* ====================================================================
37  * ====================================================================
38  *
39  *
40  * Revision history:
41  * 25-Mar-97 - Original Version
42  *
43  * Description:
44  *
45  * Configure the -PROMP option groups (included in config.c),
46  * used by whirl2f.so.
47  *
48  * ====================================================================
49  * ====================================================================
50  */
51 
52 /* This file is included in config.c, so it doesn't need its own set of
53  * standard includes -- only the following:
54  */
55 #include "config_promp.h"
56 
57 
59 {
60  FALSE, /* Enabled? */
61  FALSE, /* emit owhile? */
62  FALSE, /* Show progress */
63  NULL, /* Analysis file name */
64  NULL, /* Original source name */
65  1ULL, /* next_id */
66  {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0}, /* buffer[16] */
67 }; /* Promp_Flags */
68 
69 
71 
72 
73 /* ====================================================================
74  * Descriptor for the -LNO option group.
75  *
76  * See common/util/flags.h, typedef struct option_desc for documentation
77  * ====================================================================
78  */
79 
80 #define PRF Promp_Flags
82 { { OVK_BOOL, OV_VISIBLE, FALSE, "", NULL,
83  0, 0, 0, &PRF.enabled, NULL,
84  "Emission of file describing compiler transformations" },
85  { OVK_BOOL, OV_VISIBLE, FALSE, "owhile", NULL,
86  0, 0, 0, &PRF.owhile, NULL,
87  "Emission of file describing compiler transformations" },
88  { OVK_UINT64, OV_VISIBLE, FALSE, "next_id", NULL,
89  1, 0, INT32_MAX, &PRF.next_id, NULL,
90  "Next construct identifier number to be defined" },
91  { OVK_BOOL, OV_INTERNAL, FALSE, "show", NULL,
92  0, 0, 0, &PRF.show, NULL,
93  "Show progress of emission of analysis file" },
94  { OVK_NAME, OV_SHY, FALSE, "anl", NULL,
95  0, 0, 0, &PRF.anl_filename, NULL,
96  "Gives an alternate name for analysis file" },
97  { OVK_NAME, OV_SHY, FALSE, "src", NULL,
98  0, 0, 0, &PRF.src_filename, NULL,
99  "Gives an alternate name for original file" },
100  { OVK_COUNT } /* List terminator -- must be last */
101 }; /* Options_PROMP */
102 #undef PRF
103