#include <ctype.h>#include <string.h>#include "x_string.h"#include "defs.h"#include "glob.h"#include "strtab.h"#include <sys/types.h>#include "tracing.h"#include "cmplrs/make_depend.h"#include <stdarg.h>#include "erfe90.h"#include "i_cvrt.h"#include "sgi_cmd_line.h"#include "cwh_mkdepend.h"
Go to the source code of this file.
Functions | |
| INT32 | cwh_next_table_entry (table_p t) |
| INT32 | fei_next_name (INT32 num) |
| void | cwh_mkdepend_add_name (INT32 idx, char *name) |
| void | cwh_add_to_used_files_table (char *name, INT duplicate) |
| void | cwh_add_to_module_files_table (char *name) |
| void | fei_add_use_path (INT32 st_idx, INT32 path_idx, INT32 module_idx) |
| static void | makedepend_error (char *fmt,...) |
| void | cwh_write_makedepend (void) |
Variables | |
| static char * | source_file = __FILE__ |
| char * | mdupdate_file = NULL |
| char * | mdtarget_file = NULL |
| static table_s | name_table = INIT_TABLE |
| static table_s | used_files_table = INIT_TABLE |
| static table_s | module_files_table = INIT_TABLE |
| void cwh_add_to_module_files_table | ( | char * | name | ) |
Definition at line 156 of file cwh_mkdepend.cxx.
References cwh_next_table_entry(), INT, len, and SET_TABLE_IDX.
Referenced by fei_proc_def().

| void cwh_add_to_used_files_table | ( | char * | name, | |
| INT | duplicate | |||
| ) |
Definition at line 139 of file cwh_mkdepend.cxx.
References cwh_next_table_entry(), INT, SET_TABLE_IDX, and ux_strdup().
Referenced by cvrt_to_pdg(), and fei_add_use_path().

| void cwh_mkdepend_add_name | ( | INT32 | idx, | |
| char * | name | |||
| ) |
Definition at line 130 of file cwh_mkdepend.cxx.
References SET_TABLE_IDX, and ux_strdup().
Referenced by fei_name().

Definition at line 88 of file cwh_mkdepend.cxx.
References table_s::current_idx, table_s::current_size, table_s::ptr, and TABLE_INCREMENT.
Referenced by cwh_add_to_module_files_table(), cwh_add_to_used_files_table(), and fei_next_name().
| void cwh_write_makedepend | ( | void | ) |
Definition at line 209 of file cwh_mkdepend.cxx.
References INT, makedepend_error(), MDclose(), MDopen(), mdtarget_file, MDupdate(), mdupdate_file, NULL, TABLE_CURRENT_IDX, and TABLE_IDX.
Referenced by PDGCS_terminate().

Definition at line 185 of file cwh_mkdepend.cxx.
References cwh_add_to_used_files_table(), FALSE, INT, and TABLE_IDX.
Referenced by cvrt_exp_to_pdg().

Definition at line 112 of file cwh_mkdepend.cxx.
References cwh_next_table_entry(), NULL, TABLE_CURRENT_IDX, TABLE_SIZE, and TABLE_TOP.
Referenced by cvrt_exp_to_pdg(), send_darg_list(), send_derived_type(), send_namelist_group(), and send_procedure().

| static void makedepend_error | ( | char * | fmt, | |
| ... | ||||
| ) | [static] |
Definition at line 196 of file cwh_mkdepend.cxx.
References EC_Makedepend_Error, and ErrMsg().
Referenced by cwh_write_makedepend().

| char* mdtarget_file = NULL |
Definition at line 84 of file cwh_mkdepend.cxx.
Referenced by cwh_write_makedepend(), Process_Command_Line(), and sgi_cmd_line().
| char* mdupdate_file = NULL |
Definition at line 83 of file cwh_mkdepend.cxx.
Referenced by cwh_write_makedepend(), and Process_Command_Line().
table_s module_files_table = INIT_TABLE [static] |
Definition at line 109 of file cwh_mkdepend.cxx.
table_s name_table = INIT_TABLE [static] |
Definition at line 107 of file cwh_mkdepend.cxx.
char* source_file = __FILE__ [static] |
Definition at line 53 of file cwh_mkdepend.cxx.
table_s used_files_table = INIT_TABLE [static] |
Definition at line 108 of file cwh_mkdepend.cxx.
1.6.1