Open64 (mfef90, whirl2f, and IR tools)  TAG: version-openad; SVN changeset: 916
cwh_mkdepend.cxx File Reference
#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"
Include dependency graph for cwh_mkdepend.cxx:

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

Function Documentation

void cwh_add_to_module_files_table ( char *  name)

Definition at line 156 of file cwh_mkdepend.cxx.

References cwh_next_table_entry(), len, and SET_TABLE_IDX.

Referenced by fei_proc_def().

Here is the call graph for this function:

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(), name, SET_TABLE_IDX, and ux_strdup().

Referenced by cvrt_to_pdg(), and fei_add_use_path().

Here is the call graph for this function:

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().

Here is the call graph for this function:

void cwh_write_makedepend ( void  )

Definition at line 209 of file cwh_mkdepend.cxx.

References makedepend_error(), MDclose(), MDopen(), mdtarget_file, MDupdate(), mdupdate_file, NULL, TABLE_CURRENT_IDX, and TABLE_IDX.

Referenced by PDGCS_terminate().

Here is the call graph for this function:

void fei_add_use_path ( INT32  st_idx,
INT32  path_idx,
INT32  module_idx 
)

Definition at line 185 of file cwh_mkdepend.cxx.

References cwh_add_to_used_files_table(), FALSE, and TABLE_IDX.

Referenced by cvrt_exp_to_pdg().

Here is the call graph for this function:

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().

Here is the call graph for this function:

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().

Here is the call graph for this function:


Variable Documentation

Definition at line 84 of file cwh_mkdepend.cxx.

Referenced by cwh_write_makedepend(), Process_Command_Line(), and sgi_cmd_line().

Definition at line 83 of file cwh_mkdepend.cxx.

Referenced by cwh_write_makedepend(), and Process_Command_Line().

Definition at line 109 of file cwh_mkdepend.cxx.

Definition at line 107 of file cwh_mkdepend.cxx.

char* source_file = __FILE__ [static]

Definition at line 53 of file cwh_mkdepend.cxx.

Definition at line 108 of file cwh_mkdepend.cxx.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines