remake  4.3+dbg-1.5
Data Structures | Functions | Variables
rule.h File Reference
#include "gnuremake.h"
#include "types.h"

Go to the source code of this file.

Data Structures

struct  rule
 
struct  pspec
 

Functions

void snap_implicit_rules (void)
 
void convert_to_pattern (void)
 
void install_pattern_rule (struct pspec *p, int terminal)
 
void create_pattern_rule (const char **targets, const char **target_percents, unsigned short num, int terminal, struct dep *deps, struct commands *commands, int override)
 
void print_rule (rule_t *r, bool b_verbose)
 
void print_rule_data_base (bool b_verbose)
 

Variables

struct rulepattern_rules
 
struct rulelast_pattern_rule
 
unsigned int num_pattern_rules
 
unsigned int max_pattern_deps
 
unsigned int max_pattern_targets
 
size_t max_pattern_dep_length
 
struct filesuffix_file
 

Function Documentation

◆ convert_to_pattern()

void convert_to_pattern ( void  )

◆ create_pattern_rule()

void create_pattern_rule ( const char **  targets,
const char **  target_percents,
unsigned short  num,
int  terminal,
struct dep deps,
struct commands commands,
int  override 
)

◆ install_pattern_rule()

void install_pattern_rule ( struct pspec p,
int  terminal 
)

◆ print_rule()

void print_rule ( rule_t r,
bool  b_verbose 
)

Show information about a given rule. Useful from the debugger or gdb.

Referenced by dbg_cmd_info().

◆ print_rule_data_base()

void print_rule_data_base ( bool  b_verbose)

Referenced by dbg_cmd_info().

◆ snap_implicit_rules()

void snap_implicit_rules ( void  )

Variable Documentation

◆ last_pattern_rule

struct rule* last_pattern_rule

◆ max_pattern_dep_length

size_t max_pattern_dep_length

◆ max_pattern_deps

unsigned int max_pattern_deps

◆ max_pattern_targets

unsigned int max_pattern_targets

◆ num_pattern_rules

unsigned int num_pattern_rules

◆ pattern_rules

struct rule* pattern_rules

◆ suffix_file

struct file* suffix_file