#include "hash.h"
#include "gnuremake.h"
#include "types.h"
Go to the source code of this file.
|
struct file * | lookup_file (const char *name) |
|
struct file * | enter_file (const char *name) |
|
struct dep * | split_prereqs (char *prereqstr) |
|
struct dep * | enter_prereqs (struct dep *prereqs, const char *stem) |
|
struct dep * | expand_extra_prereqs (const struct variable *extra) |
|
void | remove_intermediates (int sig) |
|
void | snap_deps (void) |
|
void | rename_file (struct file *file, const char *name) |
|
void | rehash_file (struct file *file, const char *name) |
|
void | set_command_state (struct file *file, enum cmd_state state) |
|
void | notice_finished_file (struct file *file) |
|
void | init_hash_files (void) |
|
void | verify_file_data_base (void) |
|
char * | build_target_list (char *old_list) |
|
void | print_prereqs (const struct dep *deps) |
|
void | print_file_data_base (void) |
|
int | try_implicit_rule (struct file *file, unsigned int depth) |
|
int | stemlen_compare (const void *v1, const void *v2) |
|
FILE_TIMESTAMP | file_timestamp_cons (char const *, time_t, long int) |
|
FILE_TIMESTAMP | file_timestamp_now (int *) |
|
void | file_timestamp_sprintf (char *p, FILE_TIMESTAMP ts) |
|
FILE_TIMESTAMP | f_mtime (struct file *file, int search) |
|
◆ check_renamed
#define check_renamed |
( |
|
file | ) |
while ((file)->renamed != 0) (file) = (file)->renamed /* No ; here. */ |
◆ file_mtime
◆ file_mtime_1
#define file_mtime_1 |
( |
|
f, |
|
|
|
v |
|
) |
| ((f)->last_mtime == UNKNOWN_MTIME ? f_mtime ((f), v) : (f)->last_mtime) |
◆ file_mtime_no_search
◆ FILE_TIMESTAMP_LO_BITS
◆ FILE_TIMESTAMP_NS
#define FILE_TIMESTAMP_NS |
( |
|
ts | ) |
|
Value:#define FILE_TIMESTAMP_LO_BITS
Definition: filedef.h:162
#define ORDINARY_MTIME_MIN
Definition: filedef.h:228
◆ FILE_TIMESTAMP_PRINT_LEN_BOUND
#define FILE_TIMESTAMP_PRINT_LEN_BOUND |
Value: * 302 / 1000) \
+ 1 + 1 + 4 + 25)
#define CHAR_BIT
Definition: make.h:151
#define FLOOR_LOG2_SECONDS_PER_YEAR
Definition: filedef.h:181
#define FILE_TIMESTAMP
Definition: make.h:252
◆ FILE_TIMESTAMP_S
#define FILE_TIMESTAMP_S |
( |
|
ts | ) |
|
Value:#define FILE_TIMESTAMP_LO_BITS
Definition: filedef.h:162
#define ORDINARY_MTIME_MIN
Definition: filedef.h:228
◆ FILE_TIMESTAMP_STAT_MODTIME
◆ FILE_TIMESTAMPS_PER_S
◆ FLOOR_LOG2_SECONDS_PER_YEAR
#define FLOOR_LOG2_SECONDS_PER_YEAR 24 |
◆ NEW_MTIME
◆ NONEXISTENT_MTIME
#define NONEXISTENT_MTIME 1 |
◆ OLD_MTIME
◆ ORDINARY_MTIME_MAX
#define ORDINARY_MTIME_MAX |
Value:#define FILE_TIMESTAMPS_PER_S
Definition: filedef.h:161
#define FILE_TIMESTAMP_S(ts)
Definition: filedef.h:164
#define FILE_TIMESTAMP_LO_BITS
Definition: filedef.h:162
#define ORDINARY_MTIME_MIN
Definition: filedef.h:228
#define NEW_MTIME
Definition: filedef.h:239
◆ ORDINARY_MTIME_MIN
◆ UNKNOWN_MTIME
◆ build_target_list()
char* build_target_list |
( |
char * |
old_list | ) |
|
◆ enter_file()
struct file* enter_file |
( |
const char * |
name | ) |
|
◆ enter_prereqs()
struct dep* enter_prereqs |
( |
struct dep * |
prereqs, |
|
|
const char * |
stem |
|
) |
| |
◆ expand_extra_prereqs()
struct dep* expand_extra_prereqs |
( |
const struct variable * |
extra | ) |
|
◆ f_mtime()
◆ file_timestamp_cons()
FILE_TIMESTAMP file_timestamp_cons |
( |
char const * |
, |
|
|
time_t |
, |
|
|
long |
int |
|
) |
| |
Convert an external file timestamp to internal form.
◆ file_timestamp_now()
Return the current time as a file timestamp, setting *RESOLUTION to its resolution.
◆ file_timestamp_sprintf()
Place into the buffer P a printable representation of the file timestamp TS.
- Parameters
-
p | output buffer for printable timestamp |
ts | timestamp to convert. |
◆ init_hash_files()
void init_hash_files |
( |
void |
| ) |
|
◆ lookup_file()
struct file* lookup_file |
( |
const char * |
name | ) |
|
◆ notice_finished_file()
void notice_finished_file |
( |
struct file * |
file | ) |
|
◆ print_file_data_base()
void print_file_data_base |
( |
void |
| ) |
|
◆ print_prereqs()
void print_prereqs |
( |
const struct dep * |
deps | ) |
|
◆ rehash_file()
void rehash_file |
( |
struct file * |
file, |
|
|
const char * |
name |
|
) |
| |
◆ remove_intermediates()
void remove_intermediates |
( |
int |
sig | ) |
|
◆ rename_file()
void rename_file |
( |
struct file * |
file, |
|
|
const char * |
name |
|
) |
| |
◆ set_command_state()
void set_command_state |
( |
struct file * |
file, |
|
|
enum cmd_state |
state |
|
) |
| |
◆ snap_deps()
◆ split_prereqs()
struct dep* split_prereqs |
( |
char * |
prereqstr | ) |
|
◆ stemlen_compare()
int stemlen_compare |
( |
const void * |
v1, |
|
|
const void * |
v2 |
|
) |
| |
◆ try_implicit_rule()
int try_implicit_rule |
( |
struct file * |
file, |
|
|
unsigned int |
depth |
|
) |
| |
◆ verify_file_data_base()
void verify_file_data_base |
( |
void |
| ) |
|
◆ cs_deps_running
◆ cs_finished
◆ cs_not_started
◆ cs_running
◆ default_file
struct file* default_file |
◆ snapped_deps
◆ us_failed
◆ us_none
◆ us_question
◆ us_success