|
feisty meow concerns codebase
2.140
|
#include "def.h"#include <unistd.h>#include <stdio.h>#include <string.h>#include <signal.h>#include "imakemdep.h"
Go to the source code of this file.
Macros | |
| #define | MAKEDEPEND |
Functions | |
| char * | translate_cygwin (char *fname) |
| int | main (int argc, char **argv) |
| struct filepointer * | getfile (char *file) |
| void | freefile (struct filepointer *fp) |
| char * | copy (register char *str) |
| int | match (register const char *str, register const char **list) |
| char * | getline (register struct filepointer *filep) |
| char * | base_name (register char *file) |
| void | redirect (char *line, char *makefile) |
| void | fatalerr (char *msg, x1, x2, x3, x4, x5, x6, x7, x8, x9) |
| void | warning (const char *msg, x1, x2, x3, x4, x5, x6, x7, x8, x9) |
| void | warning1 (const char *msg, x1, x2, x3, x4, x5, x6, x7, x8, x9) |
Variables | |
| char * | ProgramName |
| const char * | directives [] |
| struct inclist | inc_list [MAXFILES] |
| struct inclist * | inclistp = inc_list |
| struct inclist | maininclist |
| char * | filelist [MAXFILES] |
| char * | includedirs [MAXDIRS+1] |
| char * | excludedirs [MAXDIRS+1] |
| char * | notdotdot [MAXDIRS] |
| char * | objprefix = (char *)"" |
| char * | objsuffix = (char *)".obj" |
| char * | startat = (char *)"# DO NOT DELETE" |
| int | width = 78 |
| bool | append = false |
| bool | printed = false |
| bool | verbose = false |
| bool | show_where_not = false |
| bool | warn_multiple = false |
| struct sigaction | sig_act |
| #define MAKEDEPEND |
Definition at line 96 of file makedep.cpp.
| char* base_name | ( | register char * | file | ) |
Definition at line 653 of file makedep.cpp.
References copy().
Referenced by configuration::application_configuration::make_logfile_name().
| char* copy | ( | register char * | str | ) |
Definition at line 554 of file makedep.cpp.
Referenced by base_name(), octopi::recursive_file_copy::copy_hierarchy(), define2(), cromp::cromp_transaction::flatten(), issymbolic(), and newinclude().
| void fatalerr | ( | char * | msg, |
| x1 | , | ||
| x2 | , | ||
| x3 | , | ||
| x4 | , | ||
| x5 | , | ||
| x6 | , | ||
| x7 | , | ||
| x8 | , | ||
| x9 | |||
| ) |
Definition at line 749 of file makedep.cpp.
References ProgramName.
Referenced by add_include(), define2(), getfile(), getline(), issymbolic(), main(), newinclude(), and redirect().
| void freefile | ( | struct filepointer * | fp | ) |
Definition at line 547 of file makedep.cpp.
References filepointer::f_base, and filepointer::f_name.
Referenced by add_include().
| struct filepointer* getfile | ( | char * | file | ) |
Definition at line 518 of file makedep.cpp.
References close, filepointer::f_base, filepointer::f_end, filepointer::f_len, filepointer::f_line, filepointer::f_name, filepointer::f_p, fatalerr(), fstat, O_RDONLY, open, read, stat, translate_cygwin(), and warning().
Referenced by add_include().
| char* getline | ( | register struct filepointer * | filep | ) |
no count, since we'll see it again. lineno++;
Definition at line 576 of file makedep.cpp.
References filepointer::f_end, filepointer::f_line, filepointer::f_p, and fatalerr().
| int main | ( | int | argc, |
| char ** | argv | ||
| ) |
add_subdirs(*(incp-1), incp);
Definition at line 178 of file makedep.cpp.
References append, close, define(), define2(), excludedirs, fatalerr(), filelist, fstat, includedirs, maininclist, MAXDIRS, O_RDONLY, objprefix, objsuffix, open, ProgramName, read, redirect(), symtab::s_name, symtab::s_value, startat, stat, translate_cygwin(), verbose, warn_multiple, warning(), and width.
| int match | ( | register const char * | str, |
| register const char ** | list | ||
| ) |
Definition at line 562 of file makedep.cpp.
Referenced by deftype(), and org.feistymeow.textual.WordBreakFinder::main().
| void redirect | ( | char * | line, |
| char * | makefile | ||
| ) |
Definition at line 678 of file makedep.cpp.
References append, chmod, fatalerr(), fileno, stat, translate_cygwin(), unlink, verbose, and warning().
Referenced by main().
| char* translate_cygwin | ( | char * | fname | ) |
Definition at line 143 of file makedep.cpp.
Referenced by getfile(), main(), and redirect().
| void warning | ( | const char * | msg, |
| x1 | , | ||
| x2 | , | ||
| x3 | , | ||
| x4 | , | ||
| x5 | , | ||
| x6 | , | ||
| x7 | , | ||
| x8 | , | ||
| x9 | |||
| ) |
Definition at line 770 of file makedep.cpp.
References ProgramName.
Referenced by add_include(), find_includes(), getfile(), gobble(), included_by(), main(), and redirect().
| void warning1 | ( | const char * | msg, |
| x1 | , | ||
| x2 | , | ||
| x3 | , | ||
| x4 | , | ||
| x5 | , | ||
| x6 | , | ||
| x7 | , | ||
| x8 | , | ||
| x9 | |||
| ) |
Definition at line 790 of file makedep.cpp.
Referenced by add_include(), find_includes(), inc_path(), and included_by().
| bool append = false |
Definition at line 110 of file makedep.cpp.
Referenced by main(), and redirect().
| const char* directives[] |
Definition at line 76 of file makedep.cpp.
| char* excludedirs[MAXDIRS+1] |
Definition at line 104 of file makedep.cpp.
Referenced by inc_path(), and main().
| char* filelist[MAXFILES] |
Definition at line 102 of file makedep.cpp.
Referenced by org.feistymeow.dragdrop.dragdrop_list_test::dragdrop_list_test(), org.feistymeow.dragdrop.dragdrop_tree_test::dragdrop_tree_test(), and main().
Definition at line 76 of file makedep.cpp.
Referenced by inc_clean(), inc_path(), and newinclude().
Definition at line 100 of file makedep.cpp.
| char* includedirs[MAXDIRS+1] |
Definition at line 103 of file makedep.cpp.
Referenced by inc_path(), and main().
| struct inclist maininclist |
Definition at line 100 of file makedep.cpp.
Referenced by isdefined(), and main().
| char* notdotdot[MAXDIRS] |
Definition at line 105 of file makedep.cpp.
Referenced by issymbolic().
| char* objprefix = (char *)"" |
Definition at line 106 of file makedep.cpp.
| char* objsuffix = (char *)".obj" |
Definition at line 107 of file makedep.cpp.
| bool printed = false |
Definition at line 111 of file makedep.cpp.
Referenced by pr().
| char* ProgramName |
Definition at line 74 of file makedep.cpp.
Referenced by fatalerr(), main(), and warning().
| bool show_where_not = false |
Definition at line 113 of file makedep.cpp.
Referenced by add_include(), and inc_path().
| struct sigaction sig_act |
Definition at line 122 of file makedep.cpp.
| char* startat = (char *)"# DO NOT DELETE" |
Definition at line 108 of file makedep.cpp.
Referenced by main().
| bool verbose = false |
Definition at line 112 of file makedep.cpp.
Referenced by structures::static_memory_gremlin::enable_debugging(), main(), pr(), redirect(), and sockets::sequence_tracker::text_form().
| bool warn_multiple = false |
Definition at line 114 of file makedep.cpp.
Referenced by included_by(), and main().
| int width = 78 |
Definition at line 109 of file makedep.cpp.
Referenced by main(), org.feistymeow.windowing.WindowUtilities::openInJFrame(), and pr().